summaryrefslogtreecommitdiffstats
path: root/kalzium/src/eqresult.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 /kalzium/src/eqresult.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 'kalzium/src/eqresult.h')
-rw-r--r--kalzium/src/eqresult.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kalzium/src/eqresult.h b/kalzium/src/eqresult.h
index 7b229cde..39e7d85a 100644
--- a/kalzium/src/eqresult.h
+++ b/kalzium/src/eqresult.h
@@ -21,8 +21,8 @@
#ifndef _EQRESULT_H_
#define _EQRESULT_H_
-#include <qlistbox.h>
-#include <qsimplerichtext.h>
+#include <tqlistbox.h>
+#include <tqsimplerichtext.h>
/**
* @author Thomas Nagy
@@ -30,14 +30,14 @@
class QuestionItem : public QListBoxItem
{
public:
- QuestionItem( QListBox*, const QString&, QColor bg );
+ QuestionItem( TQListBox*, const TQString&, TQColor bg );
protected:
- void paint( QPainter* p );
- int width( const QListBox* ) const;
- int height( const QListBox* ) const;
+ void paint( TQPainter* p );
+ int width( const TQListBox* ) const;
+ int height( const TQListBox* ) const;
private:
- QString m_msg;
- QColor m_bgcolor;
+ TQString m_msg;
+ TQColor m_bgcolor;
};
/**
@@ -46,24 +46,24 @@ class QuestionItem : public QListBoxItem
class AnswerItem : public QListBoxItem
{
public:
- AnswerItem( QListBox*, const QString&, const QString&, QColor bg );
+ AnswerItem( TQListBox*, const TQString&, const TQString&, TQColor bg );
~AnswerItem() { delete m_richtext; }
void checkSize();
protected:
- void paint( QPainter* p );
- int width( const QListBox* ) const{
+ void paint( TQPainter* p );
+ int width( const TQListBox* ) const{
return m_richtext->height();
}
- int height( const QListBox* ) const{
+ int height( const TQListBox* ) const{
return m_richtext->height();
}
private:
- QString m_msg;
- QString m_origmsg;
- QColor m_bgcolor;
- QSimpleRichText * m_richtext;
+ TQString m_msg;
+ TQString m_origmsg;
+ TQColor m_bgcolor;
+ TQSimpleRichText * m_richtext;
};
/**
@@ -74,13 +74,13 @@ class EqResult : public QListBox
Q_OBJECT
public:
- EqResult(QWidget *parent);
+ EqResult(TQWidget *parent);
~EqResult();
public slots:
- void add(const QString &, const QString &);
+ void add(const TQString &, const TQString &);
void scrollToEnd();
- void resizeEvent( QResizeEvent* );
+ void resizeEvent( TQResizeEvent* );
private:
bool m_alternate_color;