parley
comparisonwidget.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
00023
00024
00025
00026 #ifndef COMPARISONWIDGET_H
00027 #define COMPARISONWIDGET_H
00028
00029 #include "ui_comparisonwidget.h"
00030
00031
00032 class KEduVocExpression;
00033 class KEduVocTranslation;
00034 class KEduVocDocument;
00035
00036 class ComparisonWidget : public QWidget, public Ui::comparisonWidget
00037 {
00038 Q_OBJECT
00039
00040 public:
00041 ComparisonWidget(QWidget *parent = 0);
00042
00043 public slots:
00048 void setDocument(KEduVocDocument* doc);
00054 void setTranslation(KEduVocExpression* entry, int translation);
00055
00056 private slots:
00057 void slotMakeAdjectiveButton();
00058 void slotMakeAdverbButton();
00059
00060 void slotComparativeChanged();
00061 void slotSuperlativeChanged();
00062
00063 private:
00064 KEduVocTranslation* m_translation;
00065 KEduVocDocument* m_doc;
00066 };
00067
00068 #endif