-rw-r--r-- | libopie/odevicebutton.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie/odevicebutton.h b/libopie/odevicebutton.h index cf91bbd..abe27d6 100644 --- a/libopie/odevicebutton.h +++ b/libopie/odevicebutton.h | |||
@@ -41,24 +41,26 @@ public: | |||
41 | void setData ( const QByteArray &ba ); | 41 | void setData ( const QByteArray &ba ); |
42 | 42 | ||
43 | QCString channel ( ) const; | 43 | QCString channel ( ) const; |
44 | QCString message ( ) const; | 44 | QCString message ( ) const; |
45 | QByteArray data ( ) const; | 45 | QByteArray data ( ) const; |
46 | 46 | ||
47 | bool send ( ); | 47 | bool send ( ); |
48 | 48 | ||
49 | private: | 49 | private: |
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 | class Private; | ||
54 | Private* data; | ||
53 | }; | 55 | }; |
54 | 56 | ||
55 | 57 | ||
56 | /** | 58 | /** |
57 | * This class represents a physical button on a Qtopia device. A device may | 59 | * 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 | 60 | * 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() | 61 | * 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. | 62 | * may be used to describe this button to the user in help documentation. |
61 | * | 63 | * |
62 | * @version 1.0 | 64 | * @version 1.0 |
63 | * @author Trolltech | 65 | * @author Trolltech |
64 | * @short A representation of buttons | 66 | * @short A representation of buttons |
@@ -85,17 +87,19 @@ public: | |||
85 | void setPressedAction ( const OQCopMessage& qcopMessage ); | 87 | void setPressedAction ( const OQCopMessage& qcopMessage ); |
86 | void setFactoryPresetHeldAction ( const OQCopMessage& qcopMessage ); | 88 | void setFactoryPresetHeldAction ( const OQCopMessage& qcopMessage ); |
87 | void setHeldAction ( const OQCopMessage& qcopMessage ); | 89 | void setHeldAction ( const OQCopMessage& qcopMessage ); |
88 | 90 | ||
89 | private: | 91 | private: |
90 | ushort m_Keycode; | 92 | ushort m_Keycode; |
91 | QString m_UserText; | 93 | QString m_UserText; |
92 | QPixmap m_Pixmap; | 94 | QPixmap m_Pixmap; |
93 | OQCopMessage m_FactoryPresetPressedAction; | 95 | OQCopMessage m_FactoryPresetPressedAction; |
94 | OQCopMessage m_PressedAction; | 96 | OQCopMessage m_PressedAction; |
95 | OQCopMessage m_FactoryPresetHeldAction; | 97 | OQCopMessage m_FactoryPresetHeldAction; |
96 | OQCopMessage m_HeldAction; | 98 | OQCopMessage m_HeldAction; |
99 | class Private; | ||
100 | Private *d; | ||
97 | }; | 101 | }; |
98 | 102 | ||
99 | } | 103 | } |
100 | 104 | ||
101 | #endif | 105 | #endif |