blob: 778d1d33e54bf537066acf0e0de47045be0c6152 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef OPIE_FL_SZ_H
#define OPIE_FL_SZ_H
#include "file_layer.h"
#include <opie/oprocess.h>
class SzTransfer : public FileTransferLayer {
Q_OBJECT
public:
SzTransfer( IOLayer * );
~SzTransfer();
public slots:
/**
* send a file over the layer
*/
void sendFile( const QString& file ) = 0;
void sendFile( const QFile& ) = 0;
private slots:
void SzRecievedStdout(OProcess *, char *, int);
void SzRecievedStderr(OProcess *, char *, int);
void recievedStdin(QByteArray &);
private:
OProcess *proc;
};
#endif
|