Browse Source

Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/2/head
Timothy Pearson 10 years ago
parent
commit
d41050ea3f
  1. 8
      drkonqi/crashtest.cpp
  2. 2
      drkonqi/krashconf.cpp
  3. 4
      drkonqi/main.cpp
  4. 6
      kappfinder/main.cpp
  5. 4
      kate/app/kateapp.cpp
  6. 6
      kate/app/kateapp.h
  7. 10
      kate/app/katemain.cpp
  8. 6
      kate/app/kwritemain.cpp
  9. 8
      kcminit/main.cpp
  10. 4
      kcminit/main.h
  11. 2
      kcontrol/access/main.cpp
  12. 8
      kcontrol/filetypes/keditfiletype.cpp
  13. 2
      kcontrol/kcontrol/main.cpp
  14. 4
      kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp
  15. 6
      kcontrol/kfontinst/viewpart/FontViewerApp.cpp
  16. 4
      kcontrol/randr/main.cpp
  17. 4
      kdcop/kdcop.cpp
  18. 6
      kdebugdialog/main.cpp
  19. 6
      kdepasswd/kdepasswd.cpp
  20. 6
      kdesktop/kwebdesktop/kwebdesktop.cpp
  21. 6
      kdesktop/kxdglauncher.cpp
  22. 6
      kdesktop/lock/main.cc
  23. 8
      kdesktop/main.cc
  24. 12
      kdialog/kdialog.cpp
  25. 6
      kfind/main.cpp
  26. 6
      khelpcenter/application.cpp
  27. 6
      khelpcenter/htmlsearch/index.cpp
  28. 6
      khelpcenter/khc_indexbuilder.cpp
  29. 2
      khelpcenter/testmetainfo.cpp
  30. 2
      khotkeys/app/app.cpp
  31. 6
      khotkeys/update/update.cpp
  32. 6
      kicker/extensions/kasbar/kasbarapp.cpp
  33. 2
      kicker/kicker/core/main.cpp
  34. 2
      kicker/kicker/kicker-3.4-reverseLayout.cpp
  35. 8
      kicker/proxy/appletproxy.cpp
  36. 8
      kicker/proxy/extensiondebugger.cpp
  37. 8
      kicker/proxy/extensionproxy.cpp
  38. 6
      kioslave/home/kio_home.cpp
  39. 2
      kioslave/home/testhome.cpp
  40. 6
      kioslave/media/kio_media.cpp
  41. 8
      kioslave/media/mounthelper/kio_media_mounthelper.cpp
  42. 2
      kioslave/media/testmedia.cpp
  43. 6
      kioslave/remote/kio_remote.cpp
  44. 2
      kioslave/remote/testremote.cpp
  45. 6
      kioslave/system/kio_system.cpp
  46. 2
      kioslave/system/testsystem.cpp
  47. 6
      kioslave/trash/kio_trash.cpp
  48. 6
      kioslave/trash/ktrash.cpp
  49. 2
      kioslave/trash/testtrash.cpp
  50. 2
      klipper/main.cpp
  51. 2
      kmenuedit/kcontrol_main.cpp
  52. 6
      kmenuedit/main.cpp
  53. 2
      knetattach/main.cpp
  54. 14
      konqueror/client/kfmclient.cc
  55. 6
      konqueror/keditbookmarks/kbookmarkmerger.cpp
  56. 10
      konqueror/keditbookmarks/main.cpp
  57. 10
      konqueror/konq_main.cc
  58. 12
      konsole/konsole/main.cpp
  59. 6
      kpager/main.cpp
  60. 6
      kpersonalizer/main.cpp
  61. 8
      kreadconfig/kreadconfig.cpp
  62. 8
      kreadconfig/kwriteconfig.cpp
  63. 6
      krootbacking/main.cpp
  64. 6
      kscreensaver/random.cpp
  65. 6
      ksmserver/main.cpp
  66. 2
      ksmserver/test.cpp
  67. 6
      ksplashml/main.cpp
  68. 4
      ksplashml/themeengine/objkstheme.cpp
  69. 2
      ksplashml/themeengine/objkstheme.h
  70. 2
      ksplashml/themeengine/themeengine.cpp
  71. 4
      ksplashml/wndmain.cpp
  72. 8
      kstart/kstart.cpp
  73. 6
      ksysguard/gui/ksysguard.cc
  74. 8
      ksystraycmd/main.cpp
  75. 2
      ktip/ktipwindow.cpp
  76. 2
      kxkb/kxkb.cpp
  77. 2
      libkonq/tests/konqdragtest.cpp
  78. 6
      nsplugins/pluginscan.cpp
  79. 2
      nsplugins/test/testnsplugin.cpp
  80. 4
      tdeinit/displayconfig.cpp
  81. 4
      tdeinit/phase1.cpp
  82. 2
      tdeprint/kjobviewer/kjobviewer.cpp
  83. 4
      tdeprint/kjobviewer/main.cpp
  84. 4
      tdeprint/kprinter/main.cpp
  85. 2
      tdeprint/kprinter/printwrapper.cpp
  86. 2
      tdeprint/slave/kio_print.cpp
  87. 6
      tdeprint/tdeprintfax/main.cpp
  88. 10
      tdesu/tdesu/tdesu.cpp
  89. 2
      tdesu/tdesud/tdesud.cpp
  90. 2
      tdm/kfrontend/kgapp.cpp
  91. 6
      tdm/kfrontend/krootimage.cpp
  92. 6
      twin/clients/kwmtheme/cli_installer/main.cpp
  93. 8
      twin/kcmtwin/twinrules/main.cpp
  94. 8
      twin/killer/killer.cpp
  95. 6
      twin/main.cpp
  96. 6
      twin/resumer/resumer.cpp
  97. 10
      twin/tools/decobenchmark/main.cpp

