summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwm.cpp13
-rw-r--r--pwmanager/pwmanager/pwm.h1
2 files changed, 12 insertions, 2 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp
index 57b4432..26a44b1 100644
--- a/pwmanager/pwmanager/pwm.cpp
+++ b/pwmanager/pwmanager/pwm.cpp
@@ -135,3 +135,4 @@ enum {
BUTTON_POPUP_HELP_ABOUT,
- BUTTON_POPUP_HELP_SYNC
+ BUTTON_POPUP_HELP_SYNC,
+ BUTTON_POPUP_HELP_WHATSNEW
};
@@ -365,2 +366,6 @@ void PwM::initMenubar()
+ helpPopup->insertItem(i18n("&What's New"), this,
+ SLOT(whatsnew_slot()), 0,
+ BUTTON_POPUP_HELP_WHATSNEW);
+
#endif
@@ -1290,2 +1295,7 @@ void PwM::focusInEvent(QFocusEvent *e)
+void PwM::whatsnew_slot()
+{
+ KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" );
+}
+
void PwM::showLicense_slot()
@@ -1302,3 +1312,2 @@ void PwM::syncHowTo_slot()
{
- qDebug("PwM::syncHowTo_slot");
KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" );
diff --git a/pwmanager/pwmanager/pwm.h b/pwmanager/pwmanager/pwm.h
index 6ed9d34..fe1f7a1 100644
--- a/pwmanager/pwmanager/pwm.h
+++ b/pwmanager/pwmanager/pwm.h
@@ -176,2 +176,3 @@ public slots:
#ifdef PWM_EMBEDDED
+ void whatsnew_slot();
void showLicense_slot();