summaryrefslogtreecommitdiffstats
path: root/kmail/chiasmuskeyselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/chiasmuskeyselector.cpp')
-rw-r--r--kmail/chiasmuskeyselector.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/chiasmuskeyselector.cpp b/kmail/chiasmuskeyselector.cpp
index aac44362f..6c82c379a 100644
--- a/kmail/chiasmuskeyselector.cpp
+++ b/kmail/chiasmuskeyselector.cpp
@@ -4,19 +4,19 @@
#include <klistbox.h>
#include <klocale.h>
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
-ChiasmusKeySelector::ChiasmusKeySelector( QWidget* parent, const QString& caption,
- const QStringList& keys, const QString& currentKey,
- const QString& lastOptions )
+ChiasmusKeySelector::ChiasmusKeySelector( TQWidget* parent, const TQString& caption,
+ const TQStringList& keys, const TQString& currentKey,
+ const TQString& lastOptions )
: KDialogBase( parent, "chiasmusKeySelector", true, caption, Ok|Cancel, Ok, true )
{
- QWidget *page = makeMainWidget();
+ TQWidget *page = makeMainWidget();
- QVBoxLayout *layout = new QVBoxLayout(page, KDialog::spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(page, KDialog::spacingHint());
- mLabel = new QLabel( i18n( "Please select the Chiasmus key file to use:" ), page );
+ mLabel = new TQLabel( i18n( "Please select the Chiasmus key file to use:" ), page );
layout->addWidget( mLabel );
mListBox = new KListBox( page );
@@ -26,7 +26,7 @@ ChiasmusKeySelector::ChiasmusKeySelector( QWidget* parent, const QString& captio
mListBox->ensureCurrentVisible();
layout->addWidget( mListBox, 1 );
- QLabel* optionLabel = new QLabel( i18n( "Additional arguments for chiasmus:" ), page );
+ TQLabel* optionLabel = new TQLabel( i18n( "Additional arguments for chiasmus:" ), page );
layout->addWidget( optionLabel );
mOptions = new KLineEdit( lastOptions, page );
@@ -35,18 +35,18 @@ ChiasmusKeySelector::ChiasmusKeySelector( QWidget* parent, const QString& captio
layout->addStretch();
- connect( mListBox, SIGNAL( doubleClicked( QListBoxItem * ) ), this, SLOT( slotOk() ) );
- connect( mListBox, SIGNAL( returnPressed( QListBoxItem * ) ), this, SLOT( slotOk() ) );
+ connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ), this, TQT_SLOT( slotOk() ) );
+ connect( mListBox, TQT_SIGNAL( returnPressed( TQListBoxItem * ) ), this, TQT_SLOT( slotOk() ) );
mListBox->setFocus();
}
-QString ChiasmusKeySelector::key() const
+TQString ChiasmusKeySelector::key() const
{
return mListBox->currentText();
}
-QString ChiasmusKeySelector::options() const
+TQString ChiasmusKeySelector::options() const
{
return mOptions->text();
}