You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kdcop/kdcop.cpp

38 lines
963 B

/*
* 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 KCmdLineOptions options[] =
{
KCmdLineLastOption
};
int main( int argc, char ** argv )
{
KAboutData aboutData( "kdcop", I18N_NOOP("KDCOP"),
"0.1", I18N_NOOP( "A graphical DCOP browser/client" ),
KAboutData::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");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
KApplication a;
KDCOPWindow* kdcopwindow = new KDCOPWindow;
a.setMainWidget( kdcopwindow );
kdcopwindow->show();
return a.exec();
}