summaryrefslogtreecommitdiffstats
path: root/kmoon
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 23:22:16 -0600
committerTimothy Pearson <[email protected]>2013-02-01 23:22:16 -0600
commit6630d485e98adf6125ddcaec8a64c9c209e4977c (patch)
tree689aabd56ebbeead89c4f1625e739b58d6db7c68 /kmoon
parentd9056e4cfc9bb3187d193deac2355fce73254d2e (diff)
downloadtdetoys-6630d485e98adf6125ddcaec8a64c9c209e4977c.tar.gz
tdetoys-6630d485e98adf6125ddcaec8a64c9c209e4977c.zip
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'kmoon')
-rw-r--r--kmoon/kmoondlg.cpp8
-rw-r--r--kmoon/kmoondlg.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/kmoon/kmoondlg.cpp b/kmoon/kmoondlg.cpp
index 25390ac..603173f 100644
--- a/kmoon/kmoondlg.cpp
+++ b/kmoon/kmoondlg.cpp
@@ -71,11 +71,11 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *parent, const char *name)
connect(hemitoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleHemi()));
- masktoggle = new TQPushButton(hbox2);
- masktoggle->setText(mask ? i18n("Switch Masking Off") :
+ mastdetoggle = new TQPushButton(hbox2);
+ mastdetoggle->setText(mask ? i18n("Switch Masking Off") :
i18n("Switch Masking On"));
- connect(masktoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleMask()));
+ connect(mastdetoggle, 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->mask());
mask = moon->mask();
- masktoggle->setText(mask ? i18n("Switch Masking Off") :
+ mastdetoggle->setText(mask ? i18n("Switch Masking Off") :
i18n("Switch Masking On"));
}
diff --git a/kmoon/kmoondlg.h b/kmoon/kmoondlg.h
index 9cddb77..3a5e26c 100644
--- a/kmoon/kmoondlg.h
+++ b/kmoon/kmoondlg.h
@@ -44,7 +44,7 @@ class KMoonDlg : public KDialogBase {
bool north;
bool mask;
TQPushButton *hemitoggle;
- TQPushButton *masktoggle;
+ TQPushButton *mastdetoggle;
private slots:
void help();