summaryrefslogtreecommitdiffstats
path: root/kmoon/kmoondlg.cpp
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
commit49f9b290287ed4df63901c5912ddbb3c1ae5d515 (patch)
tree0a20bf2186d58b5edef3a3a7da518ea3c8244246 /kmoon/kmoondlg.cpp
parent1d14c95a7737078a695e99442628f450354c00ff (diff)
downloadtdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.tar.gz
tdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmoon/kmoondlg.cpp')
-rw-r--r--kmoon/kmoondlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmoon/kmoondlg.cpp b/kmoon/kmoondlg.cpp
index acb789a..d4d750f 100644
--- a/kmoon/kmoondlg.cpp
+++ b/kmoon/kmoondlg.cpp
@@ -29,9 +29,9 @@
#include "kmoondlg.h"
#include "kmoonwidget.h"
-KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *tqparent, const char *name)
- : KDialogBase(tqparent, name, true, i18n("Change View"),
- Ok|Cancel|Help), angle(a), north(n), tqmask(m)
+KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *parent, const char *name)
+ : KDialogBase(parent, name, true, i18n("Change View"),
+ Ok|Cancel|Help), angle(a), north(n), mask(m)
{
TQWidget *page = new TQWidget( this );
setMainWidget(page);
@@ -72,7 +72,7 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *tqparent, const char *name)
connect(hemitoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleHemi()));
masktoggle = new TQPushButton(hbox2);
- masktoggle->setText(tqmask ? i18n("Switch Masking Off") :
+ masktoggle->setText(mask ? i18n("Switch Masking Off") :
i18n("Switch Masking On"));
connect(masktoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleMask()));
@@ -105,9 +105,9 @@ void KMoonDlg::toggleHemi() {
}
void KMoonDlg::toggleMask() {
- moon->setMask(!moon->tqmask());
- tqmask = moon->tqmask();
- masktoggle->setText(tqmask ? i18n("Switch Masking Off") :
+ moon->setMask(!moon->mask());
+ mask = moon->mask();
+ masktoggle->setText(mask ? i18n("Switch Masking Off") :
i18n("Switch Masking On"));
}