these are not getters

svn path=/trunk/KDE/kdebase/runtime/; revision=1091416
This commit is contained in:
Aaron J. Seigo 2010-02-16 21:18:40 +00:00
parent 66d58f1229
commit 5ba47f8c6d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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));