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 475ddd44f..fd2f42cb7 100644
--- a/kmail/chiasmuskeyselector.cpp
+++ b/kmail/chiasmuskeyselector.cpp
@@ -4,7 +4,7 @@
#include <klistbox.h>
#include <klocale.h>
-#include <tqlayout.h>
+#include <layout.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 *tqlayout = new TQVBoxLayout(page, KDialog::spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(page, KDialog::spacingHint());
mLabel = new TQLabel( i18n( "Please select the Chiasmus key file to use:" ), page );
- tqlayout->addWidget( mLabel );
+ layout->addWidget( mLabel );
mListBox = new KListBox( page );
mListBox->insertStringList( keys );
const int current = keys.findIndex( currentKey );
mListBox->setSelected( TQMAX( 0, current ), true );
mListBox->ensureCurrentVisible();
- tqlayout->addWidget( mListBox, 1 );
+ layout->addWidget( mListBox, 1 );
TQLabel* optionLabel = new TQLabel( i18n( "Additional arguments for chiasmus:" ), page );
- tqlayout->addWidget( optionLabel );
+ layout->addWidget( optionLabel );
mOptions = new KLineEdit( lastOptions, page );
optionLabel->setBuddy( mOptions );
- tqlayout->addWidget( mOptions );
+ layout->addWidget( mOptions );
- tqlayout->addStretch();
+ layout->addStretch();
connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ), this, TQT_SLOT( slotOk() ) );
connect( mListBox, TQT_SIGNAL( returnPressed( TQListBoxItem * ) ), this, TQT_SLOT( slotOk() ) );