/[http://wiki.kde.org/tiki-index.php?page=KDE+Community+World+Summit|aKademy] / [http://wiki.kde.org/tiki-index.php?page=Talks+@+aKademy|Talks] / Plugins Talk -=Writing Plugins as an Introduction to KDE=- Brad Hands A plugin is a dynamically loaded library, uses a well defined limited interface, provides a service or information and is sometimes associated with a mime type by KTrader. Example: new KPropertiesDialogue(KUrl("/home/bradh/foo.pdf"), this); That one line gives a dialogue with a whole load of information about the file, whoever wrote this stuff is cool. What needs to be done? A class which inherits from KFilePlugin, an implementation (hard bit) and a .desktop file. He shows us a short class declaraton with a constructor and a shared library line. Implementation has a KGenericFactoryPlugin. .desktop file you can just copy from another plugin to get an example. X-KDE-Library is important, it has to match the factory plugin name. Rest is mostly code, look at the slides.