blob: ca4b5c182624ec56dcd26e086723b4b6eb08edda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
/*
* Copyright (C) 2003-2005 Helge Deller <deller@kde.org>
*/
#ifndef _KMOBILECLIENT_H_
#define _KMOBILECLIENT_H_
#include <dcopclient.h>
#include <kdepimmacros.h>
class KDE_EXPORT KMobileClient : public DCOPClient
{
Q_OBJECT
public:
KMobileClient();
virtual ~KMobileClient();
QCString appId() const { return m_clientAppId; };
bool isKMobileAvailable();
bool startKMobileApplication();
/**
* DCOP implementation
*/
QStringList deviceNames();
void removeDevice( QString deviceName );
void configDevice( QString deviceName );
bool connectDevice( QString deviceName );
bool disconnectDevice( QString deviceName );
bool connected( QString deviceName );
QString deviceClassName( QString deviceName );
QString deviceName( QString deviceName );
QString revision( QString deviceName );
int classType( QString deviceName );
int capabilities( QString deviceName );
QString nameForCap( QString deviceName, int cap );
QString iconFileName( QString deviceName );
int numAddresses( QString deviceName );
QString readAddress( QString deviceName, int index );
bool storeAddress( QString deviceName, int index, QString vcard, bool append );
int numCalendarEntries( QString deviceName );
int numNotes( QString deviceName );
QString readNote( QString deviceName, int index );
bool storeNote( QString deviceName, int index, QString note );
private:
QCString m_clientAppId;
QCString m_kmobileApp;
QCString m_kmobileObj;
};
#endif // _KMOBILECLIENT_H_
|