diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-01-20 13:31:30 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-01-20 13:31:30 (GMT) |
commit | dcd4714c4413348d02eb7224dafee5d06be43dfb (patch) | |
tree | 3872f0367bbee22883a702d1d2f799c9a9c2e8ac /qtools/qgdict.h | |
parent | 775ab3be95c02dd805aadc73ffbe3c18877c12a4 (diff) | |
download | Doxygen-dcd4714c4413348d02eb7224dafee5d06be43dfb.zip Doxygen-dcd4714c4413348d02eb7224dafee5d06be43dfb.tar.gz Doxygen-dcd4714c4413348d02eb7224dafee5d06be43dfb.tar.bz2 |
Release-1.8.3.1
Diffstat (limited to 'qtools/qgdict.h')
-rw-r--r-- | qtools/qgdict.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qtools/qgdict.h b/qtools/qgdict.h index 6243364..a5c8aa0 100644 --- a/qtools/qgdict.h +++ b/qtools/qgdict.h @@ -83,11 +83,11 @@ private: class QIntBucket : public QBaseBucket { public: - QIntBucket( long k, QCollection::Item d, QBaseBucket *n ) + QIntBucket( intptr_t k, QCollection::Item d, QBaseBucket *n ) : QBaseBucket(d,n), key(k) {} - long getKey() const { return key; } + intptr_t getKey() const { return key; } private: - long key; + intptr_t key; }; class QPtrBucket : public QBaseBucket @@ -178,7 +178,7 @@ public: QCollection::Item get() const; QString getKeyString() const; const char *getKeyAscii() const; - long getKeyInt() const; + intptr_t getKeyInt() const; void *getKeyPtr() const; QCollection::Item operator()(); @@ -208,7 +208,7 @@ inline const char *QGDictIterator::getKeyAscii() const return curNode ? ((QAsciiBucket*)curNode)->getKey() : 0; } -inline long QGDictIterator::getKeyInt() const +inline intptr_t QGDictIterator::getKeyInt() const { return curNode ? ((QIntBucket*)curNode)->getKey() : 0; } |