summaryrefslogtreecommitdiffstats
path: root/kalzium/src/eqresult.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kalzium/src/eqresult.h
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-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 'kalzium/src/eqresult.h')
-rw-r--r--kalzium/src/eqresult.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kalzium/src/eqresult.h b/kalzium/src/eqresult.h
index 39e7d85a..2b862d3b 100644
--- a/kalzium/src/eqresult.h
+++ b/kalzium/src/eqresult.h
@@ -18,8 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef _EQRESULT_H_
-#define _EQRESULT_H_
+#ifndef _ETQRESULT_H_
+#define _ETQRESULT_H_
#include <tqlistbox.h>
#include <tqsimplerichtext.h>
@@ -27,7 +27,7 @@
/**
* @author Thomas Nagy
*/
-class QuestionItem : public QListBoxItem
+class QuestionItem : public TQListBoxItem
{
public:
QuestionItem( TQListBox*, const TQString&, TQColor bg );
@@ -43,7 +43,7 @@ class QuestionItem : public QListBoxItem
/**
* @author Thomas Nagy
*/
-class AnswerItem : public QListBoxItem
+class AnswerItem : public TQListBoxItem
{
public:
AnswerItem( TQListBox*, const TQString&, const TQString&, TQColor bg );
@@ -69,12 +69,13 @@ class AnswerItem : public QListBoxItem
/**
* @author Thomas Nagy
*/
-class EqResult : public QListBox
+class EqResult : public TQListBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- EqResult(TQWidget *parent);
+ EqResult(TQWidget *tqparent);
~EqResult();
public slots:
@@ -86,5 +87,5 @@ private:
bool m_alternate_color;
};
-#endif // _EQRESULT_H_
+#endif // _ETQRESULT_H_