summaryrefslogtreecommitdiffstats
path: root/libkcal/calselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calselectdialog.cpp')
-rw-r--r--libkcal/calselectdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkcal/calselectdialog.cpp b/libkcal/calselectdialog.cpp
index 49f88056b..3022d7cc0 100644
--- a/libkcal/calselectdialog.cpp
+++ b/libkcal/calselectdialog.cpp
@@ -45,7 +45,7 @@
#include "calselectdialog.h"
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
using namespace KCal;
@@ -54,16 +54,16 @@ CalSelectDialog::CalSelectDialog( const TQString &caption, const TQString &label
: 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()) );
@@ -72,7 +72,7 @@ CalSelectDialog::CalSelectDialog( const TQString &caption, const TQString &label
mListBox->setFocus();
- layout->addStretch();
+ tqlayout->addStretch();
setMinimumWidth( 320 );
}