summaryrefslogtreecommitdiffstats
path: root/kmail/chiasmuskeyselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/chiasmuskeyselector.cpp')
-rw-r--r--kmail/chiasmuskeyselector.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/chiasmuskeyselector.cpp b/kmail/chiasmuskeyselector.cpp
index fd2f42cb7..475ddd44f 100644
--- a/kmail/chiasmuskeyselector.cpp
+++ b/kmail/chiasmuskeyselector.cpp
@@ -4,7 +4,7 @@
#include <klistbox.h>
#include <klocale.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
ChiasmusKeySelector::ChiasmusKeySelector( TQWidget* parent, const TQString& caption,
@@ -14,26 +14,26 @@ ChiasmusKeySelector::ChiasmusKeySelector( TQWidget* parent, const TQString& capt
{
TQWidget *page = makeMainWidget();
- TQVBoxLayout *layout = new TQVBoxLayout(page, KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(page, KDialog::spacingHint());
mLabel = new TQLabel( i18n( "Please select the Chiasmus key file to use:" ), page );
- layout->addWidget( mLabel );
+ tqlayout->addWidget( mLabel );
mListBox = new KListBox( page );
mListBox->insertStringList( keys );
const int current = keys.findIndex( currentKey );
mListBox->setSelected( TQMAX( 0, current ), true );
mListBox->ensureCurrentVisible();
- layout->addWidget( mListBox, 1 );
+ tqlayout->addWidget( mListBox, 1 );
TQLabel* optionLabel = new TQLabel( i18n( "Additional arguments for chiasmus:" ), page );
- layout->addWidget( optionLabel );
+ tqlayout->addWidget( optionLabel );
mOptions = new KLineEdit( lastOptions, page );
optionLabel->setBuddy( mOptions );
- layout->addWidget( mOptions );
+ tqlayout->addWidget( mOptions );
- layout->addStretch();
+ tqlayout->addStretch();
connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ), this, TQT_SLOT( slotOk() ) );
connect( mListBox, TQT_SIGNAL( returnPressed( TQListBoxItem * ) ), this, TQT_SLOT( slotOk() ) );