aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicknativestyle/items/qquickstyleitemdelaybutton.h
blob: e2a0bf2174e7972b7ce5dfc486c63f582c1d91ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QQUICKSTYLEITEMDELAYBUTTON_H
#define QQUICKSTYLEITEMDELAYBUTTON_H

#include "qquickstyleitembutton.h"

QT_BEGIN_NAMESPACE

class QQuickStyleItemDelayButton : public QQuickStyleItemButton
{
    Q_OBJECT
    QML_NAMED_ELEMENT(DelayButton)

protected:
    void connectToControl() const override;

private:
    void initStyleOption(QStyleOptionButton &styleOption) const override;
};

QT_END_NAMESPACE

#endif // QQUICKSTYLEITEMDELAYBUTTON_H