From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- tools/kthesaurus/main.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools/kthesaurus/main.cc') 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 +#include #include #include @@ -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; -- cgit v1.2.1