From 2d7b541a4e0095d40e37aaefbf9c4a9b9d149302 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:43 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3. --- ktouch/src/ktouchstatus.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ktouch/src/ktouchstatus.cpp') diff --git a/ktouch/src/ktouchstatus.cpp b/ktouch/src/ktouchstatus.cpp index 94d11894..bfbac46c 100644 --- a/ktouch/src/ktouchstatus.cpp +++ b/ktouch/src/ktouchstatus.cpp @@ -20,13 +20,13 @@ #include #include "prefs.h" -KTouchStatus::KTouchStatus(TQWidget *parent) +KTouchtqStatus::KTouchtqStatus(TQWidget *parent) : KTouchStatusLayout(parent) { applyPreferences(); } -void KTouchStatus::applyPreferences() { +void KTouchtqStatus::applyPreferences() { if (Prefs::autoLevelChange()) { levelUpBtn->setEnabled( !Prefs::disableManualLevelChange() ); levelDownBtn->setEnabled( !Prefs::disableManualLevelChange() ); @@ -37,11 +37,11 @@ void KTouchStatus::applyPreferences() { } } -void KTouchStatus::setNewChars(const TQString& newChars) { +void KTouchtqStatus::setNewChars(const TQString& newChars) { newCharsLabel->setText(newChars); } -void KTouchStatus::updateStatus(unsigned int level, double correctness) { +void KTouchtqStatus::updatetqStatus(unsigned int level, double correctness) { levelLCD->display(static_cast(level)+1); // +1 because our level variable ranges from 0...n-1 correctnessBar->setProgress(static_cast(correctness*100) ); } -- cgit v1.2.1