summaryrefslogtreecommitdiffstats
path: root/kdesu/kdesud/repo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdesu/kdesud/repo.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesu/kdesud/repo.h')
-rw-r--r--kdesu/kdesud/repo.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdesu/kdesud/repo.h b/kdesu/kdesud/repo.h
index fde8cd250..24c156a34 100644
--- a/kdesu/kdesud/repo.h
+++ b/kdesu/kdesud/repo.h
@@ -8,8 +8,8 @@
#define __Repo_h_included__
-#include <qmap.h>
-#include <qcstring.h>
+#include <tqmap.h>
+#include <tqcstring.h>
/**
@@ -17,8 +17,8 @@
*/
struct Data_entry
{
- QCString value;
- QCString group;
+ TQCString value;
+ TQCString group;
unsigned int timeout;
};
@@ -37,31 +37,31 @@ public:
int expire();
/** Add a data element */
- void add(const QCString& key, Data_entry& data);
+ void add(const TQCString& key, Data_entry& data);
/** Delete a data element. */
- int remove(const QCString& key);
+ int remove(const TQCString& key);
/** Delete all data entries having the given group. */
- int removeGroup(const QCString& group);
+ int removeGroup(const TQCString& group);
/** Delete all data entries based on key. */
- int removeSpecialKey(const QCString& key );
+ int removeSpecialKey(const TQCString& key );
/** Checks for the existence of the specified group. */
- int hasGroup(const QCString &group) const;
+ int hasGroup(const TQCString &group) const;
/** Return a data value. */
- QCString find(const QCString& key) const;
+ TQCString find(const TQCString& key) const;
/** Returns the key values for the given group. */
- QCString findKeys(const QCString& group, const char *sep= "-") const;
+ TQCString findKeys(const TQCString& group, const char *sep= "-") const;
private:
- QMap<QCString,Data_entry> repo;
- typedef QMap<QCString,Data_entry>::Iterator RepoIterator;
- typedef QMap<QCString,Data_entry>::ConstIterator RepoCIterator;
+ TQMap<TQCString,Data_entry> repo;
+ typedef TQMap<TQCString,Data_entry>::Iterator RepoIterator;
+ typedef TQMap<TQCString,Data_entry>::ConstIterator RepoCIterator;
unsigned head_time;
};