summaryrefslogtreecommitdiffstats
path: root/kalarm/kalarmd/clientinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/kalarmd/clientinfo.h')
-rw-r--r--kalarm/kalarmd/clientinfo.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kalarm/kalarmd/clientinfo.h b/kalarm/kalarmd/clientinfo.h
index fe6491d7e..d679669ec 100644
--- a/kalarm/kalarmd/clientinfo.h
+++ b/kalarm/kalarmd/clientinfo.h
@@ -22,9 +22,9 @@
#ifndef _CALCLIENT_H
#define _CALCLIENT_H
-#include <qcstring.h>
-#include <qstring.h>
-#include <qmap.h>
+#include <tqcstring.h>
+#include <tqstring.h>
+#include <tqmap.h>
class ADCalendar;
@@ -36,35 +36,35 @@ class ADCalendar;
class ClientInfo
{
public:
- typedef QMap<QCString, ClientInfo*>::ConstIterator ConstIterator;
+ typedef TQMap<TQCString, ClientInfo*>::ConstIterator ConstIterator;
- ClientInfo(const QCString &appName, const QString &title, const QCString &dcopObj,
- const QString& calendar, bool startClient);
- ClientInfo(const QCString &appName, const QString &title, const QCString &dcopObj,
+ ClientInfo(const TQCString &appName, const TQString &title, const TQCString &dcopObj,
+ const TQString& calendar, bool startClient);
+ ClientInfo(const TQCString &appName, const TQString &title, const TQCString &dcopObj,
ADCalendar* calendar, bool startClient);
~ClientInfo();
- ADCalendar* setCalendar(const QString& url);
+ ADCalendar* setCalendar(const TQString& url);
void detachCalendar() { mCalendar = 0; }
void setStartClient(bool start) { mStartClient = start; }
- QCString appName() const { return mAppName; }
- QString title() const { return mTitle; }
- QCString dcopObject() const { return mDcopObject; }
+ TQCString appName() const { return mAppName; }
+ TQString title() const { return mTitle; }
+ TQCString dcopObject() const { return mDcopObject; }
ADCalendar* calendar() const { return mCalendar; }
bool startClient() const { return mStartClient; }
static ConstIterator begin() { return mClients.begin(); }
static ConstIterator end() { return mClients.end(); }
- static ClientInfo* get(const QCString& appName);
+ static ClientInfo* get(const TQCString& appName);
static ClientInfo* get(const ADCalendar*);
- static void remove(const QCString& appName);
+ static void remove(const TQCString& appName);
static void clear();
private:
- static QMap<QCString, ClientInfo*> mClients; // list of all constructed clients
- QCString mAppName; // client's executable and DCOP name
- QString mTitle; // application title for display purposes
- QCString mDcopObject; // object to receive DCOP messages
+ static TQMap<TQCString, ClientInfo*> mClients; // list of all constructed clients
+ TQCString mAppName; // client's executable and DCOP name
+ TQString mTitle; // application title for display purposes
+ TQCString mDcopObject; // object to receive DCOP messages
ADCalendar* mCalendar; // this client's event calendar
bool mStartClient; // whether to notify events via command line if client app isn't running
};