~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to src/jltest.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2005-01-10 17:41:43 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110174143-ltocv5zapl6blf5d
Tags: 0.9.3-1
* New upstream release
* Cleaned up debian/rules (some things are done by upstream Makefiles now)
* Fixed some lintian warnings:
  - removed executable bit from some .png files
  - moved psi.desktop to /usr/share/applications
* Updated menu files

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
};