2011-05-08 22:23:31 +02:00
|
|
|
#ifndef ADDRESSBOOKDIALOG_H
|
|
|
|
#define ADDRESSBOOKDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2011-05-12 14:44:52 +02:00
|
|
|
namespace Ui {
|
|
|
|
class AddressBookDialog;
|
|
|
|
}
|
|
|
|
|
2011-05-08 22:23:31 +02:00
|
|
|
class AddressBookDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2011-05-12 14:44:52 +02:00
|
|
|
|
2011-05-08 22:23:31 +02:00
|
|
|
public:
|
|
|
|
explicit AddressBookDialog(QWidget *parent = 0);
|
2011-05-12 14:44:52 +02:00
|
|
|
~AddressBookDialog();
|
2011-05-08 22:23:31 +02:00
|
|
|
|
2011-05-12 14:44:52 +02:00
|
|
|
enum {
|
|
|
|
SendingTab = 0,
|
|
|
|
ReceivingTab = 1
|
|
|
|
} Tabs;
|
2011-05-08 22:23:31 +02:00
|
|
|
|
2011-05-12 14:44:52 +02:00
|
|
|
void setTab(int tab);
|
|
|
|
private:
|
|
|
|
Ui::AddressBookDialog *ui;
|
2011-05-12 17:55:24 +02:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_newAddressButton_clicked();
|
|
|
|
void on_editButton_clicked();
|
|
|
|
void on_copyToClipboard_clicked();
|
|
|
|
void on_OKButton_clicked();
|
2011-05-08 22:23:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ADDRESSBOOKDIALOG_H
|