• 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
  • practice
flashcardbackendmode.h
Go to the documentation of this file.
1 /***************************************************************************
2  Copyright 2009 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 FLASHCARDBACKENDMODE_H
16 #define FLASHCARDBACKENDMODE_H
17 
18 #include "abstractbackendmode.h"
19 
20 namespace Practice
21 {
22 
23 class FlashCardBackendMode : public AbstractBackendMode
24 {
25  Q_OBJECT
26 
27 public:
28  FlashCardBackendMode(AbstractFrontend *frontend, QObject *parent);
29  virtual bool setTestEntry(TestEntry* current);
30 
31 public Q_SLOTS:
32  virtual void checkAnswer();
33  virtual void hintAction();
34 
35 private:
36  bool m_solutionVisible;
37  TestEntry *m_current;
38  QString m_currentHint;
39 };
40 
41 }
42 
43 #endif // FLASHCARDBACKENDMODE_H
Practice::FlashCardBackendMode::setTestEntry
virtual bool setTestEntry(TestEntry *current)
start practicing a new word.
Definition: flashcardbackendmode.cpp:26
Practice::FlashCardBackendMode::FlashCardBackendMode
FlashCardBackendMode(AbstractFrontend *frontend, QObject *parent)
Definition: flashcardbackendmode.cpp:21
QObject
abstractbackendmode.h
QString
Practice::FlashCardBackendMode
Definition: flashcardbackendmode.h:23
Practice::FlashCardBackendMode::checkAnswer
virtual void checkAnswer()
Definition: flashcardbackendmode.cpp:36
Practice::AbstractBackendMode
Definition: abstractbackendmode.h:26
Practice::AbstractFrontend
Definition: abstractfrontend.h:26
QObject::parent
QObject * parent() const
Practice::FlashCardBackendMode::hintAction
virtual void hintAction()
Definition: flashcardbackendmode.cpp:41
TestEntry
Definition: testentry.h:22
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