Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index 5e91d8b..56f305f 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp | |||
@@ -174,12 +174,13 @@ ODevice::ODevice() | |||
174 | d->m_vendor = Vendor_Unknown; | 174 | d->m_vendor = Vendor_Unknown; |
175 | d->m_systemstr = "Unknown"; | 175 | d->m_systemstr = "Unknown"; |
176 | d->m_system = System_Unknown; | 176 | d->m_system = System_Unknown; |
177 | d->m_sysverstr = "0.0"; | 177 | d->m_sysverstr = "0.0"; |
178 | d->m_rotation = Rot0; | 178 | d->m_rotation = Rot0; |
179 | d->m_direction = CW; | 179 | d->m_direction = CW; |
180 | d->m_qteDriver = "Transformed"; | ||
180 | 181 | ||
181 | d->m_holdtime = 1000; // 1000ms | 182 | d->m_holdtime = 1000; // 1000ms |
182 | d->m_buttons = 0; | 183 | d->m_buttons = 0; |
183 | d->m_cpu_frequencies = new QStrList; | 184 | d->m_cpu_frequencies = new QStrList; |
184 | 185 | ||
185 | 186 | ||
@@ -399,12 +400,17 @@ Transformation ODevice::rotation() const | |||
399 | */ | 400 | */ |
400 | ODirection ODevice::direction() const | 401 | ODirection ODevice::direction() const |
401 | { | 402 | { |
402 | return d->m_direction; | 403 | return d->m_direction; |
403 | } | 404 | } |
404 | 405 | ||
406 | QString ODevice::qteDriver() const | ||
407 | { | ||
408 | return d->m_qteDriver; | ||
409 | } | ||
410 | |||
405 | /** | 411 | /** |
406 | * This plays an alarm sound | 412 | * This plays an alarm sound |
407 | */ | 413 | */ |
408 | void ODevice::playAlarmSound() | 414 | void ODevice::playAlarmSound() |
409 | { | 415 | { |
410 | #ifndef QT_NO_SOUND | 416 | #ifndef QT_NO_SOUND |