diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2015-12-03 15:18:38 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2015-12-12 09:40:42 +0000 |
commit | c7604c0c2276e2579fe189b6a6000d29fb274a69 (patch) | |
tree | e64c6f77445751a29bebe945bcf6fab5f00e8337 /src/core/services/qeventfilterservice_p.h | |
parent | 31ca4a7d17d84deb05f80053f0f1874da894b840 (diff) |
Turn all services private for now
Change-Id: I9da605c77c5489b9bef4f07079e05f8babb9559f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/services/qeventfilterservice_p.h')
-rw-r--r-- | src/core/services/qeventfilterservice_p.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/core/services/qeventfilterservice_p.h b/src/core/services/qeventfilterservice_p.h new file mode 100644 index 000000000..19d8a1d64 --- /dev/null +++ b/src/core/services/qeventfilterservice_p.h @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2015 Paul Lemire (paul.lemire350@gmail.com) +** Contact: http://www.qt-project.org/legal +** +** This file is part of the Qt3D module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** 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 The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/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 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later 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 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef QT3DCORE_QEVENTFILTERSERVICE_H +#define QT3DCORE_QEVENTFILTERSERVICE_H + +#include <Qt3DCore/qt3dcore_global.h> +#include <Qt3DCore/private/qservicelocator_p.h> + +QT_BEGIN_NAMESPACE + +namespace Qt3DCore { + +class QEventFilterServicePrivate; + +class QT3DCORESHARED_EXPORT QEventFilterService : public QAbstractServiceProvider +{ +public: + QEventFilterService(); + ~QEventFilterService(); + + void initialize(QObject *eventSource); + void registerEventFilter(QObject *eventFilter, int priority); + void unregisterEventFilter(QObject *eventFilter); + +private: + Q_DECLARE_PRIVATE(QEventFilterService) +}; + +} // Qt3DCore + +QT_END_NAMESPACE + +#endif // QT3DCORE_QEVENTFILTERSERVICE_H |