summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
authorsandman <sandman>2002-12-23 03:12:28 (UTC)
committer sandman <sandman>2002-12-23 03:12:28 (UTC)
commit726d2ac455446ee194c8e83df16f48357b619988 (patch) (unidiff)
treeada7a041dc001ba6220908594d91111efa729c32 /libopie/odevice.h
parent10c21667cb5e4266dc9a9b481ae11b199ffffc2e (diff)
downloadopie-726d2ac455446ee194c8e83df16f48357b619988.zip
opie-726d2ac455446ee194c8e83df16f48357b619988.tar.gz
opie-726d2ac455446ee194c8e83df16f48357b619988.tar.bz2
Fixed a few typos and removed some qDebugs
Diffstat (limited to 'libopie/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index ce62f1a..54b85a2 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -54,65 +54,65 @@ enum OVendor {
54 Vendor_Unknown, 54 Vendor_Unknown,
55 55
56 Vendor_HP, 56 Vendor_HP,
57 Vendor_Sharp 57 Vendor_Sharp
58 }; 58 };
59 59
60enum OSystem { 60enum OSystem {
61 System_Unknown, 61 System_Unknown,
62 62
63 System_Familiar, 63 System_Familiar,
64 System_Zaurus, 64 System_Zaurus,
65 System_OpenZaurus 65 System_OpenZaurus
66}; 66};
67 67
68enum OLedState { 68enum OLedState {
69 Led_Off, 69 Led_Off,
70 Led_On, 70 Led_On,
71 Led_BlinkSlow, 71 Led_BlinkSlow,
72 Led_BlinkFast 72 Led_BlinkFast
73}; 73};
74 74
75enum OLed { 75enum OLed {
76 Led_Mail, 76 Led_Mail,
77 Led_Power, 77 Led_Power,
78 Led_BlueTooth 78 Led_BlueTooth
79}; 79};
80 80
81enum OHardKey { 81enum OHardKey {
82 HardKey_Datebook = Qt::Key_F9, 82 HardKey_Datebook = Qt::Key_F9,
83 HardKey_Contacts = Qt::Key_F10, 83 HardKey_Contacts = Qt::Key_F10,
84 HardKey_Menu = Qt::Key_F11, 84 HardKey_Menu = Qt::Key_F11,
85 HardKey_Home = Qt::Key_F12, 85 HardKey_Home = Qt::Key_F12,
86 HardKey_Mail = Qt::Key_F14, 86 HardKey_Mail = Qt::Key_F13,
87 HardKey_Record = Qt::Key_F24, 87 HardKey_Record = Qt::Key_F24,
88 HardKey_Suspend = Qt::Key_F34, 88 HardKey_Suspend = Qt::Key_F34,
89 HardKey_Backlight = Qt::Key_F35, 89 HardKey_Backlight = Qt::Key_F35,
90}; 90};
91 91
92 92
93class ODevice : public QObject { 93class ODevice : public QObject {
94 Q_OBJECT 94 Q_OBJECT
95 95
96private: 96private:
97 ODevice ( const ODevice & ); 97 ODevice ( const ODevice & );
98 98
99protected: 99protected:
100 ODevice ( ); 100 ODevice ( );
101 virtual void init ( ); 101 virtual void init ( );
102 102
103 ODeviceData *d; 103 ODeviceData *d;
104 104
105public: 105public:
106 virtual ~ODevice ( ); 106 virtual ~ODevice ( );
107 107
108 static ODevice *inst ( ); 108 static ODevice *inst ( );
109 109
110 110
111 111
112// information 112// information
113 113
114 QString modelString ( ) const; 114 QString modelString ( ) const;
115 OModel model ( ) const; 115 OModel model ( ) const;
116 inline OModel series ( ) const { return (OModel) ( model ( ) & Model_Series_Mask ); } 116 inline OModel series ( ) const { return (OModel) ( model ( ) & Model_Series_Mask ); }
117 117
118 QString vendorString ( ) const; 118 QString vendorString ( ) const;