blob: 230c4f0f87ae3460fe5d556677eb48422bada5f5 (
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
39
|
#ifndef OPIE_OBEX_HANDLER_H
#define OPIE_OBEX_HANDLER_H
#include <qobject.h>
#include <qstring.h>
namespace OpieObex {
/*
* The handler is responsible for handling receiving
* and sending
* It will connect to the IrDa QCOP channel and then
* wait for activation...
*/
class SendWidget;
class Receiver;
class ObexHandler : public QObject {
Q_OBJECT
public:
ObexHandler();
~ObexHandler();
private slots:
void doSend(const QString&,const QString& );
void doReceive(bool b);
void slotSent();
private slots: // QCOP message
void irdaMessage( const QCString&, const QByteArray& );
private:
SendWidget* m_sender;
Receiver* m_receiver;
bool m_wasRec : 1;
};
}
#endif
|