summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/obex/obeximpl.cc4
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
@@ -35,24 +35,24 @@ QRESULT ObexImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
35 return QS_OK; 35 return QS_OK;
36 36
37} 37}
38void ObexImpl::slotMessage( const QCString& msg, const QByteArray&data ) { 38void 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
55Q_EXPORT_INTERFACE() 55Q_EXPORT_INTERFACE()
56{ 56{
57 Q_CREATE_INSTANCE( ObexImpl ) 57 Q_CREATE_INSTANCE( ObexImpl )
58} 58}