diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:55:52 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:55:52 -0600 |
commit | a372f822fe1b3fad682bf6796cb62da4f13a31db (patch) | |
tree | a3ac24d6627eebc22e3c9490e7742f594f17d8ad /src/titlefactor.cpp | |
parent | b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 (diff) | |
download | k9copy-a372f822fe1b3fad682bf6796cb62da4f13a31db.tar.gz k9copy-a372f822fe1b3fad682bf6796cb62da4f13a31db.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.
Diffstat (limited to 'src/titlefactor.cpp')
-rw-r--r-- | src/titlefactor.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/titlefactor.cpp b/src/titlefactor.cpp index d4c6b33..774551e 100644 --- a/src/titlefactor.cpp +++ b/src/titlefactor.cpp @@ -14,7 +14,7 @@ #include <tqlabel.h> #include <tqgroupbox.h> #include <tqslider.h> -#include <layout.h> +#include <tqlayout.h> #include <tqtooltip.h> #include <tqwhatsthis.h> #include <tqimage.h> @@ -265,16 +265,16 @@ titleFactor::titleFactor( TQWidget* parent, const char* name, WFlags fl ) titleFactorLayout->addWidget( lbTitle, 0, 0 ); gbTitle = new TQGroupBox( this, "gbTitle" ); - gbTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gbTitle->sizePolicy().hasHeightForWidth() ) ); - gbTitle->setAlignment( int( TQGroupBox::AlignVCenter ) ); + gbTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gbTitle->sizePolicy().hasHeightForWidth() ) ); + gbTitle->tqsetAlignment( int( TQGroupBox::AlignVCenter ) ); gbTitle->setFlat( FALSE ); gbTitle->setCheckable( TRUE ); gbTitle->setChecked( FALSE ); gbTitle->setColumnLayout(0, Qt::Vertical ); - gbTitle->layout()->setSpacing( 1 ); - gbTitle->layout()->setMargin( 6 ); - gbTitleLayout = new TQGridLayout( gbTitle->layout() ); - gbTitleLayout->setAlignment( TQt::AlignTop ); + gbTitle->tqlayout()->setSpacing( 1 ); + gbTitle->tqlayout()->setMargin( 6 ); + gbTitleLayout = new TQGridLayout( gbTitle->tqlayout() ); + gbTitleLayout->tqsetAlignment( TQt::AlignTop ); tFactor = new TQLabel( gbTitle, "tFactor" ); @@ -293,7 +293,7 @@ titleFactor::titleFactor( TQWidget* parent, const char* name, WFlags fl ) spacer1 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); titleFactorLayout->addItem( spacer1, 2, 0 ); languageChange(); - resize( TQSize(551, 115).expandedTo(minimumSizeHint()) ); + resize( TQSize(551, 115).expandedTo(tqminimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections |