[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KFileView and doubleclicks?
From: Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date: 2002-05-31 11:08:23
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
On Friday 31 May 2002 15:01, Christian Nitschkowski wrote:
[...]
> and it works just as expected.
Great.
> > PS: why don't you use KDirOperator's signals fileSelected() etc.? (Yes, I
> > just noticed they're lacking docu). Using those, you don't need to
> > re-connect() when the user switches views.
>
> Er, templateView is a KDirOperator.
> So
> connect (templateView, SIGNAL (selectedFile(const KFileItem*)),
> this, SLOT (selectedFile(const KFileItem*)));
>
> should use the KDirOperator's selectedFile-signal or have I missed
> something?
Hmm, the signal in KDirOperator is
void fileSelected(const KFileItem*);
not selectedFile(), that's why I was wondering. If that was just a typo, then
all should be fine.
Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iQEVAwUBPPdZp6WgYMJuwmZtAQH3ygf+NxV+HLaKvO2DjoQxEpMFjoJaUOmFzmik
zRaSrFhUEi4T2sAZmz8msY0+gec020OgxTzV1wxSoSypr0Lvo+OwR1CFI2/yLAMY
jvjXmzBDoA942QAvLiTFxvtZ1q2TwcPexUWFy14yPP263dtx5//mqexgjPs9drDj
Bc0ieZ5g85hD1Ftply52iN3r4qsPBGXzwmKExeruQAGm8vBqsbHPPvsVy1FzxqHD
ppCewnD8T5EUs8cCX7GLdo1H/Afa9s30y+9u+kcuIM+8yEEi1XuoDjXKnG0FoMXR
3hyXhsRJYUEyWyTgY8N79FXOXXerehyu+t/IKSW2ALtynIJwx16jCA==
=4mYj
-----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