--===============0875524888==
Content-Type: multipart/signed;
boundary="nextPart2242397.eTaAE5iW8F";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart2242397.eTaAE5iW8F
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 15 February 2006 20:15, Christoffer Brodd-Reijer wrote:
> Andreas Pakulat wrote:
> > On 15.02.06 17:56:47, Christoffer Brodd-Reijer wrote:
> >> I have a QLineEdit that should contain a mounting point, but thought I
> >> should change it a little so that the user can click on a folder-icon
> >> and browse for a folder. I want to folder-icon to be the default one f=

or
> >> the icon-theme that the user is using, so that it will stay consistent
> >> with everything else.
> >>
> >> Is there a simple way to do this?

> >
> > Use the setIconSet() method of the button. It works like this:
> >
> > mybutton->setIconSet(SmallIcon("folder"))
> >
> > Where "folder" is the name (without extension) of the icon you want. You
> > can browse the icons under KDEDIR/share/icons///actions
> >
> > SmallIcon will give you toolbar-sized icons (16x16 IIRC), check the
> > documentation about how getting larger/smaller icons.
> >
> > Andreas

>
> Thank you.
> Where is the SmallIcon function? And where is the documentation on this?


Documented along KIconLoader
>
> I am having trouble finding docs for classes and function in KDE. Do
> they have any documentation on classes/function that looks like the docs
> for Qt? Cause they are great.


http://api.kde.org/

or in KDE, when you need the docs of a class you know the name of
kde:classname
in your case
kde:KIconLoader

Cheers,
Kevin

=2D-=20
Kevin Krammer
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org

--nextPart2242397.eTaAE5iW8F
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBD84BlnKMhG6pzZJIRAqgkAJ97wLp8JzYrPrA1O26V79 hk65WXtwCfWgHq
PwFzfmILlU/xZGGFR6C0iCY=
=n0Lt
-----END PGP SIGNATURE-----

--nextPart2242397.eTaAE5iW8F--

--===============0875524888==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


--===============0875524888==--