summaryrefslogtreecommitdiffstats
path: root/src/gui/getaddressform.h
blob: 1c8443e37fc7a375295d50118bfd2eeb20a0b3ba (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
#ifndef GETADDRESSFORM_UI_H
#define GETADDRESSFORM_UI_H
#include "ui_getaddressform.h"
#include "user.h"

class AddressTableModel;

class GetAddressForm : public QDialog, public Ui::GetAddressForm
{
Q_OBJECT
public:
    GetAddressForm(QWidget *parent);
	~GetAddressForm();
private:
	void init();
	// void destroy();
public slots:
	void reload();
	void show();
	void loadAddresses();
	void selectAddress();
	void selectKABCAddress();
	void selectLocalAddress();
	void toggleSipOnly( bool on );
	void addLocalAddress();
	void deleteLocalAddress();
	void editLocalAddress();

signals:
	void address(const QString &, const QString &);
	void address(const QString &);
private:
	void *addrBook;
	AddressTableModel* m_model;
};

#endif