From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- kexi/core/kexitextmsghandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kexi/core/kexitextmsghandler.cpp') 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 #include -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 = "

"+msg+"

"; -- cgit v1.2.1