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 /k9author/menuEdit.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/menuEdit.cpp')
-rw-r--r-- | k9author/menuEdit.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/k9author/menuEdit.cpp b/k9author/menuEdit.cpp index e7798c1..3f65a27 100644 --- a/k9author/menuEdit.cpp +++ b/k9author/menuEdit.cpp @@ -17,7 +17,7 @@ #include <tqcombobox.h> #include <tqlineedit.h> #include <tqframe.h> -#include <layout.h> +#include <tqlayout.h> #include <tqtooltip.h> #include <tqwhatsthis.h> #include "kurlrequester.h" @@ -37,12 +37,12 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout = new TQGridLayout( this, 1, 1, 2, 6, "menuEditLayout"); textLabel2 = new TQLabel( this, "textLabel2" ); - textLabel2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); + textLabel2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addMultiCellWidget( textLabel2, 5, 6, 0, 0 ); textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); + textLabel1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( textLabel1, 4, 0 ); @@ -51,17 +51,17 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout->addMultiCellWidget( urBackground, 4, 4, 1, 5 ); cbColor = new KColorButton( this, "cbColor" ); - cbColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbColor->sizePolicy().hasHeightForWidth() ) ); + cbColor->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbColor->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( cbColor, 6, 1 ); bFont = new KPushButton( this, "bFont" ); - bFont->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bFont->sizePolicy().hasHeightForWidth() ) ); + bFont->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bFont->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( bFont, 6, 2 ); cbPosTitle = new TQComboBox( FALSE, this, "cbPosTitle" ); - cbPosTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbPosTitle->sizePolicy().hasHeightForWidth() ) ); + cbPosTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbPosTitle->sizePolicy().hasHeightForWidth() ) ); menuEditLayout->addWidget( cbPosTitle, 6, 3 ); spacer1 = new TQSpacerItem( 51, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); @@ -72,14 +72,14 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout->addMultiCellWidget( leTitle, 5, 5, 1, 4 ); bAddText = new KPushButton( this, "bAddText" ); - bAddText->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)4, 0, 0, bAddText->sizePolicy().hasHeightForWidth() ) ); + bAddText->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)4, 0, 0, bAddText->sizePolicy().hasHeightForWidth() ) ); bAddText->setMinimumSize( TQSize( 24, 24 ) ); bAddText->setMaximumSize( TQSize( 24, 24 ) ); menuEditLayout->addWidget( bAddText, 5, 5 ); lTitle = new TQLabel( this, "lTitle" ); - lTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lTitle->sizePolicy().hasHeightForWidth() ) ); + lTitle->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lTitle->sizePolicy().hasHeightForWidth() ) ); TQFont lTitle_font( lTitle->font() ); lTitle_font.setBold( TRUE ); lTitle->setFont( lTitle_font ); @@ -103,13 +103,13 @@ menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) menuEditLayout->addMultiCellWidget( cbEnd, 3, 3, 1, 5 ); frame = new TQFrame( this, "frame" ); - frame->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, frame->sizePolicy().hasHeightForWidth() ) ); + frame->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, frame->sizePolicy().hasHeightForWidth() ) ); frame->setFrameShape( TQFrame::StyledPanel ); frame->setFrameShadow( TQFrame::Raised ); menuEditLayout->addMultiCellWidget( frame, 1, 1, 0, 5 ); languageChange(); - resize( TQSize(576, 682).expandedTo(minimumSizeHint()) ); + resize( TQSize(576, 682).expandedTo(tqminimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections |