summaryrefslogtreecommitdiff
path: root/libopie/odevicebutton.h
Unidiff
Diffstat (limited to 'libopie/odevicebutton.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevicebutton.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie/odevicebutton.h b/libopie/odevicebutton.h
index 5281ab2..cf91bbd 100644
--- a/libopie/odevicebutton.h
+++ b/libopie/odevicebutton.h
@@ -49,24 +49,28 @@ public:
49private: 49private:
50 void init ( const QCString &m_channel, const QCString &message, const QByteArray &args ); 50 void init ( const QCString &m_channel, const QCString &message, const QByteArray &args );
51 51
52 OQCopMessageData *d; 52 OQCopMessageData *d;
53}; 53};
54 54
55 55
56/** 56/**
57 * This class represents a physical button on a Qtopia device. A device may 57 * This class represents a physical button on a Qtopia device. A device may
58 * have n "user programmable" buttons, which are number 1..n. The location 58 * have n "user programmable" buttons, which are number 1..n. The location
59 * and number of buttons will vary from device to device. userText() and pixmap() 59 * and number of buttons will vary from device to device. userText() and pixmap()
60 * may be used to describe this button to the user in help documentation. 60 * may be used to describe this button to the user in help documentation.
61 *
62 * @version 1.0
63 * @author Trolltech
64 * @short A representation of buttons
61 */ 65 */
62 66
63class ODeviceButton 67class ODeviceButton
64{ 68{
65public: 69public:
66 ODeviceButton(); 70 ODeviceButton();
67 virtual ~ODeviceButton(); 71 virtual ~ODeviceButton();
68 72
69 ushort keycode ( ) const; 73 ushort keycode ( ) const;
70 QString userText ( ) const; 74 QString userText ( ) const;
71 QPixmap pixmap ( ) const; 75 QPixmap pixmap ( ) const;
72 OQCopMessage factoryPresetPressedAction ( ) const; 76 OQCopMessage factoryPresetPressedAction ( ) const;