author | zecke <zecke> | 2002-06-13 19:03:11 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-13 19:03:11 (UTC) |
commit | 9976f7357601e33c4a1984bf79a68ac344fdd188 (patch) (unidiff) | |
tree | a9c9229ee77bcf749b1bb008b4bccfa94b2b2bbd | |
parent | 1f26f23cdd2009c1ee9ae79fafb340936b199f2c (diff) | |
download | opie-9976f7357601e33c4a1984bf79a68ac344fdd188.zip opie-9976f7357601e33c4a1984bf79a68ac344fdd188.tar.gz opie-9976f7357601e33c4a1984bf79a68ac344fdd188.tar.bz2 |
receive(bool) -> receive(int) cause QDataStream is not capable of bool
-rw-r--r-- | core/applets/irdaapplet/irda.cpp | 8 | ||||
-rw-r--r-- | core/applets/irdaapplet/irda.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp index 03912aa..28a79d1 100644 --- a/core/applets/irdaapplet/irda.cpp +++ b/core/applets/irdaapplet/irda.cpp | |||
@@ -178,6 +178,6 @@ void IrdaApplet::mousePressEvent( QMouseEvent *) { | |||
178 | case 4: { // enable receive | 178 | case 4: { // enable receive |
179 | qWarning("Enable receive" ); | 179 | qWarning("Enable receive" ); |
180 | QCopEnvelope e("QPE/Obex", "receive(bool)" ); | 180 | QCopEnvelope e("QPE/Obex", "receive(int)" ); |
181 | e << true; | 181 | e << 1; |
182 | receiveActive = true; | 182 | receiveActive = true; |
183 | receiveStateChanged = true; | 183 | receiveStateChanged = true; |
@@ -187,6 +187,6 @@ void IrdaApplet::mousePressEvent( QMouseEvent *) { | |||
187 | case 5: { // disable receive | 187 | case 5: { // disable receive |
188 | qWarning("Disable receive" ); | 188 | qWarning("Disable receive" ); |
189 | QCopEnvelope e("QPE/Obex", "receive(bool)" ); | 189 | QCopEnvelope e("QPE/Obex", "receive(int)" ); |
190 | e << false; | 190 | e << 0; |
191 | receiveActive = false; | 191 | receiveActive = false; |
192 | receiveStateChanged = true; | 192 | receiveStateChanged = true; |
diff --git a/core/applets/irdaapplet/irda.h b/core/applets/irdaapplet/irda.h index 97ca3c3..002d295 100644 --- a/core/applets/irdaapplet/irda.h +++ b/core/applets/irdaapplet/irda.h | |||
@@ -52,5 +52,5 @@ private: | |||
52 | int irdaactive; // bool and bitfields later bool irdaactive :1 ; | 52 | int irdaactive; // bool and bitfields later bool irdaactive :1 ; |
53 | int irdaDiscoveryActive; | 53 | int irdaDiscoveryActive; |
54 | bool receiveActive; | 54 | bool receiveActive : 1; |
55 | bool receiveStateChanged; | 55 | bool receiveStateChanged; |
56 | private slots: | 56 | private slots: |