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

List:       kde-devel
Subject:    Re: An always on konqueror plugin
From:       aleXXX <alexander.neundorf () gmx ! net>
Date:       2002-07-15 22:14:18
[Download RAW message or body]

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);
   if ( !part )
      return;
   connect(part,SIGNAL(aboutToOpenURL()),this,SLOT(updateActions()));
...

the updateActions() will be called every time a new url is loaded.

Bye
Alex

 
>> 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