summaryrefslogtreecommitdiff
path: root/plugins-alternative/Themes/Clean/factory.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2017-11-24 23:24:09 +0000
committerThomas Preud'homme <robotux@celest.fr>2017-11-24 23:24:09 +0000
commitb3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (patch)
tree8fce8a51adfb245db8ab2a76831661780c0c713e /plugins-alternative/Themes/Clean/factory.h
parente297dbd8052ef4e66f069e2dd1865ae7fa8af28e (diff)
New upstream version 1.2.3.6
Diffstat (limited to 'plugins-alternative/Themes/Clean/factory.h')
-rw-r--r--plugins-alternative/Themes/Clean/factory.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/plugins-alternative/Themes/Clean/factory.h b/plugins-alternative/Themes/Clean/factory.h
index 2a9c0ef..f9b1ee2 100644
--- a/plugins-alternative/Themes/Clean/factory.h
+++ b/plugins-alternative/Themes/Clean/factory.h
@@ -1,8 +1,7 @@
/** \file factory.h
\brief Define the factory, to create instance of the interface
\author alpha_one_x86
-\version 0.3
-\date 2010 */
+\licence GPL3, see the file COPYING */
#ifndef FACTORY_H
#define FACTORY_H
@@ -14,26 +13,27 @@
#include "../../../interface/PluginInterface_Themes.h"
/// \brief Define the factory, to create instance of the interface
-class Factory : public PluginInterface_ThemesFactory
+class ThemesFactory : public PluginInterface_ThemesFactory
{
- Q_OBJECT
- Q_INTERFACES(PluginInterface_ThemesFactory)
- public:
- /// \brief to return the instance of the copy engine
- PluginInterface_Themes * getInstance();
- /// \brief set the resources, to store options, to have facilityInterface
- void setResources(OptionInterface * optionsEngine,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityEngine,bool portableVersion);
- /// \brief to get the default options widget
- QWidget * options();
- /// \brief to get a resource icon
- QIcon getIcon(const QString &fileName);
- signals:
- void reloadLanguage();
- public slots:
- void resetOptions();
- void newLanguageLoaded();
- private:
- FacilityInterface * facilityEngine;
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.ThemesFactory/1.0.1.0" FILE "plugin.json")
+ Q_INTERFACES(PluginInterface_ThemesFactory)
+ public:
+ /// \brief to return the instance of the copy engine
+ PluginInterface_Themes * getInstance();
+ /// \brief set the resources, to store options, to have facilityInterface
+ void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion);
+ /// \brief to get the default options widget
+ QWidget * options();
+ /// \brief to get a resource icon
+ QIcon getIcon(const QString &fileName) const;
+ signals:
+ void reloadLanguage();
+ public slots:
+ void resetOptions();
+ void newLanguageLoaded();
+ private:
+ FacilityInterface * facilityEngine;
};
#endif // FACTORY_H