summaryrefslogtreecommitdiffstats
path: root/lskat/lskatproc/KEMessage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /lskat/lskatproc/KEMessage.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lskat/lskatproc/KEMessage.h')
-rw-r--r--lskat/lskatproc/KEMessage.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/lskat/lskatproc/KEMessage.h b/lskat/lskatproc/KEMessage.h
index 0a1913cc..9e4d6912 100644
--- a/lskat/lskatproc/KEMessage.h
+++ b/lskat/lskatproc/KEMessage.h
@@ -18,44 +18,44 @@
#define _KEMESSAGE_H_
#include <string.h>
-#include <qstring.h>
-#include <qstrlist.h>
-#include <qdict.h>
+#include <tqstring.h>
+#include <tqstrlist.h>
+#include <tqdict.h>
#include "KMessageEntry.h"
-#define KEMESSAGE_HEAD QString(QCString("BEGIN_V1000"))
-#define KEMESSAGE_TAIL QString(QCString("END_V1000"))
-#define KEMESSAGE_CR QString(QCString("\n"))
-#define KEMESSAGE_SEP QString(QCString(":::"))
+#define KEMESSAGE_HEAD TQString(TQCString("BEGIN_V1000"))
+#define KEMESSAGE_TAIL TQString(TQCString("END_V1000"))
+#define KEMESSAGE_CR TQString(TQCString("\n"))
+#define KEMESSAGE_SEP TQString(TQCString(":::"))
class KEMessage
{
private:
- QStrList keys;
- QDict<KMessageEntry> dict;
+ TQStrList keys;
+ TQDict<KMessageEntry> dict;
protected:
- void AddEntry(QString key,KMessageEntry *entry);
+ void AddEntry(TQString key,KMessageEntry *entry);
public:
- QStrList *QueryKeys();
+ TQStrList *QueryKeys();
uint QueryNumberOfKeys();
- void AddDataType(QString key,int size,const char *data,KGM_TYPE type);
- void AddData(QString key,short data);
- void AddData(QString key,long data);
- void AddData(QString key,float data);
- void AddData(QString key,const char *data,int size=-1);
- bool GetData(QString key,short &s);
- bool GetData(QString key,long &l);
- bool GetData(QString key,float &f);
- bool GetData(QString key,char * &c,int &size);
- bool HasKey(QString key);
- void Remove(QString key);
- KGM_TYPE QueryType(QString key);
- QString ToString();
- QString EntryToString(char *key,KMessageEntry *entry);
- QString StringToEntry(QString str,KMessageEntry *entry);
- bool AddString(QString s);
- bool AddStringMsg(QString str);
+ void AddDataType(TQString key,int size,const char *data,KGM_TYPE type);
+ void AddData(TQString key,short data);
+ void AddData(TQString key,long data);
+ void AddData(TQString key,float data);
+ void AddData(TQString key,const char *data,int size=-1);
+ bool GetData(TQString key,short &s);
+ bool GetData(TQString key,long &l);
+ bool GetData(TQString key,float &f);
+ bool GetData(TQString key,char * &c,int &size);
+ bool HasKey(TQString key);
+ void Remove(TQString key);
+ KGM_TYPE QueryType(TQString key);
+ TQString ToString();
+ TQString EntryToString(char *key,KMessageEntry *entry);
+ TQString StringToEntry(TQString str,KMessageEntry *entry);
+ bool AddString(TQString s);
+ bool AddStringMsg(TQString str);
void RemoveAll();
~KEMessage();
KEMessage();