diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:05:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:05:40 -0600 |
commit | 1d4158dd755a445fd42f2db7db5abab8084175cd (patch) | |
tree | 71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /chalk/ui/kis_layerbox.cc | |
parent | 391e0b69f256bab8971430050c65f0e6e7eea9be (diff) | |
download | koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'chalk/ui/kis_layerbox.cc')
-rw-r--r-- | chalk/ui/kis_layerbox.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chalk/ui/kis_layerbox.cc b/chalk/ui/kis_layerbox.cc index e5b8dea4..7e14dcf0 100644 --- a/chalk/ui/kis_layerbox.cc +++ b/chalk/ui/kis_layerbox.cc @@ -82,17 +82,17 @@ KisLayerBox::KisLayerBox(KisCanvasSubject *subject, TQWidget *parent, const char TQToolTip::add(m_lst->bnProperties, i18n("Properties for layer")); - KIconLoader il( "chalk" ); + TDEIconLoader il( "chalk" ); list()->setPreviewsShown(true); list()->setFoldersCanBeActive(true); - list()->addProperty("visible", i18n("Visible"), loadPixmap("visible.png", il, KIcon::SizeSmallMedium), - loadPixmap("novisible.png", il, KIcon::SizeSmallMedium), true); + list()->addProperty("visible", i18n("Visible"), loadPixmap("visible.png", il, TDEIcon::SizeSmallMedium), + loadPixmap("novisible.png", il, TDEIcon::SizeSmallMedium), true); - list()->addProperty("locked", i18n("Locked"), loadPixmap("locked.png", il, KIcon::SizeSmallMedium), - loadPixmap("unlocked.png", il, KIcon::SizeSmallMedium)); + list()->addProperty("locked", i18n("Locked"), loadPixmap("locked.png", il, TDEIcon::SizeSmallMedium), + loadPixmap("unlocked.png", il, TDEIcon::SizeSmallMedium)); connect(list()->contextMenu(), TQT_SIGNAL(aboutToShow()), TQT_SLOT(slotAboutToShow())); @@ -588,10 +588,10 @@ void KisLayerBox::setUpdatesAndSignalsEnabled(bool enable) } -TQPixmap KisLayerBox::loadPixmap(const TQString& filename, const KIconLoader& +TQPixmap KisLayerBox::loadPixmap(const TQString& filename, const TDEIconLoader& il, int size) { - TQPixmap pixmap = il.loadIcon(filename, KIcon::NoGroup, size); + TQPixmap pixmap = il.loadIcon(filename, TDEIcon::NoGroup, size); if (pixmap.isNull()) KMessageBox::error(0, i18n("Cannot find %1").arg(filename), |