[Webkit-unassigned] [Bug 27118] New: [QT] Wrong of declaration of writeOnlyProperty: READ function is always required.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 9 07:38:49 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27118

           Summary: [QT] Wrong of declaration of writeOnlyProperty: READ
                    function is always required.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tonikitoo at gmail.com
                CC: hausmann at webkit.org


tst_qwebframe.cpp we have:


(...)
class MyQObject : public QObject
{
    Q_OBJECT
(...)
 Q_PROPERTY(int writeOnlyProperty WRITE setWriteOnlyProperty)
(...)

which is wrong and triggers a compile warning while building ...

(...)
/home/agomes/reps/webkit/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp:88:
Warning: Property declaration writeOnlyProperty has no READ accessor function.
The property will be invalid.
(...)



--> See statement in
http://chaos.troll.no/~tavestbo/webkit/domapi/qobject.html#Q_PROPERTY

"...The property name and type and the READ function are required..."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list