#include </home/clem/local/src/opie/core/applets/restartapplet/restart.h>
Inheritance diagram for RestartApplet:


Public Member Functions | |
| RestartApplet (QWidget *parent=0, const char *name=0) | |
| ~RestartApplet () | |
| RestartApplet () | |
| virtual | ~RestartApplet () |
| QRESULT | queryInterface (const QUuid &, QUnknownInterface **) |
| virtual Q_REFCOUNT int | position () const |
| the wished position of this applet | |
| virtual QString | name () const |
| Translated name of the Menu Applet. | |
| virtual QIconSet | icon () const |
| return a QIconSet. | |
| virtual QString | text () const |
| return a Text shown to the user in the menu | |
| virtual QPopupMenu * | popup (QWidget *parent) const |
| Provide a SubMenu popup if you want. | |
| virtual void | activated () |
| This method gets called once the user clicked on the item. | |
Private Member Functions | |
| void | mousePressEvent (QMouseEvent *) |
| void | paintEvent (QPaintEvent *) |
|
||||||||||||
|
Definition at line 52 of file restart.cpp. |
|
|
Definition at line 59 of file restart.cpp. |
|
|
Definition at line 11 of file restart.cpp. |
|
|
|
|
|
This method gets called once the user clicked on the item. This is the way you get informed about user input. Your plugin has just been clicked Implements MenuAppletInterface. Definition at line 46 of file restart.cpp. |
|
|
return a QIconSet. The returned icon set will be shown next to text(). Make use of AppLnk::smallIconSize() Implements MenuAppletInterface. Definition at line 35 of file restart.cpp. References Opie::Core::OResource::loadPixmap(), pix, and Opie::Core::OResource::SmallIcon. |
|
|
Definition at line 62 of file restart.cpp. |
|
|
Translated name of the Menu Applet. Return a translated name using QObject::tr of your plugin Implements MenuAppletInterface. Definition at line 25 of file restart.cpp. References tr. |
|
|
Definition at line 66 of file restart.cpp. References p, and restart_xpm. |
|
|
Provide a SubMenu popup if you want. You can provide a Submenu popup for your item as well. If you return 0 no popup will be shown. You can use the QPopupMenu::aboutToShow() signal to be informed before showing the popup
Implements MenuAppletInterface. Definition at line 41 of file restart.cpp. |
|
|
the wished position of this applet The position where you want to be placed. 0 for the down most Implements MenuAppletInterface. Definition at line 20 of file restart.cpp. |
|
||||||||||||
|
Implements QUnknownInterface. Definition at line 52 of file restart.cpp. References QUnknownInterface::addRef(), IID_MenuApplet, IID_QUnknown, QS_FALSE, and QS_OK. |
|
|
return a Text shown to the user in the menu
Implements MenuAppletInterface. Definition at line 30 of file restart.cpp. References tr. |
1.4.2