diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-21 14:52:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-21 14:57:24 (GMT) |
commit | 4a9541d1605333e70b5ab9193d65cb300d8ef18e (patch) | |
tree | 2281e5242581485a4b3d61a8f0b3079f5dd30758 /qtools/qgcache.h | |
parent | c35960af3b0b867cbcd31141e94fe1573ad2bcc0 (diff) | |
download | Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.zip Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.gz Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.bz2 |
Reduce the use of QString in favor of the more efficient QCString
Diffstat (limited to 'qtools/qgcache.h')
-rw-r--r-- | qtools/qgcache.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qtools/qgcache.h b/qtools/qgcache.h index a71f6d3..5d8a243 100644 --- a/qtools/qgcache.h +++ b/qtools/qgcache.h @@ -70,16 +70,16 @@ protected: void setMaxCost( int maxCost ); void clear(); - bool insert_string( const QString &key, QCollection::Item, + bool insert_string( const QCString &key, QCollection::Item, int cost, int priority ); bool insert_other( const char *key, QCollection::Item, int cost, int priority ); - bool remove_string( const QString &key ); + bool remove_string( const QCString &key ); bool remove_other( const char *key ); - QCollection::Item take_string( const QString &key ); + QCollection::Item take_string( const QCString &key ); QCollection::Item take_other( const char *key ); - QCollection::Item find_string( const QString &key, bool ref=TRUE ) const; + QCollection::Item find_string( const QCString &key, bool ref=TRUE ) const; QCollection::Item find_other( const char *key, bool ref=TRUE ) const; void statistics() const; @@ -112,7 +112,7 @@ protected: QCollection::Item toLast(); QCollection::Item get() const; - QString getKeyString() const; + QCString getKeyString() const; const char *getKeyAscii() const; intptr_t getKeyInt() const; |