summaryrefslogtreecommitdiffstats
path: root/kate/textfilter
diff options
context:
space:
mode:
Diffstat (limited to 'kate/textfilter')
-rw-r--r--kate/textfilter/plugin_katetextfilter.cpp12
-rw-r--r--kate/textfilter/plugin_katetextfilter.h5
2 files changed, 9 insertions, 8 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;
diff --git a/kate/textfilter/plugin_katetextfilter.h b/kate/textfilter/plugin_katetextfilter.h
index 2d5678d..a3aed2c 100644
--- a/kate/textfilter/plugin_katetextfilter.h
+++ b/kate/textfilter/plugin_katetextfilter.h
@@ -33,9 +33,10 @@
class PluginKateTextFilter : public Kate::Plugin, public Kate::PluginViewInterface, public Kate::Command
{
Q_OBJECT
+ TQ_OBJECT
public:
- PluginKateTextFilter( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() );
+ PluginKateTextFilter( TQObject* tqparent = 0, const char* name = 0, const TQStringList& = TQStringList() );
virtual ~PluginKateTextFilter();
void addView (Kate::MainWindow *win);
@@ -62,4 +63,4 @@ class PluginKateTextFilter : public Kate::Plugin, public Kate::PluginViewInterfa
};
#endif // _PLUGIN_KANT_TEXTFILTER_H
-// 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;