summaryrefslogtreecommitdiffstats
path: root/kalarm/kalarmd/clientinfo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/kalarmd/clientinfo.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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.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
};