From 3ee504ecba6caf3c2609a8648fe3659f2b541544 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:35:14 -0600 Subject: Rename old tq methods that no longer need a unique name --- kmoon/kmoonapplet.cpp | 4 ++-- kmoon/kmoondlg.cpp | 2 +- kmoon/kmoonwidget.cpp | 4 ++-- kmoon/kmoonwidget.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kmoon') 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 \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); -- cgit v1.2.1