diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2013-01-04 14:50:19 +0100 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2013-01-04 14:50:19 +0100 |
commit | 8f9f382e1c97cab2e72e97495650c73ac4b97314 (patch) | |
tree | 78510a0d81368c09b56f444fb19bb132c8bc3009 /plugins-alternative/Themes |
Imported Upstream version 0.3.0.5
Diffstat (limited to 'plugins-alternative/Themes')
111 files changed, 5369 insertions, 0 deletions
diff --git a/plugins-alternative/Themes/Clean/Languages/ar/translation.qm b/plugins-alternative/Themes/Clean/Languages/ar/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/ar/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/ar/translation.ts b/plugins-alternative/Themes/Clean/Languages/ar/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/ar/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/de/translation.qm b/plugins-alternative/Themes/Clean/Languages/de/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/de/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/de/translation.ts b/plugins-alternative/Themes/Clean/Languages/de/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/de/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/el/translation.qm b/plugins-alternative/Themes/Clean/Languages/el/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/el/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/el/translation.ts b/plugins-alternative/Themes/Clean/Languages/el/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/el/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/es/translation.qm b/plugins-alternative/Themes/Clean/Languages/es/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/es/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/es/translation.ts b/plugins-alternative/Themes/Clean/Languages/es/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/es/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/fr/translation.qm b/plugins-alternative/Themes/Clean/Languages/fr/translation.qm Binary files differnew file mode 100644 index 0000000..f431088 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/fr/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/fr/translation.ts b/plugins-alternative/Themes/Clean/Languages/fr/translation.ts new file mode 100644 index 0000000..8b82f97 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/fr/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr" sourcelanguage="en"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation>Lister</translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation>Copier</translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation>Lister & Copier</translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation>Ultracopier</translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation>%1/%2 fichiers, %3/%4</translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation>Ultracopier</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation>Action:</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation>En attente</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation>Déplacer des fichiers</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation>Déplacer un dossier</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation>Copier des fichiers</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation>Copier un dossier</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation>Ajouter un dossier</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation>Ajout de fichier</translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/hi/translation.qm b/plugins-alternative/Themes/Clean/Languages/hi/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/hi/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/hi/translation.ts b/plugins-alternative/Themes/Clean/Languages/hi/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/hi/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/id/translation.qm b/plugins-alternative/Themes/Clean/Languages/id/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/id/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/id/translation.ts b/plugins-alternative/Themes/Clean/Languages/id/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/id/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/it/translation.qm b/plugins-alternative/Themes/Clean/Languages/it/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/it/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/it/translation.ts b/plugins-alternative/Themes/Clean/Languages/it/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/it/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/ja/translation.qm b/plugins-alternative/Themes/Clean/Languages/ja/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/ja/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/ja/translation.ts b/plugins-alternative/Themes/Clean/Languages/ja/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/ja/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/nl/translation.qm b/plugins-alternative/Themes/Clean/Languages/nl/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/nl/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/nl/translation.ts b/plugins-alternative/Themes/Clean/Languages/nl/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/nl/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/no/translation.qm b/plugins-alternative/Themes/Clean/Languages/no/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/no/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/no/translation.ts b/plugins-alternative/Themes/Clean/Languages/no/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/no/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/pl/translation.qm b/plugins-alternative/Themes/Clean/Languages/pl/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/pl/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/pl/translation.ts b/plugins-alternative/Themes/Clean/Languages/pl/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/pl/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/ru/translation.qm b/plugins-alternative/Themes/Clean/Languages/ru/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/ru/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/ru/translation.ts b/plugins-alternative/Themes/Clean/Languages/ru/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/ru/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/th/translation.qm b/plugins-alternative/Themes/Clean/Languages/th/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/th/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/th/translation.ts b/plugins-alternative/Themes/Clean/Languages/th/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/th/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/tr/translation.qm b/plugins-alternative/Themes/Clean/Languages/tr/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/tr/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/tr/translation.ts b/plugins-alternative/Themes/Clean/Languages/tr/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/tr/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/Languages/zh/translation.qm b/plugins-alternative/Themes/Clean/Languages/zh/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/zh/translation.qm diff --git a/plugins-alternative/Themes/Clean/Languages/zh/translation.ts b/plugins-alternative/Themes/Clean/Languages/zh/translation.ts new file mode 100644 index 0000000..9f71a6e --- /dev/null +++ b/plugins-alternative/Themes/Clean/Languages/zh/translation.ts @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="140"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="143"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="146"/> + <source>Listing & Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="149"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="152"/> + <source>%1/%2 files, %3/%4</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interface</name> + <message> + <location filename="../../interface.ui"/> + <source>Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Action:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>In wait</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Clean/StructEnumDefinition.h b/plugins-alternative/Themes/Clean/StructEnumDefinition.h new file mode 100644 index 0000000..c1758f4 --- /dev/null +++ b/plugins-alternative/Themes/Clean/StructEnumDefinition.h @@ -0,0 +1 @@ +#include "../../../StructEnumDefinition.h" diff --git a/plugins-alternative/Themes/Clean/documentation.dox b/plugins-alternative/Themes/Clean/documentation.dox new file mode 100755 index 0000000..56e5331 --- /dev/null +++ b/plugins-alternative/Themes/Clean/documentation.dox @@ -0,0 +1,29 @@ +/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/ + +/* + This file contains NO source code, just some documentation for doxygen to + parse. +*/ + +/*! + \mainpage Clean + + \section mainpage_overview Overview + + It's interface to have minimal interface for Ultracopier.\n + More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>. Is part of Ultracopier 0.3 project as alternative plugin. + + \section mainpage_platforms Platforms + + This plugin might be usable in all environments where you find Qt 4.\n + To be compatible with the official Ultracopier plugins, you need compil it with Gcc, Qt4.8, and same env as Ultracopier have been compiled, see the documentation. + + \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, ... + + \section license GPL Version 3 + The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4. + +*/ + diff --git a/plugins-alternative/Themes/Clean/factory.cpp b/plugins-alternative/Themes/Clean/factory.cpp new file mode 100644 index 0000000..2b8d109 --- /dev/null +++ b/plugins-alternative/Themes/Clean/factory.cpp @@ -0,0 +1,70 @@ +/** \file factory.cpp +\brief Define the factory core +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#include <QtCore> + +#include "factory.h" + +PluginInterface_Themes * Factory::getInstance() +{ + PluginInterface_Themes * newInterface=new InterfacePlugin(facilityEngine); + connect(this,SIGNAL(reloadLanguage()),newInterface,SLOT(newLanguageLoaded())); + return newInterface; +} + +void Factory::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityEngine,bool portableVersion) +{ + Q_UNUSED(options) + Q_UNUSED(writePath) + Q_UNUSED(pluginPath) + this->facilityEngine=facilityEngine; + Q_UNUSED(portableVersion) +} + +QWidget * Factory::options() +{ + return NULL; +} + +QIcon Factory::getIcon(const QString &fileName) +{ + if(fileName=="SystemTrayIcon/exit.png") + { + QIcon tempIcon=QIcon::fromTheme("application-exit"); + if(!tempIcon.isNull()) + return tempIcon; + } + if(fileName=="SystemTrayIcon/add.png") + { + QIcon tempIcon=QIcon::fromTheme("list-add"); + if(!tempIcon.isNull()) + return tempIcon; + } + if(fileName=="SystemTrayIcon/informations.png") + { + QIcon tempIcon=QIcon::fromTheme("help-about"); + if(!tempIcon.isNull()) + return tempIcon; + } + if(fileName=="SystemTrayIcon/options.png") + { + QIcon tempIcon=QIcon::fromTheme("applications-system"); + if(!tempIcon.isNull()) + return tempIcon; + } + return QIcon(":/resources/"+fileName); +} + +void Factory::resetOptions() +{ +} + +void Factory::newLanguageLoaded() +{ + emit reloadLanguage(); +} + +Q_EXPORT_PLUGIN2(interface, Factory); diff --git a/plugins-alternative/Themes/Clean/factory.h b/plugins-alternative/Themes/Clean/factory.h new file mode 100644 index 0000000..2a9c0ef --- /dev/null +++ b/plugins-alternative/Themes/Clean/factory.h @@ -0,0 +1,39 @@ +/** \file factory.h +\brief Define the factory, to create instance of the interface +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#ifndef FACTORY_H +#define FACTORY_H + +#include <QObject> +#include <QWidget> + +#include "interface.h" +#include "../../../interface/PluginInterface_Themes.h" + +/// \brief Define the factory, to create instance of the interface +class Factory : public PluginInterface_ThemesFactory +{ + Q_OBJECT + Q_INTERFACES(PluginInterface_ThemesFactory) + public: + /// \brief to return the instance of the copy engine + PluginInterface_Themes * getInstance(); + /// \brief set the resources, to store options, to have facilityInterface + void setResources(OptionInterface * optionsEngine,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityEngine,bool portableVersion); + /// \brief to get the default options widget + QWidget * options(); + /// \brief to get a resource icon + QIcon getIcon(const QString &fileName); + signals: + void reloadLanguage(); + public slots: + void resetOptions(); + void newLanguageLoaded(); + private: + FacilityInterface * facilityEngine; +}; + +#endif // FACTORY_H diff --git a/plugins-alternative/Themes/Clean/informations.xml b/plugins-alternative/Themes/Clean/informations.xml new file mode 100644 index 0000000..9d11e1c --- /dev/null +++ b/plugins-alternative/Themes/Clean/informations.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Clean style for Ultracopier]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Style Clean pour Ultracopier]]></title> + <!-- What kind of plugin this is --> + <category>Themes</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 RFC822 format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>linux-x86_64-pc</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Clean style for Ultracopier]]></description> + <description xml:lang="fr"><![CDATA[Style Clean pour Ultracopier]]></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>0.3.0.5</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>Clean</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-0.3.0.5 + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins-alternative/Themes/Clean/interface.cpp b/plugins-alternative/Themes/Clean/interface.cpp new file mode 100644 index 0000000..b2d5e18 --- /dev/null +++ b/plugins-alternative/Themes/Clean/interface.cpp @@ -0,0 +1,415 @@ +/** \file interface.cpp +\brief Define the interface core +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#include <QtCore> + +#include "interface.h" +#include "ui_interface.h" + +InterfacePlugin::InterfacePlugin(FacilityInterface * facilityEngine) : + ui(new Ui::interface()) +{ + ui->setupUi(this); + currentFile = 0; + totalFile = 0; + currentSize = 0; + totalSize = 0; + modeIsForced = false; + haveStarted = false; + this->facilityEngine = facilityEngine; + this->show(); + menu=new QMenu(this); + ui->toolButton->setMenu(menu); + updateModeAndType(); + + connect(ui->actionAddFile,SIGNAL(triggered()),this,SLOT(forcedModeAddFile())); + connect(ui->actionAddFileToCopy,SIGNAL(triggered()),this,SLOT(forcedModeAddFileToCopy())); + connect(ui->actionAddFileToMove,SIGNAL(triggered()),this,SLOT(forcedModeAddFileToMove())); + connect(ui->actionAddFolderToCopy,SIGNAL(triggered()),this,SLOT(forcedModeAddFolderToCopy())); + connect(ui->actionAddFolderToMove,SIGNAL(triggered()),this,SLOT(forcedModeAddFolderToMove())); + connect(ui->actionAddFolder,SIGNAL(triggered()),this,SLOT(forcedModeAddFolder())); +} + +InterfacePlugin::~InterfacePlugin() +{ + delete menu; +} + +void InterfacePlugin::forcedModeAddFile() +{ + emit userAddFile(mode); +} + +void InterfacePlugin::forcedModeAddFolder() +{ + emit userAddFolder(mode); +} + +void InterfacePlugin::forcedModeAddFileToCopy() +{ + emit userAddFile(Copy); +} + +void InterfacePlugin::forcedModeAddFolderToCopy() +{ + emit userAddFolder(Copy); +} + +void InterfacePlugin::forcedModeAddFileToMove() +{ + emit userAddFile(Move); +} + +void InterfacePlugin::forcedModeAddFolderToMove() +{ + emit userAddFolder(Move); +} + +void InterfacePlugin::updateModeAndType() +{ + menu->clear(); + if(modeIsForced) + { + menu->addAction(ui->actionAddFile); + if(type==FileAndFolder) + menu->addAction(ui->actionAddFolder); + } + else + { + menu->addAction(ui->actionAddFileToCopy); + menu->addAction(ui->actionAddFileToMove); + if(type==FileAndFolder) + { + menu->addAction(ui->actionAddFolderToCopy); + menu->addAction(ui->actionAddFolderToMove); + } + } +} + +void InterfacePlugin::closeEvent(QCloseEvent *event) +{ + event->ignore(); + this->hide(); + emit cancel(); +} + +void InterfacePlugin::detectedSpeed(const quint64 &speed) +{ + Q_UNUSED(speed) +} + +QWidget * InterfacePlugin::getOptionsEngineWidget() +{ + return NULL; +} + +void InterfacePlugin::getOptionsEngineEnabled(bool isEnabled) +{ + Q_UNUSED(isEnabled) +} + +void InterfacePlugin::setCopyType(CopyType type) +{ + this->type=type; + updateModeAndType(); +} + +void InterfacePlugin::forceCopyMode(CopyMode mode) +{ + modeIsForced=true; + this->mode=mode; + updateModeAndType(); +} + +void InterfacePlugin::updateTitle() +{ + QString actionString; + switch(action) + { + case Listing: + actionString=tr("Listing"); + break; + case Copying: + actionString=tr("Copying"); + break; + case CopyingAndListing: + actionString=tr("Listing & Copying"); + break; + case Idle: + actionString=tr("Ultracopier"); + break; + } + this->setWindowTitle(actionString+" - "+tr("%1/%2 files, %3/%4").arg(currentFile).arg(totalFile).arg(currentSize).arg(totalSize)); +} + +void InterfacePlugin::actionInProgess(EngineActionInProgress action) +{ + this->action=action; + switch(action) + { + case Copying: + case CopyingAndListing: + ui->progressBar->setMaximum(65535); + ui->progressBar->setMinimum(0); + break; + case Listing: + ui->progressBar->setMaximum(0); + ui->progressBar->setMinimum(0); + break; + case Idle: + if(haveStarted) + emit cancel(); + break; + default: + break; + } + switch(action) + { + case Copying: + case CopyingAndListing: + haveStarted=true; + break; + default: + break; + } +} + +void InterfacePlugin::newTransferStart(const ItemOfCopyList &item) +{ + ui->text->setText(item.sourceFullPath); +} + +void InterfacePlugin::newTransferStop(const quint64 &id) +{ + Q_UNUSED(id) +} + +void InterfacePlugin::newFolderListing(const QString &path) +{ + if(action==Listing) + ui->text->setText(path); +} + +void InterfacePlugin::remainingTime(const int &remainingSeconds) +{ + Q_UNUSED(remainingSeconds) +} + +void InterfacePlugin::newCollisionAction(const QString &action) +{ + Q_UNUSED(action) +} + +void InterfacePlugin::newErrorAction(const QString &action) +{ + Q_UNUSED(action) +} + +void InterfacePlugin::errorDetected() +{ +} + +void InterfacePlugin::setTransferListOperation(TransferListOperation transferListOperation) +{ + Q_UNUSED(transferListOperation) +} + +//speed limitation +bool InterfacePlugin::setSpeedLimitation(const qint64 &speedLimitation) +{ + Q_UNUSED(speedLimitation) + return false; +} + +//get information about the copy +void InterfacePlugin::setGeneralProgression(const quint64 ¤t,const quint64 &total) +{ + ui->progressBar->setValue(((double)current/total)*65535); +} + +void InterfacePlugin::setCollisionAction(const QList<QPair<QString,QString> > &list) +{ + Q_UNUSED(list) +} + +void InterfacePlugin::setErrorAction(const QList<QPair<QString,QString> > &list) +{ + Q_UNUSED(list) +} + +//edit the transfer list +void InterfacePlugin::getActionOnList(const QList<returnActionOnCopyList> &returnActions) +{ + Q_UNUSED(returnActions) +} + +void InterfacePlugin::haveExternalOrder() +{ + ui->toolButton->hide(); +} + +void InterfacePlugin::isInPause(bool isInPause) +{ + //resume in auto the pause + if(isInPause) + emit resume(); +} + +void InterfacePlugin::newLanguageLoaded() +{ + ui->retranslateUi(this); + updateTitle(); +} + +/* + Return[0]: totalFile + Return[1]: totalSize + Return[2]: currentFile + */ +void InterfacePlugin::synchronizeItems(const QList<returnActionOnCopyList>& returnActions) +{ + loop_size=returnActions.size(); + index_for_loop=0; + while(index_for_loop<loop_size) + { + const returnActionOnCopyList& action=returnActions.at(index_for_loop); + switch(action.type) + { + case AddingItem: + { + totalFile++; + totalSize+=action.addAction.size; + } + break; + case RemoveItem: + currentFile++; + break; + case PreOperation: + { + ItemOfCopyListWithMoreInformations tempItem; + tempItem.currentProgression=0; + tempItem.generalData=action.addAction; + totalFile+=action.addAction.size; + InternalRunningOperation << tempItem; + } + break; + case Transfer: + { + sub_index_for_loop=0; + sub_loop_size=InternalRunningOperation.size(); + while(sub_index_for_loop<sub_loop_size) + { + if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) + { + InternalRunningOperation[sub_index_for_loop].actionType=action.type; + break; + } + sub_index_for_loop++; + } + } + break; + case PostOperation: + { + sub_index_for_loop=0; + sub_loop_size=InternalRunningOperation.size(); + while(sub_index_for_loop<sub_loop_size) + { + if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) + { + InternalRunningOperation.removeAt(sub_index_for_loop); + break; + } + sub_index_for_loop++; + } + } + break; + case CustomOperation: + { + bool custom_with_progression=(action.addAction.size==1); + sub_index_for_loop=0; + sub_loop_size=InternalRunningOperation.size(); + while(sub_index_for_loop<sub_loop_size) + { + if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) + { + InternalRunningOperation[sub_index_for_loop].actionType=action.type; + InternalRunningOperation[sub_index_for_loop].custom_with_progression=custom_with_progression; + InternalRunningOperation[sub_index_for_loop].currentProgression=0; + break; + } + sub_index_for_loop++; + } + } + break; + default: + //unknow code, ignore it + break; + } + index_for_loop++; + } +} + +void InterfacePlugin::setFileProgression(const QList<ProgressionItem> &progressionList) +{ + loop_size=InternalRunningOperation.size(); + sub_loop_size=progressionList.size(); + index_for_loop=0; + while(index_for_loop<loop_size) + { + sub_index_for_loop=0; + while(sub_index_for_loop<sub_loop_size) + { + if(progressionList.at(sub_index_for_loop).id==InternalRunningOperation.at(index_for_loop).generalData.id) + { + InternalRunningOperation[index_for_loop].generalData.size=progressionList.at(sub_index_for_loop).total; + InternalRunningOperation[index_for_loop].currentProgression=progressionList.at(sub_index_for_loop).current; + break; + } + sub_index_for_loop++; + } + index_for_loop++; + } +} + +InterfacePlugin::currentTransfertItem InterfacePlugin::getCurrentTransfertItem() +{ + currentTransfertItem returnItem; + returnItem.haveItem=InternalRunningOperation.size()>0; + if(returnItem.haveItem) + { + const ItemOfCopyListWithMoreInformations &itemTransfer=InternalRunningOperation.first(); + returnItem.from=itemTransfer.generalData.sourceFullPath; + returnItem.to=itemTransfer.generalData.destinationFullPath; + returnItem.current_file=itemTransfer.generalData.destinationFileName+", "+facilityEngine->sizeToString(itemTransfer.generalData.size); + switch(itemTransfer.actionType) + { + case CustomOperation: + if(!itemTransfer.custom_with_progression) + returnItem.progressBar_file=0; + else + { + if(itemTransfer.generalData.size>0) + returnItem.progressBar_file=((double)itemTransfer.currentProgression/itemTransfer.generalData.size)*65535; + else + returnItem.progressBar_file=0; + } + break; + case Transfer: + if(itemTransfer.generalData.size>0) + returnItem.progressBar_file=((double)itemTransfer.currentProgression/itemTransfer.generalData.size)*65535; + else + returnItem.progressBar_file=0; + break; + case PostOperation: + returnItem.progressBar_file=65535; + break; + default: + returnItem.progressBar_file=0; + } + } + return returnItem; +} + diff --git a/plugins-alternative/Themes/Clean/interface.h b/plugins-alternative/Themes/Clean/interface.h new file mode 100644 index 0000000..9f4332a --- /dev/null +++ b/plugins-alternative/Themes/Clean/interface.h @@ -0,0 +1,146 @@ +/** \file interface.h +\brief Define the interface +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#ifndef INTERFACE_TEST_H +#define INTERFACE_TEST_H + +#include <QObject> +#include <QWidget> +#include <QMenu> +#include <QCloseEvent> + +#include "../../../interface/PluginInterface_Themes.h" + +namespace Ui { + class interface; +} + +/// \brief Define the interface +class InterfacePlugin : public PluginInterface_Themes +{ + Q_OBJECT +public slots: + //send information about the copy + /// \brief to set the action in progress + void actionInProgess(EngineActionInProgress); + /// \brief new transfer have started + void newTransferStart(const ItemOfCopyList &item); + /** \brief one transfer have been stopped + * is stopped, example: because error have occurred, and try later, don't remove the item! */ + void newTransferStop(const quint64 &id); + /// \brief the new folder is listing + void newFolderListing(const QString &path); + /** \brief show the detected speed + * in byte per seconds */ + void detectedSpeed(const quint64 &speed); + /** \brief show the remaining time + * time in seconds */ + void remainingTime(const int &remainingSeconds); + /// \brief set the current collision action + void newCollisionAction(const QString &action); + /// \brief set the current error action + void newErrorAction(const QString &action); + /// \brief set one error is detected + void errorDetected(); + //speed limitation + /** \brief the max speed used + * in byte per seconds, -1 if not able, 0 if disabled */ + bool setSpeedLimitation(const qint64 &speedLimitation); + //set the translate + void newLanguageLoaded(); + void synchronizeItems(const QList<returnActionOnCopyList>& returnActions); +public: + struct ItemOfCopyListWithMoreInformations + { + quint64 currentProgression; + ItemOfCopyList generalData; + ActionTypeCopyList actionType; + bool custom_with_progression; + }; + struct currentTransfertItem + { + quint64 id; + bool haveItem; + QString from; + QString to; + QString current_file; + int progressBar_file; + }; + /// \brief get the widget for the copy engine + QWidget * getOptionsEngineWidget(); + /// \brief to set if the copy engine is found + void getOptionsEngineEnabled(bool isEnabled); + /// \brief get action on the transfer list (add/move/remove) + void getActionOnList(const QList<returnActionOnCopyList> &returnActions); + //get information about the copy + /// \brief show the general progression + void setGeneralProgression(const quint64 ¤t,const quint64 &total); + /// \brief show the file progression + void setFileProgression(const QList<ProgressionItem> &progressionList); + /// \brief set collision action + void setCollisionAction(const QList<QPair<QString,QString> > &); + /// \brief set error action + void setErrorAction(const QList<QPair<QString,QString> > &); + /// \brief set the copyType -> file or folder + void setCopyType(CopyType); + /// \brief set the copyMove -> copy or move, to force in copy or move, else support both + void forceCopyMode(CopyMode); + /// \brief set if transfer list is exportable/importable + void setTransferListOperation(TransferListOperation transferListOperation); + /** \brief set if the order is external (like file manager copy) + * to notify the interface, which can hide add folder/filer button */ + void haveExternalOrder(); + /// \brief set if is in pause + void isInPause(bool); +signals: + //set the transfer list + void setActionOnList(ActionOnCopyList action); + //user ask ask to add folder (add it with interface ask source/destination) + void userAddFolder(CopyMode); + void userAddFile(CopyMode); + //action on the copy + void pause(); + void resume(); + void skip(quint64 id); + void cancel(); + //edit the action + void setCollisionAction(QString action); + void setErrorAction(QString action); + void newSpeedLimitation(qint64);///< -1 if not able, 0 if disabled +public: + //constructor and destructor + InterfacePlugin(FacilityInterface * facilityEngine); + ~InterfacePlugin(); +private: + Ui::interface *ui; + quint64 currentFile; + quint64 totalFile; + quint64 currentSize; + quint64 totalSize; + void updateTitle(); + QMenu *menu; + EngineActionInProgress action; + void closeEvent(QCloseEvent *event); + void updateModeAndType(); + bool modeIsForced; + CopyType type; + CopyMode mode; + bool haveStarted; + QList<ItemOfCopyListWithMoreInformations> InternalRunningOperation; + int loop_size,index_for_loop; + int sub_loop_size,sub_index_for_loop; + currentTransfertItem getCurrentTransfertItem(); + FacilityInterface * facilityEngine; +private slots: + void forcedModeAddFile(); + void forcedModeAddFolder(); + void forcedModeAddFileToCopy(); + void forcedModeAddFolderToCopy(); + void forcedModeAddFileToMove(); + void forcedModeAddFolderToMove(); +}; + +#endif // INTERFACE_TEST_H diff --git a/plugins-alternative/Themes/Clean/interface.pro b/plugins-alternative/Themes/Clean/interface.pro new file mode 100644 index 0000000..b902e63 --- /dev/null +++ b/plugins-alternative/Themes/Clean/interface.pro @@ -0,0 +1,40 @@ +TEMPLATE = lib +CONFIG += plugin +HEADERS = interface.h \ + interface/PluginInterface_Themes.h \ + StructEnumDefinition.h \ + factory.h \ + ../../../interface/PluginInterface_Themes.h +SOURCES = interface.cpp \ + factory.cpp +TARGET = $$qtLibraryTarget(interface) +TRANSLATIONS += Languages/fr/translation.ts \ + Languages/ar/translation.ts \ + Languages/ch/translation.ts \ + Languages/es/translation.ts \ + Languages/de/translation.ts \ + Languages/el/translation.ts \ + Languages/it/translation.ts \ + Languages/jp/translation.ts \ + Languages/id/translation.ts \ + Languages/pl/translation.ts \ + Languages/ru/translation.ts \ + Languages/tr/translation.ts \ + Languages/th/translation.ts \ + Languages/hi/translation.ts \ + Languages/nl/translation.ts \ + Languages/no/translation.ts \ + Languages/pt/translation.ts + +FORMS += \ + interface.ui + +RESOURCES += \ + resources.qrc + +win32 { + RESOURCES += resources_windows.qrc +} +!win32 { + RESOURCES += resources_unix.qrc +} diff --git a/plugins-alternative/Themes/Clean/interface.ui b/plugins-alternative/Themes/Clean/interface.ui new file mode 100644 index 0000000..8e74b41 --- /dev/null +++ b/plugins-alternative/Themes/Clean/interface.ui @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>interface</class> + <widget class="QWidget" name="interface"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>139</width> + <height>55</height> + </rect> + </property> + <property name="windowTitle"> + <string>Ultracopier</string> + </property> + <property name="windowIcon"> + <iconset resource="resources.qrc"> + <normaloff>:/systray_Caught_Unix.png</normaloff>:/systray_Caught_Unix.png</iconset> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="text"> + <property name="text"> + <string>Action:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="action"> + <property name="font"> + <font> + <italic>true</italic> + </font> + </property> + <property name="text"> + <string>In wait</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QProgressBar" name="progressBar"> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="toolButton"> + <property name="text"> + <string notr="true">...</string> + </property> + <property name="popupMode"> + <enum>QToolButton::InstantPopup</enum> + </property> + </widget> + </item> + </layout> + </item> + </layout> + <action name="actionAddFile"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Add file</string> + </property> + </action> + <action name="actionAddFolder"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Add folder</string> + </property> + </action> + <action name="actionAddFileToMove"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Move file(s)</string> + </property> + </action> + <action name="actionAddFolderToMove"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Move folder</string> + </property> + </action> + <action name="actionAddFileToCopy"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Copy file(s)</string> + </property> + </action> + <action name="actionAddFolderToCopy"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Copy folder</string> + </property> + </action> + </widget> + <resources> + <include location="resources.qrc"/> + </resources> + <connections/> +</ui> diff --git a/plugins-alternative/Themes/Clean/resources.qrc b/plugins-alternative/Themes/Clean/resources.qrc new file mode 100644 index 0000000..67c550f --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources.qrc @@ -0,0 +1,5 @@ +<RCC> + <qresource prefix="/"> + <file>resources/SystemTrayIcon/informations.png</file> + </qresource> +</RCC> diff --git a/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/informations.png b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/informations.png Binary files differnew file mode 100644 index 0000000..e1eb797 --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/informations.png diff --git a/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Caught_Unix.png b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Caught_Unix.png Binary files differnew file mode 100644 index 0000000..a81e70d --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Caught_Unix.png diff --git a/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Caught_Windows.png b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Caught_Windows.png Binary files differnew file mode 100644 index 0000000..8072aea --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Caught_Windows.png diff --git a/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png Binary files differnew file mode 100644 index 0000000..f40ea82 --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png diff --git a/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png Binary files differnew file mode 100644 index 0000000..8d673e4 --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png diff --git a/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Uncaught_Unix.png b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Uncaught_Unix.png Binary files differnew file mode 100644 index 0000000..9ce4779 --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Uncaught_Unix.png diff --git a/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Uncaught_Windows.png b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Uncaught_Windows.png Binary files differnew file mode 100644 index 0000000..d0fca1b --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources/SystemTrayIcon/systray_Uncaught_Windows.png diff --git a/plugins-alternative/Themes/Clean/resources_unix.qrc b/plugins-alternative/Themes/Clean/resources_unix.qrc new file mode 100644 index 0000000..ae3894b --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources_unix.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/"> + <file>resources/SystemTrayIcon/systray_Caught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Unix.png</file> + </qresource> +</RCC> diff --git a/plugins-alternative/Themes/Clean/resources_windows.qrc b/plugins-alternative/Themes/Clean/resources_windows.qrc new file mode 100644 index 0000000..99829b3 --- /dev/null +++ b/plugins-alternative/Themes/Clean/resources_windows.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/"> + <file>resources/SystemTrayIcon/systray_Caught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Windows.png</file> + </qresource> +</RCC> diff --git a/plugins-alternative/Themes/Teracopy/DebugEngineMacro.h b/plugins-alternative/Themes/Teracopy/DebugEngineMacro.h new file mode 100644 index 0000000..a3dd648 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/DebugEngineMacro.h @@ -0,0 +1,25 @@ +/** \file DebugEngineMacro.h +\brief Define the macro for the debug +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#ifndef DEBUGENGINEMACRO_H +#define DEBUGENGINEMACRO_H + +/// \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_DEBUG + #define ULTRACOPIER_DEBUGCONSOLE(a,b) void() +#endif // ULTRACOPIER_DEBUG + +#endif // DEBUGENGINEMACRO_H + + + + diff --git a/plugins-alternative/Themes/Teracopy/Environment.h b/plugins-alternative/Themes/Teracopy/Environment.h new file mode 100644 index 0000000..94fd104 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Environment.h @@ -0,0 +1,11 @@ +/** \file Environment.h
+\brief Define the environment variable and global function
+\author alpha_one_x86
+\version 0.3
+\date 2010 */
+
+#include "Variable.h"
+/// \brief The global include
+#include "StructEnumDefinition.h"
+#include "DebugEngineMacro.h"
+
diff --git a/plugins-alternative/Themes/Teracopy/Languages/ar/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/ar/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/ar/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/ar/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/ar/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/ar/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/de/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/de/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/de/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/de/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/de/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/de/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/el/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/el/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/el/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/el/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/el/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/el/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/es/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/es/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/es/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/es/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/es/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/es/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/fr/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/fr/translation.qm Binary files differnew file mode 100644 index 0000000..27844c4 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/fr/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/fr/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/fr/translation.ts new file mode 100644 index 0000000..49088e8 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/fr/translation.ts @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr" sourcelanguage="en"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation>Total: %3 sur %4</translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation>%1 sur %2</translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation>Quitter</translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation>Copie</translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation>Déplacement</translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation>%1% fait</translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation>&Plus</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation>...</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation>&Pause</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation>&Passer</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation>&Anuler</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Supporter Ultracopier</span></a></p></body></html></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation>Source</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation>Ajouter un fichier</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation>Ajouter un dossier</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation>Déplacer des fichier(s)</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation>Déplacer un dossier</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation>Copier des fichier(s)</translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation>Copier un dossier</translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/hi/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/hi/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/hi/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/hi/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/hi/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/hi/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/id/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/id/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/id/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/id/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/id/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/id/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/it/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/it/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/it/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/it/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/it/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/it/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/ja/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/ja/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/ja/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/ja/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/ja/translation.ts new file mode 100644 index 0000000..cadbddc --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/ja/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="56"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="57"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="91"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="332"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="334"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="342"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/nl/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/nl/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/nl/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/nl/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/nl/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/nl/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/no/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/no/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/no/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/no/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/no/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/no/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/pl/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/pl/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/pl/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/pl/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/pl/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/pl/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/ru/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/ru/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/ru/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/ru/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/ru/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/ru/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/th/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/th/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/th/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/th/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/th/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/th/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/tr/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/tr/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/tr/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/tr/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/tr/translation.ts new file mode 100644 index 0000000..e8d8cf2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/tr/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="62"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="63"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="97"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="333"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="335"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="343"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/zh/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/zh/translation.qm Binary files differnew file mode 100644 index 0000000..3738845 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/zh/translation.qm diff --git a/plugins-alternative/Themes/Teracopy/Languages/zh/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/zh/translation.ts new file mode 100644 index 0000000..cadbddc --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/zh/translation.ts @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="56"/> + <source>Total: %3 of %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="57"/> + <source>%1 of %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="91"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="332"/> + <source>Copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="334"/> + <source>Move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="342"/> + <source>%1% done</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/StructEnumDefinition.h b/plugins-alternative/Themes/Teracopy/StructEnumDefinition.h new file mode 100644 index 0000000..c1758f4 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/StructEnumDefinition.h @@ -0,0 +1 @@ +#include "../../../StructEnumDefinition.h" diff --git a/plugins-alternative/Themes/Teracopy/Variable.h b/plugins-alternative/Themes/Teracopy/Variable.h new file mode 100644 index 0000000..8179c93 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Variable.h @@ -0,0 +1,16 @@ +/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\version 0.3
+\date 2010 */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+//Un-comment this next line to put ultracopier plugin in debug mode
+#define ULTRACOPIER_PLUGIN_DEBUG
+
+#endif // VARIABLE_H
+
+
+
diff --git a/plugins-alternative/Themes/Teracopy/documentation.dox b/plugins-alternative/Themes/Teracopy/documentation.dox new file mode 100755 index 0000000..a61692b --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/documentation.dox @@ -0,0 +1,29 @@ +/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/ + +/* + This file contains NO source code, just some documentation for doxygen to + parse. +*/ + +/*! + \mainpage Teracopy + + \section mainpage_overview Overview + + It's Teracopy interface, to come from Teracopy to Ultracopier.\n + More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>. Is part of Ultracopier 0.3 project as alternative plugin. + + \section mainpage_platforms Platforms + + This plugin might be usable in all environments where you find Qt 4.\n + To be compatible with the official Ultracopier plugins, you need compil it with Gcc, Qt4.8, and same env as Ultracopier have been compiled, see the documentation. + + \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, ... + + \section license GPL Version 3 + The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4. + +*/ + diff --git a/plugins-alternative/Themes/Teracopy/factory.cpp b/plugins-alternative/Themes/Teracopy/factory.cpp new file mode 100644 index 0000000..89c3787 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/factory.cpp @@ -0,0 +1,83 @@ +/** \file factory.cpp +\brief Define the factory core +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#include <QtCore> + +#include "factory.h" + +PluginInterface_Themes * Factory::getInstance() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + PluginInterface_Themes * newInterface=new InterfacePlugin(facilityEngine); + connect(newInterface,SIGNAL(debugInformation(DebugLevel,QString,QString,QString,int)),this,SIGNAL(debugInformation(DebugLevel,QString,QString,QString,int))); + connect(this,SIGNAL(reloadLanguage()),newInterface,SLOT(newLanguageLoaded())); + return newInterface; +} + +void Factory::setResources(OptionInterface *,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityEngine,bool portableVersion) +{ + this->facilityEngine=facilityEngine; + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start, writePath: "+writePath+", pluginPath: "+pluginPath); + Q_UNUSED(portableVersion); +} + +QWidget * Factory::options() +{ + return NULL; +} + +void Factory::resetOptions() +{ +} + +QIcon Factory::getIcon(const QString &fileName) +{ + if(fileName=="SystemTrayIcon/exit.png") + { + QIcon tempIcon=QIcon::fromTheme("application-exit"); + if(!tempIcon.isNull()) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("use substitution ionc for: %1").arg(fileName)); + return tempIcon; + } + } + if(fileName=="SystemTrayIcon/add.png") + { + QIcon tempIcon=QIcon::fromTheme("list-add"); + if(!tempIcon.isNull()) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("use substitution ionc for: %1").arg(fileName)); + return tempIcon; + } + } + if(fileName=="SystemTrayIcon/informations.png") + { + QIcon tempIcon=QIcon::fromTheme("help-about"); + if(!tempIcon.isNull()) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("use substitution ionc for: %1").arg(fileName)); + return tempIcon; + } + } + if(fileName=="SystemTrayIcon/options.png") + { + QIcon tempIcon=QIcon::fromTheme("applications-system"); + if(!tempIcon.isNull()) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("use substitution ionc for: %1").arg(fileName)); + return tempIcon; + } + } + return QIcon(":/resources/"+fileName); +} + +void Factory::newLanguageLoaded() +{ + emit reloadLanguage(); +} + +Q_EXPORT_PLUGIN2(interface, Factory); + diff --git a/plugins-alternative/Themes/Teracopy/factory.h b/plugins-alternative/Themes/Teracopy/factory.h new file mode 100644 index 0000000..babac47 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/factory.h @@ -0,0 +1,46 @@ +/** \file factory.h +\brief Define the factory +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#ifndef FACTORY_H +#define FACTORY_H + +#include <QObject> +#include <QWidget> +#include <QMenu> +#include <QCloseEvent> + +#include "../../../interface/PluginInterface_Themes.h" +#include "interface.h" +#include "Environment.h" + +/// \brief Define the factory, to create instance of the interface +class Factory : public PluginInterface_ThemesFactory +{ + Q_OBJECT + Q_INTERFACES(PluginInterface_ThemesFactory) +public: + /// \brief to return the instance of the copy engine + PluginInterface_Themes * getInstance(); + /// \brief set the resources, to store options, to have facilityInterface + void setResources(OptionInterface * optionsEngine,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityEngine,bool portableVersion); + /// \brief to get the default options widget + QWidget * options(); + /// \brief to get a resource icon + QIcon getIcon(const QString &fileName); +public slots: + void resetOptions(); + void newLanguageLoaded(); +signals: + void reloadLanguage(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief To debug source + void debugInformation(DebugLevel level,QString fonction,QString text,QString file,int ligne); + #endif +private: + FacilityInterface * facilityEngine; +}; + +#endif // FACTORY_H diff --git a/plugins-alternative/Themes/Teracopy/informations.xml b/plugins-alternative/Themes/Teracopy/informations.xml new file mode 100644 index 0000000..66e8ee1 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/informations.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Teracopy style for Ultracopier]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Style Teracopy pour Ultracopier]]></title> + <!-- What kind of plugin this is --> + <category>Themes</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>linux-x86_64-pc</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Teracopy style for Ultracopier, reproduct with screenshot on internet]]></description> + <description xml:lang="fr"><![CDATA[Style Teracopy pour Ultracopier, reproduit avec les screenshots vu sur internet]]></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>0.3.0.5</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>Teracopy</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-0.3.0.5 + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins-alternative/Themes/Teracopy/interface.cpp b/plugins-alternative/Themes/Teracopy/interface.cpp new file mode 100644 index 0000000..be54075 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/interface.cpp @@ -0,0 +1,529 @@ +/** \file interface.cpp +\brief Define the interface core +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#include <QtCore> +#include <QMessageBox> + +#include "interface.h" +#include "ui_interface.h" + +InterfacePlugin::InterfacePlugin(FacilityInterface * facilityEngine) : + ui(new Ui::interfaceCopy()) +{ + this->facilityEngine=facilityEngine; + ui->setupUi(this); + currentFile = 0; + totalFile = 0; + currentSize = 0; + totalSize = 0; + this->show(); + storeIsInPause = false; + isInPause(false); + modeIsForced = false; + haveStarted = false; + speedString = facilityEngine->speedToString(0); + ui->toolButtonMenu->setMenu(&menu); + + connect(ui->actionAddFile,SIGNAL(triggered()),this,SLOT(forcedModeAddFile())); + connect(ui->actionAddFileToCopy,SIGNAL(triggered()),this,SLOT(forcedModeAddFileToCopy())); + connect(ui->actionAddFileToMove,SIGNAL(triggered()),this,SLOT(forcedModeAddFileToMove())); + connect(ui->actionAddFolderToCopy,SIGNAL(triggered()),this,SLOT(forcedModeAddFolderToCopy())); + connect(ui->actionAddFolderToMove,SIGNAL(triggered()),this,SLOT(forcedModeAddFolderToMove())); + connect(ui->actionAddFolder,SIGNAL(triggered()),this,SLOT(forcedModeAddFolder())); + + iconStart=QIcon(":/resources/player_play.png"); + iconPause=QIcon(":/resources/player_pause.png"); + iconStop=QIcon(":/resources/checkbox.png"); +} + +InterfacePlugin::~InterfacePlugin() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); +} + +QWidget * InterfacePlugin::getOptionsEngineWidget() +{ + return &optionEngineWidget; +} + +void InterfacePlugin::getOptionsEngineEnabled(bool isEnabled) +{ + Q_UNUSED(isEnabled); +} + +/// \brief set if transfer list is exportable/importable +void InterfacePlugin::setTransferListOperation(TransferListOperation transferListOperation) +{ + Q_UNUSED(transferListOperation); +} + +void InterfacePlugin::closeEvent(QCloseEvent *event) +{ + event->ignore(); + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + this->hide(); + emit cancel(); +} + +void InterfacePlugin::updateOverallInformation() +{ + ui->overall->setText(tr("Total: %3 of %4").arg(facilityEngine->sizeToString(currentSize)).arg(facilityEngine->sizeToString(totalSize))); + ui->labelNumberFile->setText(tr("%1 of %2").arg(currentFile).arg(totalFile)); +} + +void InterfacePlugin::actionInProgess(EngineActionInProgress action) +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Information,"start: "+QString::number(action)); + this->action=action; + ui->pauseButton->setEnabled(action!=Idle); + switch(action) + { + case Copying: + case CopyingAndListing: + ui->progressBar_all->setMaximum(65535); + ui->progressBar_all->setMinimum(0); + break; + case Listing: + ui->progressBar_all->setMaximum(0); + ui->progressBar_all->setMinimum(0); + break; + case Idle: + if(haveStarted) + emit cancel(); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Critical,"Very wrong switch case!"); + break; + } + switch(action) + { + case Copying: + case CopyingAndListing: + haveStarted=true; + break; + case Idle: + ui->cancelButton->setText(tr("Quit")); + break; + default: + break; + } +} + +void InterfacePlugin::newFolderListing(const QString &path) +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + if(action==Listing) + ui->from->setText(path); +} + +void InterfacePlugin::detectedSpeed(const quint64 &speed)//in byte per seconds +{ + speedString=facilityEngine->speedToString(speed); +} + +void InterfacePlugin::remainingTime(const int &remainingSeconds) +{ + if(remainingSeconds==-1) + ui->labelTimeRemaining->setText("<html><body>∞</body></html>"); + else + { + TimeDecomposition time=facilityEngine->secondsToTimeDecomposition(remainingSeconds); + ui->labelTimeRemaining->setText(QString::number(time.hour)+":"+QString::number(time.minute)+":"+QString::number(time.second)); + } +} + +void InterfacePlugin::newCollisionAction(const QString &action) +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + Q_UNUSED(action); +} + +void InterfacePlugin::newErrorAction(const QString &action) +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + Q_UNUSED(action); +} + +void InterfacePlugin::errorDetected() +{ +} + +//speed limitation +bool InterfacePlugin::setSpeedLimitation(const qint64 &speedLimitation) +{ + if(speedLimitation>0) + emit newSpeedLimitation(0); + return true; +} + +//get information about the copy +void InterfacePlugin::setGeneralProgression(const quint64 ¤t,const quint64 &total) +{ + currentSize=current; + totalSize=total; + if(total>0) + { + int newIndicator=((double)current/total)*65535; + ui->progressBar_all->setValue(newIndicator); + } + else + ui->progressBar_all->setValue(0); +} + +void InterfacePlugin::setCollisionAction(const QList<QPair<QString,QString> > &list) +{ + Q_UNUSED(list); +} + +void InterfacePlugin::setErrorAction(const QList<QPair<QString,QString> > &list) +{ + Q_UNUSED(list); +} + +void InterfacePlugin::setCopyType(CopyType type) +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + this->type=type; + updateModeAndType(); +} + +void InterfacePlugin::forceCopyMode(CopyMode mode) +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + modeIsForced=true; + this->mode=mode; + if(mode==Copy) + this->setWindowTitle("Ultracopier - "+tr("Copy")); + else + this->setWindowTitle("Ultracopier - "+tr("Move")); + updateModeAndType(); +} + +void InterfacePlugin::updateTitle() +{ + QString startString; + if(action==Copying || action==CopyingAndListing) + startString=tr("%1% done").arg(((double)currentSize/totalSize)*100); + else + startString="Ultracopier"; + startString+=" - "; + if(mode==Copy) + this->setWindowTitle(startString+facilityEngine->translateText("Copy")+" ("+speedString+")"); + else + this->setWindowTitle(startString+facilityEngine->translateText("Move")+" ("+speedString+")"); +} + +void InterfacePlugin::haveExternalOrder() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); +// ui->moreButton->toggle(); +} + +void InterfacePlugin::isInPause(bool isInPause) +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"isInPause: "+QString::number(isInPause)); + //resume in auto the pause + storeIsInPause=isInPause; + if(isInPause) + ui->pauseButton->setText(facilityEngine->translateText("Resume")); + else + ui->pauseButton->setText(facilityEngine->translateText("Pause")); +} + +void InterfacePlugin::updateCurrentFileInformation() +{ + if(currentProgressList.size()>0) + { + ui->from->setText(currentProgressList.first().generalData.sourceFullPath); + if(currentProgressList.first().generalData.size>0) + ui->progressBar_file->setValue(((double)currentProgressList.first().currentProgression/currentProgressList.first().generalData.size)*65535); + else + ui->progressBar_file->setValue(0); + } + else + { + ui->from->setText("-"); + ui->progressBar_file->setValue(65535); + } +} + + +void InterfacePlugin::on_cancelButton_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + this->hide(); + emit cancel(); +} + + +void InterfacePlugin::on_pauseButton_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + if(storeIsInPause) + emit resume(); + else + emit pause(); +} + +void InterfacePlugin::on_skipButton_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + if(currentProgressList.size()>0) + emit skip(currentProgressList.first().generalData.id); + else + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Critical,"unable to skip the transfer, because no transfer running"); +} + +void InterfacePlugin::updateModeAndType() +{ + menu.clear(); + if(modeIsForced) + { + menu.addAction(ui->actionAddFile); + if(type==FileAndFolder) + menu.addAction(ui->actionAddFolder); + } + else + { + menu.addAction(ui->actionAddFileToCopy); + menu.addAction(ui->actionAddFileToMove); + if(type==FileAndFolder) + { + menu.addAction(ui->actionAddFolderToCopy); + menu.addAction(ui->actionAddFolderToMove); + } + } +} + +void InterfacePlugin::forcedModeAddFile() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + emit userAddFile(mode); +} + +void InterfacePlugin::forcedModeAddFolder() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + emit userAddFolder(mode); +} + +void InterfacePlugin::forcedModeAddFileToCopy() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + emit userAddFile(Copy); +} + +void InterfacePlugin::forcedModeAddFolderToCopy() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + emit userAddFolder(Copy); +} + +void InterfacePlugin::forcedModeAddFileToMove() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + emit userAddFile(Move); +} + +void InterfacePlugin::forcedModeAddFolderToMove() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + emit userAddFolder(Move); +} + +//set the translate +void InterfacePlugin::newLanguageLoaded() +{ + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); + if(modeIsForced) + forceCopyMode(mode); + ui->retranslateUi(this); + if(haveStarted) + updateCurrentFileInformation(); + updateOverallInformation(); +} + +/* + Return[0]: totalFile + Return[1]: totalSize + Return[2]: currentFile + */ +void InterfacePlugin::getActionOnList(const QList<returnActionOnCopyList>& returnActions) +{ + loop_size=returnActions.size(); + index_for_loop=0; + while(index_for_loop<loop_size) + { + const returnActionOnCopyList& action=returnActions.at(index_for_loop); + switch(action.type) + { + case AddingItem: + { + InternalRunningOperationGraphic.insert(action.addAction.id,new QTreeWidgetItem(QStringList() << action.addAction.sourceFullPath << facilityEngine->sizeToString(action.addAction.size) << action.addAction.destinationFullPath)); + ui->CopyList->addTopLevelItem(InternalRunningOperationGraphic[action.addAction.id]); + totalFile++; + totalSize+=action.addAction.size; + } + break; + case MoveItem: + ui->CopyList->move(action.userAction.position,action.userAction.moveAt); + break; + case RemoveItem: + { + InternalRunningOperationGraphic[action.addAction.id]->setIcon(0,iconStop); + InternalRunningOperationGraphic.remove(action.addAction.id); + //delete ui->CopyList->topLevelItem(action.userAction.position); + currentFile++; + startId.removeOne(action.addAction.id); + stopId.removeOne(action.addAction.id); + } + break; + case PreOperation: + { + ItemOfCopyListWithMoreInformations tempItem; + tempItem.currentProgression=0; + tempItem.generalData=action.addAction; + InternalRunningOperation << tempItem; + } + break; + case Transfer: + { + if(!startId.contains(action.addAction.id)) + startId << action.addAction.id; + stopId.removeOne(action.addAction.id); + sub_index_for_loop=0; + sub_loop_size=InternalRunningOperation.size(); + while(sub_index_for_loop<sub_loop_size) + { + if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) + { + InternalRunningOperation[sub_index_for_loop].actionType=action.type; + break; + } + sub_index_for_loop++; + } + InternalRunningOperationGraphic[action.addAction.id]->setIcon(0,iconStart); + } + break; + case PostOperation: + { + if(!stopId.contains(action.addAction.id)) + stopId << action.addAction.id; + startId.removeOne(action.addAction.id); + sub_index_for_loop=0; + sub_loop_size=InternalRunningOperation.size(); + while(sub_index_for_loop<sub_loop_size) + { + if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) + { + InternalRunningOperation.removeAt(sub_index_for_loop); + break; + } + sub_index_for_loop++; + } + InternalRunningOperationGraphic[action.addAction.id]->setIcon(0,iconPause); + } + break; + case CustomOperation: + { + bool custom_with_progression=(action.addAction.size==1); + //without progression + if(custom_with_progression) + { + if(startId.removeOne(action.addAction.id)) + if(!stopId.contains(action.addAction.id)) + stopId << action.addAction.id; + } + //with progression + else + { + stopId.removeOne(action.addAction.id); + if(!startId.contains(action.addAction.id)) + startId << action.addAction.id; + } + sub_index_for_loop=0; + sub_loop_size=InternalRunningOperation.size(); + while(sub_index_for_loop<sub_loop_size) + { + if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) + { + InternalRunningOperation[sub_index_for_loop].actionType=action.type; + InternalRunningOperation[sub_index_for_loop].custom_with_progression=custom_with_progression; + InternalRunningOperation[sub_index_for_loop].currentProgression=0; + break; + } + sub_index_for_loop++; + } + } + break; + default: + //unknow code, ignore it + break; + } + index_for_loop++; + } +} + +void InterfacePlugin::setFileProgression(const QList<ProgressionItem> &progressionList) +{ + loop_size=InternalRunningOperation.size(); + sub_loop_size=progressionList.size(); + index_for_loop=0; + while(index_for_loop<loop_size) + { + sub_index_for_loop=0; + while(sub_index_for_loop<sub_loop_size) + { + if(progressionList.at(sub_index_for_loop).id==InternalRunningOperation.at(index_for_loop).generalData.id) + { + InternalRunningOperation[index_for_loop].generalData.size=progressionList.at(sub_index_for_loop).total; + InternalRunningOperation[index_for_loop].currentProgression=progressionList.at(sub_index_for_loop).current; + break; + } + sub_index_for_loop++; + } + index_for_loop++; + } +} + +InterfacePlugin::currentTransfertItem InterfacePlugin::getCurrentTransfertItem() +{ + currentTransfertItem returnItem; + returnItem.haveItem=InternalRunningOperation.size()>0; + if(returnItem.haveItem) + { + const ItemOfCopyListWithMoreInformations &itemTransfer=InternalRunningOperation.first(); + returnItem.from=itemTransfer.generalData.sourceFullPath; + returnItem.to=itemTransfer.generalData.destinationFullPath; + returnItem.current_file=itemTransfer.generalData.destinationFileName+", "+facilityEngine->sizeToString(itemTransfer.generalData.size); + switch(itemTransfer.actionType) + { + case CustomOperation: + if(!itemTransfer.custom_with_progression) + returnItem.progressBar_file=0; + else + { + if(itemTransfer.generalData.size>0) + returnItem.progressBar_file=((double)itemTransfer.currentProgression/itemTransfer.generalData.size)*65535; + else + returnItem.progressBar_file=0; + } + break; + case Transfer: + if(itemTransfer.generalData.size>0) + returnItem.progressBar_file=((double)itemTransfer.currentProgression/itemTransfer.generalData.size)*65535; + else + returnItem.progressBar_file=0; + break; + case PostOperation: + returnItem.progressBar_file=65535; + break; + default: + returnItem.progressBar_file=0; + } + } + return returnItem; +} diff --git a/plugins-alternative/Themes/Teracopy/interface.h b/plugins-alternative/Themes/Teracopy/interface.h new file mode 100644 index 0000000..865456e --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/interface.h @@ -0,0 +1,174 @@ +/** \file interface.h +\brief Define the interface test +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#ifndef INTERFACE_TEST_H +#define INTERFACE_TEST_H + +#include <QObject> +#include <QWidget> +#include <QCloseEvent> +#include <QMenu> + +#include "../../../interface/PluginInterface_Themes.h" + +#include "ui_interface.h" +#include "Environment.h" + +namespace Ui { + class interfaceCopy; +} + +/// \brief Define the interface +class InterfacePlugin : public PluginInterface_Themes +{ + Q_OBJECT +private: + struct ItemOfCopyListWithMoreInformations + { + quint64 currentProgression; + ItemOfCopyList generalData; + ActionTypeCopyList actionType; + bool custom_with_progression; + }; + struct currentTransfertItem + { + quint64 id; + bool haveItem; + QString from; + QString to; + QString current_file; + int progressBar_file; + }; + struct graphicItem + { + quint64 id; + QTreeWidgetItem * item; + }; + Ui::interfaceCopy *ui; + quint64 currentFile; + quint64 totalFile; + quint64 currentSize; + quint64 totalSize; + void updateOverallInformation(); + void updateCurrentFileInformation(); + EngineActionInProgress action; + void closeEvent(QCloseEvent *event); + QList<ItemOfCopyListWithMoreInformations> currentProgressList; + QList<graphicItem> graphicItemList; + QString speedString; + bool storeIsInPause; + bool modeIsForced; + CopyType type; + CopyMode mode; + void updateModeAndType(); + bool haveStarted; + QWidget optionEngineWidget; + void updateTitle(); + QMenu menu; + FacilityInterface * facilityEngine; + int loop_size,loop_sub_size,indexAction,index; + int index_for_loop,sub_loop_size,sub_index_for_loop; + currentTransfertItem getCurrentTransfertItem(); + QList<quint64> startId,stopId;///< To show what is started, what is stopped + QList<ItemOfCopyListWithMoreInformations> InternalRunningOperation;///< to have progression and stat + QHash<quint64,QTreeWidgetItem *> InternalRunningOperationGraphic; + QIcon iconStart,iconPause,iconStop; +public: + //send information about the copy + /// \brief to set the action in progress + void actionInProgess(EngineActionInProgress); + /// \brief new transfer have started + void newTransferStart(const ItemOfCopyList &item); + /** \brief one transfer have been stopped + * is stopped, example: because error have occurred, and try later, don't remove the item! */ + void newTransferStop(const quint64 &id); + /// \brief the new folder is listing + void newFolderListing(const QString &path); + /** \brief show the detected speed + * in byte per seconds */ + void detectedSpeed(const quint64 &speed); + /** \brief show the remaining time + * time in seconds */ + void remainingTime(const int &remainingSeconds); + /// \brief set the current collision action + void newCollisionAction(const QString &action); + /// \brief set the current error action + void newErrorAction(const QString &action); + /// \brief set one error is detected + void errorDetected(); + //speed limitation + /** \brief the max speed used + * in byte per seconds, -1 if not able, 0 if disabled */ + bool setSpeedLimitation(const qint64 &speedLimitation); + InterfacePlugin(FacilityInterface * facilityEngine); + ~InterfacePlugin(); + //get information about the copy + /// \brief show the general progression + void setGeneralProgression(const quint64 ¤t,const quint64 &total); + /// \brief show the file progression + void setFileProgression(const QList<ProgressionItem> &progressionList); + /// \brief set collision action + void setCollisionAction(const QList<QPair<QString,QString> > &); + /// \brief set error action + void setErrorAction(const QList<QPair<QString,QString> > &); + /// \brief set the copyType -> file or folder + void setCopyType(CopyType); + /// \brief set the copyMove -> copy or move, to force in copy or move, else support both + void forceCopyMode(CopyMode); + /// \brief set if transfer list is exportable/importable + void setTransferListOperation(TransferListOperation transferListOperation); + /** \brief set if the order is external (like file manager copy) + * to notify the interface, which can hide add folder/filer button */ + void haveExternalOrder(); + /// \brief set if is in pause + void isInPause(bool); + /// \brief get the widget for the copy engine + QWidget * getOptionsEngineWidget(); + /// \brief to set if the copy engine is found + void getOptionsEngineEnabled(bool isEnabled); +private slots: + void on_cancelButton_clicked(); + void on_pauseButton_clicked(); + void on_skipButton_clicked(); + void forcedModeAddFile(); + void forcedModeAddFolder(); + void forcedModeAddFileToCopy(); + void forcedModeAddFolderToCopy(); + void forcedModeAddFileToMove(); + void forcedModeAddFolderToMove(); +signals: + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief To debug source + void debugInformation(DebugLevel level,QString fonction,QString text,QString file,int ligne); + #endif + //set the transfer list + void removeItems(QList<int> ids); + void moveItemsOnTop(QList<int> ids); + void moveItemsUp(QList<int> ids); + void moveItemsDown(QList<int> ids); + void moveItemsOnBottom(QList<int> ids); + void exportTransferList(); + void importTransferList(); + //user ask ask to add folder (add it with interface ask source/destination) + void userAddFolder(CopyMode); + void userAddFile(CopyMode); + void urlDropped(QList<QUrl> urls); + //action on the copy + void pause(); + void resume(); + void skip(quint64 id); + void cancel(); + //edit the action + void sendCollisionAction(QString action); + void sendErrorAction(QString action); + void newSpeedLimitation(qint64); +public slots: + //set the translate + void newLanguageLoaded(); + void getActionOnList(const QList<returnActionOnCopyList>& returnActions); +}; + +#endif // INTERFACE_TEST_H diff --git a/plugins-alternative/Themes/Teracopy/interface.pro b/plugins-alternative/Themes/Teracopy/interface.pro new file mode 100644 index 0000000..012c8c1 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/interface.pro @@ -0,0 +1,42 @@ +TEMPLATE = lib +CONFIG += plugin +HEADERS = interface.h \ + interface/PluginInterface_Themes.h \ + StructEnumDefinition.h \ + factory.h \ + DebugEngineMacro.h \ + Environment.h \ + Variable.h \ + ../../../interface/PluginInterface_Themes.h +SOURCES = interface.cpp \ + factory.cpp +TARGET = $$qtLibraryTarget(interface) +TRANSLATIONS += Languages/fr/translation.ts \ + Languages/ar/translation.ts \ + Languages/ch/translation.ts \ + Languages/es/translation.ts \ + Languages/de/translation.ts \ + Languages/el/translation.ts \ + Languages/it/translation.ts \ + Languages/jp/translation.ts \ + Languages/id/translation.ts \ + Languages/pl/translation.ts \ + Languages/ru/translation.ts \ + Languages/tr/translation.ts \ + Languages/th/translation.ts \ + Languages/hi/translation.ts \ + Languages/nl/translation.ts \ + Languages/no/translation.ts \ + Languages/pt/translation.ts + +RESOURCES += resources.qrc + +FORMS += \ + interface.ui + +win32 { + RESOURCES += resources_windows.qrc +} +!win32 { + RESOURCES += resources_unix.qrc +} diff --git a/plugins-alternative/Themes/Teracopy/interface.ui b/plugins-alternative/Themes/Teracopy/interface.ui new file mode 100644 index 0000000..d547c49 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/interface.ui @@ -0,0 +1,415 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>interfaceCopy</class> + <widget class="QWidget" name="interfaceCopy"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>476</width> + <height>364</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>430</width> + <height>0</height> + </size> + </property> + <property name="windowTitle"> + <string notr="true">94% done (42BK/s)</string> + </property> + <property name="windowIcon"> + <iconset resource="resources.qrc"> + <normaloff>:/resources/main.png</normaloff>:/resources/main.png</iconset> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>1</number> + </property> + <property name="sizeConstraint"> + <enum>QLayout::SetMinimumSize</enum> + </property> + <property name="leftMargin"> + <number>2</number> + </property> + <property name="rightMargin"> + <number>2</number> + </property> + <item> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>2</number> + </property> + <item> + <widget class="QLabel" name="from"> + <property name="text"> + <string notr="true">-</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="labelNumberFile"/> + </item> + </layout> + </item> + <item> + <widget class="QProgressBar" name="progressBar_file"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16</height> + </size> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QLabel" name="overall"> + <property name="text"> + <string notr="true">Total: -</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="labelTimeRemaining"> + <property name="text"> + <string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&nbsp;</p></body></html></string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QProgressBar" name="progressBar_all"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16</height> + </size> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>4</number> + </property> + <item> + <widget class="QPushButton" name="moreButton"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string>&More</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="toolButtonMenu"> + <property name="text"> + <string>...</string> + </property> + <property name="popupMode"> + <enum>QToolButton::InstantPopup</enum> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="pauseButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string>&Pause</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="skipButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string>&Skip</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancelButton"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16</height> + </size> + </property> + <property name="text"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QTreeWidget" name="CopyList"> + <property name="selectionMode"> + <enum>QAbstractItemView::NoSelection</enum> + </property> + <property name="rootIsDecorated"> + <bool>false</bool> + </property> + <column> + <property name="text"> + <string>Source</string> + </property> + </column> + </widget> + </item> + </layout> + <action name="actionAddFile"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Add file</string> + </property> + </action> + <action name="actionAddFolder"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Add folder</string> + </property> + </action> + <action name="actionAddFileToMove"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Move file(s)</string> + </property> + </action> + <action name="actionAddFolderToMove"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Move folder</string> + </property> + </action> + <action name="actionAddFileToCopy"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Copy file(s)</string> + </property> + </action> + <action name="actionAddFolderToCopy"> + <property name="icon"> + <iconset> + <normaloff>:/resources/add.png</normaloff>:/resources/add.png</iconset> + </property> + <property name="text"> + <string>Copy folder</string> + </property> + </action> + </widget> + <resources> + <include location="resources.qrc"/> + </resources> + <connections> + <connection> + <sender>moreButton</sender> + <signal>toggled(bool)</signal> + <receiver>CopyList</receiver> + <slot>setVisible(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>32</x> + <y>107</y> + </hint> + <hint type="destinationlabel"> + <x>54</x> + <y>163</y> + </hint> + </hints> + </connection> + <connection> + <sender>moreButton</sender> + <signal>toggled(bool)</signal> + <receiver>label_2</receiver> + <slot>setVisible(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>72</x> + <y>106</y> + </hint> + <hint type="destinationlabel"> + <x>353</x> + <y>144</y> + </hint> + </hints> + </connection> + <connection> + <sender>cancelButton</sender> + <signal>clicked()</signal> + <receiver>interfaceCopy</receiver> + <slot>close()</slot> + <hints> + <hint type="sourcelabel"> + <x>465</x> + <y>114</y> + </hint> + <hint type="destinationlabel"> + <x>475</x> + <y>112</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins-alternative/Themes/Teracopy/resources.qrc b/plugins-alternative/Themes/Teracopy/resources.qrc new file mode 100644 index 0000000..7f9a82c --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources.qrc @@ -0,0 +1,12 @@ +<RCC> + <qresource prefix="/"> + <file>resources/SystemTrayIcon/add.png</file> + <file>resources/SystemTrayIcon/exit.png</file> + <file>resources/SystemTrayIcon/informations.png</file> + <file>resources/SystemTrayIcon/options.png</file> + <file>resources/checkbox.png</file> + <file>resources/main.png</file> + <file>resources/player_play.png</file> + <file>resources/player_pause.png</file> + </qresource> +</RCC> diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/add.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/add.png Binary files differnew file mode 100644 index 0000000..1e03be9 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/add.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/exit.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/exit.png Binary files differnew file mode 100644 index 0000000..201353e --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/exit.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/informations.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/informations.png Binary files differnew file mode 100644 index 0000000..e1eb797 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/informations.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/options.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/options.png Binary files differnew file mode 100644 index 0000000..d35365c --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/options.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Caught_Unix.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Caught_Unix.png Binary files differnew file mode 100644 index 0000000..a81e70d --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Caught_Unix.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Caught_Windows.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Caught_Windows.png Binary files differnew file mode 100644 index 0000000..8072aea --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Caught_Windows.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png Binary files differnew file mode 100644 index 0000000..f40ea82 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png Binary files differnew file mode 100644 index 0000000..8d673e4 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Uncaught_Unix.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Uncaught_Unix.png Binary files differnew file mode 100644 index 0000000..9ce4779 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Uncaught_Unix.png diff --git a/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Uncaught_Windows.png b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Uncaught_Windows.png Binary files differnew file mode 100644 index 0000000..d0fca1b --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/SystemTrayIcon/systray_Uncaught_Windows.png diff --git a/plugins-alternative/Themes/Teracopy/resources/checkbox.png b/plugins-alternative/Themes/Teracopy/resources/checkbox.png Binary files differnew file mode 100644 index 0000000..1c311e2 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/checkbox.png diff --git a/plugins-alternative/Themes/Teracopy/resources/main.png b/plugins-alternative/Themes/Teracopy/resources/main.png Binary files differnew file mode 100644 index 0000000..8072aea --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/main.png diff --git a/plugins-alternative/Themes/Teracopy/resources/player_play.png b/plugins-alternative/Themes/Teracopy/resources/player_play.png Binary files differnew file mode 100644 index 0000000..80ff3a1 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/player_play.png diff --git a/plugins-alternative/Themes/Teracopy/resources_unix.qrc b/plugins-alternative/Themes/Teracopy/resources_unix.qrc new file mode 100644 index 0000000..ae3894b --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources_unix.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/"> + <file>resources/SystemTrayIcon/systray_Caught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Unix.png</file> + </qresource> +</RCC> diff --git a/plugins-alternative/Themes/Teracopy/resources_windows.qrc b/plugins-alternative/Themes/Teracopy/resources_windows.qrc new file mode 100644 index 0000000..99829b3 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources_windows.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/"> + <file>resources/SystemTrayIcon/systray_Caught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Windows.png</file> + </qresource> +</RCC> |