diff options
author | Michele Calgaro <[email protected]> | 2024-02-16 19:57:03 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-17 12:47:08 +0900 |
commit | 9689d714545115dde7861de2365a894be65d3574 (patch) | |
tree | 10511e1dcb2ef54b8089ed7a5725682c451df427 /src | |
parent | 51fbf1716ee6607a1589badc5ee3030ac87710ae (diff) | |
download | piklab-9689d714545115dde7861de2365a894be65d3574.tar.gz piklab-9689d714545115dde7861de2365a894be65d3574.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 92c834cf92ff78f768ec2bf2b698e3353bca5910)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/global/about.cpp | 2 | ||||
-rw-r--r-- | src/common/nokde/nokde_tdecmdlineargs.cpp | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/common/global/about.cpp b/src/common/global/about.cpp index e0567dc..5f1942f 100644 --- a/src/common/global/about.cpp +++ b/src/common/global/about.cpp @@ -48,7 +48,7 @@ void Piklab::init(TDEAboutData *about, int argc, char **argv, bool gui, const TD # if defined(Q_OS_WIN) printf("%s \"win32\": version %s\n", about->appName(), VERSION); # else - printf("%s \"qt-only\": version %s (rev. %s)\n", about->appName(), VERSION, SVN_REVISION); + printf("%s \"tqt-only\": version %s (rev. %s)\n", about->appName(), VERSION, SVN_REVISION); # endif Q_UNUSED(gui); Q_ASSERT( !gui ); diff --git a/src/common/nokde/nokde_tdecmdlineargs.cpp b/src/common/nokde/nokde_tdecmdlineargs.cpp index 613a118..25b8a9d 100644 --- a/src/common/nokde/nokde_tdecmdlineargs.cpp +++ b/src/common/nokde/nokde_tdecmdlineargs.cpp @@ -258,7 +258,7 @@ TDECmdLineArgs::saveAppArgs( TQDataStream &ds) parseAllArgs(); // Remove TQt and KDE options. - removeArgs("qt"); + removeArgs("tqt"); removeArgs("kde"); TQCString qCwd = mCwd; @@ -281,7 +281,7 @@ void TDECmdLineArgs::loadAppArgs( TQDataStream &ds) { // Remove TQt and KDE options. - removeArgs("qt"); + removeArgs("tqt"); removeArgs("kde"); TDECmdLineArgs *args; @@ -699,8 +699,8 @@ TDECmdLineArgs::tqt_argc() if( tqt_argc != -1 ) return &tqt_argc; - TDECmdLineArgs *args = parsedArgs("qt"); - assert(args); // No qt options have been added! + TDECmdLineArgs *args = parsedArgs("tqt"); + assert(args); // No tqt options have been added! if (!argv) { fprintf(stderr, "\n\nFAILURE (TDECmdLineArgs):\n"); @@ -730,8 +730,8 @@ TDECmdLineArgs::tqt_argv() if( tqt_argv != NULL ) return &tqt_argv; - TDECmdLineArgs *args = parsedArgs("qt"); - assert(args); // No qt options have been added! + TDECmdLineArgs *args = parsedArgs("tqt"); + assert(args); // No tqt options have been added! if (!argv) { fprintf(stderr, "\n\nFAILURE (TDECmdLineArgs):\n"); @@ -1018,7 +1018,7 @@ TDECmdLineArgs::TDECmdLineArgs( const TDECmdLineOptions *_options, { parsedOptionList = 0; parsedArgList = 0; - isTQt = (::qstrcmp(id, "qt") == 0); + isTQt = (::qstrcmp(id, "tqt") == 0); } /** |