From 6fdb13cb4142ecde29fd537ff32a3e8e6cc30b26 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Tue, 19 Oct 2004 01:12:41 +0000 Subject: added whats new page --- 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 @@ -133,7 +133,8 @@ enum { BUTTON_POPUP_HELP_LICENSE = 0, BUTTON_POPUP_HELP_FAQ, BUTTON_POPUP_HELP_ABOUT, - BUTTON_POPUP_HELP_SYNC + BUTTON_POPUP_HELP_SYNC, + BUTTON_POPUP_HELP_WHATSNEW }; #endif @@ -363,6 +364,10 @@ void PwM::initMenubar() SLOT(syncHowTo_slot()), 0, BUTTON_POPUP_HELP_SYNC); + helpPopup->insertItem(i18n("&What's New"), this, + SLOT(whatsnew_slot()), 0, + BUTTON_POPUP_HELP_WHATSNEW); + #endif menuBar()->insertItem(i18n("&Help"), helpPopup); @@ -1288,6 +1293,11 @@ void PwM::focusInEvent(QFocusEvent *e) #ifdef PWM_EMBEDDED +void PwM::whatsnew_slot() +{ + KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); +} + void PwM::showLicense_slot() { KApplication::showLicence(); @@ -1300,7 +1310,6 @@ void PwM::faq_slot() 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 @@ -174,6 +174,7 @@ public slots: void replayCardBackup_slot(); #ifdef PWM_EMBEDDED + void whatsnew_slot(); void showLicense_slot(); void faq_slot(); void createAboutData_slot(); -- cgit v0.9.0.2