(Re:) Next monday will be a tuesday (again)
Olivier Goffart
ogoffart at kde.org
Fri Dec 29 18:38:29 GMT 2006
Le vendredi 29 décembre 2006 19:17, Aaron J. Seigo a écrit :
> On Friday 29 December 2006 4:29, Olivier Goffart wrote:
> > Le vendredi 29 décembre 2006 01:27, Aaron J. Seigo a écrit :
> > > KInstance::iconLoader() has moved to KApplication::iconLoader()
> >
> > Will it work if plugins have their own icon to put in the application
> > toolbar ?
>
> sure. they have access to the kapp pointer like anything else. it does mean
> you need a KApplication, however, which is perhaps slightly less flexible
> than a plain singleton.
but the directory where the icon is searched may be different.
( $KDEDIR/share/apps/plugin_name instead of $KDEDIR/share/apps/app_name )
> the solution i've employed in those circumstances is to simply create their
> own IconLoader instance internally. not a big deal; an extra couple lines
> of code for odd cases that don't want to or can't use kapplication.
yeah, sounds ok.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061229/bc5b96df/attachment.sig>
More information about the kde-core-devel
mailing list