summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexitextmsghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexitextmsghandler.cpp')
-rw-r--r--kexi/core/kexitextmsghandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/core/kexitextmsghandler.cpp b/kexi/core/kexitextmsghandler.cpp
index a75c7eb3..b1b705c4 100644
--- a/kexi/core/kexitextmsghandler.cpp
+++ b/kexi/core/kexitextmsghandler.cpp
@@ -23,13 +23,13 @@
#include <kexidb/utils.h>
#include <kexiutils/utils.h>
-KexiTextMessageHandler::KexiTextMessageHandler(QString &messageTarget, QString &detailsTarget)
+KexiTextMessageHandler::KexiTextMessageHandler(TQString &messageTarget, TQString &detailsTarget)
: KexiGUIMessageHandler(0)
, m_messageTarget(&messageTarget)
, m_detailsTarget(&detailsTarget)
{
- *m_messageTarget = QString::null;
- *m_detailsTarget = QString::null;
+ *m_messageTarget = TQString();
+ *m_detailsTarget = TQString();
}
KexiTextMessageHandler::~KexiTextMessageHandler()
@@ -38,7 +38,7 @@ KexiTextMessageHandler::~KexiTextMessageHandler()
void
KexiTextMessageHandler::showMessage(MessageType type,
- const QString &title, const QString &details)
+ const TQString &title, const TQString &details)
{
Q_UNUSED(type);
if (!m_enableMessages)
@@ -47,7 +47,7 @@ KexiTextMessageHandler::showMessage(MessageType type,
//'wait' cursor is a nonsense now
KexiUtils::removeWaitCursor();
- QString msg(title);
+ TQString msg(title);
if (title.isEmpty())
msg = i18n("Unknown error");
msg = "<qt><p>"+msg+"</p>";