summaryrefslogtreecommitdiffstats
path: root/parts/ctags2
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /parts/ctags2
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/ctags2')
-rw-r--r--parts/ctags2/ctags2_part.cpp2
-rw-r--r--parts/ctags2/ctags2_settingswidget.cpp2
-rw-r--r--parts/ctags2/readtags.c4
-rw-r--r--parts/ctags2/tags.cpp2
-rw-r--r--parts/ctags2/tags.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/parts/ctags2/ctags2_part.cpp b/parts/ctags2/ctags2_part.cpp
index 6dc0063b..93270a78 100644
--- a/parts/ctags2/ctags2_part.cpp
+++ b/parts/ctags2/ctags2_part.cpp
@@ -270,7 +270,7 @@ int CTags2Part::getFileLineFromStream( TQTextStream & istream, TQString const &
// ctags interestingly escapes "/", but apparently nothing else. lets revert that
TQString unescaped = pattern;
- unescaped.tqreplace( "\\/", "/" );
+ unescaped.replace( "\\/", "/" );
// most of the time, the ctags pattern has the form /^foo$/
// but this isn't true for some macro definitions
diff --git a/parts/ctags2/ctags2_settingswidget.cpp b/parts/ctags2/ctags2_settingswidget.cpp
index ea607eb6..da50a317 100644
--- a/parts/ctags2/ctags2_settingswidget.cpp
+++ b/parts/ctags2/ctags2_settingswidget.cpp
@@ -91,7 +91,7 @@ void CTags2SettingsWidget::loadSettings()
while ( it != entryMap.end() )
{
TQString file = config->readPathEntry( it.key() );
- new TagsItem( otherTagFiles, it.key(), file, activeTagsFiles.tqcontains( file ) );
+ new TagsItem( otherTagFiles, it.key(), file, activeTagsFiles.contains( file ) );
++it;
}
}
diff --git a/parts/ctags2/readtags.c b/parts/ctags2/readtags.c
index dce0a2e8..38014d3f 100644
--- a/parts/ctags2/readtags.c
+++ b/parts/ctags2/readtags.c
@@ -649,7 +649,7 @@ static tagResult findSequential (tagFile *const file)
return result;
}
-static tagResult tqfind (tagFile *const file, tagEntry *const entry,
+static tagResult find (tagFile *const file, tagEntry *const entry,
const char *const name, const int options)
{
tagResult result = TagFailure;
@@ -758,7 +758,7 @@ extern tagResult tagsFind (tagFile *const file, tagEntry *const entry,
{
tagResult result = TagFailure;
if (file != NULL && file->initialized)
- result = tqfind (file, entry, name, options);
+ result = find (file, entry, name, options);
return result;
}
diff --git a/parts/ctags2/tags.cpp b/parts/ctags2/tags.cpp
index 8b83c701..19993823 100644
--- a/parts/ctags2/tags.cpp
+++ b/parts/ctags2/tags.cpp
@@ -123,7 +123,7 @@ Tags::TagList Tags::getMatches(const char* tagFile, const TQString & tagpart, bo
{
type = "macro";
}
- if ( types.isEmpty() || types.tqcontains( entry.kind ) )
+ if ( types.isEmpty() || types.contains( entry.kind ) )
{
list << TagEntry( TQString( entry.name ), type, file, TQString( entry.address.pattern ) );
}
diff --git a/parts/ctags2/tags.h b/parts/ctags2/tags.h
index d289d9d6..22b7e7ea 100644
--- a/parts/ctags2/tags.h
+++ b/parts/ctags2/tags.h
@@ -45,7 +45,7 @@ public:
/**
* Method to check if the tag database contains a specific tag
* @param tag Tag to look up
- * @return returns true if tag database tqcontains 'tag'
+ * @return returns true if tag database contains 'tag'
*/
static bool hasTag( const TQString & tag );