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 61 of file parley.h.
Constructor & Destructor Documentation
| ParleyApp::~ParleyApp | ( | ) |
Member Function Documentation
| void ParleyApp::initActions | ( | ) |
- Todo:
- merging files is horribly broken
- Todo:
- tooltip
- Todo:
- better icon
Definition at line 94 of file kva_init.cpp.
| void ParleyApp::initStatusBar | ( | ) |
| void ParleyApp::initDoc | ( | ) |
| void ParleyApp::initModel | ( | ) |
setup the lesson list and its buttons
Initialize the lesson list.
New lesson selected
this is a little general, but at least we get notified of the changes
- Todo:
- add a separator here
- Todo:
- add a separator here
Definition at line 451 of file kva_init.cpp.
| void ParleyApp::initView | ( | ) |
setup the main view
This initializes the main widgets, splitter and table.
Parent of all
Splitter to divide lessons and table.
List of lessons
Table view
Filter proxy
Definition at line 517 of file kva_init.cpp.
| void ParleyApp::saveOptions | ( | ) |
save the app-specific options on slotAppExit or by an Options dialog
Definition at line 75 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.
| void ParleyApp::makeLessonVisibleInTable | ( | int | lessonIndex | ) |
Make sure, the lesson is visible - if combo is set to 1.
all, no problem 2. in query -> if current not in query change combo? 3. current -> make the lesson current
Definition at line 311 of file parley.cpp.
| void ParleyApp::saveProperties | ( | KConfigGroup & | config | ) | [virtual] |
saves the window properties for each open window during session end to the session config file, including saving the currently opened file by a temporary filename provided by KApplication.
- See also:
- KXmlGuiWindow::saveProperties
Definition at line 96 of file parley.cpp.
| void ParleyApp::readProperties | ( | const KConfigGroup & | config | ) | [virtual] |
reads the session config file and restores the application's state including the last opened files and documents by reading the temporary files saved by saveProperties()
- See also:
- KXmlGuiWindow::readProperties
Definition at line 111 of file parley.cpp.
| void ParleyApp::removeProgressBar | ( | ) |
Definition at line 394 of file kva_io.cpp.
| void ParleyApp::prepareProgressBar | ( | ) |
Definition at line 385 of file kva_io.cpp.
| void ParleyApp::progressChanged | ( | KEduVocDocument * | , | |
| int | curr_percent | |||
| ) | [signal] |
| void ParleyApp::slotUpdateWindowCaption | ( | ) | [slot] |
Definition at line 232 of file parley.cpp.
| void ParleyApp::slotSaveSelection | ( | ) | [slot] |
select an entry
- Todo:
- I doubt this words. If it's not checked, better not enable it.
Definition at line 332 of file kva_io.cpp.
| void ParleyApp::slotCancelSelection | ( | ) | [slot] |
Definition at line 148 of file parley.cpp.
| void ParleyApp::slotSelectAll | ( | ) | [slot] |
Definition at line 154 of file parley.cpp.
| void ParleyApp::slotProgress | ( | KEduVocDocument * | curr_doc, | |
| int | percent | |||
| ) | [slot] |
Definition at line 114 of file kva_io.cpp.
| void ParleyApp::slotCleanVocabulary | ( | ) | [slot] |
Definition at line 338 of file parley.cpp.
| void ParleyApp::slotEditLanguages | ( | ) | [slot] |
| bool ParleyApp::queryClose | ( | ) | [slot] |
Definition at line 67 of file kva_io.cpp.
| bool ParleyApp::queryExit | ( | ) | [slot] |
| void ParleyApp::slotGeneralOptions | ( | ) | [slot] |
| void ParleyApp::slotApplyPreferences | ( | ) | [slot] |
Definition at line 366 of file parley.cpp.
| void ParleyApp::slotLanguageProperties | ( | ) | [slot] |
Definition at line 219 of file parley.cpp.
| void ParleyApp::slotDocumentProperties | ( | ) | [slot] |
Definition at line 550 of file parley.cpp.
| void ParleyApp::slotShowStatistics | ( | ) | [slot] |
Definition at line 331 of file parley.cpp.
| void ParleyApp::startPractice | ( | ) | [slot] |
Definition at line 574 of file parley.cpp.
| void ParleyApp::configurePractice | ( | ) | [slot] |
Definition at line 564 of file parley.cpp.
| void ParleyApp::slotTimeOutBackup | ( | ) | [slot] |
Definition at line 54 of file kva_io.cpp.
| void ParleyApp::slotFileNew | ( | ) | [slot] |
| void ParleyApp::slotFileOpen | ( | ) | [slot] |
| void ParleyApp::slotFileOpenRecent | ( | const KUrl & | url | ) | [slot] |
| void ParleyApp::slotFileOpenExample | ( | ) | [slot] |
| void ParleyApp::slotGHNS | ( | ) | [slot] |
| void ParleyApp::loadFileFromPath | ( | const KUrl & | url, | |
| bool | addRecent = true | |||
| ) | [slot] |
Definition at line 152 of file kva_io.cpp.
| void ParleyApp::slotFileMerge | ( | ) | [slot] |
| void ParleyApp::slotFileSave | ( | ) | [slot] |
| void ParleyApp::slotFileSaveAs | ( | ) | [slot] |
| void ParleyApp::slotFilePrint | ( | ) | [slot] |
Definition at line 392 of file parley.cpp.
| void ParleyApp::slotFileQuit | ( | ) | [slot] |
Definition at line 108 of file kva_io.cpp.
| void ParleyApp::slotEditCopy | ( | ) | [slot] |
| void ParleyApp::slotNewEntry | ( | ) | [slot] |
| void ParleyApp::slotCutEntry | ( | ) | [slot] |
| void ParleyApp::slotDeleteEntry | ( | ) | [slot] |
| void ParleyApp::slotEditPaste | ( | ) | [slot] |
paste the clipboard into the document
- Todo:
- make the pasted stuff visible by making the corresponding lesson visible, if it is not (?)
Definition at line 436 of file parley.cpp.
| void ParleyApp::slotConfigShowSearch | ( | ) | [slot] |
change the status message to text
change the status message of the whole statusbar temporary
Definition at line 532 of file parley.cpp.
| void ParleyApp::removeEntryDlg | ( | ) | [slot] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference