summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchstatus.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
commit98a12d05a48814bec3870b9a6d5865475cfa1c95 (patch)
treea711801e47696fb0cf162abd7330e0b5b480ba39 /ktouch/src/ktouchstatus.cpp
parent421a1845137c7c396b5d03bce53237fcb149d602 (diff)
downloadtdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.tar.gz
tdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1211429 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchstatus.cpp')
-rw-r--r--ktouch/src/ktouchstatus.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ktouch/src/ktouchstatus.cpp b/ktouch/src/ktouchstatus.cpp
index 94d11894..442deba5 100644
--- a/ktouch/src/ktouchstatus.cpp
+++ b/ktouch/src/ktouchstatus.cpp
@@ -20,13 +20,13 @@
#include <kpushbutton.h>
#include "prefs.h"
-KTouchStatus::KTouchStatus(TQWidget *parent)
- : KTouchStatusLayout(parent)
+KTouchtqStatus::KTouchtqStatus(TQWidget *parent)
+ : KTouchtqStatusLayout(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<int>(level)+1); // +1 because our level variable ranges from 0...n-1
correctnessBar->setProgress(static_cast<int>(correctness*100) );
}