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

List:       kde-devel
Subject:    Re: plugins/modules
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2003-09-09 10:04:05
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 09 September 2003 03:29, Uwe Thiem wrote:
> None of the plugins should be contructed at startup. All I want is a
> approiate menu entry for each of them found. Only when the user click on
> the menu entry an instance of the plugin should be constructed.

assuming your plugins install .desktop files (right? =) then you can feed the 
results of a KTrader query for plugins for your app (or a call to 
KStandardDirs::findAllResources) to KPluginInfo::from[Services|Files] to get 
a list of plugins.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/XaWW1rcusafx20MRAldFAJ49joMl9TaBde+lISRwh5W3wwomXQCfYAOL
O3LbmWvisHJFLn2ZRs2f7kQ=
=+tof
-----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