summaryrefslogtreecommitdiffstats
path: root/kate/htmltools
diff options
context:
space:
mode:
Diffstat (limited to 'kate/htmltools')
-rw-r--r--kate/htmltools/plugin_katehtmltools.cpp8
-rw-r--r--kate/htmltools/plugin_katehtmltools.h3
2 files changed, 6 insertions, 5 deletions
diff --git a/kate/htmltools/plugin_katehtmltools.cpp b/kate/htmltools/plugin_katehtmltools.cpp
index f66ef8e..a71c91c 100644
--- a/kate/htmltools/plugin_katehtmltools.cpp
+++ b/kate/htmltools/plugin_katehtmltools.cpp
@@ -36,8 +36,8 @@ class PluginView : public KXMLGUIClient
Kate::MainWindow *win;
};
-PluginKateHtmlTools::PluginKateHtmlTools( TQObject* parent, const char* name, const TQStringList& )
- : Kate::Plugin ( (Kate::Application *)parent, name )
+PluginKateHtmlTools::PluginKateHtmlTools( TQObject* tqparent, const char* name, const TQStringList& )
+ : Kate::Plugin ( (Kate::Application *)tqparent, name )
{
}
@@ -103,7 +103,7 @@ TQString PluginKateHtmlTools::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);
if (dlg.exec())
@@ -142,7 +142,7 @@ void PluginKateHtmlTools::slipInHTMLtag (Kate::View & view, TQString text) //
// when we try to reselect. TODO: fix those bugs, and we can
// un-break this if...
- if (preDeleteLine == line && -1 == marked.find ('\n'))
+ if (preDeleteLine == line && -1 == marked.tqfind ('\n'))
if (preDeleteLine == line && preDeleteCol == col)
{
view.setCursorPosition (line, col + pre.length () + marked.length () - 1);
diff --git a/kate/htmltools/plugin_katehtmltools.h b/kate/htmltools/plugin_katehtmltools.h
index 695211c..f517b99 100644
--- a/kate/htmltools/plugin_katehtmltools.h
+++ b/kate/htmltools/plugin_katehtmltools.h
@@ -31,9 +31,10 @@
class PluginKateHtmlTools : public Kate::Plugin, Kate::PluginViewInterface
{
Q_OBJECT
+ TQ_OBJECT
public:
- PluginKateHtmlTools( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() );
+ PluginKateHtmlTools( TQObject* tqparent = 0, const char* name = 0, const TQStringList& = TQStringList() );
virtual ~PluginKateHtmlTools();
void addView (Kate::MainWindow *win);