Making the geometry mapping work

This commit is contained in:
Martin Gräßlin 2011-12-22 19:41:18 +01:00
parent 445687ed2b
commit 716a38cdb4
2 changed files with 2 additions and 3 deletions

View file

@ -101,7 +101,6 @@ class Client
* Because of that there is no notify signal.
**/
Q_PROPERTY(bool fullScreenable READ isFullScreenable)
// TODO: notify signal
/**
* The geometry of this Client. Be aware that depending on resize mode the geometryChanged signal
* might be emitted at each resize step or only at the end of the resize operation.

View file

@ -100,8 +100,8 @@ QScriptValue Rect::toScriptValue(QScriptEngine* eng, const QRect& rect)
void Rect::fromScriptValue(const QScriptValue& obj, QRect &rect)
{
QScriptValue w = obj.property("w", QScriptValue::ResolveLocal);
QScriptValue h = obj.property("h", QScriptValue::ResolveLocal);
QScriptValue w = obj.property("width", QScriptValue::ResolveLocal);
QScriptValue h = obj.property("height", QScriptValue::ResolveLocal);
QScriptValue x = obj.property("x", QScriptValue::ResolveLocal);
QScriptValue y = obj.property("y", QScriptValue::ResolveLocal);