summaryrefslogtreecommitdiffstats
path: root/klatin/klatin/klatin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klatin/klatin/klatin.cpp')
-rw-r--r--klatin/klatin/klatin.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/klatin/klatin/klatin.cpp b/klatin/klatin/klatin.cpp
index 118c89a1..09a8a426 100644
--- a/klatin/klatin/klatin.cpp
+++ b/klatin/klatin/klatin.cpp
@@ -13,7 +13,7 @@
* *
***************************************************************************/
-#include <qradiobutton.h>
+#include <tqradiobutton.h>
#include <kapplication.h>
#include <kconfigdialog.h>
@@ -32,7 +32,7 @@
#include "klatin.h"
#include "settings.h"
-KLatin::KLatin(QWidget* parent, const char *name)
+KLatin::KLatin(TQWidget* parent, const char *name)
: KMainWindow(parent, name)
{
m_section = 0;
@@ -53,12 +53,12 @@ KLatin::~KLatin()
void KLatin::setupActions()
{
// Setup various menu actions
- KStdAction::preferences(this, SLOT(loadSettings()), actionCollection());
- m_loadVocab = new KAction(i18n("Load &Vocabulary"), 0, this, SLOT(loadVocab()), actionCollection(), "go_vocab");
- m_loadGrammar = new KAction(i18n("Load &Grammar"), 0, this, SLOT(loadGrammar()), actionCollection(), "go_grammar");
- m_loadVerbs = new KAction(i18n("Load V&erbs"), 0, this, SLOT(loadVerbs()), actionCollection(), "go_verbs");
- m_loadRevision = new KAction(i18n("Load &Revision"), 0, this, SLOT(loadRevision()), actionCollection(), "go_revision");
- KStdAction::quit(kapp, SLOT(quit()), actionCollection());
+ KStdAction::preferences(this, TQT_SLOT(loadSettings()), actionCollection());
+ m_loadVocab = new KAction(i18n("Load &Vocabulary"), 0, this, TQT_SLOT(loadVocab()), actionCollection(), "go_vocab");
+ m_loadGrammar = new KAction(i18n("Load &Grammar"), 0, this, TQT_SLOT(loadGrammar()), actionCollection(), "go_grammar");
+ m_loadVerbs = new KAction(i18n("Load V&erbs"), 0, this, TQT_SLOT(loadVerbs()), actionCollection(), "go_verbs");
+ m_loadRevision = new KAction(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, SIGNAL(exited()), this, SLOT(resetGUI()));
+ connect(klatinvocabsection, TQT_SIGNAL(exited()), this, TQT_SLOT(resetGUI()));
// Set the section variable
m_section = 1;
@@ -114,13 +114,13 @@ void KLatin::loadGrammar()
// When the child emits the signal exited(),
// then reset the GUI to go back to the menu
- connect(klatingrammarsection, SIGNAL(exited()), this, SLOT(resetGUI()));
- connect(klatingrammarsection, SIGNAL(statusMsg(const QString&)), this, SLOT(slotWriteMsg(const QString&)));
+ 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;
}
-void KLatin::slotWriteMsg(const QString& message)
+void KLatin::slotWriteMsg(const TQString& message)
{
statusBar()->message(message);
}
@@ -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, SIGNAL(exited()), this, SLOT(resetGUI()));
- connect(klatinverbssection, SIGNAL(statusMsg(const QString&)), this, SLOT(slotWriteMsg(const QString&)));
+ 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, SIGNAL(settingsChanged()), this, SLOT(settingsChanged()));
+ connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(settingsChanged()));
dialog->show();
}
@@ -189,9 +189,9 @@ void KLatin::resetGUI()
setCentralWidget(klatinchoose);
// Connect the "Start" button to slot StartPressed()
- connect(klatinchoose->StartButton, SIGNAL(clicked()), this, SLOT(startClicked()));
+ connect(klatinchoose->StartButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(startClicked()));
// Make the quit button quit the application :)
- connect(klatinchoose->QuitButton, SIGNAL(clicked()), kapp, SLOT(quit()));
+ connect(klatinchoose->QuitButton, TQT_SIGNAL(clicked()), kapp, TQT_SLOT(quit()));
// Enable all the menu entries under Section/
updateSection(TRUE);