Making the geometry mapping work
This commit is contained in:
parent
445687ed2b
commit
716a38cdb4
2 changed files with 2 additions and 3 deletions
1
client.h
1
client.h
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue