diff options
Diffstat (limited to 'languages/cpp/app_templates/kfileplugin/kfile_plugin.h')
-rw-r--r-- | languages/cpp/app_templates/kfileplugin/kfile_plugin.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h new file mode 100644 index 00000000..358b4dcb --- /dev/null +++ b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h @@ -0,0 +1,24 @@ +%{H_TEMPLATE} + +#ifndef __KFILE_%{APPNAMEUC}_H__ +#define __KFILE_%{APPNAMEUC}_H__ + +/** + * Note: For further information look into <$KDEDIR/include/kfilemetainfo.h> + */ +#include <kfilemetainfo.h> + +class QStringList; + +class %{APPNAME}Plugin: public KFilePlugin +{ + Q_OBJECT + +public: + %{APPNAME}Plugin( QObject *parent, const char *name, const QStringList& args ); + + virtual bool readInfo( KFileMetaInfo& info, uint what); +}; + +#endif // __KFILE_%{APPNAMEUC}_H__ + |