Home ยท API Reference |
Public Member Functions | |
MToolbarData () | |
Constructor. | |
~MToolbarData () | |
Destructor. | |
bool | loadToolbarXml (const QString &fileName) |
Load a custom toolbar's content from fileName xml file. fileName is the xml file name (with ".xml" postfix). And fileName could have absolute path. If no absolute path specified, then it will be taken from the default path "/usr/share/meegoimframework/imtoolbars/". | |
QList< QSharedPointer < MToolbarItem > > | items () const |
Return all items in this toolbar. | |
QSharedPointer< const MToolbarLayout > | layout (MInputMethod::Orientation orientation) const |
Returns pointer to layout for given orientation. | |
bool | isVisible () const |
Return true if toolbar should be visible. | |
Protected Attributes | |
MToolbarDataPrivate *const | d_ptr |
MToolbarData::MToolbarData | ( | ) |
Constructor.
MToolbarData::~MToolbarData | ( | ) |
Destructor.
bool MToolbarData::loadToolbarXml | ( | const QString & | fileName | ) |
Load a custom toolbar's content from fileName xml file. fileName is the xml file name (with ".xml" postfix). And fileName could have absolute path. If no absolute path specified, then it will be taken from the default path "/usr/share/meegoimframework/imtoolbars/".
fileName | Name of the xml file which contains the content of a custom toolbar. |
QList< QSharedPointer< MToolbarItem > > MToolbarData::items | ( | ) | const |
Return all items in this toolbar.
QSharedPointer< const MToolbarLayout > MToolbarData::layout | ( | MInputMethod::Orientation | orientation | ) | const |
Returns pointer to layout for given orientation.
bool MToolbarData::isVisible | ( | ) | const |
Return true if toolbar should be visible.
MToolbarDataPrivate* const MToolbarData::d_ptr [protected] |
Copyright © 2010 Nokia Corporation | MeeGo Touch |