summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-08-06 20:22:49 (UTC)
committer zautrix <zautrix>2004-08-06 20:22:49 (UTC)
commit47bd2528db547822b6df6e287e02b6e2ebf7acd8 (patch) (unidiff)
treed05d831afe3c49c55ed89db6a9cb4ce9fc3a6835
parent184e3d096e83f777cce9b919f9f9d56e5960e067 (diff)
downloadkdepimpi-47bd2528db547822b6df6e287e02b6e2ebf7acd8.zip
kdepimpi-47bd2528db547822b6df6e287e02b6e2ebf7acd8.tar.gz
kdepimpi-47bd2528db547822b6df6e287e02b6e2ebf7acd8.tar.bz2
Added licence to kapi
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp10
-rw-r--r--kaddressbook/kabcore.h2
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
@@ -1637,3 +1637,5 @@ void KABCore::initActions()
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,
@@ -1761,3 +1763,3 @@ void KABCore::addActionsManually()
1761 mActionAboutKAddressbook->plug( helpMenu ); 1763 mActionAboutKAddressbook->plug( helpMenu );
1762 1764 mActionLicence->plug( helpMenu );
1763 1765
@@ -1794,2 +1796,6 @@ void KABCore::addActionsManually()
1794} 1796}
1797void KABCore::showLicence()
1798{
1799 KApplication::showLicence();
1800}
1795void KABCore::removeVoice() 1801void KABCore::removeVoice()
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index be39148..6bbdfd4 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -144,2 +144,3 @@ class KABCore : public QWidget
144 void statusMessage(QString, int time = 0 ); 144 void statusMessage(QString, int time = 0 );
145 void showLicence();
145 /** 146 /**
@@ -409,2 +410,3 @@ class KABCore : public QWidget
409 KAction *mActionAboutKAddressbook; 410 KAction *mActionAboutKAddressbook;
411 KAction *mActionLicence;
410 412