summaryrefslogtreecommitdiffabout
path: root/libkdepim/externalapphandler.h
authorulf69 <ulf69>2004-09-16 17:25:06 (UTC)
committer ulf69 <ulf69>2004-09-16 17:25:06 (UTC)
commitb6bfa63deb15a2600d46a8c68c231f068da1444a (patch) (side-by-side diff)
tree271c22bdf98d05d1c0acbd56e5c570f56baa9b5d /libkdepim/externalapphandler.h
parentc32d7e58ca69196426eee3217140227aca634f52 (diff)
downloadkdepimpi-b6bfa63deb15a2600d46a8c68c231f068da1444a.zip
kdepimpi-b6bfa63deb15a2600d46a8c68c231f068da1444a.tar.gz
kdepimpi-b6bfa63deb15a2600d46a8c68c231f068da1444a.tar.bz2
added sip support to external applications and display sip numbers as hyperlink
Diffstat (limited to 'libkdepim/externalapphandler.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/externalapphandler.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libkdepim/externalapphandler.h b/libkdepim/externalapphandler.h
index 1b04b2b..cfe577b 100644
--- a/libkdepim/externalapphandler.h
+++ b/libkdepim/externalapphandler.h
@@ -154,13 +154,14 @@ class ExternalAppHandler : public QObject
enum Types {
EMAIL = 0,
PHONE = 1,
SMS = 2,
FAX = 3,
- PAGER = 4
+ PAGER = 4,
+ SIP = 5
};
enum Availability {
UNDEFINED = -1,
UNAVAILABLE = 0,
AVAILABLE = 1
@@ -187,17 +188,21 @@ class ExternalAppHandler : public QObject
//calls the pagerapplication with the number
bool callByPager( const QString& pagernumber );
//calls the faxapplication with the number
bool callByFax( const QString& faxnumber );
+ //calls the sipapplication with the number
+ bool callBySIP( const QString& sipnumber );
+
bool isEmailAppAvailable();
bool isSMSAppAvailable();
bool isPhoneAppAvailable();
bool isFaxAppAvailable();
bool isPagerAppAvailable();
+ bool isSIPAppAvailable();
//Call this method on the source when you want to select names from the addressbook by using QCop
bool requestNameEmailUidListFromKAPI(const QString& sourceChannel, const QString& sessionuid);
//Call this method on the target when you want to return the name/email map to the source (client).
bool returnNameEmailUidListFromKAPI(const QString& sourceChannel, const QString& sessionuid, const QStringList& name, const QStringList& email, const QStringList& uid);
@@ -238,12 +243,13 @@ class ExternalAppHandler : public QObject
Availability mEmailAppAvailable;
Availability mPhoneAppAvailable;
Availability mFaxAppAvailable;
Availability mSMSAppAvailable;
Availability mPagerAppAvailable;
+ Availability mSIPAppAvailable;
QCopListTransferItem* mNameEmailUidListFromKAPITransfer;
QCopListTransferItem* mFindByEmailFromKAPITransfer;
QCopTransferItem* mDisplayDetails;