author | zecke <zecke> | 2003-05-07 15:09:34 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-07 15:09:34 (UTC) |
commit | 1a550df3248342a8c863951ba733b862ca222216 (patch) (unidiff) | |
tree | c0c24947496d7984a28dfe134624567aa250bc38 | |
parent | 4a619c6ad79d571f2adcff58dc2bf8918c622c83 (diff) | |
download | opie-1a550df3248342a8c863951ba733b862ca222216.zip opie-1a550df3248342a8c863951ba733b862ca222216.tar.gz opie-1a550df3248342a8c863951ba733b862ca222216.tar.bz2 |
data is a method name...
-rw-r--r-- | libopie/odevicebutton.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/odevicebutton.h b/libopie/odevicebutton.h index abe27d6..fcc2af1 100644 --- a/libopie/odevicebutton.h +++ b/libopie/odevicebutton.h | |||
@@ -22,65 +22,65 @@ | |||
22 | 22 | ||
23 | #include <qpixmap.h> | 23 | #include <qpixmap.h> |
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | 25 | ||
26 | class OQCopMessageData; | 26 | class OQCopMessageData; |
27 | 27 | ||
28 | namespace Opie | 28 | namespace Opie |
29 | { | 29 | { |
30 | 30 | ||
31 | class OQCopMessage { | 31 | class OQCopMessage { |
32 | public: | 32 | public: |
33 | OQCopMessage ( ); | 33 | OQCopMessage ( ); |
34 | OQCopMessage ( const OQCopMessage © ); | 34 | OQCopMessage ( const OQCopMessage © ); |
35 | OQCopMessage ( const QCString &m_channel, const QCString &message, const QByteArray &args = QByteArray ( )); | 35 | OQCopMessage ( const QCString &m_channel, const QCString &message, const QByteArray &args = QByteArray ( )); |
36 | 36 | ||
37 | OQCopMessage &operator = ( const OQCopMessage &assign ); | 37 | OQCopMessage &operator = ( const OQCopMessage &assign ); |
38 | 38 | ||
39 | void setChannel ( const QCString &channel ); | 39 | void setChannel ( const QCString &channel ); |
40 | void setMessage ( const QCString &message ); | 40 | void setMessage ( const QCString &message ); |
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; | 53 | class Private; |
54 | Private* data; | 54 | Private* m_data; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | 57 | ||
58 | /** | 58 | /** |
59 | * 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 |
60 | * 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 |
61 | * 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() |
62 | * 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. |
63 | * | 63 | * |
64 | * @version 1.0 | 64 | * @version 1.0 |
65 | * @author Trolltech | 65 | * @author Trolltech |
66 | * @short A representation of buttons | 66 | * @short A representation of buttons |
67 | */ | 67 | */ |
68 | 68 | ||
69 | class ODeviceButton | 69 | class ODeviceButton |
70 | { | 70 | { |
71 | public: | 71 | public: |
72 | ODeviceButton(); | 72 | ODeviceButton(); |
73 | virtual ~ODeviceButton(); | 73 | virtual ~ODeviceButton(); |
74 | 74 | ||
75 | ushort keycode ( ) const; | 75 | ushort keycode ( ) const; |
76 | QString userText ( ) const; | 76 | QString userText ( ) const; |
77 | QPixmap pixmap ( ) const; | 77 | QPixmap pixmap ( ) const; |
78 | OQCopMessage factoryPresetPressedAction ( ) const; | 78 | OQCopMessage factoryPresetPressedAction ( ) const; |
79 | OQCopMessage pressedAction ( ) const; | 79 | OQCopMessage pressedAction ( ) const; |
80 | OQCopMessage factoryPresetHeldAction ( ) const; | 80 | OQCopMessage factoryPresetHeldAction ( ) const; |
81 | OQCopMessage heldAction ( ) const; | 81 | OQCopMessage heldAction ( ) const; |
82 | 82 | ||
83 | void setKeycode ( ushort keycode ); | 83 | void setKeycode ( ushort keycode ); |
84 | void setUserText ( const QString& text ); | 84 | void setUserText ( const QString& text ); |
85 | void setPixmap ( const QPixmap& picture ); | 85 | void setPixmap ( const QPixmap& picture ); |
86 | void setFactoryPresetPressedAction ( const OQCopMessage& qcopMessage ); | 86 | void setFactoryPresetPressedAction ( const OQCopMessage& qcopMessage ); |