[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: An always on konqueror plugin
From: David Faure <david () mandrakesoft ! com>
Date: 2002-07-16 19:55:39
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 16 July 2002 00:14, aleXXX wrote:
> On Sunday 14 July 2002 22:49, George Russell wrote:
> > Does anyone know if it is possible to invoke a konqueror plugin
> > automatically, without user intervention, each time a new page is loaded /
> > refreshed?
> >
> > Any ideas about how to go about doing this?
> >
> > Thanks
> > George
>
> Maybe something like this inside your plugin ?
>
> ...
> KonqDirPart * part = dynamic_cast<KonqDirPart *>(parent);
WARNING: you can't use dynamic_cast (on an application's class) in a dlopened plugin
(see old thread on kde-core-devel).
Use inherits() and static_cast instead.
- --
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-beta2 is out! http://dot.kde.org/1025176121/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9NHo772KcVAmwbhARAt1lAKCrENhzv0m5FppsL1IZvd+m3c4CHgCfdqBG
pu1W5CHqXjlUjGjKB3k3SJU=
=ddGs
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic