From a929c9a3b465db8b7e17b9b39936c612c2621a7c Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 14 Jul 2006 16:20:12 +0000 Subject: * Remove all bindings --- qt/src/qdbusbus.h | 159 ------------------------------------------------------ 1 file changed, 159 deletions(-) delete mode 100644 qt/src/qdbusbus.h (limited to 'qt/src/qdbusbus.h') diff --git a/qt/src/qdbusbus.h b/qt/src/qdbusbus.h deleted file mode 100644 index 0240e65f..00000000 --- a/qt/src/qdbusbus.h +++ /dev/null @@ -1,159 +0,0 @@ -/* -*- C++ -*- - * - * Copyright (C) 2006 Trolltech AS. All rights reserved. - * Author: Thiago Macieira - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -/* - * This file was generated by dbusidl2cpp version 0.3 - * when processing input file - - * - * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved. - * - * This file has been hand-edited! Be careful when re-generating it! - * - */ - -#ifndef QDBUSBUS_H -#define QDBUSBUS_H - -#include - -#include "qdbusabstractinterface.h" -#include "qdbusreply.h" - -class QDBusConnection; -class QString; -class QByteArray; - -/* - * Proxy class for interface org.freedesktop.DBus - */ -class QDBUS_EXPORT QDBusBusService: public QDBusAbstractInterface -{ - Q_OBJECT - friend class QDBusConnection; - static inline const char *staticInterfaceName(); - - explicit QDBusBusService(QDBusAbstractInterfacePrivate *p); - - ~QDBusBusService(); - -public: - // taken out of http://dbus.freedesktop.org/doc/dbus-specification.html - // update if the standard updates - enum RequestNameOption { - QueueName = 0x0, - AllowReplacingName = 0x1, - ReplaceExistingName = 0x2, - DoNotQueueName = 0x4 - }; - Q_DECLARE_FLAGS(RequestNameOptions, RequestNameOption) - - enum RequestNameReply { - PrimaryOwnerReply = 1, - InQueueReply = 2, - NameExistsReply = 3, - AlreadyOwnerReply = 4 - }; - - enum ReleaseNameReply { - NameReleasedReply = 1, - NameNonExistentReply = 2, - NotOwnerReply = 3 - }; - - enum StartServiceReply { - Success = 1, - AlreadyRunning = 2 - }; - -#ifndef Q_QDOC - // D-Bus names -public: // METHODS - QDBusReply Hello(); - QDBusReply ReloadConfig(); - - QDBusReply ListNames(); - - QDBusReply NameHasOwner(const QString &service); - QDBusReply GetNameOwner(const QString &name); - QDBusReply ReleaseName(const QString &service); - QDBusReply RequestName(const QString &service, RequestNameOptions flags); - QDBusReply ListQueuedOwners(const QString &service); - - QDBusReply AddMatch(const QString &rule); - QDBusReply RemoveMatch(const QString &rule); - - QDBusReply GetConnectionSELinuxSecurityContext(const QString &service); - QDBusReply GetConnectionUnixProcessID(const QString &service); - QDBusReply GetConnectionUnixUser(const QString &service); - - QDBusReply StartServiceByName(const QString &name, uint flags); - -Q_SIGNALS: // SIGNALS - void NameAcquired(const QString &service); - void NameLost(const QString &service); - void NameOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner); -#endif - - // Qt-style naming -public Q_SLOTS: - QDBusReply hello() - { return Hello(); } - QDBusReply reloadConfig() - { return ReloadConfig(); } - - QDBusReply listNames() - { return ListNames(); } - - QDBusReply nameHasOwner(const QString &serviceName) - { return NameHasOwner(serviceName); } - QDBusReply nameOwner(const QString &name) - { return GetNameOwner(name); } - QDBusReply releaseName(const QString &serviceName) - { return ReleaseName(serviceName); } - QDBusReply requestName(const QString &serviceName, RequestNameOptions flags = QueueName) - { return RequestName(serviceName, flags); } - QDBusReply listQueuedOwners(const QString &serviceName) - { return ListQueuedOwners(serviceName); } - - QDBusReply addMatch(const QString &rule) - { return AddMatch(rule); } - QDBusReply removeMatch(const QString &rule) - { return RemoveMatch(rule); } - - QDBusReply connectionSELinuxSecurityContext(const QString &serviceName) - { return GetConnectionSELinuxSecurityContext(serviceName); } - QDBusReply connectionUnixProcessID(const QString &serviceName) - { return GetConnectionUnixProcessID(serviceName); } - QDBusReply connectionUnixUser(const QString &serviceName) - { return GetConnectionUnixUser(serviceName); } - - QDBusReply startServiceByName(const QString &name, uint flags) - { return StartServiceByName(name, flags); } - -Q_SIGNALS: - void nameAcquired(const QString &service); - void nameLost(const QString &service); - void nameOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner); -}; - -Q_DECLARE_OPERATORS_FOR_FLAGS(QDBusBusService::RequestNameOptions) - -#endif -- cgit