~ubuntu-branches/ubuntu/jaunty/psi/jaunty

« back to all changes in this revision

Viewing changes to src/jltest.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-04-14 18:57:30 UTC
  • mfrom: (2.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080414185730-528re3zp0m2hdlhi
Tags: 0.11-8
* added CONFIG -= link_prl to .pro files and removed dependencies
  which are made unnecessary by this change
* Fix segfault when closing last chat tab with qt4.4
  (This is from upstream svn, rev. 1101) (Closes: Bug#476122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
};