summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchkeyconnector.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /ktouch/src/ktouchkeyconnector.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchkeyconnector.cpp')
-rw-r--r--ktouch/src/ktouchkeyconnector.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ktouch/src/ktouchkeyconnector.cpp b/ktouch/src/ktouchkeyconnector.cpp
index 2546400f..6a51764f 100644
--- a/ktouch/src/ktouchkeyconnector.cpp
+++ b/ktouch/src/ktouchkeyconnector.cpp
@@ -13,14 +13,14 @@
#include "ktouchkeyconnector.h"
// Reads the key connector data from the DomElement
-bool KTouchKeyConnector::read(QDomNode node) {
-/* QDomNode newChars = in.namedItem("NewCharacters");
+bool KTouchKeyConnector::read(TQDomNode node) {
+/* TQDomNode newChars = in.namedItem("NewCharacters");
if (newChars.isNull()) m_newChars = i18n("basically all characters on the keyboard","abcdefghijklmnopqrstuvwxyz");
else m_newChars = newChars.firstChild().nodeValue();
- QDomNode levelComment = in.namedItem("LevelComment");
+ TQDomNode levelComment = in.namedItem("LevelComment");
if (!levelComment.isNull()) m_comment = levelComment.firstChild().nodeValue();
m_lines.clear();
- QDomNode line = in.namedItem("Line");
+ TQDomNode line = in.namedItem("Line");
while ( !line.isNull() ) {
m_lines.push_back( line.firstChild().nodeValue() );
line = line.nextSibling();
@@ -34,13 +34,13 @@ bool KTouchKeyConnector::read(QDomNode node) {
}
// Creates a new DomElement, writes the key connector data into it and appends it to the root object.
-void KTouchKeyConnector::write(QDomDocument& doc, QDomElement& root) const {
-/* QDomElement element = doc.createElement("KeyConnector");
- QDomText textnode = doc.createTextNode(QString(m_keyChar));
+void KTouchKeyConnector::write(TQDomDocument& doc, TQDomElement& root) const {
+/* TQDomElement element = doc.createElement("KeyConnector");
+ TQDomText textnode = doc.createTextNode(TQString(m_keyChar));
element.appendChild(textnode);
- element.setAttribute("TargetKeyChar", QString(m_targetKeyChar));
- if (m_fingerKeyChar != QChar(0))
- element.setAttribute("FingerKeyChar", QString(m_fingerKeyChar));
+ element.setAttribute("TargetKeyChar", TQString(m_targetKeyChar));
+ if (m_fingerKeyChar != TQChar(0))
+ element.setAttribute("FingerKeyChar", TQString(m_fingerKeyChar));
if (!m_controlKeyId.isEmpty())
element.setAttribute("ControlKeyId", m_controlKeyId);
root.appendChild(element);