summaryrefslogtreecommitdiffstats
path: root/kdecore/ksycocadict.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/ksycocadict.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/ksycocadict.h')
-rw-r--r--kdecore/ksycocadict.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdecore/ksycocadict.h b/kdecore/ksycocadict.h
index dec6a8cc8..94a2bc646 100644
--- a/kdecore/ksycocadict.h
+++ b/kdecore/ksycocadict.h
@@ -19,9 +19,9 @@
#ifndef __ksycocadict_h__
#define __ksycocadict_h__
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qdatastream.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqdatastream.h>
#include "kdelibs_export.h"
class KSycocaEntry;
@@ -41,7 +41,7 @@ public:
/**
* Create a dict from an existing database
*/
- KSycocaDict(QDataStream *str, int offset);
+ KSycocaDict(TQDataStream *str, int offset);
~KSycocaDict();
@@ -51,14 +51,14 @@ public:
* 'payload' should have a valid offset by the time
* the dictionary gets saved.
**/
- void add(const QString &key, KSycocaEntry *payload);
+ void add(const TQString &key, KSycocaEntry *payload);
/**
* Removes the 'payload' from the dictionary with key 'key'.
*
* Not very fast, use with care O(N)
**/
- void remove(const QString &key);
+ void remove(const TQString &key);
/**
* Looks up an entry identified by 'key'.
@@ -72,7 +72,7 @@ public:
* indeed matches the search key. If it doesn't
* then no matching entry exists.
*/
- int find_string(const QString &key );
+ int find_string(const TQString &key );
/**
* The number of entries in the dictionary.
@@ -108,16 +108,16 @@ public:
* The hash table size will be approx. 20Kb.
* The duplicate list size will be approx. 12Kb.
**/
- void save(QDataStream &str);
+ void save(TQDataStream &str);
protected:
- Q_UINT32 hashKey( const QString &);
+ Q_UINT32 hashKey( const TQString &);
private:
KSycocaDictStringList *d;
- QDataStream *mStr;
+ TQDataStream *mStr;
Q_INT32 mOffset;
Q_UINT32 mHashTableSize;
- QValueList<Q_INT32> mHashList;
+ TQValueList<Q_INT32> mHashList;
};
#endif