diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:26 -0600 |
commit | b651b3b01b24418d0e6387870d9758a61d7bd9ff (patch) | |
tree | 0e1080d49470e1c5a3640569e551b7afb30b2827 /src/dolphindetailsview.cpp | |
parent | 33ca3afe641f5cb46cda167f2c6700747ee0c06f (diff) | |
download | dolphin-b651b3b01b24418d0e6387870d9758a61d7bd9ff.tar.gz dolphin-b651b3b01b24418d0e6387870d9758a61d7bd9ff.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r-- | src/dolphindetailsview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 816deb1..2442397 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -489,7 +489,7 @@ void DolphinDetailsView::slotActivationUpdate() update(); // TODO: there must be a simpler way to say - // "update all tqchildren" + // "update all children" const TQObjectList list = childrenListObject(); if (list.isEmpty()) { return; @@ -713,7 +713,7 @@ void DolphinDetailsView::DolphinListViewItem::paintCell(TQPainter* painter, const TQColorGroup& colorGroup, int column, int cellWidth, - int tqalignment) + int alignment) { const TQListView* view = listView(); const bool isActive = TQT_BASE_OBJECT(view->parent()) == TQT_BASE_OBJECT(Dolphin::mainWin().activeView()); @@ -725,26 +725,26 @@ void DolphinDetailsView::DolphinListViewItem::paintCell(TQPainter* painter, const TQColor highlightColor(isActive ? backgroundColor(column) : view->colorGroup().background()); defaultColorGroup.setColor(TQColorGroup::Highlight , highlightColor); defaultColorGroup.setColor(TQColorGroup::HighlightedText, colorGroup.color(TQColorGroup::Text)); - KFileListViewItem::paintCell(painter, defaultColorGroup, column, cellWidth, tqalignment); + KFileListViewItem::paintCell(painter, defaultColorGroup, column, cellWidth, alignment); if (column == 0) { // draw the selection only on the first column TQListView* parent = listView(); const int itemWidth = width(parent->fontMetrics(), parent, 0); if (isActive) { - KFileListViewItem::paintCell(painter, colorGroup, column, itemWidth, tqalignment); + KFileListViewItem::paintCell(painter, colorGroup, column, itemWidth, alignment); } else { - TQListViewItem::paintCell(painter, colorGroup, column, itemWidth, tqalignment); + TQListViewItem::paintCell(painter, colorGroup, column, itemWidth, alignment); } } } else { if (isActive) { - KFileListViewItem::paintCell(painter, colorGroup, column, cellWidth, tqalignment); + KFileListViewItem::paintCell(painter, colorGroup, column, cellWidth, alignment); } else { - TQListViewItem::paintCell(painter, colorGroup, column, cellWidth, tqalignment); + TQListViewItem::paintCell(painter, colorGroup, column, cellWidth, alignment); } } |