Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
filterobject.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4#ifndef FILTEROBJECT_H
5#define FILTEROBJECT_H
6
7#include <QObject>
8
9class FilterObject : public QObject
10{
12
13public:
14 FilterObject(QObject *parent = nullptr);
15 bool eventFilter(QObject *object, QEvent *event) override;
16 void setFilteredObject(QObject *object);
17
18private:
19 QObject *target;
20};
21
22#endif
bool eventFilter(QObject *object, QEvent *event) override
[0]
void setFilteredObject(QObject *object)
[0]