summaryrefslogtreecommitdiff
path: root/plugins/SessionLoader/Windows
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SessionLoader/Windows')
-rw-r--r--plugins/SessionLoader/Windows/documentation.dox3
-rw-r--r--plugins/SessionLoader/Windows/informations.xml2
-rw-r--r--plugins/SessionLoader/Windows/sessionLoader.cpp8
-rw-r--r--plugins/SessionLoader/Windows/sessionLoader.h2
-rw-r--r--plugins/SessionLoader/Windows/sessionLoader.pro14
5 files changed, 14 insertions, 15 deletions
diff --git a/plugins/SessionLoader/Windows/documentation.dox b/plugins/SessionLoader/Windows/documentation.dox
index 67ea43f..bfe77f3 100644
--- a/plugins/SessionLoader/Windows/documentation.dox
+++ b/plugins/SessionLoader/Windows/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Method
@@ -30,4 +30,3 @@
The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4.
*/
-
diff --git a/plugins/SessionLoader/Windows/informations.xml b/plugins/SessionLoader/Windows/informations.xml
index b91bd28..1042f96 100644
--- a/plugins/SessionLoader/Windows/informations.xml
+++ b/plugins/SessionLoader/Windows/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[This plugin allow Ultracopier to be loaded at the session opening under windows]]></description>
<description xml:lang="fr"><![CDATA[Ce plugin permet de charger Ultracopier à l'ouverture de la sessions sous windows]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>Windows</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/SessionLoader/Windows/sessionLoader.cpp b/plugins/SessionLoader/Windows/sessionLoader.cpp
index 5080bdc..121bae0 100644
--- a/plugins/SessionLoader/Windows/sessionLoader.cpp
+++ b/plugins/SessionLoader/Windows/sessionLoader.cpp
@@ -17,7 +17,7 @@
void WindowsSessionLoader::setEnabled(const bool &newValue)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, newValue: "+QString::number(newValue));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, newValue: "+std::to_string(newValue));
//set value into the variable
HKEY ultracopier_regkey;
//for autostart
@@ -30,12 +30,12 @@ void WindowsSessionLoader::setEnabled(const bool &newValue)
if(newValue)
{
if(RegSetValueEx(ultracopier_regkey, TEXT("ultracopier"), 0, REG_SZ, (BYTE*)windowsString, runStringApp.length()*2)!=ERROR_SUCCESS)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+QString::number(newValue)+" failed");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed");
}
else
{
if(RegDeleteValue(ultracopier_regkey, TEXT("ultracopier"))!=ERROR_SUCCESS)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+QString::number(newValue)+" failed");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed");
}
RegCloseKey(ultracopier_regkey);
}
@@ -60,7 +60,7 @@ bool WindowsSessionLoader::getEnabled() const
return temp;
}
-void WindowsSessionLoader::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion)
+void WindowsSessionLoader::setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion)
{
Q_UNUSED(options);
Q_UNUSED(writePath);
diff --git a/plugins/SessionLoader/Windows/sessionLoader.h b/plugins/SessionLoader/Windows/sessionLoader.h
index bc8615e..b064e50 100644
--- a/plugins/SessionLoader/Windows/sessionLoader.h
+++ b/plugins/SessionLoader/Windows/sessionLoader.h
@@ -22,7 +22,7 @@ public:
/// \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);
+ void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion);
/// \brief to get the options widget, NULL if not have
QWidget * options();
public slots:
diff --git a/plugins/SessionLoader/Windows/sessionLoader.pro b/plugins/SessionLoader/Windows/sessionLoader.pro
index 071db7e..1059692 100644
--- a/plugins/SessionLoader/Windows/sessionLoader.pro
+++ b/plugins/SessionLoader/Windows/sessionLoader.pro
@@ -5,12 +5,12 @@ mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
TEMPLATE = lib
CONFIG += plugin
LIBS += -ladvapi32
-HEADERS = sessionLoader.h \
- StructEnumDefinition.h \
- Variable.h \
- Environment.h \
- DebugEngineMacro.h \
- ../../../interface/PluginInterface_SessionLoader.h
+HEADERS = \
+ $$PWD/sessionLoader.h \
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/Variable.h \
+ $$PWD/Environment.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/../../../interface/PluginInterface_SessionLoader.h
SOURCES = sessionLoader.cpp
TARGET = $$qtLibraryTarget(sessionLoader)
-