diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/customlistviewitem.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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 'korganizer/customlistviewitem.h')
-rw-r--r-- | korganizer/customlistviewitem.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/customlistviewitem.h b/korganizer/customlistviewitem.h index c4ea1a97f..c25d780d3 100644 --- a/korganizer/customlistviewitem.h +++ b/korganizer/customlistviewitem.h @@ -24,8 +24,8 @@ #ifndef CUSTOMLISTVIEWITEM_H #define CUSTOMLISTVIEWITEM_H -#include <qmap.h> -#include <qstring.h> +#include <tqmap.h> +#include <tqstring.h> #include <klistview.h> template<class T> @@ -42,14 +42,14 @@ class CustomListViewItem : public KListViewItem T data() const { return mData; } - QString key(int column, bool) const + TQString key(int column, bool) const { - QMap<int,QString>::ConstIterator it = mKeyMap.find(column); + TQMap<int,TQString>::ConstIterator it = mKeyMap.find(column); if (it == mKeyMap.end()) return text(column); else return *it; } - void setSortKey(int column,const QString &key) + void setSortKey(int column,const TQString &key) { mKeyMap.insert(column,key); } @@ -57,7 +57,7 @@ class CustomListViewItem : public KListViewItem private: T mData; - QMap<int,QString> mKeyMap; + TQMap<int,TQString> mKeyMap; }; #endif |