summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchkey.h
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/ktouchkey.h
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/ktouchkey.h')
-rw-r--r--ktouch/src/ktouchkey.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ktouch/src/ktouchkey.h b/ktouch/src/ktouchkey.h
index f27fd80f..011f4e4b 100644
--- a/ktouch/src/ktouchkey.h
+++ b/ktouch/src/ktouchkey.h
@@ -17,8 +17,8 @@
#include <config.h>
#endif
-#include <qpainter.h>
-#include <qdom.h>
+#include <tqpainter.h>
+#include <tqdom.h>
/// This class contains information about one character on a key.
class KTouchKeyChar {
@@ -34,10 +34,10 @@ class KTouchKeyChar {
/// Constructor.
KTouchKeyChar() {}
/// Constructor.
- KTouchKeyChar(QChar ch, position_t p, bool bold = false) :
+ KTouchKeyChar(TQChar ch, position_t p, bool bold = false) :
m_ch(ch), m_pos(p), m_bold(bold) {}
- QChar m_ch; ///< The character to draw.
+ TQChar m_ch; ///< The character to draw.
position_t m_pos; ///< The position of the character.
bool m_bold; ///< Whether this is a bold character.
@@ -65,17 +65,17 @@ class KTouchKey {
/// Default constructor
KTouchKey() : m_type(NORMAL), m_x(0), m_y(0), m_w(0), m_h(0) {}
/// Convenience constructor for a key with a single character (like before).
- KTouchKey(keytype_t type, int x, int y, int w, int h, QChar ch);
+ KTouchKey(keytype_t type, int x, int y, int w, int h, TQChar ch);
/// Convenience constructor for a key with a text on it (type will be OTHER).
- KTouchKey(int x, int y, int w, int h, QString text);
+ KTouchKey(int x, int y, int w, int h, TQString text);
/// Resizes the key (this function will be obsolete soon)
void resize(double scale);
/// Reads the key data from the DomElement
- bool read(QDomNode node);
+ bool read(TQDomNode node);
/// Creates a new DomElement, writes the key data into it and appends it to the root object.
- void write(QDomDocument& doc, QDomElement& root) const;
+ void write(TQDomDocument& doc, TQDomElement& root) const;
unsigned int m_number; ///< The number of the key.
keytype_t m_type; ///< The type of the key.