diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/kalarmd/clientinfo.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/kalarmd/clientinfo.cpp')
-rw-r--r-- | kalarm/kalarmd/clientinfo.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kalarm/kalarmd/clientinfo.cpp b/kalarm/kalarmd/clientinfo.cpp index 21889082e..e8c5ea6c7 100644 --- a/kalarm/kalarmd/clientinfo.cpp +++ b/kalarm/kalarmd/clientinfo.cpp @@ -21,11 +21,11 @@ #include "adcalendar.h" #include "clientinfo.h" -QMap<QCString, ClientInfo*> ClientInfo::mClients; +TQMap<TQCString, ClientInfo*> 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<QCString, ClientInfo*>::ConstIterator it = mClients.find(appName); + TQMap<TQCString, ClientInfo*>::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<QCString, ClientInfo*>::Iterator it; + TQMap<TQCString, ClientInfo*>::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<QCString, ClientInfo*>::Iterator it = mClients.find(appName); + TQMap<TQCString, ClientInfo*>::Iterator it = mClients.find(appName); if (it != mClients.end()) delete it.data(); } |