ButeoSynchronizationFramework
ButeoPluginIfaceAdaptor.h
1 /*
2  * This file was generated by qdbusxml2cpp version 0.8
3  * Command line was: qdbusxml2cpp -c ButeoPluginIfaceAdaptor -a ButeoPluginIfaceAdaptor.h:ButeoPluginIfaceAdaptor.cpp com.buteo.msyncd.baseplugin.xml
4  *
5  * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
6  *
7  * This is an auto-generated file.
8  * This file may have been hand-edited. Look for HAND-EDIT comments
9  * before re-generating it.
10  */
11 
12 #ifndef BUTEOPLUGINIFACEADAPTOR_H_1391669724
13 #define BUTEOPLUGINIFACEADAPTOR_H_1391669724
14 
15 #include <QtCore/QObject>
16 #include <QtDBus/QtDBus>
17 QT_BEGIN_NAMESPACE
18 class QByteArray;
19 template<class T> class QList;
20 template<class Key, class Value> class QMap;
21 class QString;
22 class QStringList;
23 class QVariant;
24 QT_END_NAMESPACE
25 
26 /*
27  * Adaptor class for interface com.buteo.msyncd.baseplugin
28  */
29 class ButeoPluginIfaceAdaptor: public QDBusAbstractAdaptor
30 {
31  Q_OBJECT
32  Q_CLASSINFO("D-Bus Interface", "com.buteo.msyncd.baseplugin")
33  Q_CLASSINFO("D-Bus Introspection", ""
34 " <interface name=\"com.buteo.msyncd.baseplugin\">\n"
35 " <signal name=\"transferProgress\">\n"
36 " <arg direction=\"out\" type=\"s\" name=\"aProfileName\"/>\n"
37 " <arg direction=\"out\" type=\"i\" name=\"aTransferDatabase\"/>\n"
38 " <arg direction=\"out\" type=\"i\" name=\"aTransferType\"/>\n"
39 " <arg direction=\"out\" type=\"s\" name=\"aMimeType\"/>\n"
40 " <arg direction=\"out\" type=\"i\" name=\"aCommittedItems\"/>\n"
41 " </signal>\n"
42 " <signal name=\"error\">\n"
43 " <arg direction=\"out\" type=\"s\" name=\"aProfileName\"/>\n"
44 " <arg direction=\"out\" type=\"s\" name=\"aMessage\"/>\n"
45 " <arg direction=\"out\" type=\"i\" name=\"aErrorCode\"/>\n"
46 " </signal>\n"
47 " <signal name=\"success\">\n"
48 " <arg direction=\"out\" type=\"s\" name=\"aProfileName\"/>\n"
49 " <arg direction=\"out\" type=\"s\" name=\"aMessage\"/>\n"
50 " </signal>\n"
51 " <signal name=\"accquiredStorage\">\n"
52 " <arg direction=\"out\" type=\"s\" name=\"aMimeType\"/>\n"
53 " </signal>\n"
54 " <signal name=\"syncProgressDetail\">\n"
55 " <arg direction=\"out\" type=\"s\" name=\"aProfileName\"/>\n"
56 " <arg direction=\"out\" type=\"i\" name=\"aProgressDetail\"/>\n"
57 " </signal>\n"
58 " <method name=\"init\">\n"
59 " <arg direction=\"out\" type=\"b\"/>\n"
60 " </method>\n"
61 " <method name=\"uninit\">\n"
62 " <arg direction=\"out\" type=\"b\"/>\n"
63 " </method>\n"
64 " <method name=\"abortSync\">\n"
65 " <arg direction=\"in\" type=\"y\" name=\"aStatus\"/>\n"
66 " </method>\n"
67 " <method name=\"cleanUp\">\n"
68 " <arg direction=\"out\" type=\"b\"/>\n"
69 " </method>\n"
70 " <method name=\"getSyncResults\">\n"
71 " <arg direction=\"out\" type=\"s\"/>\n"
72 " </method>\n"
73 " <method name=\"connectivityStateChanged\">\n"
74 " <arg direction=\"in\" type=\"i\" name=\"aType\"/>\n"
75 " <arg direction=\"in\" type=\"b\" name=\"aState\"/>\n"
76 " </method>\n"
77 " <method name=\"startSync\">\n"
78 " <arg direction=\"out\" type=\"b\"/>\n"
79 " </method>\n"
80 " <signal name=\"newSession\">\n"
81 " <arg direction=\"out\" type=\"s\" name=\"aDestination\"/>\n"
82 " </signal>\n"
83 " <method name=\"startListen\">\n"
84 " <arg direction=\"out\" type=\"b\"/>\n"
85 " </method>\n"
86 " <method name=\"stopListen\"/>\n"
87 " <method name=\"suspend\"/>\n"
88 " <method name=\"resume\"/>\n"
89 " </interface>\n"
90  "")
91 public:
92  ButeoPluginIfaceAdaptor(QObject *parent);
93  virtual ~ButeoPluginIfaceAdaptor();
94 
95 public: // PROPERTIES
96 public Q_SLOTS: // METHODS
97  void abortSync(uchar aStatus);
98  bool cleanUp();
99  void connectivityStateChanged(int aType, bool aState);
100  QString getSyncResults();
101  bool init();
102  void resume();
103  bool startListen();
104  bool startSync();
105  void stopListen();
106  void suspend();
107  bool uninit();
108 Q_SIGNALS: // SIGNALS
109  void accquiredStorage(const QString &aMimeType);
110  void error(const QString &aProfileName, const QString &aMessage, int aErrorCode);
111  void newSession(const QString &aDestination);
112  void success(const QString &aProfileName, const QString &aMessage);
113  void syncProgressDetail(const QString &aProfileName, int aProgressDetail);
114  void transferProgress(const QString &aProfileName, int aTransferDatabase, int aTransferType, const QString &aMimeType, int aCommittedItems);
115 };
116 
117 #endif
Definition: ButeoPluginIfaceAdaptor.h:29
Definition: SyncBackupAdaptor.h:41
Definition: SyncBackupAdaptor.h:40