summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchkeyboardeditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:43 -0600
commit2d7b541a4e0095d40e37aaefbf9c4a9b9d149302 (patch)
tree628c1676b27475e583cfd0c2105bb41b646654bf /ktouch/src/ktouchkeyboardeditor.cpp
parent6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (diff)
downloadtdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.tar.gz
tdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.
Diffstat (limited to 'ktouch/src/ktouchkeyboardeditor.cpp')
-rw-r--r--ktouch/src/ktouchkeyboardeditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ktouch/src/ktouchkeyboardeditor.cpp b/ktouch/src/ktouchkeyboardeditor.cpp
index 40944155..dd7b0a79 100644
--- a/ktouch/src/ktouchkeyboardeditor.cpp
+++ b/ktouch/src/ktouchkeyboardeditor.cpp
@@ -66,7 +66,7 @@ void KTouchKeyboardEditor::fontBtnClicked() {
titleEdit->setFont(f);
keyboardCommentEdit->setFont(f);
languageEdit->setFont(f);
- update(); // trigger repaint of the keyboard.
+ update(); // trigger tqrepaint of the keyboard.
setModified();
}
}
@@ -133,7 +133,7 @@ void KTouchKeyboardEditor::paintEvent(TQPaintEvent *) {
void KTouchKeyboardEditor::transfer_to_dialog() {
if (m_currentURL.isEmpty()) {
- titleEdit->setText( i18n("untitled keyboard layout") );
+ titleEdit->setText( i18n("untitled keyboard tqlayout") );
keyboardCommentEdit->setText("");
}
else {
@@ -167,13 +167,13 @@ void KTouchKeyboardEditor::transfer_to_dialog() {
min_y = std::min<unsigned int>(min_y, it->m_y);
max_y = std::max<unsigned int>(max_y, it->m_y+it->m_h);
}
- dimensionsLabel->setText( i18n("Keyboard dimensions: %1 x %2").arg(max_x - min_x).arg(max_y - min_y) );
+ dimensionsLabel->setText( i18n("Keyboard dimensions: %1 x %2").tqarg(max_x - min_x).tqarg(max_y - min_y) );
}
// -----------------------------------------------------------------------------
void KTouchKeyboardEditor::transfer_from_dialog() {
m_keyboard.m_title = titleEdit->text();
- if (m_keyboard.m_title.isEmpty()) m_keyboard.m_title = i18n("untitled keyboard layout");
+ if (m_keyboard.m_title.isEmpty()) m_keyboard.m_title = i18n("untitled keyboard tqlayout");
m_keyboard.m_comment = keyboardCommentEdit->text();
m_keyboard.m_language = languageEdit->text();
}