summaryrefslogtreecommitdiffstats
path: root/ark
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
commit34ec7cf1e70300eb43f3822ce3261893f9f8ace6 (patch)
treec7fe414e406e16a97e53d9eed0979d9ea85d2915 /ark
parente6b6046f50ea600fc78e00071e2a79e3c8c08ccd (diff)
downloadtdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.tar.gz
tdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'ark')
-rw-r--r--ark/arkviewer.cpp2
-rw-r--r--ark/filelistview.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/ark/arkviewer.cpp b/ark/arkviewer.cpp
index 7a2dda9..f011e62 100644
--- a/ark/arkviewer.cpp
+++ b/ark/arkviewer.cpp
@@ -75,7 +75,7 @@ bool ArkViewer::view( const KURL& filename )
headerLayout->setAutoAdd( true );
TQLabel *iconLabel = new TQLabel( header );
- iconLabel->setPixmap( mimetype->pixmap( KIcon::Desktop ) );
+ iconLabel->setPixmap( mimetype->pixmap( TDEIcon::Desktop ) );
iconLabel->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum );
TQVBox *headerRight = new TQVBox( header );
diff --git a/ark/filelistview.cpp b/ark/filelistview.cpp
index 51e1704..8792239 100644
--- a/ark/filelistview.cpp
+++ b/ark/filelistview.cpp
@@ -176,7 +176,7 @@ static FileLVI* folderLVI( TDEListViewItem *parent, const TQString& name )
folder->setText( 0, name );
- folder->setPixmap( 0, KMimeType::mimeType( "inode/directory" )->pixmap( KIcon::Small ) );
+ folder->setPixmap( 0, KMimeType::mimeType( "inode/directory" )->pixmap( TDEIcon::Small ) );
return folder;
}
@@ -185,7 +185,7 @@ static FileLVI* folderLVI( TDEListView *parent, const TQString& name )
{
FileLVI *folder = new FileLVI( parent );
folder->setText( 0, name );
- folder->setPixmap( 0, KMimeType::mimeType( "inode/directory" )->pixmap( KIcon::Small ) );
+ folder->setPixmap( 0, KMimeType::mimeType( "inode/directory" )->pixmap( TDEIcon::Small ) );
return folder;
}
@@ -401,7 +401,7 @@ void FileListView::addItem( const TQStringList & entries )
}
KMimeType::Ptr mimeType = KMimeType::findByPath( entries.first(), 0, true );
- flvi->setPixmap( 0, mimeType->pixmap( KIcon::Small ) );
+ flvi->setPixmap( 0, mimeType->pixmap( TDEIcon::Small ) );
}
void FileListView::selectAll()