author | hash <hash> | 2002-10-01 20:27:21 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-01 20:27:21 (UTC) |
commit | 88c3937936dbbb13575425ce9da72d5286bd1233 (patch) (side-by-side diff) | |
tree | 75dd4722c885ed76bf08d0b48c2b2f5732c4878d /noncore/apps/opie-console/file_layer.h | |
parent | 514a68beeb6abd4402bc7187eedc01e5d4793f64 (diff) | |
download | opie-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.h | 11 |
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 @@ -1,56 +1,59 @@ #ifndef OPIE_FILE_LAYER_H #define OPIE_FILE_LAYER_H #include "io_layer.h" +#include <opie/oprocess.h> class QFile; /** * this is the layer for sending files */ class FileTransferLayer : public QObject { Q_OBJECT public: /** *the io layer to be used */ FileTransferLayer( IOLayer* ); virtual ~FileTransferLayer(); public slots: /** * send a file over the layer */ virtual void sendFile( const QString& file ) = 0; - - /** - * convience method - */ virtual void sendFile( const QFile& ) = 0; +private slots: + void SzRecievedStdout(OProcess *, char *, int); + void SzRecievedStderr(OProcess *, char *, int); + void recievedStdin(QByteArray &); + signals: /** * sent the file */ void sent(); /** * an error occured */ void error( int, const QString& ); /* * 100 == done * */ void progress( const QString& file, int progress ); protected: IOLayer* layer(); private: IOLayer* m_layer; + OProcess *proc; }; #endif |