diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:32 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:32 -0600 |
commit | 8e0ad9b24c415aeed5e82093211b95879512692a (patch) | |
tree | 06c49b11cb92ab944146ca73fd145717b5533aca /krename/tabs.cpp | |
parent | 4375f6cb209fb4a95d47fe04e6bf4b12584387e4 (diff) | |
download | krename-8e0ad9b24c415aeed5e82093211b95879512692a.tar.gz krename-8e0ad9b24c415aeed5e82093211b95879512692a.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'krename/tabs.cpp')
-rw-r--r-- | krename/tabs.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/krename/tabs.cpp b/krename/tabs.cpp index d10ee26..f6092d9 100644 --- a/krename/tabs.cpp +++ b/krename/tabs.cpp @@ -20,7 +20,7 @@ #include "kmyhistorycombo.h" // TQt includes -#include <tqlayout.h> +#include <layout.h> #include <tqsizepolicy.h> #include <tqtabwidget.h> @@ -38,7 +38,7 @@ tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name ) { setIcon( BarIcon( "krename" ) ); - TQVBoxLayout* tqlayout = new TQVBoxLayout( this, 6, 6 ); + TQVBoxLayout* layout = new TQVBoxLayout( this, 6, 6 ); TQHBoxLayout* buttons = new TQHBoxLayout( 0, 6, 6 ); TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Expanding ); @@ -53,12 +53,12 @@ tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name ) buttons->addWidget( finishButton ); buttons->addWidget( cancelButton ); - tqlayout->addWidget( tab ); - tqlayout->addLayout( buttons ); - tqlayout->setStretchFactor( tab, 2 ); + layout->addWidget( tab ); + layout->addLayout( buttons ); + layout->setStretchFactor( tab, 2 ); menuBar = new KMenuBar( this ); - tqlayout->setMenuBar( menuBar ); + layout->setMenuBar( menuBar ); connect( cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( close() ) ); |