Re: QIconView woes....
Ashley Winters <[email protected]> Sun, 21 Aug 2005 20:38:37 -0700 (PDT)
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
--- Ashley Winters <[email protected]> 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