summaryrefslogtreecommitdiffstats
path: root/krita/sdk/kis_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/sdk/kis_id.h')
-rw-r--r--krita/sdk/kis_id.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/krita/sdk/kis_id.h b/krita/sdk/kis_id.h
index b5651505..7f6f9685 100644
--- a/krita/sdk/kis_id.h
+++ b/krita/sdk/kis_id.h
@@ -21,8 +21,8 @@
#ifndef _KIS_ID_H_
#define _KIS_ID_H_
-#include <qvaluelist.h>
-#include <qstring.h>
+#include <tqvaluelist.h>
+#include <tqstring.h>
/**
* Krita has a large number of extensible resources. Think:
@@ -59,14 +59,14 @@ class KisID {
public:
- KisID() : m_id(QString::null), m_name(QString::null) {}
+ KisID() : m_id(TQString()), m_name(TQString()) {}
- KisID(const QString & id, const QString & name = QString::null)
+ KisID(const TQString & id, const TQString & name = TQString())
: m_id(id),
m_name(name) {};
- QString id() const { return m_id; };
- QString name() const { return m_name; };
+ TQString id() const { return m_id; };
+ TQString name() const { return m_name; };
friend inline bool operator==(const KisID &, const KisID &);
friend inline bool operator!=(const KisID &, const KisID &);
@@ -75,8 +75,8 @@ public:
private:
- QString m_id;
- QString m_name;
+ TQString m_id;
+ TQString m_name;
};
@@ -103,6 +103,6 @@ inline bool operator>(const KisID &v1, const KisID &v2)
}
-typedef QValueList<KisID> KisIDList;
+typedef TQValueList<KisID> KisIDList;
#endif // _KIS_ID_H_