summaryrefslogtreecommitdiffstats
path: root/src/gui/termcapform.h
blob: 4b36e7605b114623c713bbf6dd67ebd539dab3c7 (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
40
#ifndef TERMCAPFORM_H
#define TERMCAPFORM_H
#include "ui_termcapform.h"
#include "getaddressform.h"
#include "phone.h"
#include "sockets/url.h"
#include "user.h"

class t_phone;
extern t_phone *phone;

class TermCapForm : public QDialog, public Ui::TermCapForm
{
	Q_OBJECT

public:
    TermCapForm(QWidget* parent = 0);
	~TermCapForm();

public slots:
	virtual void show( t_user * user_config, const QString & dest );
	virtual void validate();
	virtual void showAddressBook();
	virtual void selectedAddress( const QString & address );

signals:
	void destination(t_user *, const t_url &);

protected slots:
	virtual void languageChange();

private:
	GetAddressForm *getAddressForm;

	void init();
	void destroy();

};

#endif