diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:14 -0600 |
commit | 3ee504ecba6caf3c2609a8648fe3659f2b541544 (patch) | |
tree | 44f9bf073d7b46a12dfbab0486e6976d960a1aac /kmoon | |
parent | 4d75f93557ba631d97a56e288a34ca27f4507653 (diff) | |
download | tdetoys-3ee504ecba6caf3c2609a8648fe3659f2b541544.tar.gz tdetoys-3ee504ecba6caf3c2609a8648fe3659f2b541544.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kmoon')
-rw-r--r-- | kmoon/kmoonapplet.cpp | 4 | ||||
-rw-r--r-- | kmoon/kmoondlg.cpp | 2 | ||||
-rw-r--r-- | kmoon/kmoonwidget.cpp | 4 | ||||
-rw-r--r-- | kmoon/kmoonwidget.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/kmoon/kmoonapplet.cpp b/kmoon/kmoonapplet.cpp index c7051a7..5a4beab 100644 --- a/kmoon/kmoonapplet.cpp +++ b/kmoon/kmoonapplet.cpp @@ -104,7 +104,7 @@ void MoonPAWidget::showAbout() KStdGuiItem::ok() ); TQPixmap ret = DesktopIcon("kmoon"); - TQString text = i18n(description) + TQString::tqfromLatin1("\n\n") + + TQString text = i18n(description) + TQString::fromLatin1("\n\n") + i18n("Written by Stephan Kulow <coolo@kde.org>\n" "\n" "Made an applet by M G Berberich " @@ -144,7 +144,7 @@ void MoonPAWidget::timerEvent( TQTimerEvent * ) time_t clock; time(&clock); struct tm *t = localtime(&clock); - moon->calctqStatus(mktime(t)); + moon->calcStatus(mktime(t)); moon->tqrepaint(); } diff --git a/kmoon/kmoondlg.cpp b/kmoon/kmoondlg.cpp index d4d750f..25390ac 100644 --- a/kmoon/kmoondlg.cpp +++ b/kmoon/kmoondlg.cpp @@ -94,7 +94,7 @@ void KMoonDlg::angleChanged(int value) { } void KMoonDlg::help() { - kapp->invokeHelp(TQString::tqfromLatin1("config")); + kapp->invokeHelp(TQString::fromLatin1("config")); } void KMoonDlg::toggleHemi() { diff --git a/kmoon/kmoonwidget.cpp b/kmoon/kmoonwidget.cpp index 89858c8..8b769e1 100644 --- a/kmoon/kmoonwidget.cpp +++ b/kmoon/kmoonwidget.cpp @@ -70,14 +70,14 @@ MoonWidget::MoonWidget(TQWidget *parent, const char *name) time(&clock); t = gmtime(&clock); // kdDebug() << "time " << t->tm_isdst << " " << timezone << " " << daylight << endl ; - calctqStatus(mktime(t)); + calcStatus(mktime(t)); } MoonWidget::~MoonWidget() { } -void MoonWidget::calctqStatus( time_t time ) +void MoonWidget::calcStatus( time_t time ) { uint lun = 0; time_t last_new = 0; diff --git a/kmoon/kmoonwidget.h b/kmoon/kmoonwidget.h index 3b2415f..f636b60 100644 --- a/kmoon/kmoonwidget.h +++ b/kmoon/kmoonwidget.h @@ -37,7 +37,7 @@ public: MoonWidget(TQWidget *parent = 0, const char *name = 0); ~MoonWidget(); - void calctqStatus( time_t time ); + void calcStatus( time_t time ); int angle() const { return _angle; } void setAngle(int angle); |