Esempio n. 1
0
int main( int argc, char** argv )
{
  AboutData aboutData;

  KCmdLineArgs::init(argc, argv, &aboutData);
  static const KCmdLineOptions options[] = {
	KCmdLineLastOption// End of options.
  };
  KCmdLineArgs::addCmdLineOptions( options );
  KWatchGnuPGApplication::addCmdLineOptions();

#if 0
  if (!KWatchGnuPGApplication::start()) {
	kdError() << "KWatchGnuPG is already running!" << endl;
	return 0;
  }
#endif
  KWatchGnuPGApplication app;
  return app.exec();
}
Esempio n. 2
0
int main( int argc, char** argv )
{
  AboutData aboutData;

  KCmdLineArgs::init(argc, argv, &aboutData);

  KCmdLineOptions options;
  KCmdLineArgs::addCmdLineOptions( options );
  KWatchGnuPGApplication::addCmdLineOptions();

#if 0
  if (!KWatchGnuPGApplication::start()) {
	kError() <<"KWatchGnuPG is already running!";
	return 0;
  }
#endif

  KWatchGnuPGApplication app;
  return app.exec();
}