8
drkonqi/crashtest.cpp

@ -16,7 +16,7 @@ enum CrashType { Crash, Malloc, Div0, Assert };
void do_crash()
{
KCmdLineArgs *args = 0;
TDECmdLineArgs *args = 0;
TQCString type = args->arg(0);
printf("result = %s\n", type.data());
}
@ -74,11 +74,11 @@ int main(int argc, char *argv[])
KAboutData::License_GPL,
"(c) 2000-2002 David Faure, Waldo Bastian");
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication app(false, false);
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQCString type = args->count() ? args->arg(0) : "";
int crashtype = Crash;
if (type == "malloc")

2
drkonqi/krashconf.cpp

@ -60,7 +60,7 @@ void KrashConfig :: acceptDebuggingApp()
void KrashConfig :: readConfig()
{
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
m_signalnum = args->getOption( "signal" ).toInt();
m_pid = args->getOption( "pid" ).toInt();
m_startedByKdeinit = args->isSet("tdeinit");

4
drkonqi/main.cpp

@ -77,8 +77,8 @@ int main( int argc, char* argv[] )
aboutData.addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");
aboutData.addAuthor("Hans Petter Bieker", 0, "bieker@kde.org");
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication::disableAutoDcopRegistration();

6
kappfinder/main.cpp

@ -39,9 +39,9 @@ int main( int argc, char *argv[] )
aboutData.addAuthor( "Matthias Hoelzer-Kluepfel", 0, "hoelzer@kde.org" );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
KApplication app;

4
kate/app/kateapp.cpp

@ -51,7 +51,7 @@
#include <unistd.h>
#include <sys/types.h>
KateApp::KateApp (KCmdLineArgs *args)
KateApp::KateApp (TDECmdLineArgs *args)
: KApplication ()
, m_args (args)
, m_shouldExit (false)
@ -192,7 +192,7 @@ bool KateApp::startupKate ()
TQTextCodec *codec = m_args->isSet("encoding") ? TQTextCodec::codecForName(m_args->getOption("encoding")) : 0;
bool tempfileSet = KCmdLineArgs::isTempFileSet();
bool tempfileSet = TDECmdLineArgs::isTempFileSet();
Kate::Document::setOpenErrorDialogsActivated (false);
uint id = 0;

6
kate/app/kateapp.h

@ -33,7 +33,7 @@ namespace Kate {
class Application;
}
class KCmdLineArgs;
class TDECmdLineArgs;
/**
* Kate Application
@ -51,7 +51,7 @@ class KDE_EXPORT KateApp : public KApplication
* application constructor
* @param args parsed command line args
*/
KateApp (KCmdLineArgs *args);
KateApp (TDECmdLineArgs *args);
/**
* application destructor
@ -202,7 +202,7 @@ class KDE_EXPORT KateApp : public KApplication
/**
* kate's command line args
*/
KCmdLineArgs *m_args;
TDECmdLineArgs *m_args;
/**
* plugin interface

10
kate/app/katemain.cpp

@ -99,13 +99,13 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
aboutData.setTranslator(I18N_NOOP2("NAME OF TRANSLATORS","Your names"), I18N_NOOP2("EMAIL OF TRANSLATORS","Your emails"));
// command line args init and co
KCmdLineArgs::init (argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions (options);
KCmdLineArgs::addTempFileOption();
TDECmdLineArgs::init (argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions (options);
TDECmdLineArgs::addTempFileOption();
KateApp::addCmdLineOptions ();
// get our command line args ;)
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
// now, first try to contact running kate instance if needed
if ( args->isSet("use") || (::getenv("KATE_PID")!=0) )
@ -172,7 +172,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
TQString enc = args->isSet("encoding") ? args->getOption("encoding") : TQCString("");
bool tempfileSet = KCmdLineArgs::isTempFileSet();
bool tempfileSet = TDECmdLineArgs::isTempFileSet();
for (int z=0; z<args->count(); z++)
kRef.call( "openURL", args->url(z), enc, tempfileSet );

6
kate/app/kwritemain.cpp

@ -588,8 +588,8 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
aboutData.setTranslator(I18N_NOOP("_: NAME OF TRANSLATORS\nYour names"), I18N_NOOP("_: EMAIL OF TRANSLATORS\nYour emails"));
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication a;
@ -602,7 +602,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
client->registerAs("kwrite");
}
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (kapp->isRestored())
{

8
kcminit/main.cpp

@ -126,7 +126,7 @@ void KCMInit::runModules( int phase )
}
}
KCMInit::KCMInit( KCmdLineArgs* args )
KCMInit::KCMInit( TDECmdLineArgs* args )
: DCOPObject( "kcminit" )
{
TQCString arg;
@ -238,13 +238,13 @@ extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
"",
I18N_NOOP("KCMInit - runs startups initialization for Control Modules."));
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
app.dcopClient()->registerAs( "kcminit", false );
KLocale::setMainCatalogue(0);
KCMInit kcminit( KCmdLineArgs::parsedArgs());
KCMInit kcminit( TDECmdLineArgs::parsedArgs());
return 0;
}

4
kcminit/main.h

@ -23,7 +23,7 @@
#include <dcopobject.h>
#include <kservice.h>
class KCmdLineArgs;
class TDECmdLineArgs;
class KCMInit : public TQObject, public DCOPObject
{
@ -33,7 +33,7 @@ class KCMInit : public TQObject, public DCOPObject
void runPhase1();
void runPhase2();
public:
KCMInit( KCmdLineArgs* args );
KCMInit( TDECmdLineArgs* args );
virtual ~KCMInit();
private:
bool runModule(const TQString &libName, KService::Ptr service);

2
kcontrol/access/main.cpp

@ -12,7 +12,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char * argv[] )
about.addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org");
KCmdLineArgs::init( argc, argv, &about );
TDECmdLineArgs::init( argc, argv, &about );
if (!KAccessApp::start())
return 0;

8
kcontrol/filetypes/keditfiletype.cpp

@ -118,13 +118,13 @@ int main(int argc, char ** argv)
aboutData.addAuthor("Preston Brown",0, "pbrown@kde.org");
aboutData.addAuthor("David Faure",0, "faure@kde.org");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count() == 0)
KCmdLineArgs::usage();
TDECmdLineArgs::usage();
TQString arg = args->arg(0);

2
kcontrol/kcontrol/main.cpp

@ -134,7 +134,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
aboutData->addAuthor("Matthias Ettrich",0, "ettrich@kde.org");
aboutData->addAuthor("Waldo Bastian",0, "bastian@kde.org");
KCmdLineArgs::init( argc, argv, aboutData );
TDECmdLineArgs::init( argc, argv, aboutData );
KUniqueApplication::addCmdLineOptions();
KCGlobal::init();

4
kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp

@ -93,10 +93,10 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&)
about->addAuthor("Craig Drummond", I18N_NOOP("Developer and maintainer"), "craig@kde.org");
setAboutData(about);
const char *appName=KCmdLineArgs::appName();
const char *appName=TDECmdLineArgs::appName();
itsEmbeddedAdmin=Misc::root() && (NULL==appName || strcmp("kcontrol", appName) &&
KCmdLineArgs::parsedArgs()->isSet("embed"));
TDECmdLineArgs::parsedArgs()->isSet("embed"));
itsStatusLabel = new TQLabel(this);
itsStatusLabel->setFrameShape(TQFrame::Panel);

6
kcontrol/kfontinst/viewpart/FontViewerApp.cpp

@ -54,7 +54,7 @@ CFontViewerAppMainWindow::CFontViewerAppMainWindow()
itsPreview=(KParts::ReadOnlyPart *)factory->create(TQT_TQOBJECT(this), "fontvier", "KParts::ReadOnlyPart");
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
KURL openURL;
if(args->count() > 0)
@ -118,8 +118,8 @@ static KAboutData aboutData("kfontview", I18N_NOOP("Font Viewer"), 0, I18N_NOOP(
int main(int argc, char **argv)
{
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
KFI::CFontViewerApp::addCmdLineOptions();
KFI::CFontViewerApp app;

4
kcontrol/randr/main.cpp

@ -42,8 +42,8 @@ int main(int argc, char **argv)
aboutData.setProductName("krandr/krandrtray");
KGlobal::locale()->setMainCatalogue("krandr");
KCmdLineArgs::init(argc,argv,&aboutData);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication::addCmdLineOptions();
KRandRApp app;

4
kdcop/kdcop.cpp

@ -24,8 +24,8 @@ int main( int argc, char ** argv )
aboutData.addAuthor("Matthias Kalle Dalheimer",0, "kalle@kde.org");
aboutData.addAuthor("Rik Hemsley",0, "rik@kde.org");
aboutData.addAuthor("Ian Reinhart Geiser",0,"geiseri@kde.org");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication a;

6
kdebugdialog/main.cpp

@ -82,11 +82,11 @@ int main(int argc, char ** argv)
KAboutData::License_GPL, "(c) 2009,2010, Timothy Pearson <kb9vqf@pearsoncomputing.net>");
data.addAuthor("Timothy Pearson", I18N_NOOP("Maintainer"), "kb9vqf@pearsoncomputing.net");
data.addAuthor("David Faure", I18N_NOOP("Original maintainer/developer"), "faure@kde.org");
KCmdLineArgs::init( argc, argv, &data );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &data );
TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
KUniqueApplication app;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQStringList areaList ( readAreaList() );
KAbstractDebugDialog * dialog;

6
kdepasswd/kdepasswd.cpp

@ -34,8 +34,8 @@ int main(int argc, char **argv)
aboutData.addAuthor("Geert Jansen", I18N_NOOP("Maintainer"),
"jansen@kde.org", "http://www.stack.nl/~geertj/");
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
KUniqueApplication::addCmdLineOptions();
@ -49,7 +49,7 @@ int main(int argc, char **argv)
KUser ku;
TQCString user;
bool bRoot = ku.isSuperUser();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count())
user = args->arg(0);

6
kdesktop/kwebdesktop/kwebdesktop.cpp

@ -93,13 +93,13 @@ int main( int argc, char **argv )
"(c) 2000, David Faure <faure@kde.org>" );
data.addAuthor( "David Faure", I18N_NOOP("developer and maintainer"), "faure@kde.org" );
KCmdLineArgs::init( argc, argv, &data );
TDECmdLineArgs::init( argc, argv, &data );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() != 3 && args->count() != 4 )
{
args->usage();

6
kdesktop/kxdglauncher.cpp

@ -90,9 +90,9 @@ static KCmdLineOptions options[] =
int main( int argc, char **argv)
{
KCmdLineArgs::init( argc, argv, "kxdglauncher", I18N_NOOP("TDE XDG File Browser Launcher and Prompter"), I18N_NOOP("Prompts if directory does not exist, otherwise launches"), "1.0" );
KCmdLineArgs::addCmdLineOptions( options );
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs::init( argc, argv, "kxdglauncher", I18N_NOOP("TDE XDG File Browser Launcher and Prompter"), I18N_NOOP("Prompts if directory does not exist, otherwise launches"), "1.0" );
TDECmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
KApplication app;
app.disableSessionManagement();

6
kdesktop/lock/main.cc

@ -207,9 +207,9 @@ int main( int argc, char **argv )
{
KLocale::setMainCatalogue("kdesktop");
KCmdLineArgs::init( argc, argv, "kdesktop_lock", I18N_NOOP("KDesktop Locker"), I18N_NOOP("Session Locker for KDesktop"), "2.1" );
KCmdLineArgs::addCmdLineOptions( options );
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs::init( argc, argv, "kdesktop_lock", I18N_NOOP("KDesktop Locker"), I18N_NOOP("Session Locker for KDesktop"), "2.1" );
TDECmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
putenv(strdup("SESSION_MANAGER="));

8
kdesktop/main.cc

@ -181,8 +181,8 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
aboutData.addAuthor("Torben Weis", 0, "weis@kde.org");
aboutData.addAuthor("Matthias Ettrich", 0, "ettrich@kde.org");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
if (!KUniqueApplication::start()) {
fprintf(stderr, "kdesktop is already running!\n");
@ -195,11 +195,11 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
r.send( "suspendStartup", TQCString( "kdesktop" ));
delete cl;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
#ifdef COMPOSITE
KCmdLineArgs *qtargs = KCmdLineArgs::parsedArgs("qt");
TDECmdLineArgs *qtargs = TDECmdLineArgs::parsedArgs("qt");
if ( args->isSet("bg-transparency")) {
char *display = 0;

12
kdialog/kdialog.cpp

@ -152,7 +152,7 @@ static void outputStringList(TQStringList list, bool separateOutput)
}
}
static int directCommand(KCmdLineArgs *args)
static int directCommand(TDECmdLineArgs *args)
{
TQString title;
bool separateOutput = FALSE;
@ -161,7 +161,7 @@ static int directCommand(KCmdLineArgs *args)
TQString defaultEntry;
// --title text
KCmdLineArgs *qtargs = KCmdLineArgs::parsedArgs("qt"); // --title is a qt option
TDECmdLineArgs *qtargs = TDECmdLineArgs::parsedArgs("qt"); // --title is a qt option
if(qtargs->isSet("title")) {
title = TQFile::decodeName(qtargs->getOption("title"));
}
@ -669,7 +669,7 @@ static int directCommand(KCmdLineArgs *args)
return Widgets::progressBar(0, title, text, totalsteps) ? 1 : 0;
}
KCmdLineArgs::usage();
TDECmdLineArgs::usage();
return -2; // NOTREACHED
}
@ -688,12 +688,12 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Richard Moore",0,"rich@kde.org");
aboutData.addAuthor("Dawit Alemayehu",0,"adawit@kde.org");
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// execute direct kdialog command
return directCommand(args);

6
kfind/main.cpp

@ -42,12 +42,12 @@ int main( int argc, char ** argv )
aboutData.addAuthor("Alexander Neundorf", 0, "neundorf@kde.org");
aboutData.addAuthor("Clarence Dang", 0, "dang@kde.org");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KCmdLineArgs *args= KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args= TDECmdLineArgs::parsedArgs();
KURL url;
if (args->count() > 0)

6
khelpcenter/application.cpp

@ -35,7 +35,7 @@ int Application::newInstance()
{
if (restoringSession()) return 0;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
KURL url;
if ( args->count() )
@ -74,8 +74,8 @@ extern "C" int KDE_EXPORT kdemain( int argc, char **argv )
aboutData.addAuthor( "Wojciech Smigaj", I18N_NOOP("Info page support"),
"achu@klub.chip.pl" );
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication::addCmdLineOptions();
KHC::Application app;

6
khelpcenter/htmlsearch/index.cpp

@ -19,13 +19,13 @@ int main(int argc, char *argv[])
"",
I18N_NOOP("TDE Index generator for help files."));
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions( options );
KGlobal::locale()->setMainCatalogue("htmlsearch");
KApplication app;
HTMLSearch search;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
search.generateIndex(args->getOption("lang"));
}

6
khelpcenter/khc_indexbuilder.cpp

@ -179,13 +179,13 @@ int main( int argc, char **argv )
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
KApplication app;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() != 2 ) {
kdDebug(1402) << "Wrong number of arguments." << endl;

2
khelpcenter/testmetainfo.cpp

@ -89,7 +89,7 @@ class AsyncTraverser : public DocEntryTraverser
int main(int argc,char **argv)
{
KAboutData aboutData("testmetainfo","TestDocMetaInfo","0.1");
KCmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::init(argc,argv,&aboutData);
KApplication app;

2
khotkeys/app/app.cpp

@ -144,7 +144,7 @@ int KDE_EXPORT kdemain( int argc, char** argv )
appname.sprintf("khotkeys-screen-%d", khotkeys_screen_number);
// no need to i18n these, no GUI
KCmdLineArgs::init( argc, argv, appname, I18N_NOOP( "KHotKeys" ),
TDECmdLineArgs::init( argc, argv, appname, I18N_NOOP( "KHotKeys" ),
I18N_NOOP( "KHotKeys daemon" ), KHOTKEYS_VERSION );
KUniqueApplication::addCmdLineOptions();
if( !KHotKeysApp::start()) // already running

6
khotkeys/update/update.cpp

@ -34,11 +34,11 @@ static const KCmdLineOptions options[] =
int main( int argc, char* argv[] )
{
KCmdLineArgs::init( argc, argv, "khotkeys_update", "KHotKeys Update",
TDECmdLineArgs::init( argc, argv, "khotkeys_update", "KHotKeys Update",
"KHotKeys update utility", "1.0" );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, true ); // X11 connection is necessary for KKey* stuff :-/
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
TQCString id = args->getOption( "id" );
TQString file = locate( "data", "khotkeys/" + id + ".khotkeys" );
if( file.isEmpty())

6
kicker/extensions/kasbar/kasbarapp.cpp

@ -75,11 +75,11 @@ static KCmdLineOptions options[] =
int main( int argc, char **argv )
{
KCmdLineArgs::init( argc, argv, "kasbar", "KasBar", I18N_NOOP( "An alternative task manager" ), VERSION_STRING );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, "kasbar", "KasBar", I18N_NOOP( "An alternative task manager" ), VERSION_STRING );
TDECmdLineArgs::addCmdLineOptions( options );
KGlobal::locale()->setMainCatalogue( "kasbarextension" );
KApplication app;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
kdDebug(1345) << "Kasbar starting..." << endl;

2
kicker/kicker/core/main.cpp

@ -125,7 +125,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
aboutData.addCredit("Jessica Hall", /* I18N_NOOP("KConfigXT") */ 0, "jes.hall@kdemail.net");
aboutData.addCredit("Stefan Nikolaus", /* I18N_NOOP("Bug fixes") */ 0, "stefan.nikolaus@kdemail.net");
aboutData.addCredit("Benoît Minisini", /* I18N_NOOP("Bug fixes") */ 0, "gambas@users.sourceforge.net");
KCmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::init( argc, argv, &aboutData );
if (!Kicker::start()) {
kdError() << "kicker is already running!" << endl;

2
kicker/kicker/kicker-3.4-reverseLayout.cpp

@ -22,7 +22,7 @@ typedef TQMap<TQString, AppletInfo> AppletInfoMap;
int main(int argc, char** argv)
{
// We must disguise as Kicker in order to obtain the correct reverseLayout setting.
KCmdLineArgs::init(argc, argv, "kicker", "", "", "", false);
TDECmdLineArgs::init(argc, argv, "kicker", "", "", "", false);
KApplication app(false, false);
TQStringList stretchableApplets;

8
kicker/proxy/appletproxy.cpp

@ -75,11 +75,11 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
,I18N_NOOP("Panel applet proxy.")
, KAboutData::License_BSD
, "(c) 2000, The KDE Developers");
KCmdLineArgs::init(argc, argv, &aboutData );
TDECmdLineArgs::init(argc, argv, &aboutData );
aboutData.addAuthor("Matthias Elter",0, "elter@kde.org");
aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org");
KApplication::addCmdLineOptions();
KCmdLineArgs::addCmdLineOptions(options); // Add our own options.
TDECmdLineArgs::addCmdLineOptions(options); // Add our own options.
KApplication a;
a.disableSessionManagement();
@ -91,10 +91,10 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
AppletProxy proxy(0, "appletproxywidget");
// parse cmdline args
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() == 0 )
KCmdLineArgs::usage(i18n("No desktop file specified") );
TDECmdLineArgs::usage(i18n("No desktop file specified") );
// Perhaps we should use a konsole-like solution here (shell, list of args...)
TQString desktopfile( args->arg(0) );

