You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.4 KiB

begin : Thu Jul 17
copyright : (C) 2001-2004 by George Wright
email :
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
#ifndef KLATIN_H
#define KLATIN_H
#include <config.h>
#include <tdeactionclasses.h>
#include <klineedit.h>
#include <tdemainwindow.h>
#include "klatinchoose.h"
#include "klatingrammar.h"
#include "klatinverbs.h"
#include "klatinvocab.h"
#include "klatinsettings_vocabpage.h"
/** @short Main application class */
class KLatin : public TDEMainWindow
KLatin(TQWidget* parent=0, const char *name=0);
void setupActions();
public slots:
/// Load vocabulary revision section
void loadVocab();
/// Load grammar revision section
void loadGrammar();
/// Load verb revision section
void loadVerbs();
/// Load revision notes in Konqueror
void loadRevision();
/// Parse settings from config file
void loadSettings();
/// Slot for the start button
void startClicked();
/// Reloads the section choose screen
void resetGUI();
private slots:
/// Slot for when settings are changed in the TDEConfig XT dialog
void settingsChanged();
void slotWriteMsg(const TQString&);
TDEAction *m_loadVocab;
TDEAction *m_loadGrammar;
TDEAction *m_loadVerbs;
TDEAction *m_loadRevision;
KLatinChoose *klatinchoose;
KLatinGrammar *klatingrammarsection;
KLatinVocab *klatinvocabsection;
KLatinVerbs *klatinverbssection;
VocabPage *vocabPage;
/// Current section loaded
int m_section;
* Enable/Disable the items in the Section menu
*@param bool if bool is true then the menu items are enabled
void updateSection(bool);
#endif // KLATIN_H