-rw-r--r-- | kaddressbook/kabcore.cpp | 10 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 25891a0..2494aa2 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1636,5 +1636,7 @@ void KABCore::initActions() | |||
1636 | "import_OL" ); | 1636 | "import_OL" ); |
1637 | #ifdef KAB_EMBEDDED | 1637 | #ifdef KAB_EMBEDDED |
1638 | 1638 | mActionLicence = new KAction( i18n( "Licence" ), "licence", 0, | |
1639 | this, SLOT( showLicence() ), actionCollection(), | ||
1640 | "licence_about_data" ); | ||
1639 | mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, | 1641 | mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, |
1640 | this, SLOT( createAboutData() ), actionCollection(), | 1642 | this, SLOT( createAboutData() ), actionCollection(), |
@@ -1760,5 +1762,5 @@ void KABCore::addActionsManually() | |||
1760 | 1762 | ||
1761 | mActionAboutKAddressbook->plug( helpMenu ); | 1763 | mActionAboutKAddressbook->plug( helpMenu ); |
1762 | 1764 | mActionLicence->plug( helpMenu ); | |
1763 | 1765 | ||
1764 | if (QApplication::desktop()->width() > 320 ) { | 1766 | if (QApplication::desktop()->width() > 320 ) { |
@@ -1793,4 +1795,8 @@ void KABCore::addActionsManually() | |||
1793 | #endif //KAB_EMBEDDED | 1795 | #endif //KAB_EMBEDDED |
1794 | } | 1796 | } |
1797 | void KABCore::showLicence() | ||
1798 | { | ||
1799 | KApplication::showLicence(); | ||
1800 | } | ||
1795 | void KABCore::removeVoice() | 1801 | void KABCore::removeVoice() |
1796 | { | 1802 | { |
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index be39148..6bbdfd4 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -143,4 +143,5 @@ class KABCore : public QWidget | |||
143 | 143 | ||
144 | void statusMessage(QString, int time = 0 ); | 144 | void statusMessage(QString, int time = 0 ); |
145 | void showLicence(); | ||
145 | /** | 146 | /** |
146 | Is called whenever a contact is selected in the view. | 147 | Is called whenever a contact is selected in the view. |
@@ -408,4 +409,5 @@ class KABCore : public QWidget | |||
408 | KAction *mActionCategories; | 409 | KAction *mActionCategories; |
409 | KAction *mActionAboutKAddressbook; | 410 | KAction *mActionAboutKAddressbook; |
411 | KAction *mActionLicence; | ||
410 | 412 | ||
411 | KAction *mActionDeleteView; | 413 | KAction *mActionDeleteView; |