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

parley

declensionwidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002     Copyright 2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
00003  ***************************************************************************/
00004 
00005 /***************************************************************************
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  ***************************************************************************/
00013 
00014 #ifndef DECLENSIONWIDGET_H
00015 #define DECLENSIONWIDGET_H
00016 
00017 #include "ui_declensionwidget.h"
00018 
00019 #include <keduvocdeclension.h>
00020 
00021 class KEduVocExpression;
00022 class KEduVocDocument;
00023 
00024 
00025 class DeclensionWidget : public QWidget, public Ui::DeclensionWidget
00026 {
00027     Q_OBJECT
00028 
00029 public:
00030     explicit DeclensionWidget(QWidget *parent = 0);
00031 
00032 public slots:
00033     void setDocument(KEduVocDocument* doc);
00034     void setTranslation(KEduVocExpression* entry, int translation);
00035 
00036 signals:
00037     void sigModified();
00038 
00039 private slots:
00040     void textChanged(const QString&);
00041     void slotMakeNoun();
00042 
00043 private:
00044     void showMakeNounWidgets();
00045     void showDeclensionEditWidgets();
00046     void updateVisiblePersons();
00047 
00051     void updateEntries();
00052 
00053     int m_identifier;
00054     KEduVocExpression* m_entry;
00055     KEduVocDocument* m_doc;
00056 
00060     QMap< int, KLineEdit* > m_DeclensionLineEdits;
00061 };
00062 
00063 #endif

parley

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal