N9profile
[n9profile] / telenumdialog.h
1 #ifndef TELENUMDIALOG_H
2 #define TELENUMDIALOG_H
3
4 #include <QDialog>
5
6 namespace Ui {
7     class TeleNumDialog;
8 }
9 class QStandardItemModel;
10 class QModelIndex;
11 class QItemSelectionModel;
12 class QSettings;
13 class QMaemo5ValueButton;
14 class QStringList;
15 class QModelIndex;
16 class QListView;
17 class QMaemo5ListPickSelector;
18
19 /** \class TeleNumDialog
20   \brief class for dialog telephone rules
21  */
22 class TeleNumDialog : public QDialog {
23     Q_OBJECT
24 public:
25     TeleNumDialog(QWidget *parent = 0);
26     ~TeleNumDialog();
27     void SetViews(QStandardItemModel *model_of_Telnum ,
28                   QItemSelectionModel *selModel_Telnum);
29
30     void SetProfilenames(QStringList list_of_profiles_nf);
31
32 protected:
33     void changeEvent(QEvent *e);
34
35 private:
36     Ui::TeleNumDialog *ui;
37        QStringList list_of_profiles;
38
39
40 private slots:
41     void on_tableView_clicked(QModelIndex index);
42     void on_pushButton_clicked();
43         void createNewRule();
44 };
45
46 #endif // TELENUMDIALOG_H