• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

  • sources
  • kde-4.14
  • kdeedu
  • parley
  • src
  • editor
comparisonwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  dialog page for multiple choice suggestions
4 
5  -----------------------------------------------------------------------
6 
7  begin : Mon Oct 29 18:09:29 1999
8 
9  copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
10  (C) 2005-2006 Peter Hedlund <peter.hedlund@kdemail.net>
11  (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
12 
13  -----------------------------------------------------------------------
14 
15  ***************************************************************************/
16 
17 /***************************************************************************
18  * *
19  * This program is free software; you can redistribute it and/or modify *
20  * it under the terms of the GNU General Public License as published by *
21  * the Free Software Foundation; either version 2 of the License, or *
22  * (at your option) any later version. *
23  * *
24  ***************************************************************************/
25 
26 #ifndef COMPARISONWIDGET_H
27 #define COMPARISONWIDGET_H
28 
29 #include "ui_comparisonwidget.h"
30 
31 
32 class KEduVocExpression;
33 class KEduVocTranslation;
34 class KEduVocDocument;
35 
36 namespace Editor
37 {
38 
39 class ComparisonWidget : public QWidget, public Ui::comparisonWidget
40 {
41  Q_OBJECT
42 
43 public:
44  ComparisonWidget(QWidget *parent = 0);
45 
46 public slots:
51  void setDocument(KEduVocDocument* doc);
57  void setTranslation(KEduVocExpression* entry, int translation);
58 
59 private slots:
60  void slotMakeAdjectiveButton();
61  void slotMakeAdverbButton();
62 
63  void slotComparativeChanged();
64  void slotSuperlativeChanged();
65 
66 private:
67  KEduVocTranslation* m_translation;
68  KEduVocDocument* m_doc;
69 };
70 
71 }
72 
73 #endif
QWidget
Editor::ComparisonWidget::ComparisonWidget
ComparisonWidget(QWidget *parent=0)
Definition: comparisonwidget.cpp:26
Editor::ComparisonWidget::setDocument
void setDocument(KEduVocDocument *doc)
To know about word types that are currently defined.
Definition: comparisonwidget.cpp:110
Editor::ComparisonWidget
Definition: comparisonwidget.h:39
QObject::parent
QObject * parent() const
Editor::ComparisonWidget::setTranslation
void setTranslation(KEduVocExpression *entry, int translation)
Update the word.
Definition: comparisonwidget.cpp:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal