summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/messagebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/messagebox.cpp')
-rw-r--r--kalarm/lib/messagebox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/lib/messagebox.cpp b/kalarm/lib/messagebox.cpp
index 3345c9c4b..dced4ce6a 100644
--- a/kalarm/lib/messagebox.cpp
+++ b/kalarm/lib/messagebox.cpp
@@ -45,7 +45,7 @@ KMessageBox::ButtonCode MessageBox::getContinueDefault(const TQString& dontAskAg
ButtonCode defaultButton = Continue;
if (!dontAskAgainName.isEmpty())
{
- TQMap<TQString, ButtonCode>::ConstIterator it = mContinueDefaults.find(dontAskAgainName);
+ TQMap<TQString, ButtonCode>::ConstIterator it = mContinueDefaults.tqfind(dontAskAgainName);
if (it != mContinueDefaults.end())
defaultButton = it.data();
}
@@ -60,11 +60,11 @@ KMessageBox::ButtonCode MessageBox::getContinueDefault(const TQString& dontAskAg
* warningContinueCancel() for that 'dontAskAgainName' value. If neither method
* has set a default button, Continue is the default.
*/
-int MessageBox::warningContinueCancel(TQWidget* parent, const TQString& text, const TQString& caption,
+int MessageBox::warningContinueCancel(TQWidget* tqparent, const TQString& text, const TQString& caption,
const KGuiItem& buttonContinue, const TQString& dontAskAgainName)
{
ButtonCode defaultButton = getContinueDefault(dontAskAgainName);
- return warningContinueCancel(parent, defaultButton, text, caption, buttonContinue, dontAskAgainName);
+ return warningContinueCancel(tqparent, defaultButton, text, caption, buttonContinue, dontAskAgainName);
}
/******************************************************************************
@@ -72,13 +72,13 @@ int MessageBox::warningContinueCancel(TQWidget* parent, const TQString& text, co
* If 'dontAskAgainName' is specified, the message box will only be suppressed
* if the user chose Continue last time.
*/
-int MessageBox::warningContinueCancel(TQWidget* parent, ButtonCode defaultButton, const TQString& text,
+int MessageBox::warningContinueCancel(TQWidget* tqparent, ButtonCode defaultButton, const TQString& text,
const TQString& caption, const KGuiItem& buttonContinue,
const TQString& dontAskAgainName)
{
setContinueDefault(dontAskAgainName, defaultButton);
if (defaultButton != Cancel)
- return KMessageBox::warningContinueCancel(parent, text, caption, buttonContinue, dontAskAgainName);
+ return KMessageBox::warningContinueCancel(tqparent, text, caption, buttonContinue, dontAskAgainName);
// Cancel is the default button, so we have to use KMessageBox::warningYesNo()
if (!dontAskAgainName.isEmpty())
@@ -92,7 +92,7 @@ int MessageBox::warningContinueCancel(TQWidget* parent, ButtonCode defaultButton
saveDontShowAgain(dontAskAgainName, true, false);
}
}
- return warningYesNo(parent, text, caption, buttonContinue, KStdGuiItem::cancel(), dontAskAgainName);
+ return warningYesNo(tqparent, text, caption, buttonContinue, KStdGuiItem::cancel(), dontAskAgainName);
}
/******************************************************************************