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

parley

ParleyApp Class Reference

#include <parley.h>

Inheritance diagram for ParleyApp:

Inheritance graph
[legend]

List of all members.


Detailed Description

This Class is the base class for your application.

It sets up the main window and reads the config file as well as providing a menubar, toolbar and statusbar. For the main view, an instance of class kvoctrainView is created which creates your view.

Definition at line 60 of file parley.h.


Public Slots

void configurePractice ()
bool queryClose ()
bool queryExit ()
void removeGrades ()
void slotApplyPreferences ()
void slotConfigShowSearch ()
void slotDocumentProperties ()
void slotEditLanguages ()
void slotGeneralOptions ()
void slotGrammarDialog ()
void slotShowStatistics ()
void slotUpdateWindowCaption ()
void startPractice ()
void startupTipOfDay ()
void tipOfDay ()

Signals

void signalSetData (const QList< int > &entries, int currentTranslation)

Public Member Functions

void initActions ()
void initDockWidgets ()
void initModel ()
void initStatusBar ()
void initView ()
 ParleyApp (const QString &appName, const KUrl &filename=KUrl())
void saveOptions ()
void updateTableFilter ()
 ~ParleyApp ()

Constructor & Destructor Documentation

ParleyApp::ParleyApp ( const QString &  appName,
const KUrl &  filename = KUrl() 
) [explicit]

construtor with appName (executable name) and filename to open

Definition at line 78 of file parley.cpp.

ParleyApp::~ParleyApp (  ) 

destructor

Definition at line 142 of file parley.cpp.


Member Function Documentation

void ParleyApp::configurePractice (  )  [slot]

Definition at line 253 of file parley.cpp.

void ParleyApp::initActions (  ) 

setup the action (menus etc)

Todo:
tooltip

Todo:
what about this one...?

Definition at line 532 of file parley.cpp.

void ParleyApp::initDockWidgets (  ) 

Todo:
remove before release

remove before release

Todo:
test, should be fixed with the lesson one though

Definition at line 333 of file parley.cpp.

void ParleyApp::initModel (  ) 

setup the main model

Definition at line 742 of file parley.cpp.

void ParleyApp::initStatusBar (  ) 

setup the statusbar

Definition at line 726 of file parley.cpp.

void ParleyApp::initView (  ) 

setup the main view

This initializes the main widgets and table.

Todo:
centralWidget()-> delete layout

Definition at line 759 of file parley.cpp.

bool ParleyApp::queryClose (  )  [slot]

When quitting, ask for confirmation if the doc has not been saved.

Definition at line 272 of file parley.cpp.

bool ParleyApp::queryExit (  )  [slot]

overloaded for Message box on last window exit

Definition at line 281 of file parley.cpp.

void ParleyApp::removeGrades (  )  [slot]

Removes all grading information from the current document.

Definition at line 801 of file parley.cpp.

void ParleyApp::saveOptions (  ) 

save the app-specific options on slotAppExit or by an Options dialog

Todo:
save selection per document

Definition at line 147 of file parley.cpp.

void ParleyApp::signalSetData ( const QList< int > &  entries,
int  currentTranslation 
) [signal]

void ParleyApp::slotApplyPreferences (  )  [slot]

Definition at line 196 of file parley.cpp.

void ParleyApp::slotConfigShowSearch (  )  [slot]

Definition at line 221 of file parley.cpp.

void ParleyApp::slotDocumentProperties (  )  [slot]

General doc properties like title, author etc.

Definition at line 239 of file parley.cpp.

void ParleyApp::slotEditLanguages (  )  [slot]

append language to vocabulary - creates a new column

Todo:

Definition at line 229 of file parley.cpp.

void ParleyApp::slotGeneralOptions (  )  [slot]

set up options

Definition at line 188 of file parley.cpp.

void ParleyApp::slotGrammarDialog (  )  [slot]

Let the user edit tenses, articles and personal pronouns.

Definition at line 162 of file parley.cpp.

void ParleyApp::slotShowStatistics (  )  [slot]

Definition at line 182 of file parley.cpp.

void ParleyApp::slotUpdateWindowCaption (  )  [slot]

Update the title bar of the main window with the current document.

Definition at line 176 of file parley.cpp.

void ParleyApp::startPractice (  )  [slot]

Definition at line 263 of file parley.cpp.

void ParleyApp::startupTipOfDay (  )  [slot]

Show the tip of the day - the startup version that can be disabled.

Definition at line 527 of file parley.cpp.

void ParleyApp::tipOfDay (  )  [slot]

Show the tip of the day (force it to be shown).

Definition at line 523 of file parley.cpp.

void ParleyApp::updateTableFilter (  ) 

This will look at the lesson list and also the combo box to determine what should be displayed in the table.


The documentation for this class was generated from the following files:
  • parley.h
  • parley.cpp

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