diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-07-24 11:47:04 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-25 14:30:14 +0200 |
commit | b0cca9bdd0acf0865a1a5fcb0c51944d902638b1 (patch) | |
tree | 44f877493c3ee613dcb34dd9d0412d52fa3a41d9 /src/nfc/maemo6/socketrequestor_p.h | |
parent | 0f677d485e83abd1e1d6f64b6220948fed421d94 (diff) |
Remove code related to dead or currently unsupported platforms
- Removes the Meego/Maemo backend for QtNfc
- Remove Simulator, WinCE and S60 remnants from the examples
If any of these platforms becomes relevant they can be added back
of course.
Change-Id: I84712ea07f01794b622560ce77e08cee347406e3
Reviewed-by: Michael Zanetti <michael.zanetti@canonical.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'src/nfc/maemo6/socketrequestor_p.h')
-rw-r--r-- | src/nfc/maemo6/socketrequestor_p.h | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/src/nfc/maemo6/socketrequestor_p.h b/src/nfc/maemo6/socketrequestor_p.h deleted file mode 100644 index 5f4bed8b..00000000 --- a/src/nfc/maemo6/socketrequestor_p.h +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the QtNfc module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/* - The private API defined in this file is temporary. It should be removed when Qt can handle - passing unix file descriptors over DBus. Most likely in Qt 4.8. -*/ - -#ifndef SOCKETREQUESTOR_P_H -#define SOCKETREQUESTOR_P_H - -#include <qconnectivityglobal.h> - -#include <QtCore/QObject> -#include <QtCore/QVariantMap> - -QT_FORWARD_DECLARE_CLASS(QDBusObjectPath) -QT_FORWARD_DECLARE_CLASS(QDBusVariant) - -class DBusConnection; - -class SocketRequestor : public QObject -{ - Q_OBJECT - -public: - explicit SocketRequestor(const QString &adaptor, QObject *parent = 0); - ~SocketRequestor(); - - void requestAccess(const QString &path, const QString &kind); - void cancelAccessRequest(const QString &path, const QString &kind); - - bool waitForDBusSignal(int msecs); - -signals: - void accessFailed(const QDBusObjectPath &targetPath, const QString &kind, - const QString &error); - void accessGranted(const QDBusObjectPath &targetPath, const QString &accessKind); - - void accept(const QDBusVariant &lsap, const QDBusVariant &rsap, int fd, const QVariantMap &properties); - void connect(const QDBusVariant &lsap, const QDBusVariant &rsap, int fd, const QVariantMap &properties); - void socket(const QDBusVariant &lsap, int fd, const QVariantMap &properties); - -private: - const QString m_adaptor; -}; - -#endif // SOCKETREQUESTOR_P_H |