aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicknativestyle/items/qquickstyleitemdelaybutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicknativestyle/items/qquickstyleitemdelaybutton.h')
-rw-r--r--src/quicknativestyle/items/qquickstyleitemdelaybutton.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/quicknativestyle/items/qquickstyleitemdelaybutton.h b/src/quicknativestyle/items/qquickstyleitemdelaybutton.h
new file mode 100644
index 0000000000..e2a0bf2174
--- /dev/null
+++ b/src/quicknativestyle/items/qquickstyleitemdelaybutton.h
@@ -0,0 +1,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