diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:00:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:00:34 -0600 |
commit | 5f12b88e2de1496970d74c7b654e8fd9442f3d5c (patch) | |
tree | 95c1f03353b4652c26eba2de64f947ed5809a7b3 /src/basketlistview.cpp | |
parent | bd608b63a8654863e86960e8f2301eac012aa44d (diff) | |
download | basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.tar.gz basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/basketlistview.cpp')
-rw-r--r-- | src/basketlistview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basketlistview.cpp b/src/basketlistview.cpp index 0ad8871..093336d 100644 --- a/src/basketlistview.cpp +++ b/src/basketlistview.cpp @@ -136,7 +136,7 @@ void BasketListViewItem::setup() int height = MARGIN + TQMAX(BASKET_ICON_SIZE, textRect.height()) + MARGIN; setHeight(height); - TQPixmap icon = kapp->iconLoader()->loadIcon(m_basket->icon(), KIcon::NoGroup, 16, KIcon::DefaultState, 0L, /*canReturnNull=*/false); + TQPixmap icon = kapp->iconLoader()->loadIcon(m_basket->icon(), TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, /*canReturnNull=*/false); setPixmap(/*column=*/0, icon); @@ -580,12 +580,12 @@ void BasketListViewItem::paintCell(TQPainter *painter, const TQColorGroup &/*col effectiveWidth += countPixmap.width() + MARGIN; } if (showLoadingIcon) { - TQPixmap icon = kapp->iconLoader()->loadIcon("find", KIcon::NoGroup, 16, KIcon::DefaultState, 0L, /*canReturnNull=*/false); + TQPixmap icon = kapp->iconLoader()->loadIcon("find", TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, /*canReturnNull=*/false); thePainter.drawPixmap(effectiveWidth, 0, icon); effectiveWidth += BASKET_ICON_SIZE + MARGIN; } if (showEncryptedIcon && !showLoadingIcon) { - TQPixmap icon = kapp->iconLoader()->loadIcon("encrypted", KIcon::NoGroup, 16, KIcon::DefaultState, 0L, /*canReturnNull=*/false); + TQPixmap icon = kapp->iconLoader()->loadIcon("encrypted", TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, /*canReturnNull=*/false); thePainter.drawPixmap(effectiveWidth, 0, icon); } |