diff options
author | Michele Calgaro <[email protected]> | 2023-07-11 21:42:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 09:04:02 +0900 |
commit | 462dc85dcb12aab8e19797dadf48799656708a54 (patch) | |
tree | 901511cb5d29b2a094b1149d0621add8cb15c0e9 /tools | |
parent | 75cc9de8f47db776021b5e8153c930d9af2108b6 (diff) | |
download | koffice-462dc85dcb12aab8e19797dadf48799656708a54.tar.gz koffice-462dc85dcb12aab8e19797dadf48799656708a54.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 20e4a19b0d7cc800d57be50c56d69023adae4046)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kthesaurus/main.cpp | 2 | ||||
-rw-r--r-- | tools/spell/main.cpp | 2 | ||||
-rw-r--r-- | tools/thesaurus/main.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/kthesaurus/main.cpp b/tools/kthesaurus/main.cpp index 9db6e571..047d2303 100644 --- a/tools/kthesaurus/main.cpp +++ b/tools/kthesaurus/main.cpp @@ -74,7 +74,7 @@ extern "C" KOFFICETOOLS_EXPORT int kdemain(int argc, char **argv) TQString command = "thesaurus_standalone"; // 'standalone' will give us different buttons TQString mimetype = "text/plain"; - TQString datatype = TQSTRING_OBJECT_NAME_STRING; + TQString datatype = "TQString"; //kdDebug() << "KThesaurus command=" << command // << " dataType=" << info->dataType() << endl; diff --git a/tools/spell/main.cpp b/tools/spell/main.cpp index 564f6662..4dc980d8 100644 --- a/tools/spell/main.cpp +++ b/tools/spell/main.cpp @@ -60,7 +60,7 @@ bool SpellChecker::run( const TQString& command, void* data, const TQString& dat } // Check wether we can accept the data - if ( datatype != TQSTRING_OBJECT_NAME_STRING ) + if ( datatype != "TQString" ) { kdDebug(31000) << "SpellChecker only accepts datatype TQString" << endl; return FALSE; diff --git a/tools/thesaurus/main.cpp b/tools/thesaurus/main.cpp index 06da2682..47554d3e 100644 --- a/tools/thesaurus/main.cpp +++ b/tools/thesaurus/main.cpp @@ -236,7 +236,7 @@ bool Thesaurus::run(const TQString& command, void* data, const TQString& datatyp { // Check whether we can accept the data - if ( datatype != TQSTRING_OBJECT_NAME_STRING ) { + if ( datatype != "TQString" ) { kdDebug(31000) << "Thesaurus only accepts datatype TQString" << endl; return FALSE; } |