Home · API Reference · Modules |
Public Member Functions | |
MToolbarData () | |
~MToolbarData () | |
bool | loadToolbarXml (const QString &fileName) |
QList< QSharedPointer < MToolbarItem > > | items () const |
QSharedPointer< const MToolbarLayout > | layout (MInputMethod::Orientation orientation) const |
bool | isVisible () const |
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). fileName should have absolute path. If no absolute path specified, then it will be looked up in the default path provided by the framework.
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 © 2011 Nokia Corporation | Maliit |