summaryrefslogtreecommitdiff
path: root/plugins-unmaintained/PluginLoader/keybinding
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-unmaintained/PluginLoader/keybinding')
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/DebugEngineMacro.h28
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Environment.h10
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/KeyBind.cpp11
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/KeyBind.h18
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/ar/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/de/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/el/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/en/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/es/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/fr/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/hi/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/hu/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/id/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/it/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/ja/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/ko/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/nl/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/no/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/pl/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/pt/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/ru/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/th/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/tr/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Languages/zh/translation.ts4
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.cpp55
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.h31
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.ui31
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/PlatformMacro.h1
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/StructEnumDefinition.h1
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/Variable.h16
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/documentation.dox33
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/informations.xml27
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/plugin.json1
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/pluginLoader.cpp61
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/pluginLoader.h47
-rw-r--r--plugins-unmaintained/PluginLoader/keybinding/pluginLoader.pro50
36 files changed, 501 insertions, 0 deletions
diff --git a/plugins-unmaintained/PluginLoader/keybinding/DebugEngineMacro.h b/plugins-unmaintained/PluginLoader/keybinding/DebugEngineMacro.h
new file mode 100644
index 0000000..f9b5349
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/DebugEngineMacro.h
@@ -0,0 +1,28 @@
+/** \file DebugEngineMacro.h
+\brief Define the macro for the debug
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef DEBUGENGINEMACRO_H
+#define DEBUGENGINEMACRO_H
+
+#ifdef WIN32
+# define __func__ __FUNCTION__
+#endif
+
+/// \brief Macro for the debug log
+#ifdef ULTRACOPIER_PLUGIN_DEBUG
+ #if defined (__FILE__) && defined (__LINE__)
+ #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__)
+ #else
+ #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b)
+ #endif
+#else // ULTRACOPIER_PLUGIN_DEBUG
+ #define ULTRACOPIER_DEBUGCONSOLE(a,b) void()
+#endif // ULTRACOPIER_PLUGIN_DEBUG
+
+#endif // DEBUGENGINEMACRO_H
+
+
+
+
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Environment.h b/plugins-unmaintained/PluginLoader/keybinding/Environment.h
new file mode 100644
index 0000000..265a5a6
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Environment.h
@@ -0,0 +1,10 @@
+/** \file Environment.h
+\brief Define the environment variable and global function
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#include "Variable.h"
+/// \brief The global include
+#include "StructEnumDefinition.h"
+#include "DebugEngineMacro.h"
+
diff --git a/plugins-unmaintained/PluginLoader/keybinding/KeyBind.cpp b/plugins-unmaintained/PluginLoader/keybinding/KeyBind.cpp
new file mode 100644
index 0000000..0fd5287
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/KeyBind.cpp
@@ -0,0 +1,11 @@
+#include "KeyBind.h"
+
+KeyBind::KeyBind(QWidget *parent) :
+ QLineEdit(parent)
+{
+}
+
+void KeyBind::keyPressEvent(QKeyEvent * event)
+{
+ emit newKey(event);
+}
diff --git a/plugins-unmaintained/PluginLoader/keybinding/KeyBind.h b/plugins-unmaintained/PluginLoader/keybinding/KeyBind.h
new file mode 100644
index 0000000..f4abf68
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/KeyBind.h
@@ -0,0 +1,18 @@
+#ifndef KEYBIND_H
+#define KEYBIND_H
+
+#include <QLineEdit>
+
+class KeyBind : public QLineEdit
+{
+ Q_OBJECT
+public:
+ explicit KeyBind(QWidget *parent = 0);
+
+signals:
+ void newKey(QKeyEvent * event);
+public slots:
+ void keyPressEvent(QKeyEvent * event);
+};
+
+#endif // KEYBIND_H
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/ar/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/ar/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/ar/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/de/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/de/translation.ts
new file mode 100644
index 0000000..9c19382
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/de/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="de" sourcelanguage="en">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/el/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/el/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/el/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/en/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/en/translation.ts
new file mode 100644
index 0000000..5315a75
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/en/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="en">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/es/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/es/translation.ts
new file mode 100644
index 0000000..ddce2f5
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/es/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="es" sourcelanguage="en">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/fr/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/fr/translation.ts
new file mode 100644
index 0000000..4c23f0c
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/fr/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="fr" sourcelanguage="en">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/hi/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/hi/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/hi/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/hu/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/hu/translation.ts
new file mode 100644
index 0000000..d6fed88
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/hu/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="hu">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/id/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/id/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/id/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/it/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/it/translation.ts
new file mode 100644
index 0000000..61c0491
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/it/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="it_IT">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/ja/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/ja/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/ja/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/ko/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/ko/translation.ts
new file mode 100644
index 0000000..7d70aed
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/ko/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="ko_KR">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/nl/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/nl/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/nl/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/no/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/no/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/no/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/pl/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/pl/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/pl/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/pt/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/pt/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/pt/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/ru/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/ru/translation.ts
new file mode 100644
index 0000000..2d19eed
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/ru/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="ru" sourcelanguage="en">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/th/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/th/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/th/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/tr/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/tr/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/tr/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Languages/zh/translation.ts b/plugins-unmaintained/PluginLoader/keybinding/Languages/zh/translation.ts
new file mode 100644
index 0000000..6401616
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Languages/zh/translation.ts
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+</TS>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.cpp b/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.cpp
new file mode 100644
index 0000000..a48e61f
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.cpp
@@ -0,0 +1,55 @@
+#include "OptionsWidget.h"
+#include "KeyBind.h"
+#include "ui_OptionsWidget.h"
+
+#include <QKeyEvent>
+
+OptionsWidget::OptionsWidget(QWidget *parent) :
+ QWidget(parent),
+ modifier(QList<int>() << Qt::Key_Control << Qt::Key_Shift << Qt::Key_Super_R << Qt::Key_Super_L << Qt::Key_Meta << Qt::Key_Alt << Qt::Key_AltGr),
+ ui(new Ui::OptionsWidget)
+{
+ ui->setupUi(this);
+
+ keyBind=new KeyBind(this);
+ ui->vboxLayout->addWidget(keyBind);
+ connect(keyBind,&KeyBind::newKey,this,&OptionsWidget::newKeyBind);
+}
+
+OptionsWidget::~OptionsWidget()
+{
+ delete ui;
+}
+
+void OptionsWidget::retranslate()
+{
+ ui->retranslateUi(this);
+}
+
+void OptionsWidget::setKeyBind(const QKeySequence &keySequence)
+{
+ keyBind->setText(keySequence.toString());
+}
+
+void OptionsWidget::newKey(QKeyEvent * event)
+{
+ int keyInt = event->key();
+ if(!modifier.contains(keyInt))
+ {
+ const Qt::KeyboardModifiers &modifiers = event->modifiers();
+ if(modifiers & Qt::ShiftModifier)
+ keyInt += Qt::SHIFT;
+ if(modifiers & Qt::ControlModifier)
+ keyInt += Qt::CTRL;
+ if(modifiers & Qt::AltModifier)
+ keyInt += Qt::ALT;
+ if(modifiers & Qt::MetaModifier)
+ keyInt += Qt::META;
+
+ const QKeySequence &keySeq = QKeySequence(keyInt);
+ keyBind->setText(keySeq.toString());
+
+ sendKeyBind(keySeq);
+ }
+}
+
diff --git a/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.h b/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.h
new file mode 100644
index 0000000..e0d8e4b
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.h
@@ -0,0 +1,31 @@
+#ifndef OptionsWidget_H
+#define OptionsWidget_H
+
+#include <QWidget>
+#include "KeyBind.h"
+
+namespace Ui {
+class OptionsWidget;
+}
+
+class OptionsWidget : public QWidget
+{
+ Q_OBJECT
+
+public:
+ explicit OptionsWidget(QWidget *parent = 0);
+ ~OptionsWidget();
+ void setKeyBind(const QKeySequence &keySequence);
+ void retranslate();
+private:
+ const QList<int> modifier;
+ Ui::OptionsWidget *ui;
+ KeyBind *keyBind;
+private slots:
+ void newKey(QKeyEvent * event);
+signals:
+ void sendKeyBind(const QKeySequence &keySequence);
+ void newKeyBind(QKeyEvent * event);
+};
+
+#endif // OptionsWidget_H
diff --git a/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.ui b/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.ui
new file mode 100644
index 0000000..2bc3cbe
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/OptionsWidget.ui
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>OptionsWidget</class>
+ <widget class="QWidget" name="OptionsWidget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>195</width>
+ <height>58</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/plugins-unmaintained/PluginLoader/keybinding/PlatformMacro.h b/plugins-unmaintained/PluginLoader/keybinding/PlatformMacro.h
new file mode 100644
index 0000000..f7586b0
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/PlatformMacro.h
@@ -0,0 +1 @@
+#include "../../../PlatformMacro.h"
diff --git a/plugins-unmaintained/PluginLoader/keybinding/StructEnumDefinition.h b/plugins-unmaintained/PluginLoader/keybinding/StructEnumDefinition.h
new file mode 100644
index 0000000..c1758f4
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/StructEnumDefinition.h
@@ -0,0 +1 @@
+#include "../../../StructEnumDefinition.h"
diff --git a/plugins-unmaintained/PluginLoader/keybinding/Variable.h b/plugins-unmaintained/PluginLoader/keybinding/Variable.h
new file mode 100644
index 0000000..90e1557
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/Variable.h
@@ -0,0 +1,16 @@
+/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+//Un-comment this next line to put ultracopier plugin in debug mode
+#define ULTRACOPIER_PLUGIN_DEBUG
+//#define ULTRACOPIER_PLUGIN_ALL_IN_ONE
+
+#endif // VARIABLE_H
+
+
+
diff --git a/plugins-unmaintained/PluginLoader/keybinding/documentation.dox b/plugins-unmaintained/PluginLoader/keybinding/documentation.dox
new file mode 100644
index 0000000..b9c9d13
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/documentation.dox
@@ -0,0 +1,33 @@
+/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/
+
+/*
+ This file contains NO source code, just some documentation for doxygen to
+ parse.
+*/
+
+/*!
+ \mainpage catchcopy-v0002
+
+ \section mainpage_overview Overview
+
+ Is the plugin to load the catchcopy plugin into the windows file manager. Mostly it use the command: regsvr32 /s catchcopy32.dll/catchcopy64.dll\n
+ More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>.
+
+ \section mainpage_platforms Platforms
+
+ Ultracopier might be usable in all environments where you find Qt 5.\n
+ Ultracopier requires Qt 5.0 or newer. Tested on Qt 5.0.
+
+ \section mainpage_downloads Downloads
+
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
+
+ \section mainpage_algorithm Requirements
+
+ You can see the documentation on <a href="http://catchcopy.first-world.info/">Catchcopy web site</a>. It use catchcopy32.dll/catchcopy64.dll as explorer plugin for the windows's file manager. Need it into the plugins.\n
+ In function if Ultracopier is compiled by portable version, try load the dll by other way.
+
+ \section license GPL Version 3
+ The code source is under GPL3.
+
+*/
diff --git a/plugins-unmaintained/PluginLoader/keybinding/informations.xml b/plugins-unmaintained/PluginLoader/keybinding/informations.xml
new file mode 100644
index 0000000..3386aaa
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/informations.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package>
+ <title xml:lang="en"><![CDATA[Plugin loader for catchcopy v0002]]></title><!-- english is required -->
+ <title xml:lang="fr"><![CDATA[Chargeur de plugin pour catchcopy v0002]]></title>
+ <!-- What kind of plugin this is -->
+ <category>PluginLoader</category>
+ <!-- Who wrote this plugin -->
+ <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author>
+ <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). -->
+ <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required -->
+ <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required -->
+ <!-- the date-time format should be in timestamps format -->
+ <pubDate>1287496800</pubDate>
+ <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source -->
+ <architecture>windows-x86</architecture>
+ <!-- Detailed description -->
+ <description xml:lang="en"><![CDATA[Plugin loader for catchcopy v0002. Allow to receive copy list from plugin/explorer compatible with catchcopy.]]></description>
+ <description xml:lang="fr"><![CDATA[Chargeur de plugin pour catchcopy v0002. Permet de recevoir un liste de copie venant d'un plugin/explorateur avec catchcopy.]]></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.4.0.8</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>keybinding</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. -->
+ <dependencies><![CDATA[
+ =ultracopier-1.0
+ ]]></dependencies>
+</package> \ No newline at end of file
diff --git a/plugins-unmaintained/PluginLoader/keybinding/plugin.json b/plugins-unmaintained/PluginLoader/keybinding/plugin.json
new file mode 100644
index 0000000..9e26dfe
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/plugin.json
@@ -0,0 +1 @@
+{} \ No newline at end of file
diff --git a/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.cpp b/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.cpp
new file mode 100644
index 0000000..387b09e
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.cpp
@@ -0,0 +1,61 @@
+/** \file pluginLoader.cpp
+\brief Define the session plugin loader test
+\author alpha_one_x86 */
+
+#include "pluginLoader.h"
+#include "PlatformMacro.h"
+
+#include <QFile>
+#include <QDir>
+
+#ifndef Q_OS_UNIX
+#error "Only for unix"
+#endif
+
+KeyBindPlugin::KeyBindPlugin()
+{
+ connect(&optionsWidget,&OptionsWidget::sendKeyBind,this,&KeyBindPlugin::setKeyBind);
+}
+
+KeyBindPlugin::~KeyBindPlugin()
+{
+}
+
+void KeyBindPlugin::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion)
+{
+ Q_UNUSED(options);
+ Q_UNUSED(writePath);
+ Q_UNUSED(pluginPath);
+ Q_UNUSED(portableVersion);
+ this->optionsEngine=options;
+ if(optionsEngine!=NULL)
+ {
+ QList<QPair<QString, QVariant> > KeysList;
+ KeysList.append(qMakePair(QStringLiteral("keySequence"),QString()));
+ optionsEngine->addOptionGroup(KeysList);
+ optionsWidget.setKeyBind(QKeySequence::fromString(optionsEngine->getOptionValue("keySequence").toString()));
+ }
+}
+
+/// \brief to get the options widget, NULL if not have
+QWidget * KeyBindPlugin::options()
+{
+ return &optionsWidget;
+}
+
+void KeyBindPlugin::newLanguageLoaded()
+{
+ optionsWidget.retranslate();
+}
+
+/// \brief try enable/disable the catching
+void KeyBindPlugin::setEnabled(const bool &needBeRegistred)
+{
+ Q_UNUSED(needBeRegistred);
+}
+
+void KeyBindPlugin::setKeyBind(const QKeySequence &keySequence)
+{
+ optionsEngine->setOptionValue("keySequence",keySequence);
+}
+
diff --git a/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.h b/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.h
new file mode 100644
index 0000000..1361c0d
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.h
@@ -0,0 +1,47 @@
+/** \file pluginLoader.h
+\brief Define the plugin loader
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef PLUGIN_LOADER_TEST_H
+#define PLUGIN_LOADER_TEST_H
+
+#include <QObject>
+#include <QMessageBox>
+
+#include <QString>
+#include <QStringList>
+#include <QProcess>
+#include <QSet>
+#include <QKeySequence>
+
+#include "../../../interface/PluginInterface_PluginLoader.h"
+#include "Environment.h"
+#include "OptionsWidget.h"
+
+/// \brief \brief Define the plugin loader
+class KeyBindPlugin : public PluginInterface_PluginLoader
+{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.PluginLoader/1.0.0.0" FILE "plugin.json")
+ Q_INTERFACES(PluginInterface_PluginLoader)
+public:
+ KeyBindPlugin();
+ ~KeyBindPlugin();
+ /// \brief try enable/disable the catching
+ void setEnabled(const bool &needBeRegistred);
+ /// \brief to set resources, writePath can be empty if read only mode
+ 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();
+private:
+ OptionInterface * optionsEngine;
+ OptionsWidget optionsWidget;
+private slots:
+ void setKeyBind(const QKeySequence &keySequence);
+};
+
+#endif // PLUGIN_LOADER_TEST_H
diff --git a/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.pro b/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.pro
new file mode 100644
index 0000000..ad5404b
--- /dev/null
+++ b/plugins-unmaintained/PluginLoader/keybinding/pluginLoader.pro
@@ -0,0 +1,50 @@
+CONFIG += c++11
+QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
+mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
+
+QT += widgets
+TEMPLATE = lib
+CONFIG += plugin
+HEADERS = \
+ StructEnumDefinition.h \
+ pluginLoader.h \
+ DebugEngineMacro.h \
+ Environment.h \
+ Variable.h \
+ PlatformMacro.h \
+ ../../../interface/PluginInterface_PluginLoader.h \
+ OptionsWidget.h \
+ KeyBind.h
+SOURCES = \
+ pluginLoader.cpp \
+ OptionsWidget.cpp \
+ KeyBind.cpp
+TARGET = $$qtLibraryTarget(pluginLoader)
+TRANSLATIONS += Languages/ar/translation.ts \
+ Languages/de/translation.ts \
+ Languages/el/translation.ts \
+ Languages/en/translation.ts \
+ Languages/es/translation.ts \
+ Languages/fr/translation.ts \
+ Languages/hi/translation.ts \
+ Languages/hu/translation.ts \
+ Languages/id/translation.ts \
+ Languages/it/translation.ts \
+ Languages/ja/translation.ts \
+ Languages/ko/translation.ts \
+ Languages/nl/translation.ts \
+ Languages/no/translation.ts \
+ Languages/pl/translation.ts \
+ Languages/pt/translation.ts \
+ Languages/ru/translation.ts \
+ Languages/th/translation.ts \
+ Languages/tr/translation.ts \
+ Languages/zh/translation.ts
+
+FORMS += \
+ OptionsWidget.ui
+
+CONFIG(static, static|shared) {
+DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
+}
+