• 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
declensionwidget.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 DECLENSIONWIDGET_H
15 #define DECLENSIONWIDGET_H
16 
17 #include "ui_declensionwidget.h"
18 
19 #include <keduvocdeclension.h>
20 
21 class KEduVocExpression;
22 class KEduVocDocument;
23 
24 namespace Editor
25 {
26 
27 class DeclensionWidget : public QWidget, public Ui::DeclensionWidget
28 {
29  Q_OBJECT
30 
31 public:
32  explicit DeclensionWidget(QWidget *parent = 0);
33 
34 public slots:
35  void setDocument(KEduVocDocument* doc);
36  void setTranslation(KEduVocExpression* entry, int translation);
37 
41  void updateEntries();
42 
43  void nextNumber();
44 
45 signals:
46  void sigModified();
47 
48 private slots:
49  void textChanged(const QString&);
50 
51 private:
52  int currentAdditionalWordFlag();
53  void setupLineEdits();
54 
55  int m_identifier;
56  KEduVocExpression* m_entry;
57  KEduVocDocument* m_doc;
58 
62  QMap< int, KLineEdit* > m_DeclensionLineEdits;
63 };
64 
65 }
66 
67 #endif
Editor::DeclensionWidget::nextNumber
void nextNumber()
Definition: declensionwidget.cpp:119
Editor::DeclensionWidget::sigModified
void sigModified()
Editor::DeclensionWidget::setDocument
void setDocument(KEduVocDocument *doc)
Definition: declensionwidget.cpp:99
QWidget
Editor::DeclensionWidget::DeclensionWidget
DeclensionWidget(QWidget *parent=0)
Definition: declensionwidget.cpp:26
QMap< int, KLineEdit * >
Editor::DeclensionWidget::updateEntries
void updateEntries()
Fill the line edits.
Definition: declensionwidget.cpp:58
QString
Editor::DeclensionWidget::setTranslation
void setTranslation(KEduVocExpression *entry, int translation)
Definition: declensionwidget.cpp:65
Editor::DeclensionWidget
Definition: declensionwidget.h:27
QObject::parent
QObject * parent() const
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