summaryrefslogtreecommitdiffstats
path: root/kalarm/kalarmd/clientinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/kalarmd/clientinfo.cpp')
-rw-r--r--kalarm/kalarmd/clientinfo.cpp22
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();
}