#include </home/clem/local/src/opie/core/applets/rotateapplet/rotate.h>
Inheritance diagram for RotateApplet:


Public Member Functions | |
| RotateApplet () | |
| virtual | ~RotateApplet () |
| 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. | |
| virtual void | rotateDefault () |
Private Slots | |
| void | channelReceived (const QCString &msg, const QByteArray &data) |
Private Attributes | |
| bool | m_flipped: 1 |
|
|
Definition at line 49 of file rotate.cpp. References channelReceived(). |
|
|
Definition at line 61 of file rotate.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 183 of file rotate.cpp. References Opie::Core::CCW, Opie::Core::CW, QPEApplication::defaultRotation(), Opie::Core::Flip, m_flipped, Config::readNumEntry(), and Config::setGroup(). Referenced by channelReceived(). |
|
||||||||||||
|
Qcop receive method. Definition at line 67 of file rotate.cpp. References activated(), Opie::Core::CASE_CLOSED, Opie::Core::ODevice::inst(), IO_ReadOnly, odebug, oendl, PowerStatus::Online, Config::readNumEntry(), PowerStatusManager::readStatus(), rotateDefault(), Config::setGroup(), and stream. Referenced by RotateApplet(). |
|
|
return a QIconSet. The returned icon set will be shown next to text(). Make use of AppLnk::smallIconSize() Implements MenuAppletInterface. Definition at line 143 of file rotate.cpp. References Opie::Core::OResource::loadPixmap(), pix, and Opie::Core::OResource::SmallIcon. |
|
|
Translated name of the Menu Applet. Return a translated name using QObject::tr of your plugin Implements MenuAppletInterface. Definition at line 122 of file rotate.cpp. References tr. |
|
|
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 149 of file rotate.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 117 of file rotate.cpp. |
|
||||||||||||
|
Implements QUnknownInterface. Definition at line 235 of file rotate.cpp. References IID_MenuApplet, IID_QUnknown, QS_FALSE, and QS_OK. |
|
|
Definition at line 154 of file rotate.cpp. References m_flipped, Config::readBoolEntry(), Rot0, Rot180, Rot270, Rot90, and Config::setGroup(). Referenced by channelReceived(). |
|
|
return a Text shown to the user in the menu
Implements MenuAppletInterface. Definition at line 127 of file rotate.cpp. References tr. |
|
|
Definition at line 66 of file rotate.h. Referenced by activated(), and rotateDefault(). |
1.4.2