diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 330c33ab6f97b279737bf9527c9add7bb1475450 (patch) | |
tree | 85cb998d3077ae295d65944ebb4d0189fc660ead /parts/doxygen | |
parent | 093de0db4fea89b3f94a2359c6981f353d035eb7 (diff) | |
download | tdevelop-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/doxygen')
-rw-r--r-- | parts/doxygen/config.cpp | 26 | ||||
-rw-r--r-- | parts/doxygen/config.h | 2 | ||||
-rw-r--r-- | parts/doxygen/doxygenconfigwidget.cpp | 10 | ||||
-rw-r--r-- | parts/doxygen/input.cpp | 2 | ||||
-rw-r--r-- | parts/doxygen/messages.cpp | 2 |
5 files changed, 21 insertions, 21 deletions
diff --git a/parts/doxygen/config.cpp b/parts/doxygen/config.cpp index 658f5ae5..727020bf 100644 --- a/parts/doxygen/config.cpp +++ b/parts/doxygen/config.cpp @@ -708,7 +708,7 @@ void ConfigBool::convertStrToVal() TQCString &Config::getString(const char *fileName,int num,const char *name) const { - ConfigOption *opt = m_dict->tqfind(name); + ConfigOption *opt = m_dict->find(name); if (opt==0) { config_err("%s<%d>: Internal error: Requested unknown option %s!\n",fileName,num,name); @@ -724,7 +724,7 @@ TQCString &Config::getString(const char *fileName,int num,const char *name) cons TQStrList &Config::getList(const char *fileName,int num,const char *name) const { - ConfigOption *opt = m_dict->tqfind(name); + ConfigOption *opt = m_dict->find(name); if (opt==0) { config_err("%s<%d>: Internal error: Requested unknown option %s!\n",fileName,num,name); @@ -740,7 +740,7 @@ TQStrList &Config::getList(const char *fileName,int num,const char *name) const TQCString &Config::getEnum(const char *fileName,int num,const char *name) const { - ConfigOption *opt = m_dict->tqfind(name); + ConfigOption *opt = m_dict->find(name); if (opt==0) { config_err("%s<%d>: Internal error: Requested unknown option %s!\n",fileName,num,name); @@ -756,7 +756,7 @@ TQCString &Config::getEnum(const char *fileName,int num,const char *name) const int &Config::getInt(const char *fileName,int num,const char *name) const { - ConfigOption *opt = m_dict->tqfind(name); + ConfigOption *opt = m_dict->find(name); if (opt==0) { config_err("%s<%d>: Internal error: Requested unknown option %s!\n",fileName,num,name); @@ -772,7 +772,7 @@ int &Config::getInt(const char *fileName,int num,const char *name) const bool &Config::getBool(const char *fileName,int num,const char *name) const { - ConfigOption *opt = m_dict->tqfind(name); + ConfigOption *opt = m_dict->find(name); if (opt==0) { config_err("%s<%d>: Internal error: Requested unknown option %s!\n",fileName,num,name); @@ -2493,7 +2493,7 @@ static void substEnvVarsInStrList(TQStrList &sl) { TQCString result(s); // an argument with quotes will have an extra space at the end, so wasQuoted will be TRUE. - bool wasQuoted = (result.tqfind(' ')!=-1) || (result.tqfind('\t')!=-1); + bool wasQuoted = (result.find(' ')!=-1) || (result.find('\t')!=-1); // here we strip the quote again substEnvVarsInString(result); @@ -2654,15 +2654,15 @@ void Config::check() } else { - if (warnFormat.tqfind("$file")==-1) + if (warnFormat.find("$file")==-1) { config_err("Warning: warning format does not contain a $file tag!\n"); } - if (warnFormat.tqfind("$line")==-1) + if (warnFormat.find("$line")==-1) { config_err("Warning: warning format does not contain a $line tag!\n"); } - if (warnFormat.tqfind("$text")==-1) + if (warnFormat.find("$text")==-1) { config_err("Warning: warning format foes not contain a $text tag!\n"); } @@ -2774,7 +2774,7 @@ void Config::check() TQRegExp re2("[a-z_A-Z][a-z_A-Z0-9]*{[0-9]*}[ \t]*="); // alias with argument TQCString alias=s; alias=alias.stripWhiteSpace(); - if (alias.tqfind(re1)!=0 && alias.tqfind(re2)!=0) + if (alias.find(re1)!=0 && alias.find(re2)!=0) { config_err("Illegal alias format `%s'. Use \"name=value\" or \"name(n)=value\", where n is the number of arguments\n", alias.data()); @@ -3042,7 +3042,7 @@ void Config::check() annotationFromBrief.append("is"); annotationFromBrief.append("provides"); annotationFromBrief.append("specifies"); - annotationFromBrief.append("tqcontains"); + annotationFromBrief.append("contains"); annotationFromBrief.append("represents"); annotationFromBrief.append("a"); annotationFromBrief.append("an"); @@ -3306,7 +3306,7 @@ void Config::create() "used as the annotated text. Otherwise, the brief description is used as-is. \n" "If left blank, the following values are used (\"$name\" is automatically \n" "replaced with the name of the entity): \"The $name class\" \"The $name widget\" \n" - "\"The $name file\" \"is\" \"provides\" \"specifies\" \"tqcontains\" \n" + "\"The $name file\" \"is\" \"provides\" \"specifies\" \"contains\" \n" "\"represents\" \"a\" \"an\" \"the\"\n" ); cb = addBool( @@ -4132,7 +4132,7 @@ void Config::create() "To create a documentation set, doxygen will generate a Makefile in the \n" "HTML output directory. Running make will produce the docset in that \n" "directory and running \"make install\" will install the docset in \n" - "~/Library/Developer/Shared/Documentation/DocSets so that Xcode will tqfind \n" + "~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find \n" "it at startup. \n" "See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html " "for more information. \n", diff --git a/parts/doxygen/config.h b/parts/doxygen/config.h index 19d877d8..3d47d5c6 100644 --- a/parts/doxygen/config.h +++ b/parts/doxygen/config.h @@ -409,7 +409,7 @@ class Config */ ConfigOption *get(const char *name) const { - return m_dict->tqfind(name); + return m_dict->find(name); } /* @} */ diff --git a/parts/doxygen/doxygenconfigwidget.cpp b/parts/doxygen/doxygenconfigwidget.cpp index eb08f0f9..f1f28473 100644 --- a/parts/doxygen/doxygenconfigwidget.cpp +++ b/parts/doxygen/doxygenconfigwidget.cpp @@ -184,13 +184,13 @@ void DoxygenConfigWidget::addDependency(TQDict<TQObject> *switches, if (dep.isEmpty()) return; - IInput *tqparent = m_inputWidgets->tqfind(dep); + IInput *tqparent = m_inputWidgets->find(dep); Q_ASSERT(tqparent!=0); - IInput *child = m_inputWidgets->tqfind(name); + IInput *child = m_inputWidgets->find(name); Q_ASSERT(child!=0); - if (!switches->tqfind(dep)) + if (!switches->find(dep)) switches->insert(dep, tqparent->qobject()); - TQPtrList<IInput> *list = m_dependencies->tqfind(dep); + TQPtrList<IInput> *list = m_dependencies->find(dep); if (!list) { list = new TQPtrList<IInput>; m_dependencies->insert(dep, list); @@ -201,7 +201,7 @@ void DoxygenConfigWidget::addDependency(TQDict<TQObject> *switches, void DoxygenConfigWidget::toggle(const TQString &name, bool state) { - TQPtrList<IInput> *inputs = m_dependencies->tqfind(name); + TQPtrList<IInput> *inputs = m_dependencies->find(name); Q_ASSERT(inputs!=0); IInput *input = inputs->first(); while (input) { diff --git a/parts/doxygen/input.cpp b/parts/doxygen/input.cpp index 3414ee6d..de1577f1 100644 --- a/parts/doxygen/input.cpp +++ b/parts/doxygen/input.cpp @@ -245,7 +245,7 @@ InputString::~InputString() void InputString::init() { if (sm == StringFixed) { - int *itemIndex = m_values->tqfind(str); + int *itemIndex = m_values->find(str); if (itemIndex) com->setCurrentItem(*itemIndex); else diff --git a/parts/doxygen/messages.cpp b/parts/doxygen/messages.cpp index ee56cb34..dcebe217 100644 --- a/parts/doxygen/messages.cpp +++ b/parts/doxygen/messages.cpp @@ -289,7 +289,7 @@ TQString message(const TQCString &key) initialized = true; } - if (!sMessages.tqcontains(key)) + if (!sMessages.contains(key)) { kdDebug() << "Unhandled message: " << key << endl; |