summaryrefslogtreecommitdiffstats
path: root/kpercentage
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 /kpercentage
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 'kpercentage')
-rw-r--r--kpercentage/kpercentage/kanswer.cpp4
-rw-r--r--kpercentage/kpercentage/kanswer.h6
-rw-r--r--kpercentage/kpercentage/kpercentage.docbook10
-rw-r--r--kpercentage/kpercentage/kpercentmain.cpp6
-rw-r--r--kpercentage/kpercentage/kpercentmain.h2
5 files changed, 14 insertions, 14 deletions
diff --git a/kpercentage/kpercentage/kanswer.cpp b/kpercentage/kpercentage/kanswer.cpp
index a44602f0..51d5c8d5 100644
--- a/kpercentage/kpercentage/kanswer.cpp
+++ b/kpercentage/kpercentage/kanswer.cpp
@@ -40,9 +40,9 @@
#include "kanimation.h"
#include "kanswer.h"
-KAnswer::KAnswer( TQWidget *tqparent ): KDialog( tqparent, "answer", TRUE )
+KAnswer::KAnswer( TQWidget *parent ): KDialog( parent, "answer", TRUE )
{
- setFont( tqparent->font() );
+ setFont( parent->font() );
// fix size for the background pixmap
setFixedSize( TQSize( 430, 190 ) );
diff --git a/kpercentage/kpercentage/kanswer.h b/kpercentage/kpercentage/kanswer.h
index 81392869..6837816b 100644
--- a/kpercentage/kpercentage/kanswer.h
+++ b/kpercentage/kpercentage/kanswer.h
@@ -50,12 +50,12 @@ class KAnswer : public KDialog
TQ_OBJECT
public:
/**
- * The constructor doesn't need any parameters but the tqparent,
+ * The constructor doesn't need any parameters but the parent,
* because it will not be used in any other context.
*
- * @param tqparent Parent widget for modal functionality
+ * @param parent Parent widget for modal functionality
*/
- KAnswer( TQWidget *tqparent );
+ KAnswer( TQWidget *parent );
// public functions
/** setting/changing feedback text and pic */
diff --git a/kpercentage/kpercentage/kpercentage.docbook b/kpercentage/kpercentage/kpercentage.docbook
index 318698a3..29531710 100644
--- a/kpercentage/kpercentage/kpercentage.docbook
+++ b/kpercentage/kpercentage/kpercentage.docbook
@@ -251,7 +251,7 @@ taken from that reference and shortened a bit for readability. -->
<refnamediv>
<refname>XtUnmanageChildren
</refname>
-<refpurpose>remove a list of tqchildren from a tqparent widget's managed list.
+<refpurpose>remove a list of tqchildren from a parent widget's managed list.
</refpurpose>
<indexterm id="ix-1007-unmanagetqchildren-1"><primary>widgets</primary><secondary>removing</secondary></indexterm>
<indexterm id="ix-1007-unmanagetqchildren-2"><primary>XtUnmanageChildren</primary></indexterm>
@@ -293,13 +293,13 @@ class RectObj or any subclass thereof.
<title>Description
</title>
<para><function>XtUnmanageChildren()</function> unmaps the specified widgets
-and removes them from their tqparent's tqgeometry management.
+and removes them from their parent's tqgeometry management.
The widgets will disappear from the screen, and (depending
-on its tqparent) may no longer have screen space allocated for
+on its parent) may no longer have screen space allocated for
them.
</para>
<para>Each of the widgets in the <replaceable class="parameter">tqchildren</replaceable> array must have
-the same tqparent.
+the same parent.
</para>
<para>See the &ldquo;Algorithm&rdquo; section below for full details of the
widget unmanagement procedure.
@@ -324,7 +324,7 @@ often more convenient to call <function>XtUnmanageChild()</function>
several times than it is to declare and initialize an array
of widgets to pass to <function>XtUnmanageChildren()</function>. Calling
<function>XtUnmanageChildren()</function> is more efficient, however,
-because it only calls the tqparent's <function>change_managed()</function>
+because it only calls the parent's <function>change_managed()</function>
method once.
</para>
</refsect1>
diff --git a/kpercentage/kpercentage/kpercentmain.cpp b/kpercentage/kpercentage/kpercentmain.cpp
index 3d49e68a..d02b57fd 100644
--- a/kpercentage/kpercentage/kpercentmain.cpp
+++ b/kpercentage/kpercentage/kpercentmain.cpp
@@ -42,10 +42,10 @@
#include "kpercentage.h"
-KPercentMain::KPercentMain( TQWidget *tqparent, const char *name ) :
- KDialog( tqparent, name, TRUE ) // TRUE for modal dialog
+KPercentMain::KPercentMain( TQWidget *parent, const char *name ) :
+ KDialog( parent, name, TRUE ) // TRUE for modal dialog
{
- setFont( tqparent->font() );
+ setFont( parent->font() );
/** load and set the background pixmap */
TQPixmap bgp( locate( "data", TQApplication::reverseLayout() ? "kpercentage/pics/kpercentmain_bg_rtl.png" : "kpercentage/pics/kpercentmain_bg.png" ) );
// resize( 520, 220 );
diff --git a/kpercentage/kpercentage/kpercentmain.h b/kpercentage/kpercentage/kpercentmain.h
index 789d2755..2afdb969 100644
--- a/kpercentage/kpercentage/kpercentmain.h
+++ b/kpercentage/kpercentage/kpercentmain.h
@@ -46,7 +46,7 @@ class KPercentMain : public KDialog
Q_OBJECT
TQ_OBJECT
public:
- KPercentMain( TQWidget *tqparent, const char *name = 0 );
+ KPercentMain( TQWidget *parent, const char *name = 0 );
/** checks, if the task is solved right */
bool validateTask();
/** prepares the dialog for a new task */