these are not getters
svn path=/trunk/KDE/kdebase/runtime/; revision=1091416
This commit is contained in:
parent
66d58f1229
commit
5ba47f8c6d
@ -69,7 +69,7 @@ QScriptValue constructQPixmapClass(QScriptEngine *eng)
|
||||
QScriptValue::PropertyFlags setter = QScriptValue::PropertySetter;
|
||||
proto.setProperty("null", eng->newFunction(null), getter);
|
||||
proto.setProperty("rect", eng->newFunction(rect), getter);
|
||||
proto.setProperty("scaled", eng->newFunction(scaled), getter);
|
||||
proto.setProperty("scaled", eng->newFunction(scaled));
|
||||
|
||||
eng->setDefaultPrototype(qMetaTypeId<QPixmap>(), proto);
|
||||
eng->setDefaultPrototype(qMetaTypeId<QPixmap*>(), proto);
|
||||
|
@ -297,7 +297,7 @@ QScriptValue constructQRectFClass(QScriptEngine *eng)
|
||||
QScriptValue::PropertyFlags setter = QScriptValue::PropertySetter;
|
||||
|
||||
proto.setProperty("adjust", eng->newFunction(adjust));
|
||||
proto.setProperty("adjusted", eng->newFunction(adjusted), getter);
|
||||
proto.setProperty("adjusted", eng->newFunction(adjusted));
|
||||
proto.setProperty("translate", eng->newFunction(translate));
|
||||
proto.setProperty("setCoords", eng->newFunction(setCoords));
|
||||
proto.setProperty("setRect", eng->newFunction(setRect));
|
||||
|
Loading…
Reference in New Issue
Block a user