summaryrefslogtreecommitdiffstats
path: root/kparts/tests/plugin_spellcheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/tests/plugin_spellcheck.cpp')
-rw-r--r--kparts/tests/plugin_spellcheck.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kparts/tests/plugin_spellcheck.cpp b/kparts/tests/plugin_spellcheck.cpp
index 156552e1b..5521bf22f 100644
--- a/kparts/tests/plugin_spellcheck.cpp
+++ b/kparts/tests/plugin_spellcheck.cpp
@@ -1,5 +1,5 @@
#include "notepad.h" // this plugin applies to a notepad part
-#include <qmultilineedit.h>
+#include <tqmultilineedit.h>
#include "plugin_spellcheck.h"
#include <kaction.h>
#include <kgenericfactory.h>
@@ -7,11 +7,11 @@
#include <klocale.h>
#include <kdebug.h>
-PluginSpellCheck::PluginSpellCheck( QObject* parent, const char* name,
- const QStringList& )
+PluginSpellCheck::PluginSpellCheck( TQObject* parent, const char* name,
+ const TQStringList& )
: Plugin( parent, name )
{
- (void) new KAction( "&Select current line (plugin)", 0, this, SLOT(slotSpellCheck()),
+ (void) new KAction( "&Select current line (plugin)", 0, this, TQT_SLOT(slotSpellCheck()),
actionCollection(), "spellcheck" );
}
@@ -28,7 +28,7 @@ void PluginSpellCheck::slotSpellCheck()
else
{
NotepadPart * part = (NotepadPart *) parent();
- QMultiLineEdit * widget = (QMultiLineEdit *) part->widget();
+ TQMultiLineEdit * widget = (TQMultiLineEdit *) part->widget();
widget->selectAll(); //selects current line !
}
}