diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kparts/tests/plugin_spellcheck.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kparts/tests/plugin_spellcheck.cpp')
-rw-r--r-- | kparts/tests/plugin_spellcheck.cpp | 10 |
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 ! } } |