Strange attribute problems.
Thomas Fjellstrom <[email protected]> Tue, 19 Apr 2005 18:14:48 -0600
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
Not sure how to describe it... Basically, in a NEW of a QObject derived "class", I'm assigning something passed in through @_ to an attribute. simple enough, yet if I try and get the value of said attribute, I get undef. I've tried different names for the attribute, and initially assigning the value to a plain $variable, the $variable holds the value nicely. I tried assigning the $variable to the attribute, and still, the attribute is undef. I am using a fairly recent CVS version (dating back to my last message to the list), was there anything horribly broken around then? Oh, and the SLOT and SIGNAL method attributes don't work if the class isn't QObject based, ie: ListViewItem Wow, sometimes I really wish List*item's were QObject based, they are so crippled as is. -- Thomas Fjellstrom [email protected]