summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kbalancewarning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kbalancewarning.cpp')
-rw-r--r--kmymoney2/dialogs/kbalancewarning.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/dialogs/kbalancewarning.cpp b/kmymoney2/dialogs/kbalancewarning.cpp
index 16f3dc0..358210c 100644
--- a/kmymoney2/dialogs/kbalancewarning.cpp
+++ b/kmymoney2/dialogs/kbalancewarning.cpp
@@ -18,8 +18,8 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qwidget.h>
-#include <qstring.h>
+#include <tqwidget.h>
+#include <tqstring.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -36,12 +36,12 @@
class KBalanceWarning::Private
{
public:
- QString dontShowAgain() const { return "BalanceWarning"; }
- QMap<QString, bool> m_deselectedAccounts;
+ TQString dontShowAgain() const { return "BalanceWarning"; }
+ TQMap<TQString, bool> m_deselectedAccounts;
};
-KBalanceWarning::KBalanceWarning(QObject* parent, const char* name) :
- QObject(parent, name),
+KBalanceWarning::KBalanceWarning(TQObject* tqparent, const char* name) :
+ TQObject(tqparent, name),
d(new Private)
{
KMessageBox::enableMessage(d->dontShowAgain());
@@ -52,10 +52,10 @@ KBalanceWarning::~KBalanceWarning()
delete d;
}
-void KBalanceWarning::slotShowMessage(QWidget* parent, const MyMoneyAccount& account, const QString& msg)
+void KBalanceWarning::slotShowMessage(TQWidget* tqparent, const MyMoneyAccount& account, const TQString& msg)
{
- if(d->m_deselectedAccounts.find(account.id()) == d->m_deselectedAccounts.end()) {
- KMessageBox::information(parent, msg, QString::null, d->dontShowAgain());
+ if(d->m_deselectedAccounts.tqfind(account.id()) == d->m_deselectedAccounts.end()) {
+ KMessageBox::information(tqparent, msg, TQString(), d->dontShowAgain());
if(!KMessageBox::shouldBeShownContinue(d->dontShowAgain())) {
d->m_deselectedAccounts[account.id()] = true;
KMessageBox::enableMessage(d->dontShowAgain());