diff options
Diffstat (limited to 'kate/kpybrowser/kpybrowser.cpp')
-rw-r--r-- | kate/kpybrowser/kpybrowser.cpp | 10 |
1 files changed, 5 insertions, 5 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, |