parley
ParleyApp Class Reference
#include <parley.h>

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 | ( | ) |
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 | ( | ) |
| void ParleyApp::initStatusBar | ( | ) |
| 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] |
| 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] |
| void ParleyApp::slotEditLanguages | ( | ) | [slot] |
| void ParleyApp::slotGeneralOptions | ( | ) | [slot] |
| 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] |
| 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:
KDE 4.1 API Reference