rocs/App
Go to the documentation of this file.
22 #include <KApplication>
24 #include <KCmdLineArgs>
27 #include <KLocalizedString>
30 #include "rocsversion.h"
32 #include <DataStructureBackendManager.h>
35 int main(
int argc,
char *argv[])
37 KAboutData aboutData(
"rocs",
39 ki18nc(
"@title Displayed program name",
"Rocs"),
41 ki18nc(
"@title KAboutData: short program description",
"Graph Theory Tool"),
42 KAboutData::License_GPL,
43 ki18nc(
"@info:credit",
"(c) 2009-2013 Rocs Developers"),
44 ki18nc(
"@title Short program description",
"Rocs - Data Structure Analysis")
47 aboutData.addAuthor(ki18nc(
"@info:credit Developer name",
49 ki18nc(
"@info:credit Role",
"Developer"),
51 "http://liveblue.wordpress.com");
53 aboutData.addAuthor(ki18nc(
"@info:credit Developer name",
"Wagner Reck"),
54 ki18nc(
"@info:credit Role",
"Developer"),
55 "wagner.reck@gmail.com",
56 "http://wiglot.wordpress.com");
58 aboutData.addAuthor(ki18nc(
"@info:credit Developer name",
"Andreas Cord-Landwehr"),
59 ki18nc(
"@info:credit Role",
"Developer"),
60 "cordlandwehr@kde.org",
61 "http://cordlandwehr.wordpress.com");
63 KCmdLineArgs::init(argc, argv, &aboutData);
66 if (DataStructureBackendManager::self().backends().count() == 0) {
67 KMessageBox::detailedError(0,
68 i18n(
"No Data Structure plugins found on your system. Exiting."),
69 i18n(
"Rocs needs at least one data structure plugin to continue.\n"
70 "Try running kbuildsycoca4 from a console and after execute Rocs again."));
int main(int argc, char *argv[])
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:13 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.