#include <mw/cwrt/CwrtRegistryClient.h>
Link against: CwrtRegistryClient.lib
class RCwrtRegistryClientSession : public RSessionBase, public RSessionBase |
Public Member Functions | |
---|---|
RCwrtRegistryClientSession() | |
IMPORT_C TInt | Connect() |
IMPORT_C bool | DeRegisterWidgetL(const QString &, bool) |
IMPORT_C TInt | Disconnect() |
IMPORT_C bool | RegisterWidgetL(const QString &, const QString &, const QString &, const QString &, const AttributeMap &, const QString &, unsigned long, const QString &) |
IMPORT_C TVersion | Version() |
IMPORT_C int | appIdToNativeIdL(const QString &) |
IMPORT_C bool | getAppPathL(const QString &, QString &) |
IMPORT_C QVariant | getAttribute(const QString &, const QString &, const QVariant &) |
IMPORT_C bool | getDataPathL(const QString &, QString &) |
IMPORT_C QList< QString > | getElementL(const QString &, const QString &, const QString &) |
IMPORT_C int | getWidgetTypeL(const QString &) |
IMPORT_C bool | isRegisteredL(const QString &) |
IMPORT_C QString | nativeIdToAppIdL(const QString &) |
IMPORT_C bool | setAttribute(const QString &, const QString &, const QVariant &) |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
IMPORT_C bool | DeRegisterWidgetL | ( | const QString & | appId, |
bool | update = false | |||
) |
Deregister the widget
IMPORT_C bool | RegisterWidgetL | ( | const QString & | appId, |
const QString & | appTitle, | |||
const QString & | appPath, | |||
const QString & | iconPath, | |||
const AttributeMap & | attributes, | |||
const QString & | type, | |||
unsigned long | size, | |||
const QString & | startPath | |||
) |
Registers the widget
IMPORT_C int | appIdToNativeIdL | ( | const QString & | Id | ) |
Returns the NativeId
IMPORT_C bool | getAppPathL | ( | const QString & | appId, |
QString & | appPath | |||
) |
Returns app path for the widget
IMPORT_C QVariant | getAttribute | ( | const QString & | appId, |
const QString & | attribute, | |||
const QVariant & | defaultValue = QVariant() | |||
) |
Returns the attribute value for the widget
IMPORT_C bool | getDataPathL | ( | const QString & | appId, |
QString & | dataPath | |||
) |
Returns data path for the widget
IMPORT_C QList< QString > | getElementL | ( | const QString & | appId, |
const QString & | key, | |||
const QString & | attr | |||
) |
Returns the list of elements for the widget
IMPORT_C int | getWidgetTypeL | ( | const QString & | appId | ) |
Returns the widget type