summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/file_layer.h
authorhash <hash>2002-10-01 20:27:21 (UTC)
committer hash <hash>2002-10-01 20:27:21 (UTC)
commit88c3937936dbbb13575425ce9da72d5286bd1233 (patch) (unidiff)
tree75dd4722c885ed76bf08d0b48c2b2f5732c4878d /noncore/apps/opie-console/file_layer.h
parent514a68beeb6abd4402bc7187eedc01e5d4793f64 (diff)
downloadopie-88c3937936dbbb13575425ce9da72d5286bd1233.zip
opie-88c3937936dbbb13575425ce9da72d5286bd1233.tar.gz
opie-88c3937936dbbb13575425ce9da72d5286bd1233.tar.bz2
i'm kinda embarrased to commit this cus i really dont know how it's supposed
to work yet. if anyone has any pointers, please dont hesitate to tell me.
Diffstat (limited to 'noncore/apps/opie-console/file_layer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/file_layer.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/file_layer.h b/noncore/apps/opie-console/file_layer.h
index 035e125..71a0c82 100644
--- a/noncore/apps/opie-console/file_layer.h
+++ b/noncore/apps/opie-console/file_layer.h
@@ -2,6 +2,7 @@
2#define OPIE_FILE_LAYER_H 2#define OPIE_FILE_LAYER_H
3 3
4#include "io_layer.h" 4#include "io_layer.h"
5#include <opie/oprocess.h>
5 6
6class QFile; 7class QFile;
7/** 8/**
@@ -21,12 +22,13 @@ public slots:
21 * send a file over the layer 22 * send a file over the layer
22 */ 23 */
23 virtual void sendFile( const QString& file ) = 0; 24 virtual void sendFile( const QString& file ) = 0;
24
25 /**
26 * convience method
27 */
28 virtual void sendFile( const QFile& ) = 0; 25 virtual void sendFile( const QFile& ) = 0;
29 26
27private slots:
28 void SzRecievedStdout(OProcess *, char *, int);
29 void SzRecievedStderr(OProcess *, char *, int);
30 void recievedStdin(QByteArray &);
31
30signals: 32signals:
31 /** 33 /**
32 * sent the file 34 * sent the file
@@ -50,6 +52,7 @@ protected:
50 52
51private: 53private:
52 IOLayer* m_layer; 54 IOLayer* m_layer;
55 OProcess *proc;
53 56
54}; 57};
55 58