[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-perl
Subject: Re: [Kde-perl] bless Qt::?
From: Tobias =?ISO-8859-1?Q?Gl=E4=DFer?= <tobi.web () gmx ! de>
Date: 2004-09-24 23:21:40
Message-ID: 1096068100.2979.0.camel () dhcppc2
[Download RAW message or body]
Am Freitag, den 24.09.2004, 23:13 +0100 schrieb Germain Garand:
> 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
Thanks, that helped to solve my problem!
Greetz...
Tobias Gläßer
_______________________________________________
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