[Panel-devel] Re: KIO::Netaccess support for themes
Petri Damsten
petri.damsten at iki.fi
Sun May 29 22:15:27 CEST 2005
On Sunday 29 May 2005 21:07, Aaron J. Seigo wrote:
> > > > > It copies the file to:
> > > > > ksd.localkdedir() + ksd.kde_default("data") + kapp->name() +
> > > > > "/themes/"
> > >
> > > is that literally what's in the source code?
> >
> > Yes.
>
> any reason why you aren't using KStandardDirs? e.g.:
>
> locateLocal("appdata", "themes/", true);
Well, I'm using KStandardDirs:
KStandardDirs ksd;
QDir themeDir(ksd.localkdedir() + ksd.kde_default("data")
+ kapp->name() + "/themes/");
But that locateLocal is much simpler. I can also get rid of the dir creation
code. Thanks.
Petri
-------------- 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/panel-devel/attachments/20050529/6890d7e0/attachment.pgp
More information about the Panel-devel
mailing list