summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qhistorystate_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-07-31 12:36:47 -0700
committerThiago Macieira <thiago.macieira@intel.com>2018-08-03 20:26:50 +0000
commit9bb27ca6cc76a848d9c4a1d7757abf5ffc3943e6 (patch)
treea5164f0df7776cbdb027ab29b3d30fda51071f3b /src/corelib/statemachine/qhistorystate_p.h
parent95c0b24cd824321e59ae31d5bd78bae62566499b (diff)
Make local symbols of some leaked names
Unnamed namespaces and static are great tools. Use them. Change-Id: Ie01831ddac5446fdbdeefffd15468b3acb3ced79 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/statemachine/qhistorystate_p.h')
-rw-r--r--src/corelib/statemachine/qhistorystate_p.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/corelib/statemachine/qhistorystate_p.h b/src/corelib/statemachine/qhistorystate_p.h
index d22e5c4aaf..18d571feb7 100644
--- a/src/corelib/statemachine/qhistorystate_p.h
+++ b/src/corelib/statemachine/qhistorystate_p.h
@@ -75,23 +75,6 @@ public:
QList<QAbstractState*> configuration;
};
-class DefaultStateTransition: public QAbstractTransition
-{
- Q_OBJECT
-
-public:
- DefaultStateTransition(QHistoryState *source, QAbstractState *target);
-
-protected:
- // It doesn't matter whether this transition matches any event or not. It is always associated
- // with a QHistoryState, and as soon as the state-machine detects that it enters a history
- // state, it will handle this transition as a special case. The history state itself is never
- // entered either: either the stored configuration will be used, or the target(s) of this
- // transition are used.
- bool eventTest(QEvent *event) override { Q_UNUSED(event); return false; }
- void onTransition(QEvent *event) override { Q_UNUSED(event); }
-};
-
QT_END_NAMESPACE
#endif // QHISTORYSTATE_P_H