[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-perl
Subject: Re: [Kde-perl] QIconView woes....
From: Ashley Winters <jahqueel () yahoo ! com>
Date: 2005-08-22 3:38:37
Message-ID: 20050822033838.10560.qmail () web50911 ! mail ! yahoo ! com
[Download RAW message or body]
--- Ashley Winters <jahqueel@yahoo.com> wrote:
> well, you can't do SIGNAL "foo($variable)" since $variable can't be
> interpreted at connect() time. Also, I don't think the "&" in
> "&driveSelected()" is legal.
>
> So, here's what you could do instead:
>
> $driveView->connect(SIGNAL "clicked()", this, SLOT
> "driveSelected()");
Lets try that again:
use slots driveSelected => ['QIconViewItem *'];
$driveView->connect(SIGNAL "clicked(QIconViewItem *)",
this, SLOT "driveSelected(QIconViewItem *)");
Much better... it might even work. :)
Ashley Winters
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
Kde-perl mailing list
Kde-perl@kde.org
https://mail.kde.org/mailman/listinfo/kde-perl
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic