diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /kbugbuster/gui/messageeditor.cpp | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() |