[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: disabling left bar on kfiledialog
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2003-07-08 20:32:06
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 08 July 2003 02:36, Michael Pyne wrote:
> But how would you do so from your program?  I suspect that what he means is
> that he wants his program for whatever reason to have that bar disabled,
> even if the user wanted it.

talking w/Pupeno on IRC, he apparently doesn't need this anymore... but to 
answer the question, the method that shows/hides the speedbar is protected. 
but it's a slot, and IIRC QObject::connect doesn't obey 
public/protected/private directives so you could just connect then emit a 
hideSpeedbar(true) signal to the method and get around it. nasty. hacky. 
probably works, though. =)

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE: The 'K' is for 'kick ass'
http://www.kde.org       http://promo.kde.org/3.1/feature_guide.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/CypG1rcusafx20MRAhixAJsEr8EGuirw+I5rX71nutJM7Yq6lwCfbV/6
P5viANpapToDinAhoG0HXhs=
=K7sF
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic