blob: 78d5b250fdb707072d4b0dec9e8eedc33c2c3d9a (
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
34
35
36
37
38
|
#ifndef OpieObexImpl_H
#define OpieObexImpl_H
#include <qobject.h>
#include <obexinterface.h>
#include "obexdlg.h"
#include "obexinc.h"
#include <qpe/qcopenvelope_qws.h>
namespace OpieObex {
class Obex;
class ObexImpl : public QObject, public ObexInterface {
Q_OBJECT
public:
ObexImpl();
virtual ~ObexImpl();
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT // for reference counting (macro )
private:
ulong ref;
Obex* m_obex; // obex lib
QCopChannel *m_chan;
ObexDlg *m_sendgui;
ObexInc *m_recvgui;
QString m_name;
private slots:
void slotCancelSend();
void slotMessage( const QCString&, const QByteArray& );
void slotError(int );
// void slotCurrentTry( unsigned int ); */
void slotDone(bool);
void slotReceivedFile(const QString & );
void slotSent();
};
};
#endif
|