diff options
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 774551e..d4c6b33 100644 --- a/src/titlefactor.cpp +++ b/src/titlefactor.cpp @@ -14,7 +14,7 @@ #include <tqlabel.h> #include <tqgroupbox.h> #include <tqslider.h> -#include <tqlayout.h> +#include <layout.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->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gbTitle->sizePolicy().hasHeightForWidth() ) ); - gbTitle->tqsetAlignment( int( TQGroupBox::AlignVCenter ) ); + gbTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gbTitle->sizePolicy().hasHeightForWidth() ) ); + gbTitle->setAlignment( int( TQGroupBox::AlignVCenter ) ); gbTitle->setFlat( FALSE ); gbTitle->setCheckable( TRUE ); gbTitle->setChecked( FALSE ); gbTitle->setColumnLayout(0, Qt::Vertical ); - gbTitle->tqlayout()->setSpacing( 1 ); - gbTitle->tqlayout()->setMargin( 6 ); - gbTitleLayout = new TQGridLayout( gbTitle->tqlayout() ); - gbTitleLayout->tqsetAlignment( TQt::AlignTop ); + gbTitle->layout()->setSpacing( 1 ); + gbTitle->layout()->setMargin( 6 ); + gbTitleLayout = new TQGridLayout( gbTitle->layout() ); + gbTitleLayout->setAlignment( 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(tqminimumSizeHint()) ); + resize( TQSize(551, 115).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections |