summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/filechooser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:21 -0600
commitabcbb684982167791304dc2fe0bc979489506b43 (patch)
treec705baa3702ffd62398873af8131525569b1af89 /kdevdesigner/designer/filechooser.cpp
parent7e66d7c3611d907ea28b140281b472bb1c406be6 (diff)
downloadtdevelop-abcbb684982167791304dc2fe0bc979489506b43.tar.gz
tdevelop-abcbb684982167791304dc2fe0bc979489506b43.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kdevdesigner/designer/filechooser.cpp')
-rw-r--r--kdevdesigner/designer/filechooser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/filechooser.cpp b/kdevdesigner/designer/filechooser.cpp
index 961cfee0..9c2bb751 100644
--- a/kdevdesigner/designer/filechooser.cpp
+++ b/kdevdesigner/designer/filechooser.cpp
@@ -35,18 +35,18 @@
FileChooser::FileChooser( TQWidget *parent, const char *name )
: TQWidget( parent, name ), md( File )
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout( this );
- tqlayout->setMargin( 0 );
+ TQHBoxLayout *layout = new TQHBoxLayout( this );
+ layout->setMargin( 0 );
lineEdit = new TQLineEdit( this, "filechooser_lineedit" );
- tqlayout->addWidget( lineEdit );
+ layout->addWidget( lineEdit );
connect( lineEdit, TQT_SIGNAL( textChanged( const TQString & ) ),
this, TQT_SIGNAL( fileNameChanged( const TQString & ) ) );
button = new TQPushButton( "...", this, "filechooser_button" );
button->setFixedWidth( button->fontMetrics().width( " ... " ) );
- tqlayout->addWidget( button );
+ layout->addWidget( button );
connect( button, TQT_SIGNAL( clicked() ),
this, TQT_SLOT( chooseFile() ) );