KIO::SlaveConfig usage

Waldo Bastian bastian at kde.org
Wed Sep 18 20:59:32 BST 2002


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

On Wednesday 18 September 2002 02:59 am, clyne at liduentertainment.com wrote:
> Hi all,
>
> I'm trying to use SlaveConfig class to send the user agent for http
> protocol at hotmail website, Waldo Bastian had explain me this way to
> login using a simple web browser writed in KHTML class. I never used
> KIO class before, and i don't know who to use this SlaveConfig class.
> Can anyone give me the way to use it? Excuse me english...
>
> I tried to connect the signal:
>
> KIO::SlaveConfig::self(), SIGNAL(configNeeded(...)) and i recive that
> no such signal.

Try:
	connect(KIO::SlaveConfig::self(), 
		SIGNAL(configNeeded(const QString &, const QString &)),
		this,
		SLOT(yourSlot(const QString &, const QString &)));

You must also define yourSlot in your class of course.

Cheers,
Waldo
- -- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9iNskN4pvrENfboIRAhiVAJ4uxNSuZabuCZVloohKm5Ecw1PGywCaA2Xb
wDLX39BUQokO4n71IOkyBmg=
=NgmB
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list