From 594fcba67600704bee9115c86e18927b2237b304 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 29 May 2018 05:44:34 +0100 Subject: New upstream version 1.4.0.8 --- .../SessionLoader/KDE4/sessionLoader.h | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 plugins-unmaintained/SessionLoader/KDE4/sessionLoader.h (limited to 'plugins-unmaintained/SessionLoader/KDE4/sessionLoader.h') diff --git a/plugins-unmaintained/SessionLoader/KDE4/sessionLoader.h b/plugins-unmaintained/SessionLoader/KDE4/sessionLoader.h new file mode 100644 index 0000000..b037da7 --- /dev/null +++ b/plugins-unmaintained/SessionLoader/KDE4/sessionLoader.h @@ -0,0 +1,33 @@ +/** \file sessionLoader.h +\brief Define the session loader +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef SESSION_LOADER_PLUGIN_H +#define SESSION_LOADER_PLUGIN_H + +#include +#include "Environment.h" +#include "../../../interface/PluginInterface_SessionLoader.h" + +/// \brief Define the session loader +class KDESessionLoader : public PluginInterface_SessionLoader +{ + Q_OBJECT + Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.SessionLoader/1.0.0.0" FILE "plugin.json") + Q_INTERFACES(PluginInterface_SessionLoader) +public: + /// \brief to set if it's enabled or not + void setEnabled(const bool &enabled); + /// \brief to get if is enabled + bool getEnabled() const; + /// \brief set the resources for the plugins + void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion); + /// \brief to get the options widget, NULL if not have + QWidget * options(); +public slots: + /// \brief to reload the translation, because the new language have been loaded + void newLanguageLoaded(); +}; + +#endif // SESSION_LOADER_PLUGIN_H -- cgit v1.2.3