diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-30 23:26:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-30 23:26:07 +0000 |
commit | e5e5db14bf9a12b17fefe650fface82bb250aaec (patch) | |
tree | 04c3848e58635eaa773ef7d85a4ed24597be33dd /qtinterface/tqt4/Qt/qlist.h | |
parent | f7c45454128a78405313e1ebb86ef5f597481ebe (diff) | |
download | tqtinterface-e5e5db14bf9a12b17fefe650fface82bb250aaec.tar.gz tqtinterface-e5e5db14bf9a12b17fefe650fface82bb250aaec.zip |
* More TQt/Qt4 features
* Various compilation fixes for Slackware
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1170159 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqt4/Qt/qlist.h')
-rw-r--r-- | qtinterface/tqt4/Qt/qlist.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtinterface/tqt4/Qt/qlist.h b/qtinterface/tqt4/Qt/qlist.h index 39e44d9..9a16b9e 100644 --- a/qtinterface/tqt4/Qt/qlist.h +++ b/qtinterface/tqt4/Qt/qlist.h @@ -163,8 +163,8 @@ public: inline uint containsRef( const T &t ) { return count(t); }; int count(const T &t) const; - inline T next() { current_index++; return *this[current_index]; } - inline T prev() { current_index--; return *this[current_index]; } + inline T next() { current_index++; return this[current_index]; } + inline T prev() { current_index--; return this[current_index]; } class const_iterator; @@ -448,7 +448,7 @@ inline void QList<T>::insert(iterator pos, int n, const T &x) { int q; for (q=0;q<n;q++) { - this.insert(pos, x); + this->insert(pos, x); } } |