From 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmobile/kmobileiface.h | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 kmobile/kmobileiface.h (limited to 'kmobile/kmobileiface.h') diff --git a/kmobile/kmobileiface.h b/kmobile/kmobileiface.h new file mode 100644 index 00000000..9447c667 --- /dev/null +++ b/kmobile/kmobileiface.h @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2003 Helge Deller + */ + +#ifndef _KMOBILEIFACE_H_ +#define _KMOBILEIFACE_H_ + +#include +#include + +class QStringList; + +class kmobileIface : virtual public DCOPObject +{ + K_DCOP +public: + +k_dcop: + virtual QStringList deviceNames() = 0; + + virtual void removeDevice( QString deviceName ) = 0; + virtual void configDevice( QString deviceName ) = 0; + + virtual bool connectDevice( QString deviceName ) = 0; + virtual bool disconnectDevice( QString deviceName ) = 0; + virtual bool connected( QString deviceName ) = 0; + + virtual QString deviceClassName( QString deviceName ) = 0; + virtual QString deviceName( QString deviceName ) = 0; + virtual QString revision( QString deviceName ) = 0; + virtual int classType( QString deviceName ) = 0; + + virtual int capabilities( QString deviceName ) = 0; + virtual QString nameForCap( QString deviceName, int cap ) = 0; + + virtual QString iconFileName( QString deviceName ) = 0; + + virtual int numAddresses( QString deviceName ) = 0; + virtual QString readAddress( QString deviceName, int index ) = 0; + virtual bool storeAddress( QString deviceName, int index, QString vcard, bool append ) = 0; + + virtual int numCalendarEntries( QString deviceName ) = 0; + + virtual int numNotes( QString deviceName ) = 0; + virtual QString readNote( QString deviceName, int index ) = 0; + virtual bool storeNote( QString deviceName, int index, QString note ) = 0; + + /* + * DCOP functions for the devices:/ kioslave + */ +k_dcop: + virtual QStringList kio_devices_deviceInfo(QString deviceName) = 0; +}; + +#endif // _KMOBILEIFACE_H_ -- cgit v1.2.3