From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/kalarmd/clientinfo.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kalarm/kalarmd/clientinfo.cpp') diff --git a/kalarm/kalarmd/clientinfo.cpp b/kalarm/kalarmd/clientinfo.cpp index 21889082..e8c5ea6c 100644 --- a/kalarm/kalarmd/clientinfo.cpp +++ b/kalarm/kalarmd/clientinfo.cpp @@ -21,11 +21,11 @@ #include "adcalendar.h" #include "clientinfo.h" -QMap ClientInfo::mClients; +TQMap ClientInfo::mClients; -ClientInfo::ClientInfo(const QCString& appName, const QString& title, - const QCString& dcopObj, const QString& calendar, bool startClient) +ClientInfo::ClientInfo(const TQCString& appName, const TQString& title, + const TQCString& dcopObj, const TQString& calendar, bool startClient) : mAppName(appName), mTitle(title), mDcopObject(dcopObj), @@ -35,8 +35,8 @@ ClientInfo::ClientInfo(const QCString& appName, const QString& title, mClients[mAppName] = this; } -ClientInfo::ClientInfo(const QCString& appName, const QString& title, - const QCString& dcopObj, ADCalendar* calendar, bool startClient) +ClientInfo::ClientInfo(const TQCString& appName, const TQString& title, + const TQCString& dcopObj, ADCalendar* calendar, bool startClient) : mAppName(appName), mTitle(title), mDcopObject(dcopObj), @@ -55,7 +55,7 @@ ClientInfo::~ClientInfo() /****************************************************************************** * Set a new calendar for the specified client application. */ -ADCalendar* ClientInfo::setCalendar(const QString& url) +ADCalendar* ClientInfo::setCalendar(const TQString& url) { if (url != mCalendar->urlString()) { @@ -68,11 +68,11 @@ ADCalendar* ClientInfo::setCalendar(const QString& url) /****************************************************************************** * Return the ClientInfo object for the specified client application. */ -ClientInfo* ClientInfo::get(const QCString& appName) +ClientInfo* ClientInfo::get(const TQCString& appName) { if (appName.isEmpty()) return 0; - QMap::ConstIterator it = mClients.find(appName); + TQMap::ConstIterator it = mClients.find(appName); if (it == mClients.end()) return 0; return it.data(); @@ -94,7 +94,7 @@ ClientInfo* ClientInfo::get(const ADCalendar* cal) */ void ClientInfo::clear() { - QMap::Iterator it; + TQMap::Iterator it; while ((it = mClients.begin()) != mClients.end()) delete it.data(); } @@ -102,9 +102,9 @@ void ClientInfo::clear() /****************************************************************************** * Delete the client with the specified name. */ -void ClientInfo::remove(const QCString& appName) +void ClientInfo::remove(const TQCString& appName) { - QMap::Iterator it = mClients.find(appName); + TQMap::Iterator it = mClients.find(appName); if (it != mClients.end()) delete it.data(); } -- cgit v1.2.3