summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-11-23 11:41:28 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2023-12-22 14:08:34 +0100
commit371eb688c6791384a9c95a9183865f0dd8b78011 (patch)
treecd86029d45022927601253940ac6e3d971f5d309
parent8b74bf4906ddff387f220e8fd79c8f6516e36660 (diff)
Remove the use of Q_STATEMACHINEQML_PRIVATE_EXPORT
Task-number: QTBUG-117983 Change-Id: Ie45d595a84344fbf4f5998a7de693738600c04c0 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/statemachineqml/finalstate_p.h2
-rw-r--r--src/statemachineqml/qstatemachineqmlglobals_p.h4
-rw-r--r--src/statemachineqml/signaltransition_p.h2
-rw-r--r--src/statemachineqml/state_p.h2
-rw-r--r--src/statemachineqml/statemachine_p.h2
-rw-r--r--src/statemachineqml/statemachineforeign_p.h8
-rw-r--r--src/statemachineqml/timeouttransition_p.h2
7 files changed, 11 insertions, 11 deletions
diff --git a/src/statemachineqml/finalstate_p.h b/src/statemachineqml/finalstate_p.h
index 82bf7ea..c7147c9 100644
--- a/src/statemachineqml/finalstate_p.h
+++ b/src/statemachineqml/finalstate_p.h
@@ -27,7 +27,7 @@
QT_BEGIN_NAMESPACE
-class Q_STATEMACHINEQML_PRIVATE_EXPORT FinalState : public QFinalState
+class Q_STATEMACHINEQML_EXPORT FinalState : public QFinalState
{
Q_OBJECT
Q_PROPERTY(QQmlListProperty<QObject> children READ children
diff --git a/src/statemachineqml/qstatemachineqmlglobals_p.h b/src/statemachineqml/qstatemachineqmlglobals_p.h
index 127c321..57229b1 100644
--- a/src/statemachineqml/qstatemachineqmlglobals_p.h
+++ b/src/statemachineqml/qstatemachineqmlglobals_p.h
@@ -16,11 +16,11 @@
//
#include <QtCore/qglobal.h>
-#include <QtStateMachineQml/private/qtstatemachineqmlexports_p.h>
+#include <QtStateMachineQml/qtstatemachineqmlexports.h>
QT_BEGIN_NAMESPACE
-void Q_STATEMACHINEQML_PRIVATE_EXPORT qml_register_types_QtQml_StateMachine();
+void Q_STATEMACHINEQML_EXPORT qml_register_types_QtQml_StateMachine();
QT_END_NAMESPACE
diff --git a/src/statemachineqml/signaltransition_p.h b/src/statemachineqml/signaltransition_p.h
index 43bfa30..2107a09 100644
--- a/src/statemachineqml/signaltransition_p.h
+++ b/src/statemachineqml/signaltransition_p.h
@@ -30,7 +30,7 @@
QT_BEGIN_NAMESPACE
-class Q_STATEMACHINEQML_PRIVATE_EXPORT SignalTransition : public QSignalTransition, public QQmlParserStatus
+class Q_STATEMACHINEQML_EXPORT SignalTransition : public QSignalTransition, public QQmlParserStatus
{
Q_OBJECT
Q_INTERFACES(QQmlParserStatus)
diff --git a/src/statemachineqml/state_p.h b/src/statemachineqml/state_p.h
index a03a59f..2f5595e 100644
--- a/src/statemachineqml/state_p.h
+++ b/src/statemachineqml/state_p.h
@@ -26,7 +26,7 @@
QT_BEGIN_NAMESPACE
-class Q_STATEMACHINEQML_PRIVATE_EXPORT State : public QState, public QQmlParserStatus
+class Q_STATEMACHINEQML_EXPORT State : public QState, public QQmlParserStatus
{
Q_OBJECT
Q_INTERFACES(QQmlParserStatus)
diff --git a/src/statemachineqml/statemachine_p.h b/src/statemachineqml/statemachine_p.h
index 9e895e4..7356f34 100644
--- a/src/statemachineqml/statemachine_p.h
+++ b/src/statemachineqml/statemachine_p.h
@@ -26,7 +26,7 @@
QT_BEGIN_NAMESPACE
-class Q_STATEMACHINEQML_PRIVATE_EXPORT StateMachine : public QStateMachine, public QQmlParserStatus
+class Q_STATEMACHINEQML_EXPORT StateMachine : public QStateMachine, public QQmlParserStatus
{
Q_OBJECT
Q_INTERFACES(QQmlParserStatus)
diff --git a/src/statemachineqml/statemachineforeign_p.h b/src/statemachineqml/statemachineforeign_p.h
index 71995d4..8a05042 100644
--- a/src/statemachineqml/statemachineforeign_p.h
+++ b/src/statemachineqml/statemachineforeign_p.h
@@ -23,7 +23,7 @@
#include <QtStateMachine/qabstractstate.h>
#include <QtStateMachine/qsignaltransition.h>
-struct Q_STATEMACHINEQML_PRIVATE_EXPORT QHistoryStateForeign
+struct Q_STATEMACHINEQML_EXPORT QHistoryStateForeign
{
Q_GADGET
QML_FOREIGN(QHistoryState)
@@ -31,7 +31,7 @@ struct Q_STATEMACHINEQML_PRIVATE_EXPORT QHistoryStateForeign
QML_ADDED_IN_VERSION(1, 0)
};
-struct Q_STATEMACHINEQML_PRIVATE_EXPORT QStateForeign
+struct Q_STATEMACHINEQML_EXPORT QStateForeign
{
Q_GADGET
QML_FOREIGN(QState)
@@ -40,7 +40,7 @@ struct Q_STATEMACHINEQML_PRIVATE_EXPORT QStateForeign
QML_UNCREATABLE("Don't use this, use State instead.")
};
-struct Q_STATEMACHINEQML_PRIVATE_EXPORT QAbstractStateForeign
+struct Q_STATEMACHINEQML_EXPORT QAbstractStateForeign
{
Q_GADGET
QML_FOREIGN(QAbstractState)
@@ -49,7 +49,7 @@ struct Q_STATEMACHINEQML_PRIVATE_EXPORT QAbstractStateForeign
QML_UNCREATABLE("Don't use this, use State instead.")
};
-struct Q_STATEMACHINEQML_PRIVATE_EXPORT QSignalTransitionForeign
+struct Q_STATEMACHINEQML_EXPORT QSignalTransitionForeign
{
Q_GADGET
QML_FOREIGN(QSignalTransition)
diff --git a/src/statemachineqml/timeouttransition_p.h b/src/statemachineqml/timeouttransition_p.h
index 3d16ff4..5c8388e 100644
--- a/src/statemachineqml/timeouttransition_p.h
+++ b/src/statemachineqml/timeouttransition_p.h
@@ -25,7 +25,7 @@
QT_BEGIN_NAMESPACE
class QTimer;
-class Q_STATEMACHINEQML_PRIVATE_EXPORT TimeoutTransition : public QSignalTransition, public QQmlParserStatus
+class Q_STATEMACHINEQML_EXPORT TimeoutTransition : public QSignalTransition, public QQmlParserStatus
{
Q_OBJECT
Q_PROPERTY(int timeout READ timeout WRITE setTimeout BINDABLE bindableTimeout)