[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-perl
Subject:    Re: [Kde-perl] bless Qt::?
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2004-09-24 22:13:31
Message-ID: 200409242313.32274.germain () ebooksfrance ! org
[Download RAW message or body]

Le Vendredi 24 Septembre 2004 19:10, Tobias Gläßer a écrit :
> Hello,
>
> I'm searching for a way to convert for example a Qt::Widget object
> of which I know that it in reality points to a Qt::IconView object,
> so that the methods of Qt::IconView can be used on it.
>
> I already tried my luck with bless(), but I hadn't much luck up until
> now.

try:
 CAST($widget, "Qt::IconView");

Greetings,
Germain

_______________________________________________
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