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

slots and parameters

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • 5.0.0
    • 4.2.0
    • Core: Object Model
    • None

    Description

      Would it be possible to have something like

      connect(m_pushButton, SIGNAL(clicked()), m_spinBox, SLOT(setValue(23));

      instead of having to make some other functions to handle this like

      connect(m_pushButton, SIGNAL(clicked()), this, SLOT(buttonClicked()));

      Me::buttonClicked()
      {
      m_spinBox->setValue(23);
      }

      E.g. Like boost::lambda

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            rve Anders Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes