more improvements
This commit is contained in:
@@ -8,6 +8,10 @@ namespace Ui {
|
||||
}
|
||||
class AddressTableModel;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QTableView;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class AddressBookDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -23,15 +27,21 @@ public:
|
||||
|
||||
void setModel(AddressTableModel *model);
|
||||
void setTab(int tab);
|
||||
const QString &getReturnValue() const { return returnValue; }
|
||||
private:
|
||||
Ui::AddressBookDialog *ui;
|
||||
AddressTableModel *model;
|
||||
QString returnValue;
|
||||
|
||||
QTableView *getCurrentTable();
|
||||
|
||||
private slots:
|
||||
void on_buttonBox_accepted();
|
||||
void on_deleteButton_clicked();
|
||||
void on_tabWidget_currentChanged(int index);
|
||||
void on_newAddressButton_clicked();
|
||||
void on_editButton_clicked();
|
||||
void on_copyToClipboard_clicked();
|
||||
void on_OKButton_clicked();
|
||||
};
|
||||
|
||||
#endif // ADDRESSBOOKDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user