parley
editlanguagedialogpage.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef EDITEDITLANGUAGEDIALOGPAGEPAGE_H
00023 #define EDITEDITLANGUAGEDIALOGPAGEPAGE_H
00024
00025 #include "ui_languagepage.h"
00026 #include <QWidget>
00027
00028
00029 class KEduVocDocument;
00030
00031
00036 class EditLanguageDialogPage
00037 : public QWidget, public Ui::LanguagePage
00038 {
00039 Q_OBJECT
00040 public:
00041 EditLanguageDialogPage(KEduVocDocument* doc, int identifierIndex, QWidget *parent);
00042 ~EditLanguageDialogPage();
00043
00044 public slots:
00045 void commitData();
00046
00047 signals:
00048 void nameChanged(const QString&);
00049 void iconSelected(const QString&);
00050
00051 private slots:
00052 void iconChanged(int iconIndex);
00053 void localeChanged(const QString&);
00054 void languageNameChanged(const QString&);
00055
00056 private:
00057 void initialize();
00058
00059 KEduVocDocument* m_doc;
00060 int m_identifierIndex;
00061 };
00062
00063 #endif