summaryrefslogtreecommitdiffstats
path: root/kdcop/kdcop.cpp
blob: b739058005a142093285c7f3999aaa7358e960b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * Copyright (C) 2000 by Matthias Kalle Dalheimer <kalle@kde.org>
 *
 * Licensed under the Artistic License.
 */
#include <kapplication.h>
#include <klocale.h>
#include <kaboutdata.h>
#include <kcmdlineargs.h>

#include "kdcopwindow.h"

static const TDECmdLineOptions options[] =
{
    TDECmdLineLastOption
};

int main( int argc, char ** argv )
{
  TDEAboutData aboutData( "kdcop", I18N_NOOP("KDCOP"),
			"0.1", I18N_NOOP( "A graphical DCOP browser/client" ),
			TDEAboutData::License_Artistic,
			"(c) 2000, Matthias Kalle Dalheimer");
  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");
  TDECmdLineArgs::init( argc, argv, &aboutData );
  TDECmdLineArgs::addCmdLineOptions( options );

  TDEApplication a;

  KDCOPWindow* kdcopwindow = new KDCOPWindow;
  a.setMainWidget( kdcopwindow );
  kdcopwindow->show();

  return a.exec();
}