|
Last change
on this file since 86 was 2, checked in by dmik, 19 years ago |
|
Imported original Psi 0.10 sources from Affinix
|
|
File size:
572 bytes
|
| Line | |
|---|
| 1 | #include<qdialog.h>
|
|---|
| 2 | #include"xmpp.h"
|
|---|
| 3 |
|
|---|
| 4 | namespace XMPP
|
|---|
| 5 | {
|
|---|
| 6 | class JidLink;
|
|---|
| 7 | }
|
|---|
| 8 |
|
|---|
| 9 | using namespace XMPP;
|
|---|
| 10 |
|
|---|
| 11 | class PsiAccount;
|
|---|
| 12 |
|
|---|
| 13 | class JLTestDlg : public QDialog
|
|---|
| 14 | {
|
|---|
| 15 | Q_OBJECT
|
|---|
| 16 | public:
|
|---|
| 17 | enum { ModeConnect, ModeAccept };
|
|---|
| 18 | JLTestDlg(const Jid &, PsiAccount *);
|
|---|
| 19 | JLTestDlg(const Jid &, JidLink *, PsiAccount *);
|
|---|
| 20 | ~JLTestDlg();
|
|---|
| 21 |
|
|---|
| 22 | private slots:
|
|---|
| 23 | void start();
|
|---|
| 24 | void jl_connected();
|
|---|
| 25 | void jl_connectionClosed();
|
|---|
| 26 | void jl_error(int);
|
|---|
| 27 | void jl_readyRead();
|
|---|
| 28 | void jl_bytesWritten(int);
|
|---|
| 29 |
|
|---|
| 30 | void doNext();
|
|---|
| 31 |
|
|---|
| 32 | private:
|
|---|
| 33 | class Private;
|
|---|
| 34 | Private *d;
|
|---|
| 35 |
|
|---|
| 36 | void init();
|
|---|
| 37 | void reset();
|
|---|
| 38 |
|
|---|
| 39 | void writePacket();
|
|---|
| 40 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.