kcachegrind
Go to the documentation of this file.
24 #include "../version.h"
27 #include <kapplication.h>
28 #include <kcmdlineargs.h>
29 #include <kaboutdata.h>
37 int main(
int argc,
char ** argv )
39 KAboutData aboutData(
"kcachegrind", 0,
42 ki18n(
"KDE Frontend for Callgrind/Cachegrind"),
43 KAboutData::License_GPL,
44 ki18n(
"(C) 2002 - 2011"), KLocalizedString(),
45 "http://kcachegrind.sf.net");
46 aboutData.addAuthor(ki18n(
"Josef Weidendorfer"),
47 ki18n(
"Author/Maintainer"),
48 "Josef.Weidendorfer@gmx.de");
50 KCmdLineArgs::init(argc, argv, &aboutData);
52 KCmdLineOptions options;
54 options.add(
"+[trace]", ki18n(
"Show information of this trace"));
55 KCmdLineArgs::addCmdLineOptions( options );
58 KGlobal::locale()->insertCatalog(
"kcachegrind_qt");
62 KConfig* kc = KGlobal::config().data();
65 if (a.isSessionRestored()){
67 while (KMainWindow::canBeRestored(n)){
73 KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
74 int nbArgs = args->count();
78 for(
int i = 0; i < nbArgs; i++) {
90 a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
static void setStorage(ConfigStorage *)
static void initLoaders()
int main(int argc, char **argv)
static void deleteLoaders()
void loadDelayed(QString)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:50 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.