diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-16 19:57:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-16 19:57:03 +0900 |
commit | 92c834cf92ff78f768ec2bf2b698e3353bca5910 (patch) | |
tree | c67c83824681a50709da2532b1594cb05099f241 /src | |
parent | 85cbbf1259b086717b07295582878cac3c211aeb (diff) | |
download | piklab-92c834cf92ff78f768ec2bf2b698e3353bca5910.tar.gz piklab-92c834cf92ff78f768ec2bf2b698e3353bca5910.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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); } /** |