Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/13/head
Michele Calgaro 10 months ago
parent 85cbbf1259
commit 92c834cf92
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -134,7 +134,7 @@ SHORT_NAMES = NO
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
# will interpret the first line (until the first dot) of a JavaDoc-style # will interpret the first line (until the first dot) of a JavaDoc-style
# comment as the brief description. If set to NO, the JavaDoc # comment as the brief description. If set to NO, the JavaDoc
# comments will behave just like the Qt-style comments (thus requiring an # comments will behave just like the TQt-style comments (thus requiring an
# explicit @brief command for a brief description. # explicit @brief command for a brief description.
JAVADOC_AUTOBRIEF = NO JAVADOC_AUTOBRIEF = NO

@ -10,8 +10,8 @@ win32: LIBUSB_PATH = "C:\Progra~1\LibUSB-Win32"
DEFINES += NO_KDE TQT_NO_ASCII_CAST DEFINES += NO_KDE TQT_NO_ASCII_CAST
OBJECTS_DIR = .libs OBJECTS_DIR = .libs
MOC_DIR = .libs MOC_DIR = .libs
QT = qt3support core xml network TQT = qt3support core xml network
CONFIG += qt thread warn_on console CONFIG += tqt thread warn_on console
unix:CONFIG += release #debug unix:CONFIG += release #debug
win32:CONFIG += release win32:CONFIG += release
INCLUDEPATH += $${STOPDIR}/src $${STOPDIR} INCLUDEPATH += $${STOPDIR}/src $${STOPDIR}

@ -17,7 +17,7 @@
.SH "NAME" .SH "NAME"
piklab\-coff \- Command\-line utility to view COFF files. piklab\-coff \- Command\-line utility to view COFF files.
.SH "SYNOPSIS" .SH "SYNOPSIS"
.B piklab\-coff [Qt\-options] [KDE\-options] [options] [file] .B piklab\-coff [TQt\-options] [KDE\-options] [options] [file]
.RI .RI
.SH "DESCRIPTION" .SH "DESCRIPTION"
@ -42,8 +42,8 @@ Show summary of options.
.B \-v, \-\-version .B \-v, \-\-version
Show version of program. Show version of program.
.TP .TP
.B \-\-help\-qt .B \-\-help\-tqt
Show Qt specific options Show TQt specific options
.TP .TP
.B \-\-help\-kde .B \-\-help\-kde
Show KDE specific options Show KDE specific options

@ -16,7 +16,7 @@
.\" for manpage-specific macros, see man(7) .\" for manpage-specific macros, see man(7)
.SH PIKLAB-PROG \- Commandline program for PIC-microcontroller programming. .SH PIKLAB-PROG \- Commandline program for PIC-microcontroller programming.
.SH SYNOPSIS .SH SYNOPSIS
.B piklab-prog [Qt-options] [KDE-options] [options] [file] .B piklab-prog [TQt-options] [KDE-options] [options] [file]
.RI .RI
.br .br
@ -40,8 +40,8 @@ A summary of options is included below.
.B \-v, \-\-version .B \-v, \-\-version
Show version of program. Show version of program.
.TP .TP
.B \-\-help-qt .B \-\-help-tqt
Show Qt specific options Show TQt specific options
.TP .TP
.B \-\-help-kde .B \-\-help-kde
Show KDE specific options Show KDE specific options

@ -19,7 +19,7 @@
.TP .TP
.SH SYNOPSIS .SH SYNOPSIS
.B piklab [Qt-options] [KDE-options] [file] .B piklab [TQt-options] [KDE-options] [file]
.br .br
.\" TeX users may be more comfortable with the \fB<whatever>\fP and .\" TeX users may be more comfortable with the \fB<whatever>\fP and
@ -41,8 +41,8 @@ Show summary of options.
.B \-v, \-\-version .B \-v, \-\-version
Show version of program. Show version of program.
.TP .TP
.B \-\-help-qt .B \-\-help-tqt
Show Qt specific options Show TQt specific options
.TP .TP
.B \-\-help-kde .B \-\-help-kde
Show KDE specific options Show KDE specific options

@ -7,7 +7,7 @@
<primarylanguage>C++</primarylanguage> <primarylanguage>C++</primarylanguage>
<keywords> <keywords>
<keyword>KDE</keyword> <keyword>KDE</keyword>
<keyword>Qt</keyword> <keyword>TQt</keyword>
</keywords> </keywords>
<projectdirectory>.</projectdirectory> <projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath> <absoluteprojectpath>false</absoluteprojectpath>

@ -48,7 +48,7 @@ void Piklab::init(TDEAboutData *about, int argc, char **argv, bool gui, const TD
# if defined(Q_OS_WIN) # if defined(Q_OS_WIN)
printf("%s \"win32\": version %s\n", about->appName(), VERSION); printf("%s \"win32\": version %s\n", about->appName(), VERSION);
# else # 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 # endif
Q_UNUSED(gui); Q_UNUSED(gui);
Q_ASSERT( !gui ); Q_ASSERT( !gui );

@ -258,7 +258,7 @@ TDECmdLineArgs::saveAppArgs( TQDataStream &ds)
parseAllArgs(); parseAllArgs();
// Remove TQt and KDE options. // Remove TQt and KDE options.
removeArgs("qt"); removeArgs("tqt");
removeArgs("kde"); removeArgs("kde");
TQCString qCwd = mCwd; TQCString qCwd = mCwd;
@ -281,7 +281,7 @@ void
TDECmdLineArgs::loadAppArgs( TQDataStream &ds) TDECmdLineArgs::loadAppArgs( TQDataStream &ds)
{ {
// Remove TQt and KDE options. // Remove TQt and KDE options.
removeArgs("qt"); removeArgs("tqt");
removeArgs("kde"); removeArgs("kde");
TDECmdLineArgs *args; TDECmdLineArgs *args;
@ -699,8 +699,8 @@ TDECmdLineArgs::tqt_argc()
if( tqt_argc != -1 ) if( tqt_argc != -1 )
return &tqt_argc; return &tqt_argc;
TDECmdLineArgs *args = parsedArgs("qt"); TDECmdLineArgs *args = parsedArgs("tqt");
assert(args); // No qt options have been added! assert(args); // No tqt options have been added!
if (!argv) if (!argv)
{ {
fprintf(stderr, "\n\nFAILURE (TDECmdLineArgs):\n"); fprintf(stderr, "\n\nFAILURE (TDECmdLineArgs):\n");
@ -730,8 +730,8 @@ TDECmdLineArgs::tqt_argv()
if( tqt_argv != NULL ) if( tqt_argv != NULL )
return &tqt_argv; return &tqt_argv;
TDECmdLineArgs *args = parsedArgs("qt"); TDECmdLineArgs *args = parsedArgs("tqt");
assert(args); // No qt options have been added! assert(args); // No tqt options have been added!
if (!argv) if (!argv)
{ {
fprintf(stderr, "\n\nFAILURE (TDECmdLineArgs):\n"); fprintf(stderr, "\n\nFAILURE (TDECmdLineArgs):\n");
@ -1018,7 +1018,7 @@ TDECmdLineArgs::TDECmdLineArgs( const TDECmdLineOptions *_options,
{ {
parsedOptionList = 0; parsedOptionList = 0;
parsedArgList = 0; parsedArgList = 0;
isTQt = (::qstrcmp(id, "qt") == 0); isTQt = (::qstrcmp(id, "tqt") == 0);
} }
/** /**

Loading…
Cancel
Save