-rw-r--r-- | libopie/odevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index d5e3c5c..80975c9 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -277,5 +277,5 @@ void ODevice::init ( ) | |||
277 | if (( ib-> model & Model_iPAQ_H36xx ) == Model_iPAQ_H36xx ) { | 277 | if (( ib-> model & Model_iPAQ_H36xx ) == Model_iPAQ_H36xx ) { |
278 | b. setKeycode ( ib-> code ); | 278 | b. setKeycode ( ib-> code ); |
279 | b. setUserText ( qApp-> translate ( "Button", ib-> utext )); | 279 | b. setUserText ( QObject::tr ( "Button", ib-> utext )); |
280 | b. setPixmap ( Resource::loadPixmap ( ib-> pix )); | 280 | b. setPixmap ( Resource::loadPixmap ( ib-> pix )); |
281 | b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( ib-> fpressedservice ), ib-> fpressedaction )); | 281 | b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( ib-> fpressedservice ), ib-> fpressedaction )); |
@@ -635,5 +635,5 @@ void iPAQ::init ( ) | |||
635 | if (( ib-> model & d-> m_model ) == d-> m_model ) { | 635 | if (( ib-> model & d-> m_model ) == d-> m_model ) { |
636 | b. setKeycode ( ib-> code ); | 636 | b. setKeycode ( ib-> code ); |
637 | b. setUserText ( qApp-> translate ( "Button", ib-> utext )); | 637 | b. setUserText ( QObject::tr ( "Button", ib-> utext )); |
638 | b. setPixmap ( Resource::loadPixmap ( ib-> pix )); | 638 | b. setPixmap ( Resource::loadPixmap ( ib-> pix )); |
639 | b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( ib-> fpressedservice ), ib-> fpressedaction )); | 639 | b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( ib-> fpressedservice ), ib-> fpressedaction )); |
@@ -1000,5 +1000,5 @@ void Zaurus::init ( ) | |||
1000 | 1000 | ||
1001 | b. setKeycode ( zb-> code ); | 1001 | b. setKeycode ( zb-> code ); |
1002 | b. setUserText ( qApp-> translate ( "Button", zb-> utext )); | 1002 | b. setUserText ( QObject::tr ( "Button", zb-> utext )); |
1003 | b. setPixmap ( Resource::loadPixmap ( zb-> pix )); | 1003 | b. setPixmap ( Resource::loadPixmap ( zb-> pix )); |
1004 | b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( zb-> fpressedservice ), zb-> fpressedaction )); | 1004 | b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( zb-> fpressedservice ), zb-> fpressedaction )); |