klettres
KLettres Class Reference
#include <klettres.h>

Detailed Description
Application Main Window.
- Version:
- 1.80
Definition at line 41 of file klettres.h.
Constructor & Destructor Documentation
| KLettres::KLettres | ( | ) |
| KLettres::~KLettres | ( | ) | [virtual] |
Member Function Documentation
| bool KLettres::loadLayout | ( | QDomDocument & | layoutDocument | ) |
Load the xml file.
- Parameters:
-
layoutDocument the xml file
- Returns:
- bool true if the xml document is found and well formed, false otherwise
Definition at line 142 of file klettres.cpp.
| void KLettres::findLanguages | ( | ) |
| void KLettres::slotChangeLanguage | ( | int | newLanguage | ) | [slot] |
| void KLettres::setupActions | ( | ) | [protected] |
| void KLettres::setupStatusbar | ( | ) | [protected] |
| void KLettres::setupToolbars | ( | ) | [protected] |
generates icons for the special characters toolbar
- Parameters:
-
c the character that will be painted on the icon
Create a name and path for the icon
A font to draw the character with
Create the pixmap
Create transparency mask
Mask the pixmap
Save the icon to disk
Definition at line 497 of file klettres.cpp.
| void KLettres::updateLevMenu | ( | int | id | ) | [protected] |
Update the level menu and level combobox.
- Parameters:
-
id The id of the new level
Definition at line 363 of file klettres.cpp.
| void KLettres::loadLangToolBar | ( | ) | [protected] |
Set the correct buttons on the second toolbar according to the language.
Definition at line 438 of file klettres.cpp.
| void KLettres::slotDownloadNewStuff | ( | ) | [protected, slot] |
| void KLettres::slotMenubar | ( | ) | [protected, slot] |
| void KLettres::slotUpdateSettings | ( | ) | [protected, slot] |
| void KLettres::slotChangeLevel | ( | int | newLevel | ) | [protected, slot] |
| void KLettres::slotModeGrownup | ( | ) | [protected, slot] |
| void KLettres::slotModeKid | ( | ) | [protected, slot] |
| void KLettres::slotChangeTheme | ( | int | index | ) | [protected, slot] |
| void KLettres::optionsPreferences | ( | ) | [protected, slot] |
| void KLettres::loadSettings | ( | ) | [protected, slot] |
| void KLettres::slotPasteChar | ( | ) | [protected, slot] |
When a button is clicked on the characters toolbar, the corresponding character is written in the lineedit.
Definition at line 483 of file klettres.cpp.
Member Data Documentation
| KSelectAction* KLettres::m_languageAction |
Number corresponding to the selected language: 0 is Czech, 1 is Danish, 2 is English (default), 3 is French, 4 is Dutch, 5 is Slovak.
Action that sets up the Language menu
Definition at line 66 of file klettres.h.
KLettresView* KLettres::m_view [protected] |
KToggleAction* KLettres::m_menubarAction [protected] |
Action that enables the ShowMenuBar item in the Settings menu.
Definition at line 78 of file klettres.h.
KSelectAction* KLettres::m_levelAction [protected] |
KSelectAction* KLettres::m_themeAction [protected] |
KToggleAction* KLettres::m_kidAction [protected] |
KToggleAction* KLettres::m_grownupAction [protected] |
QLabel* KLettres::m_langLabel [protected] |
QLabel* KLettres::m_levLabel [protected] |
QStringList KLettres::m_levelsNames [protected] |
QStringList KLettres::m_themesNames [protected] |
KToolBar* KLettres::m_mainToolbar [protected] |
KToolBar* KLettres::specialCharToolbar [protected] |
Second toolbar with buttons of special characters per language.
Definition at line 98 of file klettres.h.
bool KLettres::menuBool [protected] |
KLNewStuff* KLettres::mNewStuff [protected] |
QStringList KLettres::allData [protected] |
All the special characters from a language file, these characters will be as buttons on the Special Characters Toolbar.
Definition at line 121 of file klettres.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference