summaryrefslogtreecommitdiff
path: root/core/applets/obex/obex.cc
authorharlekin <harlekin>2002-06-12 22:30:51 (UTC)
committer harlekin <harlekin>2002-06-12 22:30:51 (UTC)
commit7239ae505999b64c74479c460daba256baf82798 (patch) (side-by-side diff)
tree6f140a09edb1aa7d6d12e7932169b3ae9db1e853 /core/applets/obex/obex.cc
parent72a7f7c6450033e3a2411c29b1f5505725c95241 (diff)
downloadopie-7239ae505999b64c74479c460daba256baf82798.zip
opie-7239ae505999b64c74479c460daba256baf82798.tar.gz
opie-7239ae505999b64c74479c460daba256baf82798.tar.bz2
some gui updates
Diffstat (limited to 'core/applets/obex/obex.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/obex/obex.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/core/applets/obex/obex.cc b/core/applets/obex/obex.cc
index f35d57a..683964b 100644
--- a/core/applets/obex/obex.cc
+++ b/core/applets/obex/obex.cc
@@ -2,3 +2,4 @@
#include <qapplication.h>
-
+#include <qmessagebox.h>
+#include <qpe/qcopenvelope_qws.h>
#include <opie/oprocess.h>
@@ -8,3 +9,3 @@ using namespace OpieObex;
-Obex::Obex( QObject *parent, const char* name )
+Obex::Obex( QObject *parent, const char* name )
: QObject(parent, name )
@@ -15,3 +16,3 @@ Obex::Obex( QObject *parent, const char* name )
};
-Obex::~Obex() {
+Obex::~Obex() {
delete m_rec;
@@ -26,6 +27,6 @@ void Obex::receive() {
this, SLOT(slotExited(OProcess*) ) );
-
+
connect(m_rec, SIGNAL(receivedStdout(OProcess*, char*, int ) ),
this, SLOT(slotStdOut(OProcess*, char*, int) ) );
-
+
if(!m_rec->start(OProcess::NotifyOnExit, OProcess::AllOutput) ) {
@@ -51,3 +52,3 @@ void Obex::sendNow(){
*m_send << m_file;
-
+
// connect to slots Exited and and StdOut
@@ -55,3 +56,3 @@ void Obex::sendNow(){
this, SLOT(slotExited(OProcess*)) );
- connect(m_send, SIGNAL(receivedStdout(OProcess*, char*, int )),
+ connect(m_send, SIGNAL(receivedStdout(OProcess*, char*, int )),
this, SLOT(slotStdOut(OProcess*, char*, int) ) );
@@ -93,2 +94,3 @@ void Obex::recieved() {
}
+
void Obex::sendEnd() {