diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:33:54 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:33:54 -0600 |
commit | 4614cf2e7bce250f5b9cdef409cb89330d60bb1d (patch) | |
tree | 630297f3af9c048e22b4a376bb89f8f73e582983 /src/logviewer.cpp | |
parent | 4e8c56f8ce07340aadde2098d909a71c645a8000 (diff) | |
download | soundkonverter-4614cf2e7bce250f5b9cdef409cb89330d60bb1d.tar.gz soundkonverter-4614cf2e7bce250f5b9cdef409cb89330d60bb1d.zip |
Rename a number of old tq methods that are no longer tq specific
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 ); } |