From kde-core-devel Thu Dec 19 04:07:34 2002 From: Rob Kaper Date: Thu, 19 Dec 2002 04:07:34 +0000 To: kde-core-devel Subject: Re: KIconDialog X-MARC-Message: https://marc.info/?l=kde-core-devel&m=104027088516901 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday December 18 2002 12:57 am, Carsten Pfeiffer wrote: > That's basically > > KURL startDir = "file:/...."; > KDirOperator *operator = new KDirOperator( startDir, this ); > connect( operator, SIGNAL( fileSelected( const KFileItem * )), > SLOT( slotIconSelected( const KFileItem * ))); > KFileIconView *view = new KFileIconView( operator ); > operator->setView( view ); > connect( operator, SIGNAL( finishedLoading() ), > view, SLOT( showPreviews() )); > operator->show(); That seems to work like a charm, thanks! Rob - -- Rob Kaper | Gimme some love, gimme some skin, cap@capsi.com | if we ain't got that then we ain't got much www.capsi.com | and we ain't got nothing, nothing! -- "Nothing" by A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+AUYGtppIl2G1SjcRAkV+AJ0TC/9pIMgHm/AVATb7bHbJfU1NfwCfWdqO i6Bn05o/G+CM3lsbPzppaSI= =XrD5 -----END PGP SIGNATURE-----