diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:51:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:51:43 -0600 |
commit | 2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076 (patch) | |
tree | c57406ac640b2ce83ebc0ec0cbc96d0e3e40d9b5 /kommander/editor/filechooser.cpp | |
parent | ff23fbd0f4265648d9a1d53f4230c3f7c78c4f77 (diff) | |
download | tdewebdev-2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076.tar.gz tdewebdev-2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kommander/editor/filechooser.cpp')
-rw-r--r-- | kommander/editor/filechooser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/editor/filechooser.cpp b/kommander/editor/filechooser.cpp index 39b3d9ca..d5a68f7f 100644 --- a/kommander/editor/filechooser.cpp +++ b/kommander/editor/filechooser.cpp @@ -2,23 +2,23 @@ #include <tqlineedit.h> #include <tqpushbutton.h> #include <kfiledialog.h> -#include <tqlayout.h> +#include <layout.h> 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() ) ); |