diff options
Diffstat (limited to 'tools/kthesaurus/main.cc')
-rw-r--r-- | tools/kthesaurus/main.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/kthesaurus/main.cc b/tools/kthesaurus/main.cc index 6b50a81b..a7e74822 100644 --- a/tools/kthesaurus/main.cc +++ b/tools/kthesaurus/main.cc @@ -16,7 +16,7 @@ * * ***************************************************************************/ -#include <qstring.h> +#include <tqstring.h> #include <kaboutdata.h> #include <kapplication.h> @@ -59,22 +59,22 @@ extern "C" KOFFICETOOLS_EXPORT int kdemain(int argc, char **argv) } /* TODO: get selection(), not only clipboard! - QClipboard *cb = QApplication::clipboard(); - QString text = cb->text(); + TQClipboard *cb = TQApplication::tqclipboard(); + TQString text = cb->text(); if( text.isNull() || text.length() > 50 ) { // long texts are probably not supposed to be searched for text = ""; } */ - QString text = ""; + TQString text = ""; KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); if ( args->count() > 0 ) { text = args->arg(0); } - QString command = "thesaurus_standalone"; // 'standalone' will give us different buttons - QString mimetype = "text/plain"; - QString datatype = "QString"; + TQString command = "thesaurus_standalone"; // 'standalone' will give us different buttons + TQString mimetype = "text/plain"; + TQString datatype = TQSTRING_OBJECT_NAME_STRING; //kdDebug() << "KThesaurus command=" << command // << " dataType=" << info->dataType() << endl; |