From kde-devel Tue Sep 09 10:04:05 2003 From: "Aaron J. Seigo" Date: Tue, 09 Sep 2003 10:04:05 +0000 To: kde-devel Subject: Re: plugins/modules X-MARC-Message: https://marc.info/?l=kde-devel&m=106310255306366 -----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 <<