| 1 | // Copyright (C) 2023 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QQUICKSTYLEITEMDELAYBUTTON_H |
| 5 | #define QQUICKSTYLEITEMDELAYBUTTON_H |
| 6 | |
| 7 | #include "qquickstyleitembutton.h" |
| 8 | |
| 9 | QT_BEGIN_NAMESPACE |
| 10 | |
| 11 | class QQuickStyleItemDelayButton : public QQuickStyleItemButton |
| 12 | { |
| 13 | Q_OBJECT |
| 14 | QML_NAMED_ELEMENT(DelayButton) |
| 15 | |
| 16 | protected: |
| 17 | void connectToControl() const override; |
| 18 | |
| 19 | private: |
| 20 | void initStyleOption(QStyleOptionButton &styleOption) const override; |
| 21 | }; |
| 22 | |
| 23 | QT_END_NAMESPACE |
| 24 | |
| 25 | #endif // QQUICKSTYLEITEMDELAYBUTTON_H |
| 26 |
