diff options
Diffstat (limited to 'krec/krecfilewidgets.cpp')
-rw-r--r-- | krec/krecfilewidgets.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/krec/krecfilewidgets.cpp b/krec/krecfilewidgets.cpp index cbcaba81..04283e2b 100644 --- a/krec/krecfilewidgets.cpp +++ b/krec/krecfilewidgets.cpp @@ -19,7 +19,7 @@ #include <kdebug.h> #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqpainter.h> #include <tqpointarray.h> @@ -189,18 +189,18 @@ void KRecBufferWidget::initLayout() { void KRecBufferWidget::drawFrame( TQPainter* p ) { //kdDebug( 60005 ) << k_funcinfo << endl; if ( _buffer->active() ) - p->setBrush( tqcolorGroup().highlight() ); + p->setBrush( colorGroup().highlight() ); else - p->setBrush( tqcolorGroup().highlight().dark() ); - p->setPen( TQPen( tqcolorGroup().dark(), 1 ) ); + p->setBrush( colorGroup().highlight().dark() ); + p->setPen( TQPen( colorGroup().dark(), 1 ) ); p->drawRect( _title_region->boundingRect() ); p->drawRect( _fileend_region->boundingRect() ); p->setBrush( TQBrush() ); - p->setPen( TQPen( tqcolorGroup().dark(), 1 ) ); + p->setPen( TQPen( colorGroup().dark(), 1 ) ); p->drawRect( _main_region->boundingRect() ); - p->setPen( TQPen( tqcolorGroup().highlightedText() ) ); + p->setPen( TQPen( colorGroup().highlightedText() ) ); p->drawText( _title_region->boundingRect(), TQt::AlignCenter, _buffer->title() ); } |