summaryrefslogtreecommitdiffstats
path: root/kverbos
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commiteb570158698cf61dad4f77d950ef908160f6c3cc (patch)
tree649bf182bcf0a20bed5035d25ffd77de5aee138a /kverbos
parentd8762de95349dc6edaa34db9bf699b367c1af6b1 (diff)
downloadtdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.tar.gz
tdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kverbos')
-rw-r--r--kverbos/kverbos/kerfassen.cpp4
-rw-r--r--kverbos/kverbos/kerfassen.h2
-rw-r--r--kverbos/kverbos/kresult.cpp4
-rw-r--r--kverbos/kverbos/kresult.h2
-rw-r--r--kverbos/kverbos/kstartuplogo.cpp4
-rw-r--r--kverbos/kverbos/kstartuplogo.h2
-rw-r--r--kverbos/kverbos/kverbedit.cpp4
-rw-r--r--kverbos/kverbos/kverbedit.h2
-rw-r--r--kverbos/kverbos/kverbos.h2
-rw-r--r--kverbos/kverbos/kverbosdoc.cpp6
-rw-r--r--kverbos/kverbos/kverbosdoc.h2
-rw-r--r--kverbos/kverbos/kverbosoptions.cpp4
-rw-r--r--kverbos/kverbos/kverbosoptions.h2
-rw-r--r--kverbos/kverbos/kverbosview.cpp4
-rw-r--r--kverbos/kverbos/kverbosview.h4
15 files changed, 24 insertions, 24 deletions
diff --git a/kverbos/kverbos/kerfassen.cpp b/kverbos/kverbos/kerfassen.cpp
index b937b89f..0fbc20c4 100644
--- a/kverbos/kverbos/kerfassen.cpp
+++ b/kverbos/kverbos/kerfassen.cpp
@@ -31,8 +31,8 @@
// Die Konstruktoren sollen sicherstellen, dass am Anfang die Karteikarten und
// die Eingabefelder für Gerund und Partizip nicht aktiviert sind.
// Das Dialogfeld in den Zustand nicht geändert versetzen.
-KErfassen::KErfassen(spanishVerbList& l, int pos, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
-: QErfassen(tqparent, name, modal, fl), liste(l)
+KErfassen::KErfassen(spanishVerbList& l, int pos, TQWidget* parent, const char* name, bool modal, WFlags fl)
+: QErfassen(parent, name, modal, fl), liste(l)
{
formEdit[0][0] = EditYo2_1;
formEdit[1][0] = EditTu2_1;
diff --git a/kverbos/kverbos/kerfassen.h b/kverbos/kverbos/kerfassen.h
index 7916d712..b1a3a74f 100644
--- a/kverbos/kverbos/kerfassen.h
+++ b/kverbos/kverbos/kerfassen.h
@@ -38,7 +38,7 @@ public:
* Verben in die Liste eingef�gt werden k�nnen. Es wird auch ein Iterator �bergeben, der
* anzeigt, wo mit dem editieren begonnen werden soll.
*/
- KErfassen(spanishVerbList& l, int pos = -1, TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+ KErfassen(spanishVerbList& l, int pos = -1, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
/** der Destruktor */
virtual ~KErfassen();
/** Gibt zur�ck, ob durch den Ablauf des Dialoges eine �nderung an der
diff --git a/kverbos/kverbos/kresult.cpp b/kverbos/kverbos/kresult.cpp
index 292dbe21..2eb5b6c1 100644
--- a/kverbos/kverbos/kresult.cpp
+++ b/kverbos/kverbos/kresult.cpp
@@ -23,8 +23,8 @@
#include <klocale.h>
-KResult::KResult(KVerbosUser* pU, TQWidget* tqparent, const char* name, bool modal, WFlags fl )
-: QResult(tqparent, name, modal, fl)
+KResult::KResult(KVerbosUser* pU, TQWidget* parent, const char* name, bool modal, WFlags fl )
+: QResult(parent, name, modal, fl)
{
int sessions;
TQString date[10];
diff --git a/kverbos/kverbos/kresult.h b/kverbos/kverbos/kresult.h
index 715c27ab..e4aee250 100644
--- a/kverbos/kverbos/kresult.h
+++ b/kverbos/kverbos/kresult.h
@@ -28,7 +28,7 @@
class KResult : public QResult {
public:
- KResult(KVerbosUser* pU, TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ KResult(KVerbosUser* pU, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~KResult();
public slots:
/** Wird durch den OK-Button aufgerufen und beendet den Dialog.
diff --git a/kverbos/kverbos/kstartuplogo.cpp b/kverbos/kverbos/kstartuplogo.cpp
index b31050d0..b01088ec 100644
--- a/kverbos/kverbos/kstartuplogo.cpp
+++ b/kverbos/kverbos/kstartuplogo.cpp
@@ -20,8 +20,8 @@
#include <kstandarddirs.h>
#include <kglobalsettings.h>
-KStartupLogo::KStartupLogo(TQWidget * tqparent, const char *name)
-: TQWidget(tqparent,name,WStyle_Customize | WStyle_NoBorder )
+KStartupLogo::KStartupLogo(TQWidget * parent, const char *name)
+: TQWidget(parent,name,WStyle_Customize | WStyle_NoBorder )
{
TQPixmap pm;
pm.load(locate("appdata", "pics/startuplogo.png"));
diff --git a/kverbos/kverbos/kstartuplogo.h b/kverbos/kverbos/kstartuplogo.h
index c83e7201..7fdfd800 100644
--- a/kverbos/kverbos/kstartuplogo.h
+++ b/kverbos/kverbos/kstartuplogo.h
@@ -28,7 +28,7 @@ class KStartupLogo : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
- KStartupLogo(TQWidget *tqparent=0, const char *name=0);
+ KStartupLogo(TQWidget *parent=0, const char *name=0);
~KStartupLogo();
protected:
virtual bool event(TQEvent*);
diff --git a/kverbos/kverbos/kverbedit.cpp b/kverbos/kverbos/kverbedit.cpp
index c4b8c800..7e7bcde8 100644
--- a/kverbos/kverbos/kverbedit.cpp
+++ b/kverbos/kverbos/kverbedit.cpp
@@ -24,8 +24,8 @@
* die Liste der Verben bearbeitet werden kann. Zu Beginn mssen alle Verben
* aus der Liste in eine dialogeigene Liste und die TQListView bertragen werden.
*/
-KVerbEdit::KVerbEdit(spanishVerbList& l, TQWidget* tqparent /*= 0*/, const char* name /*= 0*/, bool modal /*= FALSE*/, WFlags fl /*= 0*/)
-: QVerbEdit(tqparent, name, modal, fl), list(l)
+KVerbEdit::KVerbEdit(spanishVerbList& l, TQWidget* parent /*= 0*/, const char* name /*= 0*/, bool modal /*= FALSE*/, WFlags fl /*= 0*/)
+: QVerbEdit(parent, name, modal, fl), list(l)
{
// Die Spaltenbreiten anpassen
ListView1->setColumnWidthMode(0, TQListView::Manual);
diff --git a/kverbos/kverbos/kverbedit.h b/kverbos/kverbos/kverbedit.h
index d9dcd7f4..54b1a6bd 100644
--- a/kverbos/kverbos/kverbedit.h
+++ b/kverbos/kverbos/kverbedit.h
@@ -34,7 +34,7 @@ public:
/** An die Dialogklasse wird direkt die Verbliste �bergeben, damit
* die Liste der Verben bearbeitet werden kann.
*/
- KVerbEdit(spanishVerbList& l, TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+ KVerbEdit(spanishVerbList& l, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
~KVerbEdit();
/** kopiert die Liste in die ListView. */
void listToView();
diff --git a/kverbos/kverbos/kverbos.h b/kverbos/kverbos/kverbos.h
index aced0440..505e28f9 100644
--- a/kverbos/kverbos/kverbos.h
+++ b/kverbos/kverbos/kverbos.h
@@ -64,7 +64,7 @@ class KVerbosApp : public KMainWindow
public:
/** construtor of KVerbosApp, calls all init functions to create the application.
*/
- KVerbosApp(TQWidget* tqparent=0, const char* name=0);
+ KVerbosApp(TQWidget* parent=0, const char* name=0);
~KVerbosApp();
/** opens a file specified by commandline option
*/
diff --git a/kverbos/kverbos/kverbosdoc.cpp b/kverbos/kverbos/kverbosdoc.cpp
index c3d97e1d..1abb6774 100644
--- a/kverbos/kverbos/kverbosdoc.cpp
+++ b/kverbos/kverbos/kverbosdoc.cpp
@@ -39,7 +39,7 @@
TQPtrList<KVerbosView> *KVerbosDoc::pViewList = 0L;
-KVerbosDoc::KVerbosDoc(TQWidget *tqparent, const char *name) : TQObject(tqparent, name)
+KVerbosDoc::KVerbosDoc(TQWidget *parent, const char *name) : TQObject(parent, name)
{
if(!pViewList)
{
@@ -101,7 +101,7 @@ bool KVerbosDoc::saveModified()
if(modified)
{
- KVerbosApp *win=(KVerbosApp *) tqparent();
+ KVerbosApp *win=(KVerbosApp *) parent();
int want_save = KMessageBox::warningYesNoCancel(win,
i18n("The current file has been modified.\nDo you want to save it?"),
i18n("Warning"),KStdGuiItem::save(),KStdGuiItem::discard());
@@ -689,7 +689,7 @@ TQString KVerbosDoc::getAuswahl(TQString s[][3], int &t)
int ti[MAX_TIEMPOS*MAX_SUBTYPES], ty[MAX_TIEMPOS*MAX_SUBTYPES];
bool op[MAX_TIEMPOS][MAX_SUBTYPES];
int zeitenZahl = 0;
- KVerbosApp *app = dynamic_cast<KVerbosApp*>(tqparent());
+ KVerbosApp *app = dynamic_cast<KVerbosApp*>(parent());
if (app) {
app->getTimeOptions(op);
}
diff --git a/kverbos/kverbos/kverbosdoc.h b/kverbos/kverbos/kverbosdoc.h
index 20e5753d..41dbc2c4 100644
--- a/kverbos/kverbos/kverbosdoc.h
+++ b/kverbos/kverbos/kverbosdoc.h
@@ -66,7 +66,7 @@ class KVerbosDoc : public TQObject
/**
* Constructor for the fileclass of the application
*/
- KVerbosDoc(TQWidget *tqparent, const char *name=0);
+ KVerbosDoc(TQWidget *parent, const char *name=0);
/**
* Destructor for the fileclass of the application
*/
diff --git a/kverbos/kverbos/kverbosoptions.cpp b/kverbos/kverbos/kverbosoptions.cpp
index c9b4ecaa..381e058b 100644
--- a/kverbos/kverbos/kverbosoptions.cpp
+++ b/kverbos/kverbos/kverbosoptions.cpp
@@ -19,8 +19,8 @@
#include "tqcheckbox.h"
#include "kverbosoptions.h"
-KVerbosOptions::KVerbosOptions( TQWidget* tqparent /*= 0*/, const char* name /*= 0*/, bool modal /*= FALSE*/, WFlags fl /*= 0*/ )
-: QVerbosOptions(tqparent, name, modal, fl)
+KVerbosOptions::KVerbosOptions( TQWidget* parent /*= 0*/, const char* name /*= 0*/, bool modal /*= FALSE*/, WFlags fl /*= 0*/ )
+: QVerbosOptions(parent, name, modal, fl)
{
// some times are disabled because they aren't ready yet.
LabelSubPasado->setEnabled(false);
diff --git a/kverbos/kverbos/kverbosoptions.h b/kverbos/kverbos/kverbosoptions.h
index 5531e0c0..dfd80855 100644
--- a/kverbos/kverbos/kverbosoptions.h
+++ b/kverbos/kverbos/kverbosoptions.h
@@ -27,7 +27,7 @@
class KVerbosOptions : public QVerbosOptions {
public:
- KVerbosOptions( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ KVerbosOptions( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~KVerbosOptions();
public slots:
diff --git a/kverbos/kverbos/kverbosview.cpp b/kverbos/kverbos/kverbosview.cpp
index ddbc82a0..bb62cba5 100644
--- a/kverbos/kverbos/kverbosview.cpp
+++ b/kverbos/kverbos/kverbosview.cpp
@@ -33,7 +33,7 @@
#include "verbspanish.h"
-KVerbosView::KVerbosView(TQWidget *tqparent, const char *name) : QLernen/*TQWidget*/(tqparent, name)
+KVerbosView::KVerbosView(TQWidget *parent, const char *name) : QLernen/*TQWidget*/(parent, name)
{
// Hier wird gesetzt, wie der Hintergrund des Fensters zu zeichnen ist.
setBackgroundMode(PaletteBackground);
@@ -258,7 +258,7 @@ void KVerbosView::slotCorregir()
richtig = false;
};
// die Formen vergleichen
- KVerbosApp* kApp = dynamic_cast<KVerbosApp*>(tqparent());
+ KVerbosApp* kApp = dynamic_cast<KVerbosApp*>(parent());
if (!kApp) {
return;
}
diff --git a/kverbos/kverbos/kverbosview.h b/kverbos/kverbos/kverbosview.h
index 2f681ff6..266b784c 100644
--- a/kverbos/kverbos/kverbosview.h
+++ b/kverbos/kverbos/kverbosview.h
@@ -63,11 +63,11 @@ class KVerbosView : public QLernen /*TQWidget*/
TQ_OBJECT
public:
/** Constructor for the main view */
- KVerbosView(TQWidget *tqparent = 0, const char *name=0);
+ KVerbosView(TQWidget *parent = 0, const char *name=0);
/** Destructor for the main view */
~KVerbosView();
- /** returns a pointer to the document connected to the view instance. Mind that this method requires a KVerbosApp instance as a tqparent
+ /** returns a pointer to the document connected to the view instance. Mind that this method requires a KVerbosApp instance as a parent
* widget to get to the window document pointer by calling the KVerbosApp::getDocument() method.
*
* @see KVerbosApp#getDocument