summaryrefslogtreecommitdiffstats
path: root/ktouch/src
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 /ktouch/src
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 'ktouch/src')
-rw-r--r--ktouch/src/ktouchchartwidget.cpp4
-rw-r--r--ktouch/src/ktouchchartwidget.h2
-rw-r--r--ktouch/src/ktouchcoloreditor.cpp4
-rw-r--r--ktouch/src/ktouchcoloreditor.h2
-rw-r--r--ktouch/src/ktouchkeyboardeditor.cpp4
-rw-r--r--ktouch/src/ktouchkeyboardeditor.h2
-rw-r--r--ktouch/src/ktouchkeyboardwidget.cpp4
-rw-r--r--ktouch/src/ktouchkeyboardwidget.h2
-rw-r--r--ktouch/src/ktouchlectureeditor.cpp4
-rw-r--r--ktouch/src/ktouchlectureeditor.h2
-rw-r--r--ktouch/src/ktouchopenrequest.cpp4
-rw-r--r--ktouch/src/ktouchopenrequest.h2
-rw-r--r--ktouch/src/ktouchslideline.cpp4
-rw-r--r--ktouch/src/ktouchslideline.h2
-rw-r--r--ktouch/src/ktouchstatistics.cpp4
-rw-r--r--ktouch/src/ktouchstatistics.h2
-rw-r--r--ktouch/src/ktouchstatus.cpp4
-rw-r--r--ktouch/src/ktouchstatus.h2
18 files changed, 27 insertions, 27 deletions
diff --git a/ktouch/src/ktouchchartwidget.cpp b/ktouch/src/ktouchchartwidget.cpp
index 5eec6633..43e3642a 100644
--- a/ktouch/src/ktouchchartwidget.cpp
+++ b/ktouch/src/ktouchchartwidget.cpp
@@ -20,8 +20,8 @@
#include <numeric> // for mathematical functions
#include <cmath>
-KTouchChartWidget::KTouchChartWidget(TQWidget* tqparent, const char *name)
- : KPlotWidget(0.0, 1.0, 0.0, 1.0, tqparent, name)
+KTouchChartWidget::KTouchChartWidget(TQWidget* parent, const char *name)
+ : KPlotWidget(0.0, 1.0, 0.0, 1.0, parent, name)
{
setShowGrid( false ); // no grid please
setBGColor( TQColor( "white" ) );
diff --git a/ktouch/src/ktouchchartwidget.h b/ktouch/src/ktouchchartwidget.h
index 00193e5a..89255a77 100644
--- a/ktouch/src/ktouchchartwidget.h
+++ b/ktouch/src/ktouchchartwidget.h
@@ -27,7 +27,7 @@ class KTouchChartWidget : public KPlotWidget {
TQ_OBJECT
public:
/// Constructor.
- KTouchChartWidget(TQWidget* tqparent, const char *name=0);
+ KTouchChartWidget(TQWidget* parent, const char *name=0);
/// Destructor.
~KTouchChartWidget();
};
diff --git a/ktouch/src/ktouchcoloreditor.cpp b/ktouch/src/ktouchcoloreditor.cpp
index b1f3e3a4..26784fa2 100644
--- a/ktouch/src/ktouchcoloreditor.cpp
+++ b/ktouch/src/ktouchcoloreditor.cpp
@@ -23,8 +23,8 @@
#include <klocale.h>
#include <kmessagebox.h>
-KTouchColorEditor::KTouchColorEditor(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
-: KTouchColorEditorDlg(tqparent,name, modal,fl)
+KTouchColorEditor::KTouchColorEditor(TQWidget* parent, const char* name, bool modal, WFlags fl)
+: KTouchColorEditorDlg(parent,name, modal,fl)
{
}
// ----------------------------------------------------------------------------
diff --git a/ktouch/src/ktouchcoloreditor.h b/ktouch/src/ktouchcoloreditor.h
index ce532d6a..920e7ae4 100644
--- a/ktouch/src/ktouchcoloreditor.h
+++ b/ktouch/src/ktouchcoloreditor.h
@@ -31,7 +31,7 @@ class KTouchColorEditor : public KTouchColorEditorDlg
public:
/// Constructor
- KTouchColorEditor(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ KTouchColorEditor(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
/// Destructor
~KTouchColorEditor();
diff --git a/ktouch/src/ktouchkeyboardeditor.cpp b/ktouch/src/ktouchkeyboardeditor.cpp
index 17c87997..dd7b0a79 100644
--- a/ktouch/src/ktouchkeyboardeditor.cpp
+++ b/ktouch/src/ktouchkeyboardeditor.cpp
@@ -34,8 +34,8 @@
// ***** Public functions ***
// **************************
-KTouchKeyboardEditor::KTouchKeyboardEditor(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : KTouchKeyboardEditorDlg(tqparent,name, modal,fl)
+KTouchKeyboardEditor::KTouchKeyboardEditor(TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : KTouchKeyboardEditorDlg(parent,name, modal,fl)
{
}
// -----------------------------------------------------------------------------
diff --git a/ktouch/src/ktouchkeyboardeditor.h b/ktouch/src/ktouchkeyboardeditor.h
index 8b36da95..f39dcf89 100644
--- a/ktouch/src/ktouchkeyboardeditor.h
+++ b/ktouch/src/ktouchkeyboardeditor.h
@@ -45,7 +45,7 @@ class KTouchKeyboardEditor : public KTouchKeyboardEditorDlg {
public:
/// Constructor.
- KTouchKeyboardEditor(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ KTouchKeyboardEditor(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
/// Default destructor.
~KTouchKeyboardEditor() {}
/// Shows and executes the dialog (argument is the url to the default or
diff --git a/ktouch/src/ktouchkeyboardwidget.cpp b/ktouch/src/ktouchkeyboardwidget.cpp
index bbf42687..e5974acd 100644
--- a/ktouch/src/ktouchkeyboardwidget.cpp
+++ b/ktouch/src/ktouchkeyboardwidget.cpp
@@ -35,8 +35,8 @@ TQMap<TQChar, int> KTouchKeyboardWidget::m_keyCharMap;
// --------------------------------------------------------------------------
-KTouchKeyboardWidget::KTouchKeyboardWidget(TQWidget *tqparent)
- : TQWidget(tqparent), m_keyboardWidth(100), m_keyboardHeight(60), m_currentLayout(""),
+KTouchKeyboardWidget::KTouchKeyboardWidget(TQWidget *parent)
+ : TQWidget(parent), m_keyboardWidth(100), m_keyboardHeight(60), m_currentLayout(""),
m_hideKeyboard(false)
{
setMinimumHeight(100); // when it's smaller you won't see anything
diff --git a/ktouch/src/ktouchkeyboardwidget.h b/ktouch/src/ktouchkeyboardwidget.h
index c75775ae..d49d58e6 100644
--- a/ktouch/src/ktouchkeyboardwidget.h
+++ b/ktouch/src/ktouchkeyboardwidget.h
@@ -44,7 +44,7 @@ class KTouchKeyboardWidget : public TQWidget {
TQ_OBJECT
public:
/// Constructor
- KTouchKeyboardWidget(TQWidget *tqparent);
+ KTouchKeyboardWidget(TQWidget *parent);
/// Reads a keyboard tqlayout from the given URL.
/// The function returns 'true' when the reading was successful or 'false' if not. In this
/// case the optional parameter errorMsg contains the error message.
diff --git a/ktouch/src/ktouchlectureeditor.cpp b/ktouch/src/ktouchlectureeditor.cpp
index 12a497f9..2539a204 100644
--- a/ktouch/src/ktouchlectureeditor.cpp
+++ b/ktouch/src/ktouchlectureeditor.cpp
@@ -41,8 +41,8 @@
// ***** Public functions ***
// **************************
-KTouchLectureEditor::KTouchLectureEditor(TQWidget *tqparent, const char* name, bool modal, WFlags fl)
- : KTouchLectureEditorDlg(tqparent, name, modal, fl)
+KTouchLectureEditor::KTouchLectureEditor(TQWidget *parent, const char* name, bool modal, WFlags fl)
+ : KTouchLectureEditorDlg(parent, name, modal, fl)
{
levelListView->setSorting(-1); // don't sort my level list view!
diff --git a/ktouch/src/ktouchlectureeditor.h b/ktouch/src/ktouchlectureeditor.h
index d09b7a9f..fb65a048 100644
--- a/ktouch/src/ktouchlectureeditor.h
+++ b/ktouch/src/ktouchlectureeditor.h
@@ -44,7 +44,7 @@ class KTouchLectureEditor : public KTouchLectureEditorDlg {
TQ_OBJECT
public:
/// Constructor
- KTouchLectureEditor(TQWidget *tqparent, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+ KTouchLectureEditor(TQWidget *parent, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
/// Destructor
~KTouchLectureEditor() {}
/// Shows and executes the dialog (argument is the url to the default or
diff --git a/ktouch/src/ktouchopenrequest.cpp b/ktouch/src/ktouchopenrequest.cpp
index 1a293f23..43d236f3 100644
--- a/ktouch/src/ktouchopenrequest.cpp
+++ b/ktouch/src/ktouchopenrequest.cpp
@@ -26,8 +26,8 @@
#include "ktouchopenrequest.h"
#include "ktouchopenrequest.moc"
-KTouchOpenRequest::KTouchOpenRequest(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
-: KTouchOpenRequestDlg(tqparent,name, modal,fl)
+KTouchOpenRequest::KTouchOpenRequest(TQWidget* parent, const char* name, bool modal, WFlags fl)
+: KTouchOpenRequestDlg(parent,name, modal,fl)
{
}
diff --git a/ktouch/src/ktouchopenrequest.h b/ktouch/src/ktouchopenrequest.h
index c66f9f02..07f36431 100644
--- a/ktouch/src/ktouchopenrequest.h
+++ b/ktouch/src/ktouchopenrequest.h
@@ -56,7 +56,7 @@ class KTouchOpenRequest : public KTouchOpenRequestDlg {
public:
/// Default constructor.
- KTouchOpenRequest(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ KTouchOpenRequest(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
/// Default destructor.
~KTouchOpenRequest() {}
/// Sets up the dialog and runs it.
diff --git a/ktouch/src/ktouchslideline.cpp b/ktouch/src/ktouchslideline.cpp
index 1e54adbc..07078978 100644
--- a/ktouch/src/ktouchslideline.cpp
+++ b/ktouch/src/ktouchslideline.cpp
@@ -41,8 +41,8 @@
// --- don't touch the lines above ---
-KTouchSlideLine::KTouchSlideLine(TQWidget *tqparent)
- : TQWidget( tqparent ),
+KTouchSlideLine::KTouchSlideLine(TQWidget *parent)
+ : TQWidget( parent ),
m_teacherPixmap(NULL),
m_studentPixmap(NULL),
m_slideTimer(this),
diff --git a/ktouch/src/ktouchslideline.h b/ktouch/src/ktouchslideline.h
index c707a9ad..8afc7b54 100644
--- a/ktouch/src/ktouchslideline.h
+++ b/ktouch/src/ktouchslideline.h
@@ -36,7 +36,7 @@ class KTouchSlideLine : public TQWidget {
TQ_OBJECT
public:
/// Constructor
- KTouchSlideLine(TQWidget *tqparent);
+ KTouchSlideLine(TQWidget *parent);
/// Destructor, free memory allocated for the line pixmap.
~KTouchSlideLine();
/// Applies the preferences (font and colours).
diff --git a/ktouch/src/ktouchstatistics.cpp b/ktouch/src/ktouchstatistics.cpp
index 6c73a91f..c8483096 100644
--- a/ktouch/src/ktouchstatistics.cpp
+++ b/ktouch/src/ktouchstatistics.cpp
@@ -34,8 +34,8 @@
#include "ktouch.h"
#include "ktouchchartwidget.h"
-KTouchStatistics::KTouchStatistics(TQWidget* tqparent)
- : KTouchStatisticsDlg(tqparent)
+KTouchStatistics::KTouchStatistics(TQWidget* parent)
+ : KTouchStatisticsDlg(parent)
{
sessionsRadio->setChecked(true);
WPMRadio->setChecked(true);
diff --git a/ktouch/src/ktouchstatistics.h b/ktouch/src/ktouchstatistics.h
index d621a462..3bcc1319 100644
--- a/ktouch/src/ktouchstatistics.h
+++ b/ktouch/src/ktouchstatistics.h
@@ -30,7 +30,7 @@ class KTouchStatistics : public KTouchStatisticsDlg {
TQ_OBJECT
public:
/// Constructor, takes a pointer to the trainer object.
- KTouchStatistics(TQWidget* tqparent);
+ KTouchStatistics(TQWidget* parent);
/// Fills the statistics dialog with data and executes it.
void run(const KURL& currentLecture, const KTouchStatisticsData& stats,
diff --git a/ktouch/src/ktouchstatus.cpp b/ktouch/src/ktouchstatus.cpp
index 9ca6a4f2..bfbac46c 100644
--- a/ktouch/src/ktouchstatus.cpp
+++ b/ktouch/src/ktouchstatus.cpp
@@ -20,8 +20,8 @@
#include <kpushbutton.h>
#include "prefs.h"
-KTouchtqStatus::KTouchtqStatus(TQWidget *tqparent)
- : KTouchStatusLayout(tqparent)
+KTouchtqStatus::KTouchtqStatus(TQWidget *parent)
+ : KTouchStatusLayout(parent)
{
applyPreferences();
}
diff --git a/ktouch/src/ktouchstatus.h b/ktouch/src/ktouchstatus.h
index d44d91c4..229ed903 100644
--- a/ktouch/src/ktouchstatus.h
+++ b/ktouch/src/ktouchstatus.h
@@ -30,7 +30,7 @@ class KTouchtqStatus : public KTouchStatusLayout {
TQ_OBJECT
public:
/// Constructor
- KTouchtqStatus(TQWidget *tqparent);
+ KTouchtqStatus(TQWidget *parent);
/// Called when the preferences have changed in the configuration dialog.
void applyPreferences();
/// Sets the new characters text.