author | zecke <zecke> | 2002-06-12 18:37:05 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-12 18:37:05 (UTC) |
commit | 0d5717581cafd601edf76da8d53555ceaf82c770 (patch) (unidiff) | |
tree | c5879722b531dc54f958c4a79798c587356438aa | |
parent | 18c440751f4c0eba312074c290bf1416154a5655 (diff) | |
download | opie-0d5717581cafd601edf76da8d53555ceaf82c770.zip opie-0d5717581cafd601edf76da8d53555ceaf82c770.tar.gz opie-0d5717581cafd601edf76da8d53555ceaf82c770.tar.bz2 |
debug code for Max to cross compile
-rw-r--r-- | core/applets/obex/obeximpl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc index 82ff1a1..e787fca 100644 --- a/core/applets/obex/obeximpl.cc +++ b/core/applets/obex/obeximpl.cc | |||
@@ -39,18 +39,18 @@ void ObexImpl::slotMessage( const QCString& msg, const QByteArray&data ) { | |||
39 | QDataStream stream( data, IO_ReadOnly ); | 39 | QDataStream stream( data, IO_ReadOnly ); |
40 | qWarning("Message %s", msg.data() ); | 40 | qWarning("Message %s", msg.data() ); |
41 | if(msg == "send(QString,QString,QString)" ) { | 41 | if(msg == "send(QString,QString,QString)" ) { |
42 | QString desc; | 42 | QString desc; |
43 | stream >> desc; | 43 | stream >> desc; |
44 | QString filename; | 44 | QString filename; |
45 | stream >> filename; | 45 | stream >> filename; |
46 | m_obex->send(filename ); | 46 | m_obex->send(filename ); |
47 | QCopEnvelope e ("QPE/Obex", "done(QString)" ); | 47 | // QCopEnvelope e ("QPE/Obex", "done(QString)" ); but this into a slot |
48 | e << filename; | 48 | //e << filename; |
49 | }else if(msg == "receive(bool)" ) { // open a GUI | 49 | }else if(msg == "receive(bool)" ) { // open a GUI |
50 | m_obex->receive(); | 50 | m_obex->receive(); |
51 | ; | 51 | ; |
52 | } | 52 | } |
53 | } | 53 | } |
54 | 54 | ||
55 | Q_EXPORT_INTERFACE() | 55 | Q_EXPORT_INTERFACE() |
56 | { | 56 | { |