Home ยท API Reference |
MToolbarData corresponds to a toolbar defined in a XML file. More...
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 corresponds to a toolbar defined in a XML file.
MToolbarData::MToolbarData | ( | ) |
Constructor.
MToolbarData::~MToolbarData | ( | ) |
Destructor.
bool MToolbarData::isVisible | ( | ) | const |
Return true if toolbar should be visible.
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::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. |
MToolbarDataPrivate* const MToolbarData::d_ptr [protected] |
Copyright © 2010 Nokia Corporation | MeeGo Touch |