X-Git-Url: http://git.maemo.org/git/?p=jspeed;a=blobdiff_plain;f=src%2Frectangle.cpp;h=00e21158d84b08746f1437714ecd3bae2c43137e;hp=3a8dcc5d397d7bf6f8106799324907a893922827;hb=fa66fb373153edc684f4d575c56107b74a615a3b;hpb=28cb8747756c4270e5bb6cd8585685e7ed234aef diff --git a/src/rectangle.cpp b/src/rectangle.cpp index 3a8dcc5..00e2115 100644 --- a/src/rectangle.cpp +++ b/src/rectangle.cpp @@ -30,6 +30,7 @@ namespace {"xpos", true}, {"ypos", true}, {"zpos", true}, + {"visiblewhen", false}, {"width", true}, {"height", true}, {"color", false} @@ -62,6 +63,9 @@ bool Rectangle::setAttribute(QString const& name, QString const& value) case ZPOS: element_->setZValue(intVal); break; + case VISIBLEWHEN: + setVisibleWhen(strToVisibleWhen(value)); + break; case WIDTH: width_ = intVal; break;