summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/messageeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/gui/messageeditor.cpp')
-rw-r--r--kbugbuster/gui/messageeditor.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kbugbuster/gui/messageeditor.cpp b/kbugbuster/gui/messageeditor.cpp
index 517ef80b..f10e0fb4 100644
--- a/kbugbuster/gui/messageeditor.cpp
+++ b/kbugbuster/gui/messageeditor.cpp
@@ -1,8 +1,8 @@
-#include <qcombobox.h>
+#include <tqcombobox.h>
#include <ktextedit.h>
#include <kinputdialog.h>
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
#include <klocale.h>
#include <kmessagebox.h>
@@ -11,33 +11,33 @@
#include "kbbprefs.h"
#include "messageeditor.h"
-#include <qpushbutton.h>
+#include <tqpushbutton.h>
#include "messageeditor.moc"
-MessageEditor::MessageEditor( QWidget *parent )
+MessageEditor::MessageEditor( TQWidget *parent )
: KDialogBase(Plain,i18n("Edit Message Buttons"),Ok|Cancel,Ok,parent,0,
true,true)
{
- QFrame *topFrame = plainPage();
- QBoxLayout *topLayout = new QVBoxLayout(topFrame,0,spacingHint());
+ TQFrame *topFrame = plainPage();
+ TQBoxLayout *topLayout = new TQVBoxLayout(topFrame,0,spacingHint());
- QBoxLayout *selectionLayout = new QHBoxLayout;
+ TQBoxLayout *selectionLayout = new QHBoxLayout;
topLayout->addLayout(selectionLayout);
- QLabel *selectionLabel = new QLabel(i18n("Button:"),topFrame);
+ TQLabel *selectionLabel = new TQLabel(i18n("Button:"),topFrame);
selectionLayout->addWidget(selectionLabel);
- mSelectionCombo = new QComboBox(topFrame);
+ mSelectionCombo = new TQComboBox(topFrame);
selectionLayout->addWidget(mSelectionCombo);
- connect(mSelectionCombo,SIGNAL(activated(int)),SLOT(changeMessage()));
+ connect(mSelectionCombo,TQT_SIGNAL(activated(int)),TQT_SLOT(changeMessage()));
- QPushButton *addButton = new QPushButton(i18n("Add Button..."),topFrame);
+ TQPushButton *addButton = new TQPushButton(i18n("Add Button..."),topFrame);
selectionLayout->addWidget(addButton);
- connect(addButton,SIGNAL(clicked()),SLOT(addButton()));
+ connect(addButton,TQT_SIGNAL(clicked()),TQT_SLOT(addButton()));
- QPushButton *removeButton = new QPushButton(i18n("Remove Button"),topFrame);
+ TQPushButton *removeButton = new TQPushButton(i18n("Remove Button"),topFrame);
selectionLayout->addWidget(removeButton);
- connect(removeButton,SIGNAL(clicked()),SLOT(removeButton()));
+ connect(removeButton,TQT_SIGNAL(clicked()),TQT_SLOT(removeButton()));
mMessageEdit = new KTextEdit(topFrame);
topLayout->addWidget(mMessageEdit,1);
@@ -51,7 +51,7 @@ void MessageEditor::updateConfig()
mSelectionCombo->clear();
- QMap<QString,QString>::ConstIterator it;
+ TQMap<TQString,TQString>::ConstIterator it;
for(it = mMessageButtons.begin();it != mMessageButtons.end();++it) {
mSelectionCombo->insertItem(it.key());
}
@@ -61,9 +61,9 @@ void MessageEditor::updateConfig()
void MessageEditor::addButton()
{
- QString txt;
+ TQString txt;
txt = KInputDialog::getText(i18n("Add Message Button"),
- i18n("Enter button name:"), QString::null,
+ i18n("Enter button name:"), TQString::null,
NULL, this );
if ( !txt.isNull() ) {