#include <mw/cwrt/usercondition.h>
class WRT::UserCondition : public WRT::Condition, public WRT::Condition |
Public Member Functions | |
---|---|
UserCondition(const QString &, unsigned int, const UserConditionHandler *, UserConditionSerializer *) | |
void | add(const QString &) |
virtual bool | isMet(const QString &) |
virtual bool | persist() |
virtual void | reset() |
void | update(unsigned int, unsigned int) |
Inherited Attributes | |
---|---|
QObject::d_ptr | |
QObject::objectName | |
QObject::staticQtMetaObject |
Inherited Functions | |
---|---|
QObject::QObject(QObjectPrivate &,QObject *) | |
QObject::blockSignals(bool) | |
QObject::childEvent(QChildEvent *) | |
QObject::children()const | |
QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType) | |
QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType) | |
QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const | |
QObject::connectNotify(const char *) | |
QObject::customEvent(QEvent *) | |
QObject::deleteLater | |
QObject::destroyed | |
QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &) | |
QObject::disconnect(const QObject *,const char *) | |
QObject::disconnect(const QObject *,const char *,const QObject *,const char *) | |
QObject::disconnect(const char *,const QObject *,const char *) | |
QObject::disconnectNotify(const char *) | |
QObject::dumpObjectInfo() | |
QObject::dumpObjectTree() | |
QObject::dynamicPropertyNames()const | |
QObject::event(QEvent *) | |
QObject::eventFilter(QObject *,QEvent *) | |
QObject::findChild(const QString &)const | |
QObject::findChildren(const QRegExp &)const | |
QObject::findChildren(const QString &)const | |
QObject::inherits(const char *)const | |
QObject::installEventFilter(QObject *) | |
QObject::isWidgetType()const | |
QObject::killTimer(int) | |
QObject::moveToThread(QThread *) | |
QObject::objectName()const | |
QObject::parent()const | |
QObject::property(const char *)const | |
QObject::receivers(const char *)const | |
QObject::registerUserData() | |
QObject::removeEventFilter(QObject *) | |
QObject::sender()const | |
QObject::senderSignalIndex()const | |
QObject::setObjectName(const QString &) | |
QObject::setParent(QObject *) | |
QObject::setProperty(const char *,const QVariant &) | |
QObject::setUserData(uint,QObjectUserData *) | |
QObject::signalsBlocked()const | |
QObject::startTimer(int) | |
QObject::thread()const | |
QObject::timerEvent(QTimerEvent *) | |
QObject::userData(uint)const | |
QObject::~QObject() |
This class represents a user condition and the current grant state
UserCondition | ( | const QString & | capability, |
unsigned int | flags, | ||
const UserConditionHandler * | handler, | ||
UserConditionSerializer * | serializer | ||
) |
Constructor
Parameters | |
---|---|
capability | - Capability for this condition |
flags | - Current flags for this condition (see enum UserGrant) |
handler | - User Condition Handler |
serializer | - Condition Serializer |
void | add | ( | const QString & | capability | ) |
Adds a capability to this condition
Parameters | |
---|---|
capability | - Capability to add |
bool | isMet | ( | const QString & | serviceName | ) | [virtual] |
Reimplemented from WRT::Condition::isMet(const QString &)
From Condition interface
See also: Condition::isMet()
bool | persist | ( | ) | [virtual] |
Reimplemented from WRT::Condition::persist()
From Condition interface
See also: Condition::reset()
void | reset | ( | ) | [virtual] |
Reimplemented from WRT::Condition::reset()
From Condition interface
See also: Condition::persist()