author | zecke <zecke> | 2004-09-21 18:39:15 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-21 18:39:15 (UTC) |
commit | 95b81f3c2c9ae5f48f9aeca4dafea9400f9bb3f0 (patch) (unidiff) | |
tree | f1f78ce9980f262262aa839ad8b95c1454305e7d /libopie2/opiecore/device/odevice_simpad.cpp | |
parent | 8d63da87b471780142f0d0431bbcb37c1afba646 (diff) | |
download | opie-95b81f3c2c9ae5f48f9aeca4dafea9400f9bb3f0.zip opie-95b81f3c2c9ae5f48f9aeca4dafea9400f9bb3f0.tar.gz opie-95b81f3c2c9ae5f48f9aeca4dafea9400f9bb3f0.tar.bz2 |
-Remove uneeded QCopChannel from SIMpad ODevice
-connecting to a non existing slot in a class without a Q_OBJECT
in the header lead to a crash on ARM
-Remove Q_OBJECT from Beagle as we've no slots and signals
Diffstat (limited to 'libopie2/opiecore/device/odevice_simpad.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_simpad.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libopie2/opiecore/device/odevice_simpad.cpp b/libopie2/opiecore/device/odevice_simpad.cpp index 335e0db..4ae3c4f 100644 --- a/libopie2/opiecore/device/odevice_simpad.cpp +++ b/libopie2/opiecore/device/odevice_simpad.cpp | |||
@@ -160,15 +160,12 @@ void SIMpad::initButtons() | |||
160 | b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( sb->fheldservice ), sb->fheldaction )); | 160 | b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( sb->fheldservice ), sb->fheldaction )); |
161 | 161 | ||
162 | d->m_buttons->append ( b ); | 162 | d->m_buttons->append ( b ); |
163 | } | 163 | } |
164 | } | 164 | } |
165 | reloadButtonMapping(); | 165 | reloadButtonMapping(); |
166 | |||
167 | QCopChannel *sysch = new QCopChannel ( "QPE/System", this ); | ||
168 | connect ( sysch, SIGNAL( received(const QCString&,const QByteArray&)), this, SLOT( systemMessage(const QCString&,const QByteArray&))); | ||
169 | } | 166 | } |
170 | 167 | ||
171 | // SIMpad boardcontrol register CS3 | 168 | // SIMpad boardcontrol register CS3 |
172 | #define SIMPAD_BOARDCONTROL "/proc/cs3" | 169 | #define SIMPAD_BOARDCONTROL "/proc/cs3" |
173 | #define SIMPAD_VCC_5V_EN 0x0001 // For 5V PCMCIA | 170 | #define SIMPAD_VCC_5V_EN 0x0001 // For 5V PCMCIA |
174 | #define SIMPAD_VCC_3V_EN 0x0002 // FOR 3.3V PCMCIA | 171 | #define SIMPAD_VCC_3V_EN 0x0002 // FOR 3.3V PCMCIA |