diff options
author | Michele Calgaro <[email protected]> | 2023-08-24 21:28:39 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-31 10:03:10 +0900 |
commit | 030a2248f3630fd0404df98beffc78b5b5ca4c31 (patch) | |
tree | 75d55e7e177ca48e69d59f74181ce37841ecd51b /src/modules/list/listwindow.cpp | |
parent | 17118265cf93b35b0b68e450ea5f43046c1d81c3 (diff) | |
download | kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.tar.gz kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.zip |
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/modules/list/listwindow.cpp')
-rw-r--r-- | src/modules/list/listwindow.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/list/listwindow.cpp b/src/modules/list/listwindow.cpp index ec6663a1..e9d3e74d 100644 --- a/src/modules/list/listwindow.cpp +++ b/src/modules/list/listwindow.cpp @@ -86,11 +86,7 @@ KviChannelListViewItem::~KviChannelListViewItem() { delete m_pData; } -#ifdef COMPILE_USE_QT4 -int KviChannelListViewItem::width ( const TQFontMetrics & fm, const KviTalListView * lv, int column ) const -#else int KviChannelListViewItem::width ( const TQFontMetrics & fm, const TQListView * lv, int column ) const -#endif { tqDebug("width request"); TQString szText; @@ -123,14 +119,9 @@ void KviChannelListViewItem::paintCell(TQPainter * p,const TQColorGroup &cg,int int marg = lv->itemMargin(); int r = marg; -#ifdef COMPILE_USE_QT4 - - p->fillRect( 0, 0, width, height(), cg.brush(lv->viewport()->backgroundRole()) ); -#else const TQColorGroup::ColorRole crole = TQPalette::backgroundRoleFromMode(lv->viewport()->backgroundMode()); p->fillRect( 0, 0, width, height(), cg.brush( crole ) ); -#endif if ( isSelected() && (column == 0 || lv->allColumnsShowFocus()) ) { |