/*!
Clears the list.  Returns true if the operation succeeded, otherwise false.

\sa canClear()
*/
bool QDeclarativeListReference::clear() const
{
    if (!canClear()) return false;

    d->property.clear(&d->property);

    return true;
}
bool  QtJambiShell_QDeclarativeListProperty::__override_canClear(bool static_call)
{
    if (static_call) {
        return QtjambiDeclarativeListProperty::canClear();
    } else {
        return canClear();
    }
}
예제 #3
0
bool AMDetector::clear() {
    if(!canClear())
        return false;
    return clearImplementation();
}
void QtjambiDeclarativeListProperty::clear(){
    if(canClear()){
        return QDeclarativeListProperty::clear(this);
    }
}