Overloading of Qt::ToolTip::maybeTip doesn't work

Ole Christensen <[email protected]>
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
Hi,

I am trying to implement a dynamic tooltip. The problem is that 
overloading Qt::ToolTip::maybeTip does not work for me. I already have 
reimplemented virtual functions in perl, but for some reason it does not 
work for maybeTip. QToolTip is not a subclass of QObject. Does that matter?

When I switch on debugging of virtual functions I get:

virtual 0x8772ea0->QToolTip::maybeTip() called
Cannot find object for virtual method

I am using
PerlQt 3.008
Qt 3.3.3
perl 5.8.2

Thanks in advance,

Ole.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.