diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/ctags2/tags.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/ctags2/tags.h')
-rw-r--r-- | parts/ctags2/tags.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/parts/ctags2/tags.h b/parts/ctags2/tags.h index 1d7e3604..22b7e7ea 100644 --- a/parts/ctags2/tags.h +++ b/parts/ctags2/tags.h @@ -12,10 +12,10 @@ #ifndef TAGS_H #define TAGS_H -#include <qvaluelist.h> -#include <qcstring.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqvaluelist.h> +#include <tqcstring.h> +#include <tqstring.h> +#include <tqstringlist.h> class Tags { @@ -24,49 +24,49 @@ public: struct TagEntry { TagEntry(); - TagEntry( const QString & tag, const QString & type, const QString & file, const QString & pattern ); + TagEntry( const TQString & tag, const TQString & type, const TQString & file, const TQString & pattern ); - QString tag; - QString type; - QString file; - QString pattern; + TQString tag; + TQString type; + TQString file; + TQString pattern; }; - typedef QValueList<TagEntry> TagList; + typedef TQValueList<TagEntry> TagList; /** * Method to set the tag database filename * @param file the tag database filename */ - static void setTagFiles(const QStringList& tagFiles); + static void setTagFiles(const TQStringList& tagFiles); - static QStringList getTagFiles(); + static TQStringList getTagFiles(); /** * Method to check if the tag database contains a specific tag * @param tag Tag to look up * @return returns true if tag database contains 'tag' */ - static bool hasTag( const QString & tag ); + static bool hasTag( const TQString & tag ); - static unsigned int numberOfPartialMatches( const QString & tagpart ); - static unsigned int numberOfExactMatches( const QString & tag ); - static unsigned int numberOfMatches( const QString & tagpart, bool partial ); + static unsigned int numberOfPartialMatches( const TQString & tagpart ); + static unsigned int numberOfExactMatches( const TQString & tag ); + static unsigned int numberOfMatches( const TQString & tagpart, bool partial ); - static TagList getPartialMatches( const QString & tagpart ); - static TagList getExactMatches( const QString & tag ); - static TagList getMatches( const QString & tagpart, bool partial, const QStringList & types = QStringList() ); + static TagList getPartialMatches( const TQString & tagpart ); + static TagList getExactMatches( const TQString & tag ); + static TagList getMatches( const TQString & tagpart, bool partial, const TQStringList & types = TQStringList() ); private: static Tags::TagList getMatches(const char* tagFile, - const QString & tagpart, + const TQString & tagpart, bool partial, - const QStringList & types ); + const TQStringList & types ); static unsigned int numberOfMatches(const char* tagFile, - const QString & tagpart, + const TQString & tagpart, bool partial ); - static bool hasTag(const char* tagFile, const QString & tag ); - static QStringList _tagFiles; + static bool hasTag(const char* tagFile, const TQString & tag ); + static TQStringList _tagFiles; }; #endif |