From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: TQt4 port tellico This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/fetch/messagehandler.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/fetch/messagehandler.h') diff --git a/src/fetch/messagehandler.h b/src/fetch/messagehandler.h index 0ec9269..804d574 100644 --- a/src/fetch/messagehandler.h +++ b/src/fetch/messagehandler.h @@ -14,8 +14,8 @@ #ifndef TELLICO_FETCH_MESSAGEHANDLER_H #define TELLICO_FETCH_MESSAGEHANDLER_H -class QString; -class QStringList; +class TQString; +class TQStringList; namespace Tellico { namespace Fetch { @@ -25,13 +25,13 @@ namespace Tellico { */ class MessageHandler { public: - enum Type { Status, Warning, Error, ListError }; + enum Type { tqStatus, Warning, Error, ListError }; MessageHandler() {} virtual ~MessageHandler() {} - virtual void send(const QString& message, Type type) = 0; - virtual void infoList(const QString& message, const QStringList& list) = 0; + virtual void send(const TQString& message, Type type) = 0; + virtual void infoList(const TQString& message, const TQStringList& list) = 0; }; class ManagerMessage : public MessageHandler { @@ -39,8 +39,8 @@ public: ManagerMessage() : MessageHandler() {} virtual ~ManagerMessage() {} - virtual void send(const QString& message, Type type); - virtual void infoList(const QString& message, const QStringList& list); + virtual void send(const TQString& message, Type type); + virtual void infoList(const TQString& message, const TQStringList& list); }; } // end namespace -- cgit v1.2.1