summaryrefslogtreecommitdiffstats
path: root/kanagram/src
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src')
-rw-r--r--kanagram/src/kanagramgame.cpp4
-rw-r--r--kanagram/src/kanagramgame.h2
-rw-r--r--kanagram/src/keduvocdocument.cpp10
-rw-r--r--kanagram/src/keduvocdocument.h2
-rw-r--r--kanagram/src/leitnersystemview.cpp4
-rw-r--r--kanagram/src/leitnersystemview.h2
-rw-r--r--kanagram/src/mainsettings.cpp6
-rw-r--r--kanagram/src/mainsettings.h2
-rw-r--r--kanagram/src/newstuff.cpp2
-rw-r--r--kanagram/src/newstuff.h2
-rw-r--r--kanagram/src/vocabedit.cpp2
-rw-r--r--kanagram/src/vocabedit.h4
-rw-r--r--kanagram/src/vocabsettings.cpp2
-rw-r--r--kanagram/src/vocabsettings.h2
14 files changed, 23 insertions, 23 deletions
diff --git a/kanagram/src/kanagramgame.cpp b/kanagram/src/kanagramgame.cpp
index 8cbc9638..207e607b 100644
--- a/kanagram/src/kanagramgame.cpp
+++ b/kanagram/src/kanagramgame.cpp
@@ -34,9 +34,9 @@
#include <stdlib.h>
-KanagramGame::KanagramGame(TQWidget* tqparent) : m_index(0)
+KanagramGame::KanagramGame(TQWidget* parent) : m_index(0)
{
- m_parent = tqparent;
+ m_parent = parent;
loadDefaultVocab();
}
diff --git a/kanagram/src/kanagramgame.h b/kanagram/src/kanagramgame.h
index 09b6c077..b78640b7 100644
--- a/kanagram/src/kanagramgame.h
+++ b/kanagram/src/kanagramgame.h
@@ -33,7 +33,7 @@ class KanagramGame : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- KanagramGame(TQWidget *tqparent);
+ KanagramGame(TQWidget *parent);
~KanagramGame();
void refreshVocabList();
void loadDefaultVocab();
diff --git a/kanagram/src/keduvocdocument.cpp b/kanagram/src/keduvocdocument.cpp
index 2563d539..0354b522 100644
--- a/kanagram/src/keduvocdocument.cpp
+++ b/kanagram/src/keduvocdocument.cpp
@@ -44,7 +44,7 @@ using namespace std;
// KEduVocDocument
//********************************************************
-KEduVocDocument::KEduVocDocument(TQObject * /*tqparent*/)
+KEduVocDocument::KEduVocDocument(TQObject * /*parent*/)
{
Init();
}
@@ -99,7 +99,7 @@ bool KEduVocDocument::open(const KURL& url, bool /*append*/)
if (!url.isEmpty())
doc_url = url;
- // TODO EPT connect( this, TQT_SIGNAL(progressChanged(KEduVocDocument*,int)), tqparent, TQT_SLOT(slotProgress(KEduVocDocument*,int)) );
+ // TODO EPT connect( this, TQT_SIGNAL(progressChanged(KEduVocDocument*,int)), parent, TQT_SLOT(slotProgress(KEduVocDocument*,int)) );
TQString tmpfile;
if (KIO::NetAccess::download( url, tmpfile, 0 ))
@@ -180,9 +180,9 @@ bool KEduVocDocument::open(const KURL& url, bool /*append*/)
}
-bool KEduVocDocument::saveAs(TQObject * /*tqparent*/, const KURL & url, FileType ft, const TQString & generator)
+bool KEduVocDocument::saveAs(TQObject * /*parent*/, const KURL & url, FileType ft, const TQString & generator)
{
-// connect( this, TQT_SIGNAL(progressChanged(KEduVocDocument*,int)), tqparent, TQT_SLOT(slotProgress(KEduVocDocument*,int)) );
+// connect( this, TQT_SIGNAL(progressChanged(KEduVocDocument*,int)), parent, TQT_SLOT(slotProgress(KEduVocDocument*,int)) );
KURL tmp (url);
@@ -717,7 +717,7 @@ void KEduVocDocument::setLeitnerSystem( LeitnerSystem* system )
{
leitnerSystem = system;
- /*KWordQuizApp* app = (KWordQuizApp*) tqparent();
+ /*KWordQuizApp* app = (KWordQuizApp*) parent();
app->slotLeitnerSystem();*/
}
diff --git a/kanagram/src/keduvocdocument.h b/kanagram/src/keduvocdocument.h
index 468f3089..b84430bb 100644
--- a/kanagram/src/keduvocdocument.h
+++ b/kanagram/src/keduvocdocument.h
@@ -440,7 +440,7 @@ class KEduVocDocument : public TQObject
* @param url if url is empty (or NULL) actual name is preserved
* @result true if successful
*/
- bool saveAs(TQObject *tqparent, const KURL & url, FileType ft, const TQString & generator);
+ bool saveAs(TQObject *parent, const KURL & url, FileType ft, const TQString & generator);
/** returns count of entries
*/
diff --git a/kanagram/src/leitnersystemview.cpp b/kanagram/src/leitnersystemview.cpp
index e49c0e07..1b8fc961 100644
--- a/kanagram/src/leitnersystemview.cpp
+++ b/kanagram/src/leitnersystemview.cpp
@@ -20,8 +20,8 @@
#include <kdebug.h>
-LeitnerSystemView::LeitnerSystemView(TQWidget * tqparent, const char* name, WFlags f)
- : TQScrollView(tqparent, name, f)
+LeitnerSystemView::LeitnerSystemView(TQWidget * parent, const char* name, WFlags f)
+ : TQScrollView(parent, name, f)
{
m_highlightedBox = -1;
}
diff --git a/kanagram/src/leitnersystemview.h b/kanagram/src/leitnersystemview.h
index 11108f9f..78098dea 100644
--- a/kanagram/src/leitnersystemview.h
+++ b/kanagram/src/leitnersystemview.h
@@ -28,7 +28,7 @@ class LeitnerSystemView : public TQScrollView
TQ_OBJECT
public:
- LeitnerSystemView(TQWidget* tqparent = 0, const char* name = 0, WFlags f = 0);
+ LeitnerSystemView(TQWidget* parent = 0, const char* name = 0, WFlags f = 0);
~LeitnerSystemView();
diff --git a/kanagram/src/mainsettings.cpp b/kanagram/src/mainsettings.cpp
index 0275b530..1e026758 100644
--- a/kanagram/src/mainsettings.cpp
+++ b/kanagram/src/mainsettings.cpp
@@ -35,11 +35,11 @@
#include "mainsettings.h"
#include "kanagramsettings.h"
-MainSettings::MainSettings(TQWidget *tqparent) : MainSettingsWidget(tqparent)
+MainSettings::MainSettings(TQWidget *parent) : MainSettingsWidget(parent)
{
- m_parent = (KConfigDialog*)tqparent;
+ m_parent = (KConfigDialog*)parent;
- connect(tqparent, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(slotChangeTranslation()));
+ connect(parent, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(slotChangeTranslation()));
connect(cboxTranslation, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdateParent()));
setupTranslations();
diff --git a/kanagram/src/mainsettings.h b/kanagram/src/mainsettings.h
index c82d8fd6..b43ddd29 100644
--- a/kanagram/src/mainsettings.h
+++ b/kanagram/src/mainsettings.h
@@ -32,7 +32,7 @@ class MainSettings : public MainSettingsWidget
Q_OBJECT
TQ_OBJECT
public:
- MainSettings(TQWidget *tqparent);
+ MainSettings(TQWidget *parent);
~MainSettings();
public slots:
diff --git a/kanagram/src/newstuff.cpp b/kanagram/src/newstuff.cpp
index d437f953..7c72f938 100644
--- a/kanagram/src/newstuff.cpp
+++ b/kanagram/src/newstuff.cpp
@@ -11,7 +11,7 @@
#include "kanagramsettings.h"
#include "newstuffdialog.h"
-NewStuff::NewStuff(TQWidget *tqparent) : NewStuffWidget(tqparent)
+NewStuff::NewStuff(TQWidget *parent) : NewStuffWidget(parent)
{
connect(btnGetNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotGetNewVocabs()));
}
diff --git a/kanagram/src/newstuff.h b/kanagram/src/newstuff.h
index 880f5e7d..c75c6f61 100644
--- a/kanagram/src/newstuff.h
+++ b/kanagram/src/newstuff.h
@@ -8,7 +8,7 @@ class NewStuff : public NewStuffWidget
Q_OBJECT
TQ_OBJECT
public:
- NewStuff(TQWidget *tqparent);
+ NewStuff(TQWidget *parent);
~NewStuff();
private slots:
diff --git a/kanagram/src/vocabedit.cpp b/kanagram/src/vocabedit.cpp
index df63da27..2e964065 100644
--- a/kanagram/src/vocabedit.cpp
+++ b/kanagram/src/vocabedit.cpp
@@ -41,7 +41,7 @@
#include "kanagramsettings.h"
-VocabEdit::VocabEdit(TQWidget *tqparent, TQString fileName) : VocabEditWidget(tqparent), m_fileName("")
+VocabEdit::VocabEdit(TQWidget *parent, TQString fileName) : VocabEditWidget(parent), m_fileName("")
{
if(fileName != "")
{
diff --git a/kanagram/src/vocabedit.h b/kanagram/src/vocabedit.h
index 99b0e868..e18678ad 100644
--- a/kanagram/src/vocabedit.h
+++ b/kanagram/src/vocabedit.h
@@ -34,8 +34,8 @@ class VocabEdit : public VocabEditWidget
Q_OBJECT
TQ_OBJECT
public:
- VocabEdit(TQWidget *tqparent);
- VocabEdit(TQWidget *tqparent, TQString fileName);
+ VocabEdit(TQWidget *parent);
+ VocabEdit(TQWidget *parent, TQString fileName);
~VocabEdit();
public slots:
diff --git a/kanagram/src/vocabsettings.cpp b/kanagram/src/vocabsettings.cpp
index 97d05162..fd66b194 100644
--- a/kanagram/src/vocabsettings.cpp
+++ b/kanagram/src/vocabsettings.cpp
@@ -16,7 +16,7 @@
#include "keduvocdocument.h"
#include "kanagramsettings.h"
-VocabSettings::VocabSettings(TQWidget *tqparent) : VocabSettingsWidget(tqparent)
+VocabSettings::VocabSettings(TQWidget *parent) : VocabSettingsWidget(parent)
{
connect(btnCreateNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateNew()));
connect(btnEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEdit()));
diff --git a/kanagram/src/vocabsettings.h b/kanagram/src/vocabsettings.h
index a2e30c1d..77e22cb3 100644
--- a/kanagram/src/vocabsettings.h
+++ b/kanagram/src/vocabsettings.h
@@ -8,7 +8,7 @@ class VocabSettings : public VocabSettingsWidget
Q_OBJECT
TQ_OBJECT
public:
- VocabSettings(TQWidget *tqparent);
+ VocabSettings(TQWidget *parent);
~VocabSettings();
void refreshView();