summaryrefslogtreecommitdiffstats
path: root/kmobile/kmobileiface.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch)
tree67208f7c145782a7e90b123b982ca78d88cc2c87 /kmobile/kmobileiface.h
downloadtdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz
tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip
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
Diffstat (limited to 'kmobile/kmobileiface.h')
-rw-r--r--kmobile/kmobileiface.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/kmobile/kmobileiface.h b/kmobile/kmobileiface.h
new file mode 100644
index 000000000..9447c667c
--- /dev/null
+++ b/kmobile/kmobileiface.h
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2003 Helge Deller <deller@kde.org>
+ */
+
+#ifndef _KMOBILEIFACE_H_
+#define _KMOBILEIFACE_H_
+
+#include <dcopobject.h>
+#include <qstringlist.h>
+
+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_