summaryrefslogtreecommitdiffstats
path: root/klatin
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 22:30:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 22:34:10 +0900
commitcf40f006901966bdf86163dbe5d1c7cb55f099ec (patch)
treeada95d7786d3412ed5b002061f6d1529c210c8f1 /klatin
parent0c53c58d50e69e4fb032e073e0bd40c9acde69d3 (diff)
downloadtdeedu-cf40f006901966bdf86163dbe5d1c7cb55f099ec.tar.gz
tdeedu-cf40f006901966bdf86163dbe5d1c7cb55f099ec.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'klatin')
-rw-r--r--klatin/klatin/klatin.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/klatin/klatin/klatin.cpp b/klatin/klatin/klatin.cpp
index dc393c4e..f226b69d 100644
--- a/klatin/klatin/klatin.cpp
+++ b/klatin/klatin/klatin.cpp
@@ -53,12 +53,12 @@ KLatin::~KLatin()
void KLatin::setupActions()
{
// Setup various menu actions
- KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(loadSettings()), actionCollection());
- 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());
+ KStdAction::preferences(this, TQT_SLOT(loadSettings()), actionCollection());
+ m_loadVocab = new TDEAction(i18n("Load &Vocabulary"), 0, this, TQT_SLOT(loadVocab()), actionCollection(), "go_vocab");
+ m_loadGrammar = new TDEAction(i18n("Load &Grammar"), 0, this, TQT_SLOT(loadGrammar()), actionCollection(), "go_grammar");
+ m_loadVerbs = new TDEAction(i18n("Load V&erbs"), 0, this, TQT_SLOT(loadVerbs()), actionCollection(), "go_verbs");
+ m_loadRevision = new TDEAction(i18n("Load &Revision"), 0, this, TQT_SLOT(loadRevision()), actionCollection(), "go_revision");
+ KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection());
}
void KLatin::startClicked()
@@ -91,7 +91,7 @@ void KLatin::loadVocab()
// When the child emits the signal exitted(),
// then reset the GUI to go back to the menu
- connect(klatinvocabsection, TQT_SIGNAL(exited()), TQT_TQOBJECT(this), TQT_SLOT(resetGUI()));
+ connect(klatinvocabsection, TQT_SIGNAL(exited()), this, TQT_SLOT(resetGUI()));
// Set the section variable
m_section = 1;
@@ -114,8 +114,8 @@ void KLatin::loadGrammar()
// When the child emits the signal exited(),
// then reset the GUI to go back to the menu
- connect(klatingrammarsection, TQT_SIGNAL(exited()), TQT_TQOBJECT(this), TQT_SLOT(resetGUI()));
- connect(klatingrammarsection, TQT_SIGNAL(statusMsg(const TQString&)), TQT_TQOBJECT(this), TQT_SLOT(slotWriteMsg(const TQString&)));
+ connect(klatingrammarsection, TQT_SIGNAL(exited()), this, TQT_SLOT(resetGUI()));
+ connect(klatingrammarsection, TQT_SIGNAL(statusMsg(const TQString&)), this, TQT_SLOT(slotWriteMsg(const TQString&)));
// Set the section variable
m_section = 2;
}
@@ -142,8 +142,8 @@ void KLatin::loadVerbs()
// When the child emits the signal exited(),
// then reset the GUI to go back to the menu
- connect(klatinverbssection, TQT_SIGNAL(exited()), TQT_TQOBJECT(this), TQT_SLOT(resetGUI()));
- connect(klatinverbssection, TQT_SIGNAL(statusMsg(const TQString&)), TQT_TQOBJECT(this), TQT_SLOT(slotWriteMsg(const TQString&)));
+ connect(klatinverbssection, TQT_SIGNAL(exited()), this, TQT_SLOT(resetGUI()));
+ connect(klatinverbssection, TQT_SIGNAL(statusMsg(const TQString&)), this, TQT_SLOT(slotWriteMsg(const TQString&)));
// Set the section variable
m_section = 3;
@@ -166,7 +166,7 @@ void KLatin::loadSettings()
vocabPage->kcfg_DefaultFile->setFilter("*.kvtml");
vocabPage->kcfg_DefaultFile->setCaption(i18n("Load Vocabulary File"));
dialog->addPage(vocabPage, i18n("Vocabulary"), "kdict");
- connect(dialog, TQT_SIGNAL(settingsChanged()), TQT_TQOBJECT(this), TQT_SLOT(settingsChanged()));
+ connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(settingsChanged()));
dialog->show();
}
@@ -189,7 +189,7 @@ void KLatin::resetGUI()
setCentralWidget(klatinchoose);
// Connect the "Start" button to slot StartPressed()
- connect(klatinchoose->StartButton, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(startClicked()));
+ connect(klatinchoose->StartButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(startClicked()));
// Make the quit button quit the application :)
connect(klatinchoose->QuitButton, TQT_SIGNAL(clicked()), kapp, TQT_SLOT(quit()));