add more spacing
[personal-kdebase.git] / workspace / kcontrol / keys / kdedglobalaccel_interface.h
blobaf030d9c3992ebf4c3d24c9592fbfee86e406076
1 /*
2 * This file was generated by dbusxml2cpp version 0.6
3 * Command line was: dbusxml2cpp -v -m -i kglobalshortcutinfo_p.h -p kdedglobalaccel_interface org.kde.KdedGlobalAccel.xml org.kde.KdedGlobalAccel
5 * dbusxml2cpp is Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
11 #ifndef KDEDGLOBALACCEL_INTERFACE_H_1224790700
12 #define KDEDGLOBALACCEL_INTERFACE_H_1224790700
14 #include <QtCore/QObject>
15 #include <QtCore/QByteArray>
16 #include <QtCore/QList>
17 #include <QtCore/QMap>
18 #include <QtCore/QString>
19 #include <QtCore/QStringList>
20 #include <QtCore/QVariant>
21 #include <QtDBus/QtDBus>
22 #include "kglobalshortcutinfo_p.h"
25 * Proxy class for interface org.kde.KdedGlobalAccel
27 class OrgKdeKdedGlobalAccelInterface: public QDBusAbstractInterface
29 Q_OBJECT
30 public:
31 static inline const char *staticInterfaceName()
32 { return "org.kde.KdedGlobalAccel"; }
34 public:
35 OrgKdeKdedGlobalAccelInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
37 ~OrgKdeKdedGlobalAccelInterface();
39 public Q_SLOTS: // METHODS
40 inline QDBusReply<QStringList> action(int key)
42 QList<QVariant> argumentList;
43 argumentList << qVariantFromValue(key);
44 return callWithArgumentList(QDBus::Block, QLatin1String("action"), argumentList);
47 inline QDBusReply<void> activateGlobalShortcutContext(const QString &component, const QString &context)
49 QList<QVariant> argumentList;
50 argumentList << qVariantFromValue(component) << qVariantFromValue(context);
51 return callWithArgumentList(QDBus::Block, QLatin1String("activateGlobalShortcutContext"), argumentList);
54 inline QDBusReply<QList<QStringList> > allActionsForComponent(const QStringList &actionId)
56 QList<QVariant> argumentList;
57 argumentList << qVariantFromValue(actionId);
58 return callWithArgumentList(QDBus::Block, QLatin1String("allActionsForComponent"), argumentList);
61 inline QDBusReply<QList<QDBusObjectPath> > allComponents()
63 QList<QVariant> argumentList;
64 return callWithArgumentList(QDBus::Block, QLatin1String("allComponents"), argumentList);
67 inline QDBusReply<QList<QStringList> > allMainComponents()
69 QList<QVariant> argumentList;
70 return callWithArgumentList(QDBus::Block, QLatin1String("allMainComponents"), argumentList);
73 inline QDBusReply<QList<int> > defaultShortcut(const QStringList &actionId)
75 QList<QVariant> argumentList;
76 argumentList << qVariantFromValue(actionId);
77 return callWithArgumentList(QDBus::Block, QLatin1String("defaultShortcut"), argumentList);
80 inline QDBusReply<void> doRegister(const QStringList &actionId)
82 QList<QVariant> argumentList;
83 argumentList << qVariantFromValue(actionId);
84 return callWithArgumentList(QDBus::Block, QLatin1String("doRegister"), argumentList);
87 inline QDBusReply<bool> isGlobalShortcutAvailable(int key, const QString &component)
89 QList<QVariant> argumentList;
90 argumentList << qVariantFromValue(key) << qVariantFromValue(component);
91 return callWithArgumentList(QDBus::Block, QLatin1String("isGlobalShortcutAvailable"), argumentList);
94 inline QDBusReply<void> setForeignShortcut(const QStringList &actionId, const QList<int> &keys)
96 QList<QVariant> argumentList;
97 argumentList << qVariantFromValue(actionId) << qVariantFromValue(keys);
98 return callWithArgumentList(QDBus::Block, QLatin1String("setForeignShortcut"), argumentList);
101 inline QDBusReply<void> setInactive(const QStringList &actionId)
103 QList<QVariant> argumentList;
104 argumentList << qVariantFromValue(actionId);
105 return callWithArgumentList(QDBus::Block, QLatin1String("setInactive"), argumentList);
108 inline QDBusReply<QList<int> > setShortcut(const QStringList &actionId, const QList<int> &keys, uint flags)
110 QList<QVariant> argumentList;
111 argumentList << qVariantFromValue(actionId) << qVariantFromValue(keys) << qVariantFromValue(flags);
112 return callWithArgumentList(QDBus::Block, QLatin1String("setShortcut"), argumentList);
115 inline QDBusReply<QList<int> > shortcut(const QStringList &actionId)
117 QList<QVariant> argumentList;
118 argumentList << qVariantFromValue(actionId);
119 return callWithArgumentList(QDBus::Block, QLatin1String("shortcut"), argumentList);
122 inline QDBusReply<void> unRegister(const QStringList &actionId)
124 QList<QVariant> argumentList;
125 argumentList << qVariantFromValue(actionId);
126 return callWithArgumentList(QDBus::Block, QLatin1String("unRegister"), argumentList);
129 Q_SIGNALS: // SIGNALS
130 void invokeAction(const QStringList &actionId, qlonglong timestamp);
131 void yourShortcutGotChanged(const QStringList &actionId, const QList<int> &newKeys);
134 namespace org {
135 namespace kde {
136 typedef ::OrgKdeKdedGlobalAccelInterface KdedGlobalAccel;
139 #endif