summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexitextmsghandler.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/core/kexitextmsghandler.cpp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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>";