summaryrefslogtreecommitdiffstats
path: root/kdcop/kdcop.cpp
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /kdcop/kdcop.cpp
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdcop/kdcop.cpp')
-rw-r--r--kdcop/kdcop.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/kdcop/kdcop.cpp b/kdcop/kdcop.cpp
new file mode 100644
index 000000000..41d7c3dd0
--- /dev/null
+++ b/kdcop/kdcop.cpp
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2000 by Matthias Kalle Dalheimer <[email protected]>
+ *
+ * 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, "[email protected]");
+ aboutData.addAuthor("Rik Hemsley",0, "[email protected]");
+ aboutData.addAuthor("Ian Reinhart Geiser",0,"[email protected]");
+ KCmdLineArgs::init( argc, argv, &aboutData );
+ KCmdLineArgs::addCmdLineOptions( options );
+
+ KApplication a;
+
+ KDCOPWindow* kdcopwindow = new KDCOPWindow;
+ a.setMainWidget( kdcopwindow );
+ kdcopwindow->show();
+
+ return a.exec();
+}