Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25314

Mistake in exemple of guard transition in "state machine framework"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 4.7.4
    • Documentation
    • None
    • b0facd481a2fc119d87c85481d97357d814a5fd2

    Description

      Doc reads (http://qt-project.org/doc/qt-4.8/statemachine-api.html#events-transitions-and-guards)
      virtual bool eventTest(QEvent *e)const

      { ... };

      should be WITHOUT const
      virtual bool eventTest(QEvent *e){ ... }

      ;

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dm Geir Vattekar
            vivien Vivien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes