Add \since 5.6 to method docs and document the changed signal
Change-Id: I9a727a2a01927693e8182eb5518ee4d8f6e5be23 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>bb10
parent
60b17b0231
commit
b1a8f75db8
|
|
@ -166,6 +166,8 @@ QHistoryState::~QHistoryState()
|
|||
Returns this history state's default transition. The default transition is
|
||||
taken when the history state has never been entered before. The target states
|
||||
of the default transition therefore make up the default state.
|
||||
|
||||
\since 5.6
|
||||
*/
|
||||
QAbstractTransition *QHistoryState::defaultTransition() const
|
||||
{
|
||||
|
|
@ -178,6 +180,8 @@ QAbstractTransition *QHistoryState::defaultTransition() const
|
|||
This will set the source state of the \a transition to the history state.
|
||||
|
||||
Note that the eventTest method of the \a transition will never be called.
|
||||
|
||||
\since 5.6
|
||||
*/
|
||||
void QHistoryState::setDefaultTransition(QAbstractTransition *transition)
|
||||
{
|
||||
|
|
@ -290,6 +294,15 @@ bool QHistoryState::event(QEvent *e)
|
|||
\sa QHistoryState::historyType
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn QHistoryState::defaultTransitionChanged()
|
||||
\since 5.6
|
||||
|
||||
This signal is emitted when the defaultTransition property is changed.
|
||||
|
||||
\sa QHistoryState::defaultTransition
|
||||
*/
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QT_NO_STATEMACHINE
|
||||
|
|
|
|||
Loading…
Reference in New Issue