[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/klaptopdaemon
From: Benjamin Meyer <benjamin () csh ! rit ! edu>
Date: 2005-01-31 2:13:56
Message-ID: 20050131021356.2AB2B1D038 () office ! kde ! org
[Download RAW message or body]
CVS commit by bmeyer:
Migrated to standard KAboutData for the the version of the
kcm module (v.s. right now just a label with a string)
M +0 -2 battery.cpp 1.40
M +9 -1 main.cpp 1.31
--- kdeutils/klaptopdaemon/main.cpp #1.30:1.31
@@ -32,4 +32,5 @@
#include "main.h"
+#include "version.h"
#include "warning.h"
#include "power.h"
@@ -223,4 +224,11 @@ LaptopModule::LaptopModule(QWidget *pare
}
+ KAboutData* about =
+ new KAboutData("kcmlaptop", I18N_NOOP("Laptop Battery Configuration"), \
LAPTOP_VERSION, + I18N_NOOP("Battery Control Panel Module"),
+ KAboutData::License_GPL,
+ I18N_NOOP("(c) 1999 Paul Campbell"), 0, 0);
+ //about->addAuthor("NAME", 0, "e-mail addy");
+ setAboutData( about );
}
--- kdeutils/klaptopdaemon/battery.cpp #1.39:1.40
@@ -171,6 +171,4 @@ BatteryConfig::BatteryConfig (QWidget *
connect(startMonitor, SIGNAL(clicked()), this, SLOT(slotStartMonitor()));
top_layout->addWidget( startMonitor, 0, Qt::AlignRight );
- top_layout->addWidget( new QLabel( i18n("Version: %1").arg(LAPTOP_VERSION), \
this), 0, Qt::AlignRight );
-
load();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic