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

parley

conjugationwidget.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 CONJUGATIONWIDGET_H
00015 #define CONJUGATIONWIDGET_H
00016 
00017 #include "ui_conjugationwidget.h"
00018 
00019 #include <keduvocwordflags.h>
00020 
00021 class KEduVocExpression;
00022 class KEduVocDocument;
00023 
00024 class ConjugationWidget : public QWidget, public Ui::ConjugationWidget
00025 {
00026     Q_OBJECT
00027 
00028 public:
00029     explicit ConjugationWidget(QWidget *parent = 0);
00030 
00031 public slots:
00032     void setDocument(KEduVocDocument* doc);
00033     void setTranslation(KEduVocExpression* entry, int translation);
00034 
00035 signals:
00036     void sigModified();
00037 
00038 private slots:
00039     void textChanged(const QString&);
00040     void slotTenseSelected(int);
00041     void slotNextTense();
00042     void slotMakeVerb();
00043     void tenseEditingFinished();
00044 
00045 private:
00046     void showMakeVerbWidgets();
00047     void showConjugationEditWidgets();
00048     void updateVisiblePersons();
00049 
00053     void updateEntries();
00054 
00055     QString m_lastSelection;
00056     int m_identifier;
00057     KEduVocExpression* m_entry;
00058     KEduVocDocument* m_doc;
00059 
00063     QMap< KEduVocWordFlags, QLineEdit* > m_conjugationLineEdits;
00064 };
00065 
00066 #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