diff options
Diffstat (limited to 'kbugbuster/gui/messageeditor.cpp')
-rw-r--r-- | kbugbuster/gui/messageeditor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbugbuster/gui/messageeditor.cpp b/kbugbuster/gui/messageeditor.cpp index 865ec3da..5ef266ff 100644 --- a/kbugbuster/gui/messageeditor.cpp +++ b/kbugbuster/gui/messageeditor.cpp @@ -14,8 +14,8 @@ #include <tqpushbutton.h> #include "messageeditor.moc" -MessageEditor::MessageEditor( TQWidget *parent ) - : KDialogBase(Plain,i18n("Edit Message Buttons"),Ok|Cancel,Ok,parent,0, +MessageEditor::MessageEditor( TQWidget *tqparent ) + : KDialogBase(Plain,i18n("Edit Message Buttons"),Ok|Cancel,Ok,tqparent,0, true,true) { TQFrame *topFrame = plainPage(); @@ -63,7 +63,7 @@ void MessageEditor::addButton() { TQString txt; txt = KInputDialog::getText(i18n("Add Message Button"), - i18n("Enter button name:"), TQString::null, + i18n("Enter button name:"), TQString(), NULL, this ); if ( !txt.isNull() ) { @@ -79,7 +79,7 @@ void MessageEditor::addButton() void MessageEditor::removeButton() { int result = KMessageBox::warningContinueCancel(this, - i18n("Remove the button %1?").arg(mSelectionCombo->currentText()), + i18n("Remove the button %1?").tqarg(mSelectionCombo->currentText()), i18n("Remove"), KGuiItem( i18n("Delete"), "editdelete") ); if (result == KMessageBox::Continue) { @@ -105,7 +105,7 @@ void MessageEditor::updateMessage() void MessageEditor::saveMessage() { - mMessageButtons.replace(mCurrentButton,mMessageEdit->text()); + mMessageButtons.tqreplace(mCurrentButton,mMessageEdit->text()); } void MessageEditor::slotOk() |