summaryrefslogtreecommitdiffstats
path: root/src/projects
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:01:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:01:37 -0600
commitf8b1b30a5928beb707c51e29b58396645197ea5f (patch)
treefc57f5287fe4f43fa84d46eac9ae14cadede5c54 /src/projects
parentbba095a5aab3f7cbf3ec062071e94f5c1e66e50b (diff)
downloadk3b-f8b1b30a5928beb707c51e29b58396645197ea5f.tar.gz
k3b-f8b1b30a5928beb707c51e29b58396645197ea5f.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/projects')
-rw-r--r--src/projects/k3baudiotracktrmlookupdialog.cpp2
-rw-r--r--src/projects/k3bdatapropertiesdialog.cpp4
-rw-r--r--src/projects/k3bdataviewitem.cpp4
-rw-r--r--src/projects/k3bmovixlistview.cpp2
-rw-r--r--src/projects/k3bprojectburndialog.cpp2
-rw-r--r--src/projects/k3bvcdtrackdialog.cpp4
6 files changed, 9 insertions, 9 deletions
diff --git a/src/projects/k3baudiotracktrmlookupdialog.cpp b/src/projects/k3baudiotracktrmlookupdialog.cpp
index d20838b..3e21a54 100644
--- a/src/projects/k3baudiotracktrmlookupdialog.cpp
+++ b/src/projects/k3baudiotracktrmlookupdialog.cpp
@@ -57,7 +57,7 @@ K3bAudioTrackTRMLookupDialog::K3bAudioTrackTRMLookupDialog( TQWidget* parent, co
m_infoLabel = new TQLabel( plainPage() );
TQLabel* pixLabel = new TQLabel( plainPage() );
- pixLabel->setPixmap( TDEGlobal::iconLoader()->loadIcon( "musicbrainz", KIcon::NoGroup, 64 ) );
+ pixLabel->setPixmap( TDEGlobal::iconLoader()->loadIcon( "musicbrainz", TDEIcon::NoGroup, 64 ) );
pixLabel->setScaledContents( false );
m_busyWidget = new K3bBusyWidget( plainPage() );
diff --git a/src/projects/k3bdatapropertiesdialog.cpp b/src/projects/k3bdatapropertiesdialog.cpp
index c3648ca..183f47c 100644
--- a/src/projects/k3bdatapropertiesdialog.cpp
+++ b/src/projects/k3bdatapropertiesdialog.cpp
@@ -92,7 +92,7 @@ K3bDataPropertiesDialog::K3bDataPropertiesDialog( K3bDataItem* dataItem, TQWidge
if( K3bFileItem* fileItem = dynamic_cast<K3bFileItem*>(dataItem) ) {
KFileItem kFileItem( KFileItem::Unknown, KFileItem::Unknown, KURL::fromPathOrURL(fileItem->localPath()) );
- labelMimeType->setPixmap( kFileItem.pixmap(KIcon::SizeLarge) );
+ labelMimeType->setPixmap( kFileItem.pixmap(TDEIcon::SizeLarge) );
if( fileItem->isSymLink() )
m_labelType->setText( i18n("Link to %1").arg(kFileItem.mimeComment()) );
else
@@ -116,7 +116,7 @@ K3bDataPropertiesDialog::K3bDataPropertiesDialog( K3bDataItem* dataItem, TQWidge
i18n("and 1 directory", "and %n directories", dirItem->numDirs()) + ")" );
}
else {
- labelMimeType->setPixmap( DesktopIcon("unknown", KIcon::SizeLarge) );
+ labelMimeType->setPixmap( DesktopIcon("unknown", TDEIcon::SizeLarge) );
m_labelType->setText( i18n("Special file") );
m_labelLocalName->hide();
m_labelLocalLocation->hide();
diff --git a/src/projects/k3bdataviewitem.cpp b/src/projects/k3bdataviewitem.cpp
index f8dff4f..1534363 100644
--- a/src/projects/k3bdataviewitem.cpp
+++ b/src/projects/k3bdataviewitem.cpp
@@ -210,9 +210,9 @@ void K3bDataFileViewItem::init( K3bFileItem* file )
// determine the mimetype
m_pMimeType = KMimeType::findByURL( KURL::fromPathOrURL(file->localPath()) );
if( !m_pMimeType )
- setPixmap( 0, DesktopIcon( "unknown", 16, KIcon::DefaultState ) );
+ setPixmap( 0, DesktopIcon( "unknown", 16, TDEIcon::DefaultState ) );
else
- setPixmap( 0, m_pMimeType->pixmap( KURL::fromPathOrURL(file->localPath()), KIcon::Desktop, 16, KIcon::DefaultState ) );
+ setPixmap( 0, m_pMimeType->pixmap( KURL::fromPathOrURL(file->localPath()), TDEIcon::Desktop, 16, TDEIcon::DefaultState ) );
}
diff --git a/src/projects/k3bmovixlistview.cpp b/src/projects/k3bmovixlistview.cpp
index 980c0f7..299b415 100644
--- a/src/projects/k3bmovixlistview.cpp
+++ b/src/projects/k3bmovixlistview.cpp
@@ -63,7 +63,7 @@ K3bMovixFileViewItem::K3bMovixFileViewItem( K3bMovixDoc* doc,
: K3bMovixListViewItem( doc, item, parent, after ),
KFileItem( 0, 0, KURL::fromPathOrURL(item->localPath()) )
{
- setPixmap( 1, KFileItem::pixmap( 16, KIcon::DefaultState ) );
+ setPixmap( 1, KFileItem::pixmap( 16, TDEIcon::DefaultState ) );
setEditor( 1, LINE );
}
diff --git a/src/projects/k3bprojectburndialog.cpp b/src/projects/k3bprojectburndialog.cpp
index bd8a16c..8c17340 100644
--- a/src/projects/k3bprojectburndialog.cpp
+++ b/src/projects/k3bprojectburndialog.cpp
@@ -290,7 +290,7 @@ void K3bProjectBurnDialog::prepareGui()
groupCopies->setInsideSpacing( spacingHint() );
groupCopies->setInsideMargin( marginHint() );
TQLabel* pixLabel = new TQLabel( groupCopies );
- pixLabel->setPixmap( SmallIcon( "cdcopy", KIcon::SizeMedium ) );
+ pixLabel->setPixmap( SmallIcon( "cdcopy", TDEIcon::SizeMedium ) );
pixLabel->setScaledContents( false );
m_spinCopies = new TQSpinBox( 1, 999, 1, groupCopies );
diff --git a/src/projects/k3bvcdtrackdialog.cpp b/src/projects/k3bvcdtrackdialog.cpp
index 007d20f..58c7d5e 100644
--- a/src/projects/k3bvcdtrackdialog.cpp
+++ b/src/projects/k3bvcdtrackdialog.cpp
@@ -73,9 +73,9 @@ K3bVcdTrackDialog::K3bVcdTrackDialog( K3bVcdDoc* _doc, TQPtrList<K3bVcdTrack>& t
m_muxrate->setText( i18n( "%1 bit/s" ).arg( selectedTrack->muxrate() ) );
if ( selectedTrack->isSegment() )
- m_labelMimeType->setPixmap( SmallIcon( "image", KIcon::SizeMedium ) );
+ m_labelMimeType->setPixmap( SmallIcon( "image", TDEIcon::SizeMedium ) );
else
- m_labelMimeType->setPixmap( SmallIcon( "video", KIcon::SizeMedium ) );
+ m_labelMimeType->setPixmap( SmallIcon( "video", TDEIcon::SizeMedium ) );
fillGui();
}