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

parley

  • sources
  • kde-4.12
  • 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 class ComparisonWidget : public QWidget, public Ui::comparisonWidget
39 {
40  Q_OBJECT
41 
42 public:
43  ComparisonWidget(QWidget *parent = 0);
44 
45 public slots:
50  void setDocument(KEduVocDocument* doc);
56  void setTranslation(KEduVocExpression* entry, int translation);
57 
58 private slots:
59  void slotMakeAdjectiveButton();
60  void slotMakeAdverbButton();
61 
62  void slotComparativeChanged();
63  void slotSuperlativeChanged();
64 
65 private:
66  KEduVocTranslation* m_translation;
67  KEduVocDocument* m_doc;
68 };
69 
70 }
71 
72 #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:38
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:05 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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