author | harlekin <harlekin> | 2002-06-14 10:30:25 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-14 10:30:25 (UTC) |
commit | a014866573fc86bf63544d1f692ccdd94c0d104f (patch) (unidiff) | |
tree | 26c91e69d84aed959b8163bb853966f67041063b | |
parent | cf54bc85d0e9846d64ca2a2af55fffc3d4e2f4ad (diff) | |
download | opie-a014866573fc86bf63544d1f692ccdd94c0d104f.zip opie-a014866573fc86bf63544d1f692ccdd94c0d104f.tar.gz opie-a014866573fc86bf63544d1f692ccdd94c0d104f.tar.bz2 |
fixed type and getting closer to finish
-rw-r--r-- | core/applets/obex/.cvsignore | 1 | ||||
-rw-r--r-- | core/applets/obex/obex.cc | 9 | ||||
-rw-r--r-- | core/applets/obex/obex.h | 2 | ||||
-rw-r--r-- | core/applets/obex/obeximpl.cc | 12 |
4 files changed, 17 insertions, 7 deletions
diff --git a/core/applets/obex/.cvsignore b/core/applets/obex/.cvsignore index c7899af..8fde018 100644 --- a/core/applets/obex/.cvsignore +++ b/core/applets/obex/.cvsignore | |||
@@ -1,2 +1,3 @@ | |||
1 | Makefile | 1 | Makefile |
2 | Makefile.in | ||
2 | moc* | 3 | moc* |
diff --git a/core/applets/obex/obex.cc b/core/applets/obex/obex.cc index fc0be3b..43041f5 100644 --- a/core/applets/obex/obex.cc +++ b/core/applets/obex/obex.cc | |||
@@ -98,4 +98,4 @@ void Obex::sendNow(){ | |||
98 | void Obex::slotExited(OProcess* proc ){ | 98 | void Obex::slotExited(OProcess* proc ){ |
99 | if (proc == m_rec ) { // recieve process | 99 | if (proc == m_rec ) { // receive process |
100 | recieved(); | 100 | received(); |
101 | }else if ( proc == m_send ) { | 101 | }else if ( proc == m_send ) { |
@@ -105,3 +105,3 @@ void Obex::slotExited(OProcess* proc ){ | |||
105 | void Obex::slotStdOut(OProcess* proc, char* buf, int len){ | 105 | void Obex::slotStdOut(OProcess* proc, char* buf, int len){ |
106 | if ( proc == m_rec ) { // only recieve | 106 | if ( proc == m_rec ) { // only receive |
107 | QCString cstring( buf, len ); | 107 | QCString cstring( buf, len ); |
@@ -111,3 +111,3 @@ void Obex::slotStdOut(OProcess* proc, char* buf, int len){ | |||
111 | 111 | ||
112 | void Obex::recieved() { | 112 | void Obex::received() { |
113 | if (m_rec->normalExit() ) { | 113 | if (m_rec->normalExit() ) { |
@@ -115,2 +115,3 @@ void Obex::recieved() { | |||
115 | QString filename = parseOut(); | 115 | QString filename = parseOut(); |
116 | qWarning("ACHTUNG"); | ||
116 | emit receivedFile( filename ); | 117 | emit receivedFile( filename ); |
diff --git a/core/applets/obex/obex.h b/core/applets/obex/obex.h index 2ce44f2..781fca2 100644 --- a/core/applets/obex/obex.h +++ b/core/applets/obex/obex.h | |||
@@ -77,3 +77,3 @@ private slots: | |||
77 | QString parseOut(); | 77 | QString parseOut(); |
78 | void recieved(); | 78 | void received(); |
79 | void sendEnd(); | 79 | void sendEnd(); |
diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc index 1a1c922..7df933a 100644 --- a/core/applets/obex/obeximpl.cc +++ b/core/applets/obex/obeximpl.cc | |||
@@ -30,2 +30,3 @@ ObexImpl::ObexImpl( ) | |||
30 | } | 30 | } |
31 | |||
31 | ObexImpl::~ObexImpl() { | 32 | ObexImpl::~ObexImpl() { |
@@ -35,2 +36,3 @@ ObexImpl::~ObexImpl() { | |||
35 | } | 36 | } |
37 | |||
36 | QRESULT ObexImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { | 38 | QRESULT ObexImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { |
@@ -46,4 +48,4 @@ QRESULT ObexImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | |||
46 | return QS_OK; | 48 | return QS_OK; |
47 | |||
48 | } | 49 | } |
50 | |||
49 | void ObexImpl::slotMessage( const QCString& msg, const QByteArray&data ) { | 51 | void ObexImpl::slotMessage( const QCString& msg, const QByteArray&data ) { |
@@ -66,3 +68,3 @@ void ObexImpl::slotMessage( const QCString& msg, const QByteArray&data ) { | |||
66 | }else if(msg == "receive(int)" ) { // open a GUI | 68 | }else if(msg == "receive(int)" ) { // open a GUI |
67 | m_recvgui->showMaximized(); | 69 | //m_recvgui->showMaximized(); |
68 | int receiveD = 0; | 70 | int receiveD = 0; |
@@ -107,2 +109,3 @@ void ObexImpl::slotError( int errorCode) { | |||
107 | } | 109 | } |
110 | |||
108 | // Received a file via beam | 111 | // Received a file via beam |
@@ -123,2 +126,7 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { | |||
123 | } // now prompt and then add it | 126 | } // now prompt and then add it |
127 | |||
128 | m_recvgui->PixmapLabel->setPixmap(lnk.pixmap()); | ||
129 | m_recvgui->TextLabel1_2->setText(lnk.name()); | ||
130 | m_recvgui->showMaximized(); | ||
131 | |||
124 | QCString str= "QPE/Application/"; | 132 | QCString str= "QPE/Application/"; |