• 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
conjugationwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  Copyright 2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
3  ***************************************************************************/
4 
5 /***************************************************************************
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef CONJUGATIONWIDGET_H
15 #define CONJUGATIONWIDGET_H
16 
17 #include "ui_conjugationwidget.h"
18 
19 #include <keduvocwordflags.h>
20 
21 class KEduVocExpression;
22 class KEduVocDocument;
23 
24 namespace Editor {
25 
26 class ConjugationWidget : public QWidget, public Ui::ConjugationWidget
27 {
28  Q_OBJECT
29 
30 public:
31  explicit ConjugationWidget(QWidget *parent = 0);
32 
33 public slots:
34  void setDocument(KEduVocDocument* doc);
35  void setTranslation(KEduVocExpression* entry, int translation);
36 
37 signals:
38  void sigModified();
39 
40 private slots:
41  void textChanged(const QString&);
42  void slotTenseSelected(int);
43  void slotNextTense();
44  void tenseEditingFinished();
45 
46 private:
47  void updateVisiblePersons();
48 
49  void showWidgets(bool tenses, bool singular, bool dual, bool plural, bool maleVisible, bool femaleVisible, bool neuterVisible);
50 
54  void updateEntries();
55 
56  QString m_lastTenseSelection;
57  int m_identifier;
58  KEduVocExpression* m_entry;
59  KEduVocDocument* m_doc;
60 
64  QMap< KEduVocWordFlags, KLineEdit* > m_conjugationLineEdits;
65 };
66 
67 }
68 
69 #endif
QWidget
Editor::ConjugationWidget::setDocument
void setDocument(KEduVocDocument *doc)
Definition: conjugationwidget.cpp:136
Editor::ConjugationWidget::ConjugationWidget
ConjugationWidget(QWidget *parent=0)
Definition: conjugationwidget.cpp:23
Editor::ConjugationWidget::sigModified
void sigModified()
Editor::ConjugationWidget::setTranslation
void setTranslation(KEduVocExpression *entry, int translation)
Definition: conjugationwidget.cpp:106
Editor::ConjugationWidget
Definition: conjugationwidget.h:26
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