00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef ANTHYWORDEDITOR_H
00022 #define ANTHYWORDEDITOR_H
00023
00024 #include <QDialog>
00025
00026 class AnthyWordEditor : public QDialog
00027 {
00028 Q_OBJECT
00029 Q_PROPERTY(QString sound READ sound WRITE setSound)
00030 Q_PROPERTY(QString spelling READ spelling WRITE setSpelling)
00031 Q_PROPERTY(QString wordType READ wordType WRITE setWordType)
00032 Q_PROPERTY(int frequency READ frequency WRITE setFrequency)
00033 public:
00034 AnthyWordEditor(QWidget *parent = 0);
00035 ~AnthyWordEditor();
00036
00037 QString sound() const;
00038 void setSound(const QString &sound);
00039
00040 QString spelling() const;
00041 void setSpelling(const QString &spelling);
00042
00043 QString wordType() const;
00044 void setWordType(const QString &wordType);
00045
00046 int frequency() const;
00047 void setFrequency(int frequency);
00048
00049 private:
00050 class Private;
00051 Private *d;
00052 };
00053
00054 #endif // ANTHYWORDEDITOR_H