diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:51 -0600 |
commit | f2bfcad7ffdd09911f282afe2a2051b3708601c9 (patch) | |
tree | ce4bebc206b6f9753745218e6a4c4368df624c16 /tdeio/tdefile/tdefiletreeview.cpp | |
parent | a14eaa044240517f1f3d7eb5dacbff96fd447ada (diff) | |
download | tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.tar.gz tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'tdeio/tdefile/tdefiletreeview.cpp')
-rw-r--r-- | tdeio/tdefile/tdefiletreeview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeio/tdefile/tdefiletreeview.cpp b/tdeio/tdefile/tdefiletreeview.cpp index fd7d630e1..6138b3863 100644 --- a/tdeio/tdefile/tdefiletreeview.cpp +++ b/tdeio/tdefile/tdefiletreeview.cpp @@ -79,7 +79,7 @@ KFileTreeView::KFileTreeView( TQWidget *parent, const char *name ) m_bDrag = false; m_branches.setAutoDelete( true ); - m_openFolderPixmap = DesktopIcon( "folder_open",KIcon::SizeSmall,KIcon::ActiveState ); + m_openFolderPixmap = DesktopIcon( "folder_open",TDEIcon::SizeSmall,TDEIcon::ActiveState ); } KFileTreeView::~KFileTreeView() @@ -357,7 +357,7 @@ void KFileTreeView::slotSelectionChanged() KFileTreeBranch* KFileTreeView::addBranch( const KURL &path, const TQString& name, bool showHidden ) { - const TQPixmap& folderPix = KMimeType::mimeType("inode/directory")->pixmap( KIcon::Desktop,KIcon::SizeSmall ); + const TQPixmap& folderPix = KMimeType::mimeType("inode/directory")->pixmap( TDEIcon::Desktop,TDEIcon::SizeSmall ); return addBranch( path, name, folderPix, showHidden); } @@ -491,7 +491,7 @@ TQPixmap KFileTreeView::itemIcon( KFileTreeViewItem *item, int gap ) const else { // TODO: different modes, user Pixmaps ? - pix = item->fileItem()->pixmap( KIcon::SizeSmall ); // , KIcon::DefaultState); + pix = item->fileItem()->pixmap( TDEIcon::SizeSmall ); // , TDEIcon::DefaultState); /* Only if it is a dir and the user wants open dir pixmap and it is open, * change the fileitem's pixmap to the open folder pixmap. */ @@ -524,7 +524,7 @@ void KFileTreeView::slotAnimation() uint & iconNumber = it.data().iconNumber; TQString icon = TQString::fromLatin1( it.data().iconBaseName ).append( TQString::number( iconNumber ) ); // kdDebug(250) << "Loading icon " << icon << endl; - item->setPixmap( 0, DesktopIcon( icon,KIcon::SizeSmall,KIcon::ActiveState )); // KFileTreeViewFactory::instance() ) ); + item->setPixmap( 0, DesktopIcon( icon,TDEIcon::SizeSmall,TDEIcon::ActiveState )); // KFileTreeViewFactory::instance() ) ); iconNumber++; if ( iconNumber > it.data().iconCount ) |