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 04283e2b..cbcaba81 100644 --- a/krec/krecfilewidgets.cpp +++ b/krec/krecfilewidgets.cpp @@ -19,7 +19,7 @@ #include <kdebug.h> #include <klocale.h> -#include <layout.h> +#include <tqlayout.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( colorGroup().highlight() ); + p->setBrush( tqcolorGroup().highlight() ); else - p->setBrush( colorGroup().highlight().dark() ); - p->setPen( TQPen( colorGroup().dark(), 1 ) ); + p->setBrush( tqcolorGroup().highlight().dark() ); + p->setPen( TQPen( tqcolorGroup().dark(), 1 ) ); p->drawRect( _title_region->boundingRect() ); p->drawRect( _fileend_region->boundingRect() ); p->setBrush( TQBrush() ); - p->setPen( TQPen( colorGroup().dark(), 1 ) ); + p->setPen( TQPen( tqcolorGroup().dark(), 1 ) ); p->drawRect( _main_region->boundingRect() ); - p->setPen( TQPen( colorGroup().highlightedText() ) ); + p->setPen( TQPen( tqcolorGroup().highlightedText() ) ); p->drawText( _title_region->boundingRect(), TQt::AlignCenter, _buffer->title() ); } |