|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|