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