author | zautrix <zautrix> | 2005-04-03 11:18:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-03 11:18:44 (UTC) |
commit | cb1fed5a15e31386048fc7fdf56cdaacb3cfa86f (patch) (unidiff) | |
tree | 944bc4999a8d7575333d8bc484ce90350f048a50 /kaddressbook | |
parent | 4f800d49800f8d0b1e7b0af8aacea6dbeb78e67c (diff) | |
download | kdepimpi-cb1fed5a15e31386048fc7fdf56cdaacb3cfa86f.zip kdepimpi-cb1fed5a15e31386048fc7fdf56cdaacb3cfa86f.tar.gz kdepimpi-cb1fed5a15e31386048fc7fdf56cdaacb3cfa86f.tar.bz2 |
storage howto
-rw-r--r-- | kaddressbook/kabcore.cpp | 13 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index ce5c755..eba74a6 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -2095,12 +2095,19 @@ void KABCore::initActions() | |||
2095 | mActionFaq = new KAction( i18n( "Faq" ), 0, | 2095 | mActionFaq = new KAction( i18n( "Faq" ), 0, |
2096 | this, SLOT( faq() ), actionCollection(), | 2096 | this, SLOT( faq() ), actionCollection(), |
2097 | "faq_about_data" ); | 2097 | "faq_about_data" ); |
2098 | mActionWN = new KAction( i18n( "What's New?" ), 0, | 2098 | mActionWN = new KAction( i18n( "What's New?" ), 0, |
2099 | this, SLOT( whatsnew() ), actionCollection(), | 2099 | this, SLOT( whatsnew() ), actionCollection(), |
2100 | "wn" ); | 2100 | "wn" ); |
2101 | |||
2102 | |||
2103 | |||
2104 | mActionStorageHowto = new KAction( i18n( "Storage HowTo" ), 0, | ||
2105 | this, SLOT( storagehowto() ), actionCollection(), | ||
2106 | "storage" ); | ||
2107 | |||
2101 | mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, | 2108 | mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, |
2102 | this, SLOT( synchowto() ), actionCollection(), | 2109 | this, SLOT( synchowto() ), actionCollection(), |
2103 | "sync" ); | 2110 | "sync" ); |
2104 | mActionKdeSyncHowto = new KAction( i18n( "Kde Sync HowTo" ), 0, | 2111 | mActionKdeSyncHowto = new KAction( i18n( "Kde Sync HowTo" ), 0, |
2105 | this, SLOT( kdesynchowto() ), actionCollection(), | 2112 | this, SLOT( kdesynchowto() ), actionCollection(), |
2106 | "kdesync" ); | 2113 | "kdesync" ); |
@@ -2270,12 +2277,13 @@ void KABCore::addActionsManually() | |||
2270 | //mActionManageCategories->plug( changeMenu ); | 2277 | //mActionManageCategories->plug( changeMenu ); |
2271 | 2278 | ||
2272 | //mActionCategories->plug( settingsMenu ); | 2279 | //mActionCategories->plug( settingsMenu ); |
2273 | 2280 | ||
2274 | 2281 | ||
2275 | mActionWN->plug( helpMenu ); | 2282 | mActionWN->plug( helpMenu ); |
2283 | mActionStorageHowto->plug( helpMenu ); | ||
2276 | mActionSyncHowto->plug( helpMenu ); | 2284 | mActionSyncHowto->plug( helpMenu ); |
2277 | mActionKdeSyncHowto->plug( helpMenu ); | 2285 | mActionKdeSyncHowto->plug( helpMenu ); |
2278 | mActionMultiSyncHowto->plug( helpMenu ); | 2286 | mActionMultiSyncHowto->plug( helpMenu ); |
2279 | mActionFaq->plug( helpMenu ); | 2287 | mActionFaq->plug( helpMenu ); |
2280 | mActionLicence->plug( helpMenu ); | 2288 | mActionLicence->plug( helpMenu ); |
2281 | mActionAboutKAddressbook->plug( helpMenu ); | 2289 | mActionAboutKAddressbook->plug( helpMenu ); |
@@ -2723,13 +2731,16 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses | |||
2723 | { | 2731 | { |
2724 | setDetailsVisible( true ); | 2732 | setDetailsVisible( true ); |
2725 | mActionDetails->setChecked(true); | 2733 | mActionDetails->setChecked(true); |
2726 | } | 2734 | } |
2727 | } | 2735 | } |
2728 | } | 2736 | } |
2729 | 2737 | void KABCore::storagehowto() | |
2738 | { | ||
2739 | KApplication::showFile( "KDE-Pim/Pi Storage HowTo", "kdepim/storagehowto.txt" ); | ||
2740 | } | ||
2730 | void KABCore::whatsnew() | 2741 | void KABCore::whatsnew() |
2731 | { | 2742 | { |
2732 | KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); | 2743 | KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); |
2733 | } | 2744 | } |
2734 | void KABCore::synchowto() | 2745 | void KABCore::synchowto() |
2735 | { | 2746 | { |
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 4cef73a..80dbf08 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -146,12 +146,13 @@ class KABCore : public QWidget, public KSyncInterface | |||
146 | void setDetailsToggle(); | 146 | void setDetailsToggle(); |
147 | 147 | ||
148 | void showLicence(); | 148 | void showLicence(); |
149 | void faq(); | 149 | void faq(); |
150 | void whatsnew() ; | 150 | void whatsnew() ; |
151 | void synchowto() ; | 151 | void synchowto() ; |
152 | void storagehowto() ; | ||
152 | void multisynchowto() ; | 153 | void multisynchowto() ; |
153 | void kdesynchowto() ; | 154 | void kdesynchowto() ; |
154 | void writeToPhone(); | 155 | void writeToPhone(); |
155 | 156 | ||
156 | /** | 157 | /** |
157 | Is called whenever a contact is selected in the view. | 158 | Is called whenever a contact is selected in the view. |
@@ -469,12 +470,13 @@ class KABCore : public QWidget, public KSyncInterface | |||
469 | KAction *mActionManageCategories; | 470 | KAction *mActionManageCategories; |
470 | KAction *mActionAboutKAddressbook; | 471 | KAction *mActionAboutKAddressbook; |
471 | KAction *mActionLicence; | 472 | KAction *mActionLicence; |
472 | KAction *mActionFaq; | 473 | KAction *mActionFaq; |
473 | KAction *mActionWN; | 474 | KAction *mActionWN; |
474 | KAction *mActionSyncHowto; | 475 | KAction *mActionSyncHowto; |
476 | KAction *mActionStorageHowto; | ||
475 | KAction *mActionKdeSyncHowto; | 477 | KAction *mActionKdeSyncHowto; |
476 | KAction *mActionMultiSyncHowto; | 478 | KAction *mActionMultiSyncHowto; |
477 | 479 | ||
478 | KAction *mActionDeleteView; | 480 | KAction *mActionDeleteView; |
479 | 481 | ||
480 | QPopupMenu *viewMenu; | 482 | QPopupMenu *viewMenu; |