Buteo Synchronization Framework
SyncBackupAdaptor.h
1 /*
2  * This file is part of buteo-syncfw package
3  *
4  * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5  *
6  * Contact: Sateesh Kavuri <sateesh.kavuri@nokia.com>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * version 2.1 as published by the Free Software Foundation.
11  *
12  * This library is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20  * 02110-1301 USA
21  *
22  */
23 /*
24  * This file was generated by qdbusxml2cpp version 0.7
25  * Command line was: qdbusxml2cpp -a SyncBackupAdaptor -c SyncBackupAdaptor com.nokia.syncbackup.xml
26  *
27  * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
28  *
29  * This is an auto-generated file.
30  * This file may have been hand-edited. Look for HAND-EDIT comments
31  * before re-generating it.
32  */
33 
34 #ifndef SYNCBACKUPADAPTOR_H_1277973475
35 #define SYNCBACKUPADAPTOR_H_1277973475
36 
37 #include <QtCore/QObject>
38 #include <QtDBus/QtDBus>
39 class QByteArray;
40 template<class T> class QList;
41 template<class Key, class Value> class QMap;
42 class QString;
43 class QStringList;
44 class QVariant;
45 
46 namespace Buteo {
47 
51 class SyncBackupAdaptor: public QDBusAbstractAdaptor
52 {
53  Q_OBJECT
54  Q_CLASSINFO("D-Bus Interface", "com.nokia.backupclient")
55  Q_CLASSINFO("D-Bus Introspection", ""
56  " <interface name=\"com.nokia.backupclient\">\n"
57  " <signal name=\"backupDone\"/>\n"
58  " <signal name=\"backupInProgress\"/>\n"
59  " <signal name=\"restoreDone\"/>\n"
60  " <signal name=\"restoreInProgress\"/>\n"
61  " <method name=\"backupStarts\">\n"
62  " <arg direction=\"out\" type=\"y\"/>\n"
63  " </method>\n"
64  " <method name=\"backupFinished\">\n"
65  " <arg direction=\"out\" type=\"y\"/>\n"
66  " </method>\n"
67  " <method name=\"restoreStarts\">\n"
68  " <arg direction=\"out\" type=\"y\"/>\n"
69  " </method>\n"
70  " <method name=\"restoreFinished\">\n"
71  " <arg direction=\"out\" type=\"y\"/>\n"
72  " </method>\n"
73  " <method name=\"getBackUpRestoreState\">\n"
74  " <arg direction=\"out\" type=\"b\"/>\n"
75  " </method>\n"
76  " </interface>\n"
77  "");
78 public:
79 
81  SyncBackupAdaptor(QObject *parent);
82 
84  virtual ~SyncBackupAdaptor();
85 
86 public: // PROPERTIES
87 public Q_SLOTS: // METHODS
88 
90  uchar backupFinished(const QDBusMessage &message);
91 
93  uchar backupStarts(const QDBusMessage &message);
94 
96  bool getBackUpRestoreState();
97 
99  uchar restoreFinished(const QDBusMessage &message);
100 
102  uchar restoreStarts(const QDBusMessage &message);
103 
104 Q_SIGNALS: // SIGNALS
105 
107  void backupDone();
108 
110  void backupInProgress();
111 
113  void restoreDone();
114 
116  void restoreInProgress();
117 };
118 
119 }
120 #endif
Adaptor class for interface com.nokia.backupclient.
Definition: SyncBackupAdaptor.h:52
virtual ~SyncBackupAdaptor()
Definition: SyncBackupAdaptor.cpp:54
void restoreDone()
Definition: moc_SyncBackupAdaptor.cpp:260
uchar backupStarts(const QDBusMessage &message)
Definition: SyncBackupAdaptor.cpp:67
bool getBackUpRestoreState()
Definition: SyncBackupAdaptor.cpp:75
void backupDone()
Definition: moc_SyncBackupAdaptor.cpp:248
void backupInProgress()
Definition: moc_SyncBackupAdaptor.cpp:254
uchar restoreStarts(const QDBusMessage &message)
Definition: SyncBackupAdaptor.cpp:91
uchar restoreFinished(const QDBusMessage &message)
Definition: SyncBackupAdaptor.cpp:83
SyncBackupAdaptor(QObject *parent)
Definition: SyncBackupAdaptor.cpp:47
void restoreInProgress()
Definition: moc_SyncBackupAdaptor.cpp:266
uchar backupFinished(const QDBusMessage &message)
Definition: SyncBackupAdaptor.cpp:59
Definition: SyncBackupAdaptor.h:40
Definition: SyncBackupAdaptor.h:41