On Monday 31 October 2011, Aaron J. Seigo wrote: > On Monday, October 31, 2011 09:57:26 Daker Fernandes Pinheiro wrote: > > I think we should have a declarative image provider for getting icons. In > > this way we should just do something like: > > > > Button { > > > > icon: "image://kde/desiredIcon" > > > > } > > > > What do you think? > > given that we have QIcon::fromTheme and KIconLoader is likely to become > deprecated as a result for Frameworks 5, i doubt this is a good idea.
well, in any case, bot if we use the QIconItem component of the icon image loader, they can use kiconloader now, when migrated be ported to QIcon::fromTheme (still doesn't do caching compared to kiconloader iirc?) and the api in qml won't change at all Cheers, Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel