From 49f9b290287ed4df63901c5912ddbb3c1ae5d515 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kmoon/kmoondlg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmoon/kmoondlg.cpp') 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")); } -- cgit v1.2.1