| Home · All Classes · Main Classes · Deprecated |
MHelpButton is a button offering help for the user with a common look. More...
Inherits MButton.
Public Member Functions | |
| MHelpButton (const QString &pageID, QGraphicsItem *parent=0) | |
| ~MHelpButton () | |
| QString | pageID () const |
| void | setPageID (const QString &id) |
Properties | |
| QString | pageID |
MHelpButton is a button offering help for the user with a common look.
MHelpButton offers a help button. If the user presses it, it will open the current userguide application at the page specified by pageID().
| MHelpButton::MHelpButton | ( | const QString & | pageID, | |
| QGraphicsItem * | parent = 0 | |||
| ) |
Constructs a help button.
Constructs a help button with a pageID.
| pageID | The id of the page to be opened when the button is clicked. | |
| parent | The parent of the widget. |
| MHelpButton::~MHelpButton | ( | ) |
Destroys the help button.
| void MHelpButton::setPageID | ( | const QString & | id | ) |
Sets the pageID.
The pageID is the id of the page where userguide will be opened at when the user clicks on the button.
The id of a page is its relative path from the locale dependant content directory, for example if the page resides under:
/usr/share/userguide/content/en/dir/page.cfg
then its id is:
dir/page.cfg
QString MHelpButton::pageID [read, write] |
| Copyright © 2010 Nokia Corporation | MeeGo Touch |