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
38
39
|
/*
* Copyright (C) 2000 by Matthias Kalle Dalheimer <[email protected]>
*
* Licensed under the Artistic License.
*/
#include <tdeapplication.h>
#include <tdelocale.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <dcopclient.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, "[email protected]");
aboutData.addAuthor("Rik Hemsley",0, "[email protected]");
aboutData.addAuthor("Ian Reinhart Geiser",0,"[email protected]");
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
TDEApplication a;
KDCOPWindow* kdcopwindow = new KDCOPWindow;
a.setMainWidget( kdcopwindow );
a.dcopClient()->attach();
kdcopwindow->show();
return a.exec();
}
|