8
kicker/proxy/extensiondebugger.cpp

@ -79,11 +79,11 @@ int main( int argc, char ** argv )
,I18N_NOOP("Panel extension proxy.")
, KAboutData::License_BSD
, "(c) 2000, The KDE Developers");
KCmdLineArgs::init(argc, argv, &aboutData );
TDECmdLineArgs::init(argc, argv, &aboutData );
aboutData.addAuthor("Matthias Elter",0, "elter@kde.org");
aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org");
KApplication::addCmdLineOptions();
KCmdLineArgs::addCmdLineOptions(options); // Add our own options.
TDECmdLineArgs::addCmdLineOptions(options); // Add our own options.
KApplication a;
a.disableSessionManagement();
@ -94,11 +94,11 @@ int main( int argc, char ** argv )
TQString df;
// parse cmdline args
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// sanity check
if ( args->count() == 0 )
KCmdLineArgs::usage(i18n("No desktop file specified") );
TDECmdLineArgs::usage(i18n("No desktop file specified") );
TQCString desktopFile = TQCString( args->arg(0) );

8
kicker/proxy/extensionproxy.cpp

@ -61,11 +61,11 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
,I18N_NOOP("Panel extension proxy")
, KAboutData::License_BSD
, "(c) 2000, The KDE Developers");
KCmdLineArgs::init(argc, argv, &aboutData );
TDECmdLineArgs::init(argc, argv, &aboutData );
aboutData.addAuthor("Matthias Elter",0, "elter@kde.org");
aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org");
KApplication::addCmdLineOptions();
KCmdLineArgs::addCmdLineOptions(options); // Add our own options.
TDECmdLineArgs::addCmdLineOptions(options); // Add our own options.
KApplication a;
a.disableSessionManagement();
@ -77,11 +77,11 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
ExtensionProxy proxy(0, "extensionproxywidget");
// parse cmdline args
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// sanity check
if ( args->count() == 0 )
KCmdLineArgs::usage(i18n("No desktop file specified") );
TDECmdLineArgs::usage(i18n("No desktop file specified") );
// do we have a callback id?
if (args->getOption("callbackid").isNull()) {

6
kioslave/home/kio_home.cpp

@ -42,13 +42,13 @@ extern "C" {
{
// KApplication is necessary to use other ioslaves
putenv(strdup("SESSION_MANAGER="));
KCmdLineArgs::init(argc, argv, "kio_home", 0, 0, 0, 0);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, "kio_home", 0, 0, 0, 0);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
// We want to be anonymous even if we use DCOP
app.dcopClient()->attach();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
HomeProtocol slave( args->arg(0), args->arg(1), args->arg(2) );
slave.dispatchLoop();
return 0;

2
kioslave/home/testhome.cpp

@ -47,7 +47,7 @@ static bool check(const TQString& txt, TQString a, TQString b)
int main(int argc, char *argv[])
{
KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init(argc,argv,"testhome", 0, 0, 0, 0);
TDECmdLineArgs::init(argc,argv,"testhome", 0, 0, 0, 0);
KApplication app;
TestHome test;

6
kioslave/media/kio_media.cpp

@ -44,13 +44,13 @@ extern "C" {
{
// KApplication is necessary to use other ioslaves
putenv(strdup("SESSION_MANAGER="));
KCmdLineArgs::init(argc, argv, "kio_media", 0, 0, 0, 0);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, "kio_media", 0, 0, 0, 0);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
// We want to be anonymous even if we use DCOP
app.dcopClient()->attach();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
MediaProtocol slave( args->arg(0), args->arg(1), args->arg(2) );
slave.dispatchLoop();
return 0;

8
kioslave/media/mounthelper/kio_media_mounthelper.cpp

@ -63,7 +63,7 @@ const Medium MountHelper::findMedium(const KURL &url)
MountHelper::MountHelper() : KApplication()
{
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
m_errorStr = TQString::null;
@ -263,15 +263,15 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv)
{
KCmdLineArgs::init(argc, argv, "kio_media_mounthelper",
TDECmdLineArgs::init(argc, argv, "kio_media_mounthelper",
"kio_media_mounthelper", "kio_media_mounthelper",
"0.1");
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::addCmdLineOptions( options );
KGlobal::locale()->setMainCatalogue("kio_media");
KApplication::addCmdLineOptions();
if (KCmdLineArgs::parsedArgs()->count()==0) KCmdLineArgs::usage();
if (TDECmdLineArgs::parsedArgs()->count()==0) TDECmdLineArgs::usage();
KApplication *app = new MountHelper();
KStartupInfo::appStarted();

2
kioslave/media/testmedia.cpp

@ -47,7 +47,7 @@ static bool check(const TQString& txt, TQString a, TQString b)
int main(int argc, char *argv[])
{
KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init(argc,argv,"testmedia", 0, 0, 0, 0);
TDECmdLineArgs::init(argc,argv,"testmedia", 0, 0, 0, 0);
KApplication app;
TestMedia test;

6
kioslave/remote/kio_remote.cpp

@ -42,13 +42,13 @@ extern "C" {
{
// KApplication is necessary to use other ioslaves
putenv(strdup("SESSION_MANAGER="));
KCmdLineArgs::init(argc, argv, "kio_remote", 0, 0, 0, 0);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, "kio_remote", 0, 0, 0, 0);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
// We want to be anonymous even if we use DCOP
app.dcopClient()->attach();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
RemoteProtocol slave( args->arg(0), args->arg(1), args->arg(2) );
slave.dispatchLoop();
return 0;

2
kioslave/remote/testremote.cpp

@ -47,7 +47,7 @@ static bool check(const TQString& txt, TQString a, TQString b)
int main(int argc, char *argv[])
{
KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init(argc,argv,"testremote", 0, 0, 0, 0);
TDECmdLineArgs::init(argc,argv,"testremote", 0, 0, 0, 0);
KApplication app;
TestRemote test;

6
kioslave/system/kio_system.cpp

@ -43,13 +43,13 @@ extern "C" {
{
// KApplication is necessary to use other ioslaves
putenv(strdup("SESSION_MANAGER="));
KCmdLineArgs::init(argc, argv, "kio_system", 0, 0, 0, 0);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, "kio_system", 0, 0, 0, 0);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
// We want to be anonymous even if we use DCOP
app.dcopClient()->attach();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
SystemProtocol slave( args->arg(0), args->arg(1), args->arg(2) );
slave.dispatchLoop();
return 0;

2
kioslave/system/testsystem.cpp

@ -47,7 +47,7 @@ static bool check(const TQString& txt, TQString a, TQString b)
int main(int argc, char *argv[])
{
KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init(argc,argv,"testsystem", 0, 0, 0, 0);
TDECmdLineArgs::init(argc,argv,"testsystem", 0, 0, 0, 0);
KApplication app;
TestSystem test;

6
kioslave/trash/kio_trash.cpp

@ -56,11 +56,11 @@ extern "C" {
// KApplication is necessary to use kio_file
putenv(strdup("SESSION_MANAGER="));
KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init(argc, argv, "kio_trash", 0, 0, 0, 0);
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init(argc, argv, "kio_trash", 0, 0, 0, 0);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TrashProtocol slave( args->arg(0), args->arg(1), args->arg(2) );
slave.dispatchLoop();
return 0;

6
kioslave/trash/ktrash.cpp

@ -38,15 +38,15 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[])
{
KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init( argc, argv, "ktrash",
TDECmdLineArgs::init( argc, argv, "ktrash",
I18N_NOOP( "ktrash" ),
I18N_NOOP( "Helper program to handle the TDE trash can\n"
"Note: to move files to the trash, do not use ktrash, but \"kfmclient move 'url' trash:/\"" ),
TDE_VERSION_STRING );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
if ( args->isSet( "empty" ) ) {
// We use a kio job instead of linking to TrashImpl, for a smaller binary
// (and the possibility of a central service at some point)

2
kioslave/trash/testtrash.cpp

@ -83,7 +83,7 @@ int main(int argc, char *argv[])
setenv( "TDE_FORK_SLAVES", "yes", true );
KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init(argc,argv,"testtrash", 0, 0, 0, 0);
TDECmdLineArgs::init(argc,argv,"testtrash", 0, 0, 0, 0);
KApplication app;
TestTrash test;

2
klipper/main.cpp

@ -38,7 +38,7 @@
extern "C" int KDE_EXPORT kdemain(int argc, char *argv[])
{
Klipper::createAboutData();
KCmdLineArgs::init( argc, argv, Klipper::aboutData());
TDECmdLineArgs::init( argc, argv, Klipper::aboutData());
KUniqueApplication::addCmdLineOptions();
if (!KUniqueApplication::start()) {

2
kmenuedit/kcontrol_main.cpp

@ -42,7 +42,7 @@ extern "C" int KDE_EXPORT kdemain( int argc, char **argv )
aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org");
aboutData.addAuthor("Matthias Elter", I18N_NOOP("Original Author"), "elter@kde.org");
KCmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::init( argc, argv, &aboutData );
KUniqueApplication::addCmdLineOptions();
if (!KUniqueApplication::start())

6
kmenuedit/main.cpp

@ -48,7 +48,7 @@ public:
virtual int newInstance()
{
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count() > 0)
{
menuEdit->selectMenu(TQString::fromLocal8Bit(args->arg(0)));
@ -71,9 +71,9 @@ extern "C" int KDE_EXPORT kdemain( int argc, char **argv )
aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org");
aboutData.addAuthor("Matthias Elter", I18N_NOOP("Original Author"), "elter@kde.org");
KCmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::init( argc, argv, &aboutData );
KUniqueApplication::addCmdLineOptions();
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::addCmdLineOptions( options );
if (!KUniqueApplication::start())
return 1;

2
knetattach/main.cpp

@ -34,7 +34,7 @@ int main(int argc, char **argv) {
about.addAuthor("George Staikos", I18N_NOOP("Primary author and maintainer"), "staikos@kde.org");
KCmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::init(argc, argv, &about);
KApplication a;
KNetAttach na;

14
konqueror/client/kfmclient.cc

@ -70,16 +70,16 @@ static const KCmdLineOptions options[] =
extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
{
KCmdLineArgs::init(argc, argv, appName, programName, description, version, false);
TDECmdLineArgs::init(argc, argv, appName, programName, description, version, false);
KCmdLineArgs::addCmdLineOptions( options );
KCmdLineArgs::addTempFileOption();
TDECmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::addTempFileOption();
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->isSet("commands") )
{
KCmdLineArgs::enable_i18n();
TDECmdLineArgs::enable_i18n();
puts(i18n("\nSyntax:\n").local8Bit());
puts(i18n(" kfmclient openURL 'url' ['mimetype']\n"
" # Opens a window showing 'url'.\n"
@ -445,7 +445,7 @@ static void checkArgumentCount(int count, int min, int max)
bool clientApp::doIt()
{
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
int argc = args->count();
checkArgumentCount(argc, 1, 0);
@ -466,7 +466,7 @@ bool clientApp::doIt()
KApplication::dcopClient()->attach();
}