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

The explanation of auto connection type is not clear / wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.7.2
    • 4.7.0
    • Documentation
    • None
    • 0a299be472da5829e17b886450dd134302b861a0

      The explanation given in Qt-4.7.0 about auto connection type is (http://doc.trolltech.com/4.7/qt.html#ConnectionType-enum)
      (default) Same as DirectConnection, if the emitter and receiver are in the same thread. Same as QueuedConnection, if the emitter and receiver are in different threads.

      this is very unclear what is "emitter" reference to - an object or thread from it the signal is emmited.
      After discussing this with Thiago Macieira on freenode I was explained that it refers to the thread from which the signal is emitted.

      btw: in the previous versions it is much more clear that the reference is to the thread and not to the sender object. For example here: http://doc.qt.nokia.com/4.5/qt.html#ConnectionType-enum

      Please provide more clear explanation of what it is.

      Thank you in advance

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

            jerome.pasion Jerome Pasion
            alextai Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes