diff options
Diffstat (limited to 'src/logviewer.cpp')
-rwxr-xr-x | src/logviewer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/logviewer.cpp b/src/logviewer.cpp index 5017a02..ba92f0a 100755 --- a/src/logviewer.cpp +++ b/src/logviewer.cpp @@ -2,7 +2,7 @@ #include "logviewer.h" #include "logger.h" -#include <tqlayout.h> +#include <layout.h> #include <tqstring.h> #include <tqheader.h> #include <tqcolor.h> @@ -31,7 +31,7 @@ LogViewerItem::LogViewerItem( LogViewerItem* parent, LogViewerItem* after, TQStr LogViewerItem::~LogViewerItem() {} -void LogViewerItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment ) +void LogViewerItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment ) { // NOTE calculate the red color @@ -40,21 +40,21 @@ void LogViewerItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, if( isSelected() && converting ) { _cg.setColor( TQColorGroup::Highlight, TQColor( 215, 62, 62 ) ); - TQListViewItem::paintCell( p, _cg, column, width, tqalignment ); + TQListViewItem::paintCell( p, _cg, column, width, alignment ); return; } else if( converting && column != listView()->sortColumn() ) { _cg.setColor( TQColorGroup::Base, TQColor( 255, 234, 234 ) ); - TQListViewItem::paintCell( p, _cg, column, width, tqalignment ); + TQListViewItem::paintCell( p, _cg, column, width, alignment ); return; } else if( converting && column == listView()->sortColumn() ) { _cg.setColor( TQColorGroup::Base, TQColor( 247, 227, 227 ) ); - TQListViewItem::paintCell( p, _cg, column, width, tqalignment ); + TQListViewItem::paintCell( p, _cg, column, width, alignment ); return; } - KListViewItem::paintCell( p, _cg, column, width, tqalignment ); + KListViewItem::paintCell( p, _cg, column, width, alignment ); } |