diff options
Diffstat (limited to 'kate/textfilter')
-rw-r--r-- | kate/textfilter/plugin_katetextfilter.cpp | 6 | ||||
-rw-r--r-- | kate/textfilter/plugin_katetextfilter.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kate/textfilter/plugin_katetextfilter.cpp b/kate/textfilter/plugin_katetextfilter.cpp index c003beb..0b53f45 100644 --- a/kate/textfilter/plugin_katetextfilter.cpp +++ b/kate/textfilter/plugin_katetextfilter.cpp @@ -95,7 +95,7 @@ splitString (TQString q, char c, TQStringList &list) // PCP int pos; TQString item; - while ( (pos = q.tqfind(c)) >= 0) + while ( (pos = q.find(c)) >= 0) { item = q.left(pos); list.append(item); @@ -130,7 +130,7 @@ slipInNewText (Kate::View & view, TQString pre, TQString marked, TQString post, // TODO: fix OnceAndOnlyOnce between this module and plugin_katehtmltools.cpp - if (reselect && preDeleteLine == line && -1 == marked.tqfind ('\n')) + if (reselect && preDeleteLine == line && -1 == marked.find ('\n')) if (preDeleteLine == line && preDeleteCol == col) { view.setCursorPosition (line, col + pre.length () + marked.length () - 1); @@ -333,4 +333,4 @@ bool PluginKateTextFilter::exec( Kate::View *v, const TQString &cmd, TQString &m return true; } //END -// kate: space-indent on; indent-width 2; tqreplace-tabs on; mixed-indent off; +// kate: space-indent on; indent-width 2; replace-tabs on; mixed-indent off; diff --git a/kate/textfilter/plugin_katetextfilter.h b/kate/textfilter/plugin_katetextfilter.h index a3aed2c..772a30d 100644 --- a/kate/textfilter/plugin_katetextfilter.h +++ b/kate/textfilter/plugin_katetextfilter.h @@ -63,4 +63,4 @@ class PluginKateTextFilter : public Kate::Plugin, public Kate::PluginViewInterfa }; #endif // _PLUGIN_KANT_TEXTFILTER_H -// kate: space-indent on; indent-width 2; tqreplace-tabs on; mixed-indent off; +// kate: space-indent on; indent-width 2; replace-tabs on; mixed-indent off; |