1 #ifndef NETWORKDIALOGEDIT_H
2 #define NETWORKDIALOGEDIT_H
7 class NetWorkDialogEdit;
9 class QStandardItemModel;
11 class QItemSelectionModel;
13 class QMaemo5ValueButton;
17 class QMaemo5ListPickSelector;
19 /** \class NetWorkDialogEdit
20 \brief class for dialog to edit rules
22 class NetWorkDialogEdit : public QDialog {
25 NetWorkDialogEdit(QWidget *parent = 0);
28 void SetProfilenames(QStringList list_of_profiles_nf);
29 void SetNameOfLabel(QString id, QString name );
30 QString GetNameProfile();
31 QString GetNameOfRule();
32 void SetNameOfRule(QString name);
35 void changeEvent(QEvent *e);
39 Ui::NetWorkDialogEdit *ui;
41 QMaemo5ValueButton *p_set_Profile_button;
42 QMaemo5ListPickSelector *p_list_pick_profile;
43 QStandardItemModel *p_model_profile_names;
45 QString selectedProfile;
46 QStringList list_of_profiles;
52 void SelectedName(QString name);
55 #endif // NETWORKDIALOGEDIT_H