summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/filechooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/filechooser.cpp')
-rw-r--r--kdevdesigner/designer/filechooser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdevdesigner/designer/filechooser.cpp b/kdevdesigner/designer/filechooser.cpp
index 9f4a9401..961cfee0 100644
--- a/kdevdesigner/designer/filechooser.cpp
+++ b/kdevdesigner/designer/filechooser.cpp
@@ -28,25 +28,25 @@
#include <tqlineedit.h>
#include <tqpushbutton.h>
#include <tqfiledialog.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kfiledialog.h>
FileChooser::FileChooser( TQWidget *parent, const char *name )
: TQWidget( parent, name ), md( File )
{
- TQHBoxLayout *layout = new TQHBoxLayout( this );
- layout->setMargin( 0 );
+ TQHBoxLayout *tqlayout = new TQHBoxLayout( this );
+ tqlayout->setMargin( 0 );
lineEdit = new TQLineEdit( this, "filechooser_lineedit" );
- layout->addWidget( lineEdit );
+ tqlayout->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( " ... " ) );
- layout->addWidget( button );
+ tqlayout->addWidget( button );
connect( button, TQT_SIGNAL( clicked() ),
this, TQT_SLOT( chooseFile() ) );