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.
65 lines
2.6 KiB
65 lines
2.6 KiB
15 years ago
|
|
||
|
/***************************************************************************
|
||
|
* *
|
||
|
* KCPULoad is copyright (c) 1999-2000, Markus Gustavsson *
|
||
|
* (c) 2002, Ben Burton *
|
||
|
* *
|
||
|
* This program is free software; you can redistribute it and/or modify *
|
||
|
* it under the terms of the GNU General Public License as published by *
|
||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||
|
* (at your option) any later version. *
|
||
|
* *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#include "kcpuload.h"
|
||
|
|
||
12 years ago
|
#include <tdeaboutdata.h>
|
||
|
#include <tdecmdlineargs.h>
|
||
12 years ago
|
#include <tdelocale.h>
|
||
15 years ago
|
#include <kuniqueapplication.h>
|
||
|
|
||
|
static const char *description =
|
||
13 years ago
|
I18N_NOOP("A small CPU usage meter for Kicker (the TDE panel).");
|
||
15 years ago
|
static const char *message =
|
||
|
I18N_NOOP("KCPULoad was first released on the 8th of August, 1999.");
|
||
|
static const char *version = "2.00";
|
||
|
|
||
|
int main(int argc, char **argv) {
|
||
12 years ago
|
TDEAboutData aboutData("kcpuload", I18N_NOOP("KCPULoad"), version,
|
||
|
description, TDEAboutData::License_GPL,
|
||
15 years ago
|
"(c) 1999-2000, Markus Gustavsson\n"
|
||
|
"(c) 2002, Ben Burton\n"
|
||
|
"(c) 2009, Timothy Pearson",
|
||
|
message, 0 /* TODO: Website */, "bab@debian.org");
|
||
|
|
||
|
aboutData.addAuthor("Markus Gustavsson", "Original author",
|
||
|
"mighty@fragzone.se");
|
||
|
aboutData.addAuthor("Ben Burton", "KDE3 rewrite, current maintainer",
|
||
|
"bab@debian.org");
|
||
|
aboutData.addAuthor("Andy Fawcett", "BSD support",
|
||
|
"andy@athame.co.uk");
|
||
|
aboutData.addAuthor("Robbie Ward", "BSD support",
|
||
|
"linuxphreak@gmx.co.uk");
|
||
|
|
||
|
aboutData.addCredit("Njaard, Charles Samuels",
|
||
|
"Support and help with KDE", "charles@kde.org");
|
||
|
aboutData.addCredit("rikkus, Rik Hemsley",
|
||
|
"Support and help with KDE", "rik@kde.org");
|
||
|
aboutData.addCredit("Mark Halpaap",
|
||
|
"Independent port to KDE3", "mark.halpaap@gmx.net");
|
||
|
aboutData.addCredit("Thanks to everyone in #KDE OpenProjects for "
|
||
|
"being supportive and helpful!");
|
||
|
|
||
12 years ago
|
TDECmdLineArgs::init(argc, argv, &aboutData);
|
||
15 years ago
|
KUniqueApplication::addCmdLineOptions();
|
||
|
|
||
|
if (! KUniqueApplication::start()) {
|
||
|
fprintf(stderr, I18N_NOOP("KCPULoad is already running!\n"));
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
KUniqueApplication app;
|
||
|
app.setMainWidget(new KCPULoad());
|
||
|
return app.exec();
|
||
|
}
|