diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /ktouch/src/ktouchkeys.h | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip |
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchkeys.h')
-rw-r--r-- | ktouch/src/ktouchkeys.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ktouch/src/ktouchkeys.h b/ktouch/src/ktouchkeys.h index 68ffa959..c429790d 100644 --- a/ktouch/src/ktouchkeys.h +++ b/ktouch/src/ktouchkeys.h @@ -39,7 +39,7 @@ class KTouchBaseKey { m_x(x), m_y(y), m_w(w), m_h(h), m_type(NORMAL_KEY) {} /// Destructor. virtual ~KTouchBaseKey() {} - /// Paints the basic key shape using the painter p. + /// Paints the basic key tqshape using the painter p. virtual void paint(TQPainter& p) const; /// Recalculates the scaled position and size properties of the key. void resize(double scale); @@ -66,7 +66,7 @@ class KTouchBaseKey { int m_wS; ///< The scaled width of the key. int m_hS; ///< The scaled height of the key. - KeyType m_type; ///< Stores the type of the key (convenience for saving of the keyboard layout). + KeyType m_type; ///< Stores the type of the key (convenience for saving of the keyboard tqlayout). }; // --------------------------------------------------------------------------------------- @@ -116,14 +116,14 @@ class KTouchFingerKey : public KTouchNormalKey { /** This is a special or control key. * This key acts as a modifier key to a normal key (for instance a shift key) and has a - * different shape and painting routine then the normal keys. Therefore it is directly + * different tqshape and painting routine then the normal keys. Therefore it is directly * derived from KTouchKey. */ class KTouchControlKey : public KTouchBaseKey { public: /// Constructor KTouchControlKey(const TQChar& keyChar, const TQString& keyText, int x, int y, int w, int h); - /// Extends the parents paint routine (draws the text or other fancy stuff). + /// Extends the tqparents paint routine (draws the text or other fancy stuff). void paint(TQPainter& p) const; }; // ------------------------------------------------------------------------------------ |