signon  8.58
signonui_interface.h
Go to the documentation of this file.
1 /*
2  * This file is part of signon
3  *
4  * Copyright (C) 2009-2010 Nokia Corporation.
5  * Copyright (C) 2013 Canonical Ltd.
6  *
7  * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public License
11  * version 2.1 as published by the Free Software Foundation.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  */
23 
24 
25 #ifndef SIGNONUI_INTERFACE_H_
26 #define SIGNONUI_INTERFACE_H_
27 
28 #include <QtCore/QObject>
29 #include <QtCore/QByteArray>
30 #include <QtCore/QList>
31 #include <QtCore/QMap>
32 #include <QtCore/QString>
33 #include <QtCore/QStringList>
34 #include <QtCore/QVariant>
35 #include <QtDBus/QtDBus>
36 #include <QtDBus/QDBusPendingCall>
37 
38 /*
39  * Proxy class for interface com.nokia.singlesignonui
40  */
41 class SignonUiAdaptor: public QDBusAbstractInterface
42 {
43  Q_OBJECT
44 
46 
47 public:
48  static inline const char *staticInterfaceName() {
49  return "com.nokia.singlesignonui";
50  }
51 
52 public:
53 
54  SignonUiAdaptor(const QString &service,
55  const QString &path,
56  const QDBusConnection &connection,
57  QObject *parent = 0);
59 
60 public Q_SLOTS: // METHODS
61  QDBusPendingCall queryDialog(const QVariantMap &parameters);
62  QDBusPendingCall refreshDialog(const QVariantMap &parameters);
63 
64  void cancelUiRequest(const QString &requestId);
65  QDBusPendingCall removeIdentityData(quint32 id);
66 
67 protected:
68  QDBusPendingCall callWithArgumentListAndBigTimeout(
69  const QString &method,
70  const QList<QVariant> &args = QList<QVariant>());
71 };
72 
73 #endif
SignonUiAdaptor(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=0)
QDBusPendingCall callWithArgumentListAndBigTimeout(const QString &method, const QList< QVariant > &args=QList< QVariant >())
static const char * staticInterfaceName()
QDBusPendingCall refreshDialog(const QVariantMap &parameters)
void cancelUiRequest(const QString &requestId)
QDBusPendingCall queryDialog(const QVariantMap &parameters)
QDBusPendingCall removeIdentityData(quint32 id)
friend class SignonSecureStorageUiAdaptor