diff options
Diffstat (limited to 'kate/kpybrowser')
-rw-r--r-- | kate/kpybrowser/kpybrowser.cpp | 10 | ||||
-rw-r--r-- | kate/kpybrowser/pybrowse_part.cpp | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kate/kpybrowser/kpybrowser.cpp b/kate/kpybrowser/kpybrowser.cpp index 483a677..e69205f 100644 --- a/kate/kpybrowser/kpybrowser.cpp +++ b/kate/kpybrowser/kpybrowser.cpp @@ -290,7 +290,7 @@ KPyBrowser::parseText (TQString & pytext) //strip out the beginning class and ending colon class_sig = line->stripWhiteSpace ().mid (6); class_sig = class_sig.left (class_sig.length () - 1); - paren_i = class_sig.tqfind ("("); + paren_i = class_sig.find ("("); class_name = class_sig.left (paren_i); last_class_node = @@ -305,8 +305,8 @@ KPyBrowser::parseText (TQString & pytext) { //strip off the leading def and the ending colon method_sig = line->stripWhiteSpace ().mid (4); - method_sig = method_sig.left (method_sig.tqfind (":")); - paren_i = method_sig.tqfind ("("); + method_sig = method_sig.left (method_sig.find (":")); + paren_i = method_sig.find ("("); method_name = method_sig.left (paren_i); last_method_node = new PyBrowseNode (last_class_node, method_name, method_sig, @@ -320,8 +320,8 @@ KPyBrowser::parseText (TQString & pytext) { //KMessageBox::information(this, *line, TQString("Found function on line %1").tqarg(line_no)); function_sig = line->stripWhiteSpace ().mid (4); - function_sig = function_sig.left (function_sig.tqfind (":")); - paren_i = function_sig.tqfind ("("); + function_sig = function_sig.left (function_sig.find (":")); + paren_i = function_sig.find ("("); function_name = function_sig.left (paren_i); last_function_node = new PyBrowseNode (function_root, function_name, function_sig, diff --git a/kate/kpybrowser/pybrowse_part.cpp b/kate/kpybrowser/pybrowse_part.cpp index bd9f791..1cff538 100644 --- a/kate/kpybrowser/pybrowse_part.cpp +++ b/kate/kpybrowser/pybrowse_part.cpp @@ -82,7 +82,7 @@ void PluginViewPyBrowse::slotSelected(TQString name, int line) done = 1; if (forward_line < numlines) { - if (doc->textLine(forward_line).tqfind(name) > -1) + if (doc->textLine(forward_line).find(name) > -1) { apiline = forward_line; break; @@ -92,7 +92,7 @@ void PluginViewPyBrowse::slotSelected(TQString name, int line) } if (backward_line > -1) { - if (doc->textLine(backward_line).tqfind(name) > -1) + if (doc->textLine(backward_line).find(name) > -1) { apiline = backward_line; break; |