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/kmoonapplet.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmoon/kmoonapplet.cpp') diff --git a/kmoon/kmoonapplet.cpp b/kmoon/kmoonapplet.cpp index f9acc02..7b8b064 100644 --- a/kmoon/kmoonapplet.cpp +++ b/kmoon/kmoonapplet.cpp @@ -53,18 +53,18 @@ const char *description = I18N_NOOP("Moon Phase Indicator for KDE"); extern "C" { - KDE_EXPORT KPanelApplet *init(TQWidget *tqparent, const TQString& configFile) + KDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile) { KGlobal::locale()->insertCatalogue("kmoon"); return new MoonPAWidget(configFile, KPanelApplet::Normal, KPanelApplet::About|KPanelApplet::Preferences, - tqparent, "kmoonapplet"); + parent, "kmoonapplet"); } } MoonPAWidget::MoonPAWidget(const TQString& configFile, Type type, int actions, - TQWidget *tqparent, const char *name) - : KPanelApplet(configFile, type, actions, tqparent, name) + TQWidget *parent, const char *name) + : KPanelApplet(configFile, type, actions, parent, name) { KConfig *config = KGlobal::config(); config->setGroup("General"); @@ -123,7 +123,7 @@ void MoonPAWidget::showAbout() void MoonPAWidget::settings() { - KMoonDlg dlg(moon->angle(), moon->northHemi(), moon->tqmask(), + KMoonDlg dlg(moon->angle(), moon->northHemi(), moon->mask(), this, "moondlg"); if (dlg.exec() == KMoonDlg::Accepted) { moon->setAngle(dlg.getAngle()); @@ -133,7 +133,7 @@ void MoonPAWidget::settings() config->setGroup("General"); config->writeEntry("Rotation", moon->angle()); config->writeEntry("Northern", moon->northHemi()); - config->writeEntry("Mask", moon->tqmask()); + config->writeEntry("Mask", moon->mask()); config->sync(); } tqrepaint(); -- cgit v1.2.1