diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-22 01:27:23 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-22 01:27:23 -0500 |
commit | 871c87863bfe1b7ec9f2e12fd023accfa73b7928 (patch) | |
tree | 28f904016045368493f09f9087195fcafc73431d | |
parent | 86c0c6b141247b9c4771c27c96b60cfeae97ceb8 (diff) | |
download | digikam-871c87863bfe1b7ec9f2e12fd023accfa73b7928.tar.gz digikam-871c87863bfe1b7ec9f2e12fd023accfa73b7928.zip |
Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown
-rw-r--r-- | digikam/digikam/albumiconview.cpp | 2 | ||||
-rw-r--r-- | digikam/digikam/pixmapmanager.cpp | 8 | ||||
-rw-r--r-- | digikam/imageplugins/coreplugin/iccprooftool.cpp | 2 | ||||
-rw-r--r-- | digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/dialogs/imagedialog.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/imageproperties/imagepropertiessidebar.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/thumbbar/thumbbar.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/widgets/metadata/metadatawidget.cpp | 4 | ||||
-rw-r--r-- | digikam/utilities/cameragui/cameraiconview.cpp | 4 | ||||
-rw-r--r-- | digikam/utilities/lighttable/lighttablebar.cpp | 2 | ||||
-rw-r--r-- | digikam/utilities/setup/setup.cpp | 2 | ||||
-rw-r--r-- | digikam/utilities/setup/setupmime.cpp | 6 |
13 files changed, 20 insertions, 20 deletions
diff --git a/digikam/digikam/albumiconview.cpp b/digikam/digikam/albumiconview.cpp index c8ccf535..2d3a7a42 100644 --- a/digikam/digikam/albumiconview.cpp +++ b/digikam/digikam/albumiconview.cpp @@ -1286,7 +1286,7 @@ void AlbumIconView::startDrag() if (urls.isEmpty()) return; - TQPixmap icon(DesktopIcon("image", 48)); + TQPixmap icon(DesktopIcon("image-x-generic", 48)); int w = icon.width(); int h = icon.height(); diff --git a/digikam/digikam/pixmapmanager.cpp b/digikam/digikam/pixmapmanager.cpp index b63ab7dd..5ae5072d 100644 --- a/digikam/digikam/pixmapmanager.cpp +++ b/digikam/digikam/pixmapmanager.cpp @@ -196,16 +196,16 @@ void PixmapManager::slotFailedThumbnail(const KURL& url) { if (settings->getImageFileFilter().upper().contains(ext.upper()) || settings->getRawFileFilter().upper().contains(ext.upper())) - { - img = DesktopIcon("image", TDEIcon::SizeEnormous).convertToImage(); + { + img = DesktopIcon("image-x-generic", TDEIcon::SizeEnormous).convertToImage(); } else if (settings->getMovieFileFilter().upper().contains(ext.upper())) { - img = DesktopIcon("video", TDEIcon::SizeEnormous).convertToImage(); + img = DesktopIcon("video-x-generic", TDEIcon::SizeEnormous).convertToImage(); } else if (settings->getAudioFileFilter().upper().contains(ext.upper())) { - img = DesktopIcon("sound", TDEIcon::SizeEnormous).convertToImage(); + img = DesktopIcon("audio-x-generic", TDEIcon::SizeEnormous).convertToImage(); } } diff --git a/digikam/imageplugins/coreplugin/iccprooftool.cpp b/digikam/imageplugins/coreplugin/iccprooftool.cpp index 9c7c3fef..19e0fbc0 100644 --- a/digikam/imageplugins/coreplugin/iccprooftool.cpp +++ b/digikam/imageplugins/coreplugin/iccprooftool.cpp @@ -201,7 +201,7 @@ ICCProofTool::ICCProofTool(TQObject* parent) //---------- "General" Page Setup ---------------------------------- m_toolBoxWidgets->insertItem(GENERALPAGE, generalOptions, - SmallIconSet("misc"), i18n("General Settings")); + SmallIconSet("application-vnd.tde.misc"), i18n("General Settings")); TQWhatsThis::add(generalOptions, i18n("<p>Here you can set general parameters.</p>")); TQGridLayout *zeroPageLayout = new TQGridLayout(generalOptions, 5, 1); diff --git a/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp b/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp index fb0f8d7e..058a4aea 100644 --- a/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp +++ b/digikam/imageplugins/coreplugin/imageeffect_iccproof.cpp @@ -188,7 +188,7 @@ ImageEffect_ICCProof::ImageEffect_ICCProof(TQWidget* parent) //---------- "General" Page Setup ---------------------------------- m_toolBoxWidgets->insertItem(GENERALPAGE, generalOptions, - SmallIconSet("misc"), i18n("General Settings")); + SmallIconSet("application-vnd.tde.misc"), i18n("General Settings")); TQWhatsThis::add(generalOptions, i18n("<p>Here you can set general parameters.</p>")); TQGridLayout *zeroPageLayout = new TQGridLayout(generalOptions, 5, 1, spacingHint()); diff --git a/digikam/libs/dialogs/imagedialog.cpp b/digikam/libs/dialogs/imagedialog.cpp index ade4b983..879d7b0f 100644 --- a/digikam/libs/dialogs/imagedialog.cpp +++ b/digikam/libs/dialogs/imagedialog.cpp @@ -230,7 +230,7 @@ void ImageDialogPreview::slotGotThumbnail(const KURL& url, const TQPixmap& pix) void ImageDialogPreview::slotFailedThumbnail(const KURL& /*url*/) { TDEIconLoader* iconLoader = TDEApplication::kApplication()->iconLoader(); - d->imageLabel->setPixmap(iconLoader->loadIcon("image", TDEIcon::NoGroup, 128, + d->imageLabel->setPixmap(iconLoader->loadIcon(""image-x-generic", TDEIcon::NoGroup, 128, TDEIcon::DefaultState, 0, true)); } diff --git a/digikam/libs/imageproperties/imagepropertiessidebar.cpp b/digikam/libs/imageproperties/imagepropertiessidebar.cpp index 9f1dccc7..c54721c1 100644 --- a/digikam/libs/imageproperties/imagepropertiessidebar.cpp +++ b/digikam/libs/imageproperties/imagepropertiessidebar.cpp @@ -66,7 +66,7 @@ ImagePropertiesSideBar::ImagePropertiesSideBar(TQWidget *parent, const char *nam setSplitter(splitter); - appendTab(m_propertiesTab, SmallIcon("info"), i18n("Properties")); + appendTab(m_propertiesTab, SmallIcon("application-vnd.tde.info"), i18n("Properties")); appendTab(m_metadataTab, SmallIcon("exifinfo"), i18n("Metadata")); appendTab(m_colorTab, SmallIcon("blend"), i18n("Colors")); diff --git a/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp b/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp index 6a13df1e..f69b7f45 100644 --- a/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp +++ b/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp @@ -98,7 +98,7 @@ ImagePropertiesSideBarCamGui::ImagePropertiesSideBarCamGui(TQWidget *parent, con setSplitter(splitter); - appendTab(d->cameraItemTab, SmallIcon("info"), i18n("Properties")); + appendTab(d->cameraItemTab, SmallIcon("application-vnd.tde.info"), i18n("Properties")); appendTab(d->metadataTab, SmallIcon("exifinfo"), i18n("Metadata")); // ---------------------------------------------------------- diff --git a/digikam/libs/thumbbar/thumbbar.cpp b/digikam/libs/thumbbar/thumbbar.cpp index fecfbf11..63cdb64f 100644 --- a/digikam/libs/thumbbar/thumbbar.cpp +++ b/digikam/libs/thumbbar/thumbbar.cpp @@ -802,7 +802,7 @@ void ThumbBarView::slotFailedThumbnail(const KURL& url) return; TDEIconLoader* iconLoader = TDEApplication::kApplication()->iconLoader(); - TQPixmap pix = iconLoader->loadIcon("image", TDEIcon::NoGroup, ThumbnailSize::Huge); + TQPixmap pix = iconLoader->loadIcon(""image-x-generic", TDEIcon::NoGroup, ThumbnailSize::Huge); if (item->d->pixmap) { diff --git a/digikam/libs/widgets/metadata/metadatawidget.cpp b/digikam/libs/widgets/metadata/metadatawidget.cpp index 4ccfbbfd..040c6c66 100644 --- a/digikam/libs/widgets/metadata/metadatawidget.cpp +++ b/digikam/libs/widgets/metadata/metadatawidget.cpp @@ -108,14 +108,14 @@ MetadataWidget::MetadataWidget(TQWidget* parent, const char* name) d->levelButtons->setFrameShape(TQFrame::NoFrame); TQPushButton *simpleLevel = new TQPushButton( d->levelButtons ); - simpleLevel->setPixmap( iconLoader->loadIcon( "ascii", (TDEIcon::Group)TDEIcon::Toolbar ) ); + simpleLevel->setPixmap( iconLoader->loadIcon( ""text-vnd.tde.ascii", (TDEIcon::Group)TDEIcon::Toolbar ) ); simpleLevel->setToggleButton(true); TQWhatsThis::add( simpleLevel, i18n( "Switch the tags view to a simple human-readable list" ) ); TQToolTip::add( simpleLevel, i18n( "Simple list" )); d->levelButtons->insert(simpleLevel, SIMPLE); TQPushButton *fullLevel = new TQPushButton( d->levelButtons ); - fullLevel->setPixmap( iconLoader->loadIcon( "document", (TDEIcon::Group)TDEIcon::Toolbar ) ); + fullLevel->setPixmap( iconLoader->loadIcon( ""text-x-generic", (TDEIcon::Group)TDEIcon::Toolbar ) ); fullLevel->setToggleButton(true); TQWhatsThis::add( fullLevel, i18n( "Switch the tags view to a full list" ) ); TQToolTip::add( fullLevel, i18n( "Full list" )); diff --git a/digikam/utilities/cameragui/cameraiconview.cpp b/digikam/utilities/cameragui/cameraiconview.cpp index 86b39e2e..a4828394 100644 --- a/digikam/utilities/cameragui/cameraiconview.cpp +++ b/digikam/utilities/cameragui/cameraiconview.cpp @@ -310,7 +310,7 @@ void CameraIconView::addItem(const GPItemInfo& info) else { TDEIconLoader *iconLoader = TDEApplication::kApplication()->iconLoader(); - thumb = iconLoader->loadIcon("empty", TDEIcon::Desktop, + thumb = iconLoader->loadIcon(""application-x-zerosize", TDEIcon::Desktop, ThumbnailSize::Huge, TDEIcon::DefaultState, 0, true) .convertToImage(); } @@ -687,7 +687,7 @@ void CameraIconView::startDrag() TQDragObject * drag = new CameraItemListDrag(lst, d->cameraUI); if (drag) { - TQPixmap icon(DesktopIcon("image", 48)); + TQPixmap icon(DesktopIcon("image-x-generic", 48)); int w = icon.width(); int h = icon.height(); diff --git a/digikam/utilities/lighttable/lighttablebar.cpp b/digikam/utilities/lighttable/lighttablebar.cpp index e20f7bec..d5e21661 100644 --- a/digikam/utilities/lighttable/lighttablebar.cpp +++ b/digikam/utilities/lighttable/lighttablebar.cpp @@ -638,7 +638,7 @@ void LightTableBar::startDrag() imageIDs.append(item->info()->id()); albumIDs.append(item->info()->albumID()); - TQPixmap icon(DesktopIcon("image", 48)); + TQPixmap icon(DesktopIcon("image-x-generic", 48)); int w = icon.width(); int h = icon.height(); diff --git a/digikam/utilities/setup/setup.cpp b/digikam/utilities/setup/setup.cpp index fa8e4f32..7450d608 100644 --- a/digikam/utilities/setup/setup.cpp +++ b/digikam/utilities/setup/setup.cpp @@ -168,7 +168,7 @@ Setup::Setup(TQWidget* parent, const char* name, Setup::Page page) d->lighttablePage = new SetupLightTable(d->page_lighttable); d->page_editor = addPage(i18n("Image Editor"), i18n("Image Editor General Settings"), - BarIcon("image", TDEIcon::SizeMedium)); + BarIcon("image-x-generic", TDEIcon::SizeMedium)); d->editorPage = new SetupEditor(d->page_editor); d->page_iofiles = addPage(i18n("Save Images"), i18n("Image Editor: Settings for Saving Images Files"), diff --git a/digikam/utilities/setup/setupmime.cpp b/digikam/utilities/setup/setupmime.cpp index e1fc6809..594dece1 100644 --- a/digikam/utilities/setup/setupmime.cpp +++ b/digikam/utilities/setup/setupmime.cpp @@ -88,7 +88,7 @@ SetupMime::SetupMime(TQWidget* parent ) TQGridLayout* grid1 = new TQGridLayout(imageFileFilterBox->layout(), 1, 1, KDialog::spacingHint()); TQLabel *logoLabel1 = new TQLabel(imageFileFilterBox); - logoLabel1->setPixmap(DesktopIcon("image")); + logoLabel1->setPixmap(DesktopIcon("image-x-generic")); TQLabel *imageFileFilterLabel = new TQLabel(imageFileFilterBox); imageFileFilterLabel->setText(i18n("Show only &image files with extensions:")); @@ -119,7 +119,7 @@ SetupMime::SetupMime(TQWidget* parent ) TQGridLayout* grid2 = new TQGridLayout(movieFileFilterBox->layout(), 1, 1, KDialog::spacingHint()); TQLabel *logoLabel2 = new TQLabel(movieFileFilterBox); - logoLabel2->setPixmap(DesktopIcon("video")); + logoLabel2->setPixmap(DesktopIcon("video-x-generic")); TQLabel *movieFileFilterLabel = new TQLabel(movieFileFilterBox); movieFileFilterLabel->setText(i18n("Show only &movie files with extensions:")); @@ -150,7 +150,7 @@ SetupMime::SetupMime(TQWidget* parent ) TQGridLayout* grid3 = new TQGridLayout(audioFileFilterBox->layout(), 1, 1, KDialog::spacingHint()); TQLabel *logoLabel3 = new TQLabel(audioFileFilterBox); - logoLabel3->setPixmap(DesktopIcon("sound")); + logoLabel3->setPixmap(DesktopIcon("audio-x-generic")); TQLabel *audioFileFilterLabel = new TQLabel(audioFileFilterBox); audioFileFilterLabel->setText(i18n("Show only &audio files with extensions:")); |