summaryrefslogtreecommitdiffstats
path: root/kate/textfilter/plugin_katetextfilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/textfilter/plugin_katetextfilter.cpp')
-rw-r--r--kate/textfilter/plugin_katetextfilter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kate/textfilter/plugin_katetextfilter.cpp b/kate/textfilter/plugin_katetextfilter.cpp
index 2d8e446..c003beb 100644
--- a/kate/textfilter/plugin_katetextfilter.cpp
+++ b/kate/textfilter/plugin_katetextfilter.cpp
@@ -44,8 +44,8 @@ class PluginView : public KXMLGUIClient
Kate::MainWindow *win;
};
-PluginKateTextFilter::PluginKateTextFilter( TQObject* parent, const char* name, const TQStringList& )
- : Kate::Plugin ( (Kate::Application *)parent, name ),
+PluginKateTextFilter::PluginKateTextFilter( TQObject* tqparent, const char* name, const TQStringList& )
+ : Kate::Plugin ( (Kate::Application *)tqparent, name ),
Kate::Command(),
m_pFilterShellProcess (NULL)
{
@@ -95,7 +95,7 @@ splitString (TQString q, char c, TQStringList &list) // PCP
int pos;
TQString item;
- while ( (pos = q.find(c)) >= 0)
+ while ( (pos = q.tqfind(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.find ('\n'))
+ if (reselect && preDeleteLine == line && -1 == marked.tqfind ('\n'))
if (preDeleteLine == line && preDeleteCol == col)
{
view.setCursorPosition (line, col + pre.length () + marked.length () - 1);
@@ -161,7 +161,7 @@ KatePrompt
// TODO: Make this a "memory edit" field with a combo box
// containing prior entries
- KLineEditDlg dlg(strPrompt, TQString::null, that);
+ KLineEditDlg dlg(strPrompt, TQString(), that);
dlg.setCaption(strTitle);
KCompletion *comple=dlg.lineEdit()->completionObject();
comple->setItems(*completionList);
@@ -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; replace-tabs on; mixed-indent off;
+// kate: space-indent on; indent-width 2; tqreplace-tabs on; mixed-indent off;