summaryrefslogtreecommitdiffstats
path: root/klatin
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:18 -0600
commitee52bb567f32fefdcf06e083c76562ea40ccf174 (patch)
tree8926667faaed3a18bec210ec14ffb9392ea8930d /klatin
parent088cc453ec425bf86d610880d09645ea166a14fa (diff)
downloadtdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.tar.gz
tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'klatin')
-rw-r--r--klatin/klatin/klatin.cpp10
-rw-r--r--klatin/klatin/klatin.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/klatin/klatin/klatin.cpp b/klatin/klatin/klatin.cpp
index d11a1bfa..71eb82e6 100644
--- a/klatin/klatin/klatin.cpp
+++ b/klatin/klatin/klatin.cpp
@@ -33,7 +33,7 @@
#include "settings.h"
KLatin::KLatin(TQWidget* parent, const char *name)
- : KMainWindow(parent, name)
+ : TDEMainWindow(parent, name)
{
m_section = 0;
@@ -54,10 +54,10 @@ void KLatin::setupActions()
{
// Setup various menu actions
KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(loadSettings()), actionCollection());
- m_loadVocab = new KAction(i18n("Load &Vocabulary"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadVocab()), actionCollection(), "go_vocab");
- m_loadGrammar = new KAction(i18n("Load &Grammar"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadGrammar()), actionCollection(), "go_grammar");
- m_loadVerbs = new KAction(i18n("Load V&erbs"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadVerbs()), actionCollection(), "go_verbs");
- m_loadRevision = new KAction(i18n("Load &Revision"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadRevision()), actionCollection(), "go_revision");
+ m_loadVocab = new TDEAction(i18n("Load &Vocabulary"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadVocab()), actionCollection(), "go_vocab");
+ m_loadGrammar = new TDEAction(i18n("Load &Grammar"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadGrammar()), actionCollection(), "go_grammar");
+ m_loadVerbs = new TDEAction(i18n("Load V&erbs"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadVerbs()), actionCollection(), "go_verbs");
+ m_loadRevision = new TDEAction(i18n("Load &Revision"), 0, TQT_TQOBJECT(this), TQT_SLOT(loadRevision()), actionCollection(), "go_revision");
KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection());
}
diff --git a/klatin/klatin/klatin.h b/klatin/klatin/klatin.h
index fc1c736b..7cff071a 100644
--- a/klatin/klatin/klatin.h
+++ b/klatin/klatin/klatin.h
@@ -33,7 +33,7 @@
#include "klatinsettings_vocabpage.h"
/** @short Main application class */
-class KLatin : public KMainWindow
+class KLatin : public TDEMainWindow
{
Q_OBJECT
@@ -68,10 +68,10 @@ private slots:
private:
- KAction *m_loadVocab;
- KAction *m_loadGrammar;
- KAction *m_loadVerbs;
- KAction *m_loadRevision;
+ TDEAction *m_loadVocab;
+ TDEAction *m_loadGrammar;
+ TDEAction *m_loadVerbs;
+ TDEAction *m_loadRevision;
KLatinChoose *klatinchoose;
KLatinGrammar *klatingrammarsection;