summaryrefslogtreecommitdiff
path: root/ThemesManager.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
commitbd56579c7d9de94c17287adefa118290e6b7ba33 (patch)
tree666d7d0b6945b442573b7a3145969f66a53aa460 /ThemesManager.h
parentb3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (diff)
New upstream version 1.4.0.3
Diffstat (limited to 'ThemesManager.h')
-rw-r--r--ThemesManager.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ThemesManager.h b/ThemesManager.h
index 1f8096d..9e83af8 100644
--- a/ThemesManager.h
+++ b/ThemesManager.h
@@ -37,7 +37,7 @@ class ThemesManager : public QObject
/** \brief To get image into the current themes, or default if not found
\param filePath The file path to search, like toto.png resolved with the root of the current themes
\see currentStylePath */
- QIcon loadIcon(const QString &fileName);
+ QIcon loadIcon(const std::string &fileName);
/** \brief To get if one themes instance
\see Core() */
PluginInterface_Themes * getThemesInstance();
@@ -49,9 +49,9 @@ class ThemesManager : public QObject
~ThemesManager();
private:
/// \brief The default themes path where it has theme's files
- QString defaultStylePath;
+ std::string defaultStylePath;
/// \brief The current themes path loaded by ultracopier
- QString currentStylePath;
+ std::string currentStylePath;
/// \brief OptionEngineGroupKey then: Group -> Key
struct PluginsAvailableThemes
{
@@ -62,14 +62,14 @@ class ThemesManager : public QObject
#endif
LocalPluginOptions *options;
};
- QList<PluginsAvailableThemes> pluginList;
- int currentPluginIndex;
+ std::vector<PluginsAvailableThemes> pluginList;
+ int currentPluginIndex;//can bne -1
bool stopIt;
signals:
/// \brief send this signal when the themes have changed
void theThemeNeedBeUnloaded() const;
void theThemeIsReloaded() const;
- void newThemeOptions(const QString &name,QWidget *,const bool &isLoaded,const bool &havePlugin) const;
+ void newThemeOptions(const std::string &name,QWidget *,const bool &isLoaded,const bool &havePlugin) const;
void previouslyPluginAdded(PluginsAvailable) const;
private slots:
/// \brief reload the themes
@@ -78,9 +78,9 @@ class ThemesManager : public QObject
void onePluginWillBeRemoved(const PluginsAvailable &plugin);
#endif
void allPluginIsLoaded();
- void newOptionValue(const QString &group,const QString &name,const QVariant &value);
+ void newOptionValue(const std::string &group,const std::string &name,const std::string &value);
#ifdef ULTRACOPIER_DEBUG
- void debugInformation(const Ultracopier::DebugLevel &level, const QString& fonction, const QString& text, const QString& file, const int& ligne);
+ void debugInformation(const Ultracopier::DebugLevel &level, const std::string& fonction, const std::string& text, const std::string& file, const int& ligne);
#endif // ULTRACOPIER_DEBUG
};