blob: db99b5ccd13faaf53f341fb1d8ba7480b6246307 (
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
|
#ifndef SELECTUSERFORM_H
#define SELECTUSERFORM_H
class t_phone;
extern t_phone *phone;
#include "gui.h"
#include "phone.h"
#include "user.h"
#include "ui_selectuserform.h"
class SelectUserForm : public QDialog, public Ui::SelectUserForm
{
Q_OBJECT
public:
SelectUserForm(QWidget* parent = 0);
~SelectUserForm();
public slots:
virtual void show( t_select_purpose purpose );
virtual void validate();
virtual void selectAll();
virtual void clearAll();
virtual void toggle( QModelIndex item );
signals:
void selection(list<t_user *>);
void not_selected(list<t_user*>);
protected slots:
virtual void languageChange();
private:
void init();
};
#endif
|