From 6537a93fb5bfe88e6a3e418f7445dd1202672f1d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmoon/kmoondlg.cpp | 8 ++++---- kmoon/kmoondlg.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kmoon') diff --git a/kmoon/kmoondlg.cpp b/kmoon/kmoondlg.cpp index a2204b3..acb789a 100644 --- a/kmoon/kmoondlg.cpp +++ b/kmoon/kmoondlg.cpp @@ -71,11 +71,11 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *tqparent, const char *name) connect(hemitoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleHemi())); - tqmasktoggle = new TQPushButton(hbox2); - tqmasktoggle->setText(tqmask ? i18n("Switch Masking Off") : + masktoggle = new TQPushButton(hbox2); + masktoggle->setText(tqmask ? i18n("Switch Masking Off") : i18n("Switch Masking On")); - connect(tqmasktoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleMask())); + connect(masktoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleMask())); topLayout->addWidget(vbox); moon = new MoonWidget(page, "preview"); @@ -107,7 +107,7 @@ void KMoonDlg::toggleHemi() { void KMoonDlg::toggleMask() { moon->setMask(!moon->tqmask()); tqmask = moon->tqmask(); - tqmasktoggle->setText(tqmask ? i18n("Switch Masking Off") : + masktoggle->setText(tqmask ? i18n("Switch Masking Off") : i18n("Switch Masking On")); } diff --git a/kmoon/kmoondlg.h b/kmoon/kmoondlg.h index b0d4118..12a0a0d 100644 --- a/kmoon/kmoondlg.h +++ b/kmoon/kmoondlg.h @@ -44,7 +44,7 @@ class KMoonDlg : public KDialogBase { bool north; bool tqmask; TQPushButton *hemitoggle; - TQPushButton *tqmasktoggle; + TQPushButton *masktoggle; private slots: void help(); -- cgit v1.2.1