From c2637a0da6d9a1c8626ca39f8451ab3b7cda487a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:47:59 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kpovmodeler/pmdeclareedit.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kpovmodeler/pmdeclareedit.cpp') diff --git a/kpovmodeler/pmdeclareedit.cpp b/kpovmodeler/pmdeclareedit.cpp index 60446a53..7cf96d12 100644 --- a/kpovmodeler/pmdeclareedit.cpp +++ b/kpovmodeler/pmdeclareedit.cpp @@ -23,10 +23,10 @@ #include "pmscanner.h" #include "pmobjectselect.h" -#include +#include #include #include -#include +#include #include #include @@ -44,13 +44,13 @@ void PMDeclareEdit::createTopWidgets( ) { Base::createTopWidgets( ); - TQHBoxLayout* tqlayout = new TQHBoxLayout( topLayout( ) ); + TQHBoxLayout* layout = new TQHBoxLayout( topLayout( ) ); m_pNameEdit = new TQLineEdit( this ); m_pNameEdit->setMaxLength( 40 ); TQLabel* label = new TQLabel( i18n( "Identifier:" ), this ); - tqlayout->addWidget( label ); - tqlayout->addWidget( m_pNameEdit ); + layout->addWidget( label ); + layout->addWidget( m_pNameEdit ); connect( m_pNameEdit, TQT_SIGNAL( textChanged( const TQString& ) ), TQT_SLOT( slotNameChanged( const TQString& ) ) ); @@ -67,13 +67,13 @@ void PMDeclareEdit::createBottomWidgets( ) TQT_SLOT( slotItemSelected( TQListBoxItem* ) ) ); topLayout( )->addWidget( m_pLinkedObjects, 1 ); - TQHBoxLayout* tqlayout = new TQHBoxLayout( topLayout( ) ); + TQHBoxLayout* layout = new TQHBoxLayout( topLayout( ) ); m_pSelectButton = new TQPushButton( i18n( "Select..." ), this ); m_pSelectButton->setEnabled( false ); connect( m_pSelectButton, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotSelect( ) ) ); - tqlayout->addStretch( ); - tqlayout->addWidget( m_pSelectButton ); + layout->addStretch( ); + layout->addWidget( m_pSelectButton ); Base::createBottomWidgets( ); } -- cgit v1.2.1