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>
38#include <QtDBus/QtDBus>
39class QByteArray;
40template<class T> class QList;
41template<class Key, class Value> class QMap;
42class QString;
43#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
44using QStringList = class QList<QString>;
45#else
46class QStringList;
47#endif
48class QVariant;
49
50namespace Buteo {
51
55class SyncBackupAdaptor: public QDBusAbstractAdaptor
56{
57 Q_OBJECT
58 Q_CLASSINFO("D-Bus Interface", "com.nokia.backupclient")
59 Q_CLASSINFO("D-Bus Introspection", ""
60 " <interface name=\"com.nokia.backupclient\">\n"
61 " <signal name=\"backupDone\"/>\n"
62 " <signal name=\"backupInProgress\"/>\n"
63 " <signal name=\"restoreDone\"/>\n"
64 " <signal name=\"restoreInProgress\"/>\n"
65 " <method name=\"backupStarts\">\n"
66 " <arg direction=\"out\" type=\"y\"/>\n"
67 " </method>\n"
68 " <method name=\"backupFinished\">\n"
69 " <arg direction=\"out\" type=\"y\"/>\n"
70 " </method>\n"
71 " <method name=\"restoreStarts\">\n"
72 " <arg direction=\"out\" type=\"y\"/>\n"
73 " </method>\n"
74 " <method name=\"restoreFinished\">\n"
75 " <arg direction=\"out\" type=\"y\"/>\n"
76 " </method>\n"
77 " <method name=\"getBackUpRestoreState\">\n"
78 " <arg direction=\"out\" type=\"b\"/>\n"
79 " </method>\n"
80 " </interface>\n"
81 "");
82public:
83
85 SyncBackupAdaptor(QObject *parent);
86
88 virtual ~SyncBackupAdaptor();
89
90public: // PROPERTIES
91public Q_SLOTS: // METHODS
92
94 uchar backupFinished(const QDBusMessage &message);
95
97 uchar backupStarts(const QDBusMessage &message);
98
101
103 uchar restoreFinished(const QDBusMessage &message);
104
106 uchar restoreStarts(const QDBusMessage &message);
107
108Q_SIGNALS: // SIGNALS
109
111 void backupDone();
112
114 void backupInProgress();
115
117 void restoreDone();
118
120 void restoreInProgress();
121};
122
123}
124#endif
Adaptor class for interface com.nokia.backupclient.
Definition SyncBackupAdaptor.h:56
virtual ~SyncBackupAdaptor()
Definition SyncBackupAdaptor.cpp:54
void restoreDone()
Definition moc_SyncBackupAdaptor.cpp:353
uchar backupStarts(const QDBusMessage &message)
Definition SyncBackupAdaptor.cpp:67
bool getBackUpRestoreState()
Definition SyncBackupAdaptor.cpp:75
void backupDone()
Definition moc_SyncBackupAdaptor.cpp:341
void backupInProgress()
Definition moc_SyncBackupAdaptor.cpp:347
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:359
uchar backupFinished(const QDBusMessage &message)
Definition SyncBackupAdaptor.cpp:59
Definition SyncBackupAdaptor.h:40
Definition SyncBackupAdaptor.h:41