From b3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Fri, 24 Nov 2017 23:24:09 +0000 Subject: New upstream version 1.2.3.6 --- PluginInformation.h | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'PluginInformation.h') diff --git a/PluginInformation.h b/PluginInformation.h index bae5ea4..c1bda2f 100644 --- a/PluginInformation.h +++ b/PluginInformation.h @@ -1,8 +1,6 @@ /** \file PluginInformation.h \brief Define the plugin information \author alpha_one_x86 -\version 0.3 -\date 2010 \licence GPL3, see the file COPYING */ #ifndef PLUGININFORMATION_H @@ -20,25 +18,25 @@ namespace Ui { /** \brief to show the plugin information */ class PluginInformation : public QDialog { - Q_OBJECT - public: - explicit PluginInformation(); - ~PluginInformation(); - /** \brief get translated categorie */ - QString categoryToTranslation(PluginType category); - /** \brief to get the new plugin informations */ - void setPlugin(PluginsAvailable plugin); - /** \brief to set the language */ - void setLanguage(QString language); - public slots: - void retranslateInformation(); - private: - bool pluginIsLoaded; - PluginsAvailable plugin; - Ui::PluginInformation *ui; - QString language; - QString getInformationText(PluginsAvailable plugin,QString informationName); - QString getTranslatedText(PluginsAvailable plugin,QString informationName,QString mainShortName); + Q_OBJECT + public: + explicit PluginInformation(); + ~PluginInformation(); + /** \brief get translated categorie */ + QString categoryToTranslation(const PluginType &category) const; + /** \brief to get the new plugin informations */ + void setPlugin(const PluginsAvailable &plugin); + /** \brief to set the language */ + void setLanguage(const QString &language); + public slots: + void retranslateInformation(); + private: + bool pluginIsLoaded; + PluginsAvailable plugin; + Ui::PluginInformation *ui; + QString language; + QString getInformationText(const PluginsAvailable &plugin,const QString &informationName); + QString getTranslatedText(const PluginsAvailable &plugin,const QString &informationName,const QString &mainShortName); }; #endif // PLUGININFORMATION_H -- cgit v1.2.3