diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:52 -0600 |
commit | a372f822fe1b3fad682bf6796cb62da4f13a31db (patch) | |
tree | a3ac24d6627eebc22e3c9490e7742f594f17d8ad /k9author/newTitle.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 'k9author/newTitle.cpp')
-rw-r--r-- | k9author/newTitle.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/k9author/newTitle.cpp b/k9author/newTitle.cpp index 1f9f72c..154e5ef 100644 --- a/k9author/newTitle.cpp +++ b/k9author/newTitle.cpp @@ -18,7 +18,7 @@ #include <kpushbutton.h> #include <tqlabel.h> #include <kurlrequester.h> -#include <layout.h> +#include <tqlayout.h> #include <tqtooltip.h> #include <tqwhatsthis.h> #include "knuminput.h" @@ -39,15 +39,15 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) newTitleLayout = new TQGridLayout( this, 1, 1, 11, 6, "newTitleLayout"); buttonGroup1 = new TQButtonGroup( this, "buttonGroup1" ); - buttonGroup1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); + buttonGroup1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); buttonGroup1->setColumnLayout(0, Qt::Vertical ); - buttonGroup1->layout()->setSpacing( 6 ); - buttonGroup1->layout()->setMargin( 11 ); - buttonGroup1Layout = new TQGridLayout( buttonGroup1->layout() ); - buttonGroup1Layout->setAlignment( TQt::AlignTop ); + buttonGroup1->tqlayout()->setSpacing( 6 ); + buttonGroup1->tqlayout()->setMargin( 11 ); + buttonGroup1Layout = new TQGridLayout( buttonGroup1->tqlayout() ); + buttonGroup1Layout->tqsetAlignment( TQt::AlignTop ); nbChapters = new KIntNumInput( buttonGroup1, "nbChapters" ); - nbChapters->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, nbChapters->sizePolicy().hasHeightForWidth() ) ); + nbChapters->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, nbChapters->sizePolicy().hasHeightForWidth() ) ); nbChapters->setMinValue( 1 ); nbChapters->setMaxValue( 99 ); @@ -55,7 +55,7 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) twLength = new KTimeWidget( buttonGroup1, "twLength" ); twLength->setEnabled( FALSE ); - twLength->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, twLength->sizePolicy().hasHeightForWidth() ) ); + twLength->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, twLength->sizePolicy().hasHeightForWidth() ) ); buttonGroup1Layout->addWidget( twLength, 1, 1 ); @@ -78,30 +78,30 @@ newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) bAdd = new KPushButton( this, "bAdd" ); bAdd->setEnabled( FALSE ); - bAdd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); + bAdd->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); bAdd->setProperty( "stdItem", 27 ); newTitleLayout->addWidget( bAdd, 2, 1 ); spacer2 = new TQSpacerItem( 470, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); newTitleLayout->addItem( spacer2, 2, 0 ); - layout1 = new TQHBoxLayout( 0, 0, 6, "layout1"); + tqlayout1 = new TQHBoxLayout( 0, 0, 6, "tqlayout1"); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - layout1->addWidget( textLabel1 ); + textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + tqlayout1->addWidget( textLabel1 ); urFile = new KURLRequester( this, "urFile" ); urFile->setMode( 25 ); - layout1->addWidget( urFile ); + tqlayout1->addWidget( urFile ); lTotalTime = new TQLabel( this, "lTotalTime" ); - lTotalTime->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotalTime->sizePolicy().hasHeightForWidth() ) ); - layout1->addWidget( lTotalTime ); + lTotalTime->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotalTime->sizePolicy().hasHeightForWidth() ) ); + tqlayout1->addWidget( lTotalTime ); - newTitleLayout->addMultiCellLayout( layout1, 0, 0, 0, 1 ); + newTitleLayout->addMultiCellLayout( tqlayout1, 0, 0, 0, 1 ); languageChange(); - resize( TQSize(605, 171).expandedTo(minimumSizeHint()) ); + resize( TQSize(605, 171).expandedTo(tqminimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections |