rem: QStringList::Iterator name_it; QStringList::Iterator path_it;
add: if (!KUniqueApplication::start()) exit(1);  KUniqueApplication app;
context: main(int argc, char * argv[]){  // Don't do anything if we're being run as root.  if (getuid() == 0 || geteuid() == 0) {      cerr << "Please do not run this server as root (uid 0)" << endl;      return 1;  }      int prev_umask = umask(077);  KAboutData aboutData("kab_server", I18N_NOOP("KAB2 Server"),    version, description, KAboutData::License_GPL,    "(c) 1999, Rik Hemsley");  aboutData.addAuthor("Rik Hemsley",0, "rik@kde.org");  KCmdLineArgs::init( argc, argv, &aboutData );  KCmdLineArgs::addCmdLineOptions( options );  KApplication::addCmdLineOptions();  KCmdLineArgs *args = KCmdLineArgs::parsedArgs();/*  KStartParams args(argc, argv);  QStringList::Iterator name_it;  QStringList::Iterator path_it;  bool haveName = args.find("--name", "-n", true, name_it);  bool havePath = args.find("--path", "-p", true, path_it);  if (!haveName || !havePath) {    qDebug("Usage: " + QString(argv[0]) + " --name <name> --path <path>");    exit(1);  }  ++name_it;  ++path_it;*/  if (args->count() != 2) KCmdLineArgs::usage();  cerr << "Addressbook server `" << args->arg(0) << "' started" << endl;    if (fork() == 0) {        KApplication * app = new KApplication(argc, argv, "kab");    KAddressBook * ab = new KAddressBook(args->arg(0), args->arg(1));    app->exec();  }    umask(prev_umask);  return 0;}