summaryrefslogtreecommitdiffstats
path: root/kmoon/kmoonapplet.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/kmoonapplet.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/kmoonapplet.cpp')
-rw-r--r--kmoon/kmoonapplet.cpp12
1 files changed, 6 insertions, 6 deletions
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();