author | zecke <zecke> | 2003-05-07 15:09:34 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-07 15:09:34 (UTC) |
commit | 1a550df3248342a8c863951ba733b862ca222216 (patch) (side-by-side diff) | |
tree | c0c24947496d7984a28dfe134624567aa250bc38 /libopie | |
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 @@ #include <qpixmap.h> #include <qstring.h> class OQCopMessageData; namespace Opie { class OQCopMessage { public: OQCopMessage ( ); OQCopMessage ( const OQCopMessage © ); OQCopMessage ( const QCString &m_channel, const QCString &message, const QByteArray &args = QByteArray ( )); OQCopMessage &operator = ( const OQCopMessage &assign ); void setChannel ( const QCString &channel ); void setMessage ( const QCString &message ); void setData ( const QByteArray &ba ); QCString channel ( ) const; QCString message ( ) const; QByteArray data ( ) const; bool send ( ); private: void init ( const QCString &m_channel, const QCString &message, const QByteArray &args ); OQCopMessageData *d; class Private; - Private* data; + Private* m_data; }; /** * This class represents a physical button on a Qtopia device. A device may * have n "user programmable" buttons, which are number 1..n. The location * and number of buttons will vary from device to device. userText() and pixmap() * may be used to describe this button to the user in help documentation. * * @version 1.0 * @author Trolltech * @short A representation of buttons */ class ODeviceButton { public: ODeviceButton(); virtual ~ODeviceButton(); ushort keycode ( ) const; QString userText ( ) const; QPixmap pixmap ( ) const; OQCopMessage factoryPresetPressedAction ( ) const; OQCopMessage pressedAction ( ) const; OQCopMessage factoryPresetHeldAction ( ) const; OQCopMessage heldAction ( ) const; void setKeycode ( ushort keycode ); void setUserText ( const QString& text ); void setPixmap ( const QPixmap& picture ); void setFactoryPresetPressedAction ( const OQCopMessage& qcopMessage ); |