• 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
  • settings
languagepropertiespage.h
Go to the documentation of this file.
1 /***************************************************************************
2  Copyright 2008 Frederik Gladhorn <gladhorn@kde.org>
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 
15 #ifndef LANGUAGEPROPERTIESPAGE_H
16 #define LANGUAGEPROPERTIESPAGE_H
17 
18 #include "ui_languagepropertiespage.h"
19 
20 class KEduVocDocument;
21 class ParleyDocument;
22 
23 class LanguagePropertiesPage : public QWidget, public Ui::LanguagePropertiesPage
24 {
25  Q_OBJECT
26 public:
27  LanguagePropertiesPage(KEduVocDocument *doc, int identifierIndex, QWidget *parent = 0);
28  void setLanguageIdentifierIndex(int newIndex);
29 
30 public slots:
31  void accept();
32  void downloadGrammar();
33 
34 signals:
35  void nameChanged(const QString&);
36 
37 private slots:
38  void localeChanged(const QString&);
39 
40  // pronouns/conjugations
41  void updateCheckBoxes();
42 
43  // tenses
44  void slotDeleteTense();
45  void slotNewTense();
46  void slotTenseChosen(int);
47  void slotModifyTense();
48 
49 private:
50  void updateListBox(int start);
51 
52  // initialize widgets with contents
53  void loadGrammarFromDocument();
54 
55  int m_currentTense;
56  QList<int> tenseIndex;
57 
58  KEduVocDocument* m_doc;
59  int m_identifierIndex;
60 };
61 
62 #endif
QWidget
LanguagePropertiesPage::nameChanged
void nameChanged(const QString &)
LanguagePropertiesPage::LanguagePropertiesPage
LanguagePropertiesPage(KEduVocDocument *doc, int identifierIndex, QWidget *parent=0)
Definition: languagepropertiespage.cpp:38
LanguagePropertiesPage::setLanguageIdentifierIndex
void setLanguageIdentifierIndex(int newIndex)
Definition: languagepropertiespage.cpp:109
LanguagePropertiesPage::downloadGrammar
void downloadGrammar()
Definition: languagepropertiespage.cpp:119
ParleyDocument
Definition: parleydocument.h:29
QString
QList< int >
LanguagePropertiesPage
Definition: languagepropertiespage.h:23
QObject::parent
QObject * parent() const
LanguagePropertiesPage::accept
void accept()
Definition: languagepropertiespage.cpp:211
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