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

qdbuscpp2xml: Support MEMBER field of Q_PROPERTY

    XMLWordPrintable

Details

    • 8d89b4ef2 (dev)
    • Foundation Sprint 87, Foundation Sprint 88

    Description

      // counter.h
      #include <QObject>
      
      class Counter : public QObject
      {
          Q_OBJECT
          Q_PROPERTY(int value MEMBER m_value NOTIFY valueChanged);
      
      public:
          Counter(QObject* parent = nullptr);
      
      signals:
          void valueChanged(int newValue);
      
      private:
          int m_value = 0;
      };
      

       

      Using this command...

      qdbuscpp2xml -A counter.h -o counter.xml
      

      ...does not generate a usable D-Bus property:

      <property name="value" type="i" access=""/>
      

       

      Suggestion
      Add support for MEMBER

      Attachments

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

        Activity

          People

            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            skoh-qt Sze Howe Koh
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes