File: ReadOnlyProperty.qml.cpp

package info (click to toggle)
doxyqml 0.5.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 412 kB
  • sloc: python: 1,349; cpp: 165; makefile: 9; sh: 8
file content (15 lines) | stat: -rw-r--r-- 318 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * An item with readonly properties
 */
class ReadOnlyProperty : public QtQuick.Item {
public:
/**
 * A readonly property
 */
/** @remark This property is read-only */
Q_PROPERTY(real gravity READ dummyGetter_gravity_ignore)
/**
 * A read-write property
 */
Q_PROPERTY(real speed READ dummyGetter_speed_ignore)
};