diff options
Diffstat (limited to 'kresources/lib/folderselectdialog.cpp')
-rw-r--r-- | kresources/lib/folderselectdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/lib/folderselectdialog.cpp b/kresources/lib/folderselectdialog.cpp index 44fbeb6b9..f05dccf0a 100644 --- a/kresources/lib/folderselectdialog.cpp +++ b/kresources/lib/folderselectdialog.cpp @@ -32,7 +32,7 @@ #include "folderselectdialog.h" -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> using namespace KPIM; @@ -42,16 +42,16 @@ FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString& : KDialogBase(0, 0, true, caption, Ok|Cancel, Ok, true) { TQFrame* frame = makeMainWidget(); - TQVBoxLayout* layout = new TQVBoxLayout( frame, 0, spacingHint() ); + TQVBoxLayout* tqlayout = new TQVBoxLayout( frame, 0, spacingHint() ); TQLabel* labelWidget = new TQLabel( label, frame ); - layout->addWidget( labelWidget ); + tqlayout->addWidget( labelWidget ); mListBox = new KListBox( frame ); mListBox->insertStringList( list ); mListBox->setSelected( 0, true ); mListBox->ensureCurrentVisible(); - layout->addWidget( mListBox, 10 ); + tqlayout->addWidget( mListBox, 10 ); connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ), TQT_SLOT( slotOk() ) ); @@ -60,7 +60,7 @@ FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString& mListBox->setFocus(); - layout->addStretch(); + tqlayout->addStretch(); setMinimumWidth( 320 ); } |