summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/qaview.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 /kwordquiz/src/qaview.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 'kwordquiz/src/qaview.cpp')
-rw-r--r--kwordquiz/src/qaview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kwordquiz/src/qaview.cpp b/kwordquiz/src/qaview.cpp
index 4660df9f..50bd740d 100644
--- a/kwordquiz/src/qaview.cpp
+++ b/kwordquiz/src/qaview.cpp
@@ -292,7 +292,7 @@ void QAView::showQuestion(int i)
picAnswer->setPixmap(KGlobal::iconLoader()->loadIcon(m_quiz->quizIcon(i, WQQuiz::qiRightCol), KIcon::Panel));
- //@todo handle keyboard layouts
+ //@todo handle keyboard tqlayouts
}
void QAView::slotApplySettings( )
@@ -311,7 +311,7 @@ void QAView::slotSpecChar( const TQChar & c)
TQString s = txtAnswer->selectedText();
int len = s.length();
int ss = txtAnswer->selectionStart();
- ls = ls.replace(ss, len, c);
+ ls = ls.tqreplace(ss, len, c);
txtAnswer->setText(ls);
txtAnswer->setSelection(ss, 1);
}