summaryrefslogtreecommitdiffstats
path: root/kalzium/src/eqresult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/eqresult.cpp')
-rw-r--r--kalzium/src/eqresult.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalzium/src/eqresult.cpp b/kalzium/src/eqresult.cpp
index c128c93e..a4aad576 100644
--- a/kalzium/src/eqresult.cpp
+++ b/kalzium/src/eqresult.cpp
@@ -47,7 +47,7 @@ TQListBoxItem ( listBox )
void QuestionItem::paint( TQPainter* painter )
{
- int tf = Qt::NoAccel | Qt::SingleLine | Qt::AlignVCenter;
+ int tf = TQt::NoAccel | TQt::SingleLine | TQt::AlignVCenter;
TQRect r ( 0, 0, listBox()->contentsWidth(), height( listBox() ) );
painter->fillRect( r, m_bgcolor );
@@ -61,7 +61,7 @@ void AnswerItem::paint( TQPainter* painter )
TQRect r ( 0, 0, listBox()->contentsWidth(), height( listBox() ) );
painter->fillRect( r, m_bgcolor );
- TQColorGroup cg = listBox()->colorGroup();
+ TQColorGroup cg = listBox()->tqcolorGroup();
cg.setColor( TQColorGroup::Background, m_bgcolor );
m_richtext->draw(painter, 0, 0, r, cg );
@@ -89,7 +89,7 @@ void AnswerItem::checkSize()
m_richtext->setWidth( (t1>t2)?t1:t2 );
}
-EqResult::EqResult(TQWidget *parent) : TQListBox(parent)
+EqResult::EqResult(TQWidget *tqparent) : TQListBox(tqparent)
{
m_alternate_color = false;
setMinimumWidth(140);
@@ -101,7 +101,7 @@ EqResult::~EqResult()
void EqResult::add(const TQString & question, const TQString & answer)
{
- TQColor bgcolor = colorGroup().base();
+ TQColor bgcolor = tqcolorGroup().base();
if ( m_alternate_color )
bgcolor = bgcolor.dark( 120 );