summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-24 00:13:45 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-24 00:13:46 +0000
commit0fa6fb5a53789434e6ef57af39ab9024b7ec7d50 (patch)
tree9854613566cca815292f6fcad8e4d678afa30a9a
parent2124f782c35cd832460d070186eaf72d935c1bdb (diff)
parentb00b0c864574c3842effe1705b66066fa228f950 (diff)
merge patched into master
-rw-r--r--CliParser.cpp83
-rw-r--r--CliParser.h22
-rw-r--r--CompilerInfo.h14
-rw-r--r--CopyEngineManager.cpp148
-rw-r--r--CopyEngineManager.h34
-rw-r--r--CopyListener.cpp181
-rw-r--r--CopyListener.h54
-rw-r--r--Core.cpp379
-rw-r--r--Core.h101
-rw-r--r--DebugEngine.cpp108
-rw-r--r--DebugEngine.h34
-rw-r--r--DebugModel.cpp18
-rw-r--r--EventDispatcher.cpp291
-rw-r--r--EventDispatcher.h4
-rw-r--r--ExtraSocket.cpp8
-rw-r--r--ExtraSocket.h2
-rw-r--r--FacilityEngine.cpp190
-rw-r--r--FacilityEngine.h63
-rw-r--r--HelpDialog.cpp38
-rw-r--r--HelpDialog.h4
-rw-r--r--InternetUpdater.cpp46
-rw-r--r--InternetUpdater.h2
-rw-r--r--LanguagesManager.cpp152
-rw-r--r--LanguagesManager.h29
-rw-r--r--LocalListener.cpp147
-rw-r--r--LocalListener.h6
-rw-r--r--LocalPluginOptions.cpp14
-rw-r--r--LocalPluginOptions.h10
-rw-r--r--LogThread.cpp197
-rw-r--r--LogThread.h72
-rw-r--r--OSSpecific.cpp4
-rw-r--r--OptionDialog.cpp1117
-rw-r--r--OptionDialog.h51
-rw-r--r--OptionEngine.cpp103
-rw-r--r--OptionEngine.h19
-rw-r--r--PluginInformation.cpp76
-rw-r--r--PluginInformation.h10
-rw-r--r--PluginLoader.cpp111
-rw-r--r--PluginLoader.h6
-rw-r--r--PluginsManager.cpp529
-rw-r--r--PluginsManager.h56
-rw-r--r--README18
-rw-r--r--ResourcesManager.cpp115
-rw-r--r--ResourcesManager.h22
-rw-r--r--SessionLoader.cpp54
-rw-r--r--SessionLoader.h8
-rw-r--r--StructEnumDefinition.h31
-rw-r--r--StructEnumDefinition_UltracopierSpecific.h60
-rw-r--r--SystrayIcon.cpp265
-rw-r--r--SystrayIcon.h26
-rw-r--r--ThemesManager.cpp82
-rw-r--r--ThemesManager.h16
-rw-r--r--Variable.h5
-rw-r--r--cpp11addition.cpp531
-rw-r--r--cpp11addition.h203
-rw-r--r--cpp11additionstringtointcpp.cpp485
-rw-r--r--debian/.git-dpm6
-rw-r--r--debian/patches/0001-Disable-ultimate-build.patch18
-rw-r--r--debian/patches/0002-Recognize-Hurd-platform.patch31
-rw-r--r--debian/patches/series1
-rw-r--r--interface/FacilityInterface.h26
-rw-r--r--interface/OptionInterface.h16
-rw-r--r--interface/PluginInterface_CopyEngine.h65
-rw-r--r--interface/PluginInterface_Listener.h28
-rw-r--r--interface/PluginInterface_PluginLoader.h8
-rw-r--r--interface/PluginInterface_SessionLoader.h8
-rw-r--r--interface/PluginInterface_Themes.h44
-rw-r--r--lib/qt-tar-xz/QTarDecode.cpp2
-rw-r--r--lib/qt-tar-xz/QXzDecode.cpp214
-rw-r--r--main.cpp56
-rw-r--r--other-pro/static.pro33
-rw-r--r--other-pro/supercopier-core.pro3
-rw-r--r--other-pro/ultracopier-core.pro131
-rw-r--r--other-pro/ultracopier-static.pro6
-rw-r--r--plugins-alternative/Listener/dbus/Catchcopy.cpp (renamed from plugins/Listener/dbus/Catchcopy.cpp)0
-rw-r--r--plugins-alternative/Listener/dbus/Catchcopy.h (renamed from plugins/Listener/dbus/Catchcopy.h)0
-rw-r--r--plugins-alternative/Listener/dbus/DebugEngineMacro.h (renamed from plugins-alternative/Themes/Supercopier/DebugEngineMacro.h)0
-rw-r--r--plugins-alternative/Listener/dbus/Environment.h (renamed from plugins-alternative/Themes/Supercopier/Environment.h)0
-rw-r--r--plugins-alternative/Listener/dbus/StructEnumDefinition.h (renamed from plugins-alternative/Themes/Supercopier/StructEnumDefinition.h)0
-rw-r--r--plugins-alternative/Listener/dbus/Variable.h (renamed from plugins-alternative/Themes/Supercopier/Variable.h)0
-rw-r--r--plugins-alternative/Listener/dbus/documentation.dox (renamed from plugins/Listener/dbus/documentation.dox)3
-rw-r--r--plugins-alternative/Listener/dbus/informations.xml (renamed from plugins/Listener/dbus/informations.xml)2
-rw-r--r--plugins-alternative/Listener/dbus/listener.cpp (renamed from plugins/Listener/dbus/listener.cpp)0
-rw-r--r--plugins-alternative/Listener/dbus/listener.h (renamed from plugins/Listener/dbus/listener.h)0
-rw-r--r--plugins-alternative/Listener/dbus/listener.pro19
-rw-r--r--plugins-alternative/Listener/dbus/plugin.json (renamed from plugins-alternative/Themes/Supercopier/plugin.json)0
-rw-r--r--plugins-alternative/PluginLoader/keybinding/documentation.dox3
-rw-r--r--plugins-alternative/PluginLoader/keybinding/informations.xml2
-rw-r--r--plugins-alternative/PluginLoader/keybinding/pluginLoader.pro.user.3.3-pre1266
-rw-r--r--plugins-alternative/SessionLoader/KDE4/DebugEngineMacro.h (renamed from plugins/Listener/dbus/DebugEngineMacro.h)0
-rw-r--r--plugins-alternative/SessionLoader/KDE4/Environment.h (renamed from plugins/Listener/dbus/Environment.h)0
-rw-r--r--plugins-alternative/SessionLoader/KDE4/StructEnumDefinition.h (renamed from plugins/Listener/dbus/StructEnumDefinition.h)0
-rw-r--r--plugins-alternative/SessionLoader/KDE4/Variable.h (renamed from plugins/Listener/dbus/Variable.h)0
-rw-r--r--plugins-alternative/SessionLoader/KDE4/documentation.dox (renamed from plugins/SessionLoader/KDE4/documentation.dox)3
-rw-r--r--plugins-alternative/SessionLoader/KDE4/informations.xml (renamed from plugins/SessionLoader/KDE4/informations.xml)2
-rw-r--r--plugins-alternative/SessionLoader/KDE4/plugin.json (renamed from plugins/Listener/dbus/plugin.json)0
-rw-r--r--plugins-alternative/SessionLoader/KDE4/sessionLoader.cpp (renamed from plugins/SessionLoader/KDE4/sessionLoader.cpp)0
-rw-r--r--plugins-alternative/SessionLoader/KDE4/sessionLoader.h (renamed from plugins/SessionLoader/KDE4/sessionLoader.h)0
-rw-r--r--plugins-alternative/SessionLoader/KDE4/sessionLoader.pro (renamed from plugins/SessionLoader/KDE4/sessionLoader.pro)13
-rw-r--r--plugins-alternative/Themes/Clean/Languages/es/translation.ts4
-rw-r--r--plugins-alternative/Themes/Clean/Languages/fr/translation.ts4
-rw-r--r--plugins-alternative/Themes/Clean/Languages/it/translation.ts4
-rw-r--r--plugins-alternative/Themes/Clean/Languages/ko/translation.ts4
-rw-r--r--plugins-alternative/Themes/Clean/Languages/ru/translation.ts4
-rw-r--r--plugins-alternative/Themes/Clean/documentation.dox3
-rw-r--r--plugins-alternative/Themes/Clean/informations.xml2
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/ar/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/de/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/el/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/en/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/es/translation.ts340
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/fr/translation.ts344
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/hi/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/hu/translation.ts328
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/id/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/it/translation.ts336
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/ja/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/ko/translation.ts336
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/nl/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/no/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/pl/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/pt/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/ru/translation.ts336
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/th/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/tr/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/Languages/zh/translation.ts324
-rw-r--r--plugins-alternative/Themes/Supercopier/TransferModel.cpp569
-rw-r--r--plugins-alternative/Themes/Supercopier/TransferModel.h96
-rw-r--r--plugins-alternative/Themes/Supercopier/documentation.dox33
-rw-r--r--plugins-alternative/Themes/Supercopier/factory.cpp441
-rw-r--r--plugins-alternative/Themes/Supercopier/factory.h83
-rw-r--r--plugins-alternative/Themes/Supercopier/interface.cpp1332
-rw-r--r--plugins-alternative/Themes/Supercopier/interface.h221
-rw-r--r--plugins-alternative/Themes/Supercopier/interface.pro59
-rw-r--r--plugins-alternative/Themes/Supercopier/interface.ui845
-rw-r--r--plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Unix.pngbin95 -> 0 bytes
-rw-r--r--plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Windows.pngbin93 -> 0 bytes
-rw-r--r--plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Unix.pngbin95 -> 0 bytes
-rw-r--r--plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Windows.pngbin93 -> 0 bytes
-rw-r--r--plugins-alternative/Themes/Supercopier/themesOptions.ui384
-rw-r--r--plugins-alternative/Themes/Teracopy/documentation.dox3
-rw-r--r--plugins-alternative/Themes/Teracopy/informations.xml2
-rw-r--r--plugins-alternative/Themes/Windows/documentation.dox3
-rw-r--r--plugins-alternative/Themes/Windows/informations.xml2
-rw-r--r--plugins-alternative/static-plugins-supercopier.qrc6
-rw-r--r--plugins/CopyEngine/Rsync/Rsync.pro2
-rw-r--r--plugins/CopyEngine/Rsync/informations.xml23
-rw-r--r--plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp107
-rw-r--r--plugins/CopyEngine/Ultracopier/CopyEngine.cpp153
-rw-r--r--plugins/CopyEngine/Ultracopier/CopyEngine.h111
-rw-r--r--plugins/CopyEngine/Ultracopier/CopyEngine.pro165
-rw-r--r--plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp262
-rw-r--r--plugins/CopyEngine/Ultracopier/CopyEngineFactory.h15
-rw-r--r--plugins/CopyEngine/Ultracopier/DebugDialog.cpp18
-rw-r--r--plugins/CopyEngine/Ultracopier/DebugDialog.h4
-rw-r--r--plugins/CopyEngine/Ultracopier/DiskSpace.cpp8
-rw-r--r--plugins/CopyEngine/Ultracopier/DiskSpace.h3
-rw-r--r--plugins/CopyEngine/Ultracopier/DriveManagement.cpp70
-rw-r--r--plugins/CopyEngine/Ultracopier/DriveManagement.h14
-rw-r--r--plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp8
-rw-r--r--plugins/CopyEngine/Ultracopier/FileErrorDialog.h2
-rw-r--r--plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp36
-rw-r--r--plugins/CopyEngine/Ultracopier/FileExistsDialog.h10
-rw-r--r--plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp34
-rw-r--r--plugins/CopyEngine/Ultracopier/FileIsSameDialog.h10
-rw-r--r--plugins/CopyEngine/Ultracopier/FilterRules.cpp12
-rw-r--r--plugins/CopyEngine/Ultracopier/FilterRules.h48
-rw-r--r--plugins/CopyEngine/Ultracopier/Filters.cpp171
-rw-r--r--plugins/CopyEngine/Ultracopier/Filters.h12
-rw-r--r--plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp36
-rw-r--r--plugins/CopyEngine/Ultracopier/FolderExistsDialog.h12
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/de/translation.ts252
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/el/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/en/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/es/translation.ts264
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts292
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts256
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/id/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/it/translation.ts268
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts252
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/no/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts252
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/th/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts248
-rw-r--r--plugins/CopyEngine/Ultracopier/ListThread.cpp617
-rw-r--r--plugins/CopyEngine/Ultracopier/ListThread.h169
-rw-r--r--plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp16
-rw-r--r--plugins/CopyEngine/Ultracopier/MkPath.cpp87
-rw-r--r--plugins/CopyEngine/Ultracopier/MkPath.h16
-rw-r--r--plugins/CopyEngine/Ultracopier/ReadThread.cpp112
-rw-r--r--plugins/CopyEngine/Ultracopier/ReadThread.h18
-rw-r--r--plugins/CopyEngine/Ultracopier/RenamingRules.cpp22
-rw-r--r--plugins/CopyEngine/Ultracopier/RenamingRules.h8
-rw-r--r--plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp259
-rw-r--r--plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h46
-rw-r--r--plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h14
-rw-r--r--plugins/CopyEngine/Ultracopier/TransferThread.cpp462
-rw-r--r--plugins/CopyEngine/Ultracopier/TransferThread.h54
-rw-r--r--plugins/CopyEngine/Ultracopier/WriteThread.cpp159
-rw-r--r--plugins/CopyEngine/Ultracopier/WriteThread.h16
-rw-r--r--plugins/CopyEngine/Ultracopier/documentation.dox2
-rw-r--r--plugins/CopyEngine/Ultracopier/informations.xml2
-rw-r--r--plugins/Languages/ar/informations.xml2
-rw-r--r--plugins/Languages/ar/translation.ts557
-rw-r--r--plugins/Languages/de/informations.xml2
-rw-r--r--plugins/Languages/de/translation.ts581
-rw-r--r--plugins/Languages/el/informations.xml2
-rw-r--r--plugins/Languages/el/translation.ts557
-rw-r--r--plugins/Languages/es/informations.xml2
-rw-r--r--plugins/Languages/es/translation.ts694
-rw-r--r--plugins/Languages/fr/informations.xml2
-rw-r--r--plugins/Languages/fr/translation.ts719
-rw-r--r--plugins/Languages/hi/informations.xml2
-rw-r--r--plugins/Languages/hi/translation.ts557
-rw-r--r--plugins/Languages/hu/informations.xml2
-rw-r--r--plugins/Languages/hu/translation.ts571
-rw-r--r--plugins/Languages/id/informations.xml2
-rw-r--r--plugins/Languages/id/translation.ts557
-rw-r--r--plugins/Languages/it/informations.xml2
-rw-r--r--plugins/Languages/it/translation.ts682
-rw-r--r--plugins/Languages/ja/informations.xml2
-rw-r--r--plugins/Languages/ja/translation.ts557
-rw-r--r--plugins/Languages/ko/informations.xml2
-rw-r--r--plugins/Languages/ko/translation.ts597
-rw-r--r--plugins/Languages/nl/informations.xml2
-rw-r--r--plugins/Languages/nl/translation.ts557
-rw-r--r--plugins/Languages/no/informations.xml2
-rw-r--r--plugins/Languages/no/translation.ts557
-rw-r--r--plugins/Languages/pl/informations.xml2
-rw-r--r--plugins/Languages/pl/translation.ts557
-rw-r--r--plugins/Languages/pt/informations.xml2
-rw-r--r--plugins/Languages/pt/translation.ts557
-rw-r--r--plugins/Languages/ru/informations.xml2
-rw-r--r--plugins/Languages/ru/translation.ts638
-rw-r--r--plugins/Languages/th/informations.xml2
-rw-r--r--plugins/Languages/th/translation.ts557
-rw-r--r--plugins/Languages/tr/informations.xml2
-rw-r--r--plugins/Languages/tr/translation.ts557
-rw-r--r--plugins/Languages/zh/informations.xml2
-rw-r--r--plugins/Languages/zh/translation.ts555
-rw-r--r--plugins/Languages/zh_TW/flag.pngbin0 -> 616 bytes
-rw-r--r--plugins/Languages/zh_TW/informations.xml32
-rw-r--r--plugins/Languages/zh_TW/translation.ts1256
-rw-r--r--plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp558
-rw-r--r--plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp6
-rw-r--r--plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h3
-rw-r--r--plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp172
-rw-r--r--plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h112
-rw-r--r--plugins/Listener/catchcopy-v0002/documentation.dox3
-rw-r--r--plugins/Listener/catchcopy-v0002/informations.xml2
-rw-r--r--plugins/Listener/catchcopy-v0002/listener.cpp47
-rw-r--r--plugins/Listener/catchcopy-v0002/listener.h26
-rw-r--r--plugins/Listener/catchcopy-v0002/listener.pro29
-rw-r--r--plugins/Listener/dbus/listener.pro13
-rw-r--r--plugins/PluginLoader/catchcopy-v0002/documentation.dox3
-rw-r--r--plugins/PluginLoader/catchcopy-v0002/informations.xml2
-rw-r--r--plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp108
-rw-r--r--plugins/PluginLoader/catchcopy-v0002/pluginLoader.h13
-rw-r--r--plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro67
-rw-r--r--plugins/SessionLoader/KDE4/DebugEngineMacro.h28
-rw-r--r--plugins/SessionLoader/KDE4/Environment.h10
-rw-r--r--plugins/SessionLoader/KDE4/StructEnumDefinition.h1
-rw-r--r--plugins/SessionLoader/KDE4/Variable.h15
-rw-r--r--plugins/SessionLoader/KDE4/plugin.json1
-rw-r--r--plugins/SessionLoader/KDE4/sessionLoader.pro.user.2.7pre1208
-rw-r--r--plugins/SessionLoader/Windows/documentation.dox3
-rw-r--r--plugins/SessionLoader/Windows/informations.xml2
-rw-r--r--plugins/SessionLoader/Windows/sessionLoader.cpp8
-rw-r--r--plugins/SessionLoader/Windows/sessionLoader.h2
-rw-r--r--plugins/SessionLoader/Windows/sessionLoader.pro14
-rw-r--r--plugins/Themes/Oxygen/Languages/ar/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/de/translation.ts58
-rw-r--r--plugins/Themes/Oxygen/Languages/el/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/en/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/es/translation.ts62
-rw-r--r--plugins/Themes/Oxygen/Languages/fr/translation.ts36
-rw-r--r--plugins/Themes/Oxygen/Languages/hi/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/hu/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/id/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/it/translation.ts62
-rw-r--r--plugins/Themes/Oxygen/Languages/ja/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/ko/translation.ts28
-rw-r--r--plugins/Themes/Oxygen/Languages/nl/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/no/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/pl/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/pt/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/ru/translation.ts58
-rw-r--r--plugins/Themes/Oxygen/Languages/th/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/tr/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/Languages/zh/translation.ts46
-rw-r--r--plugins/Themes/Oxygen/ThemesFactory.cpp143
-rw-r--r--plugins/Themes/Oxygen/ThemesFactory.h8
-rw-r--r--plugins/Themes/Oxygen/TransferModel.cpp168
-rw-r--r--plugins/Themes/Oxygen/TransferModel.h44
-rw-r--r--plugins/Themes/Oxygen/documentation.dox5
-rw-r--r--plugins/Themes/Oxygen/informations.xml2
-rw-r--r--plugins/Themes/Oxygen/interface.cpp343
-rw-r--r--plugins/Themes/Oxygen/interface.h34
-rw-r--r--plugins/Themes/Oxygen/interface.pro59
-rw-r--r--plugins/Themes/Oxygen/interfaceInclude.pri51
-rw-r--r--plugins/Themes/Supercopier/informations.xml (renamed from plugins-alternative/Themes/Supercopier/informations.xml)8
-rw-r--r--plugins/Themes/Supercopier/interface.pro10
-rw-r--r--plugins/Themes/Supercopier/interfaceResources.qrc (renamed from plugins-alternative/Themes/Supercopier/interfaceResources.qrc)0
-rw-r--r--plugins/Themes/Supercopier/interfaceResources_unix.qrc (renamed from plugins-alternative/Themes/Supercopier/interfaceResources_unix.qrc)2
-rw-r--r--plugins/Themes/Supercopier/interfaceResources_windows.qrc (renamed from plugins-alternative/Themes/Supercopier/interfaceResources_windows.qrc)2
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/add.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/add.png)bin246 -> 246 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/exit.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/exit.png)bin545 -> 545 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/informations.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/informations.png)bin281 -> 281 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/options.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/options.png)bin275 -> 275 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png)bin147 -> 147 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png)bin148 -> 148 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png)bin147 -> 147 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png)bin148 -> 148 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png)bin141 -> 141 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png (renamed from plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png)bin139 -> 139 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/add.png (renamed from plugins-alternative/Themes/Supercopier/resources/add.png)bin240 -> 240 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/cancel.png (renamed from plugins-alternative/Themes/Supercopier/resources/cancel.png)bin284 -> 284 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/export-transfer-list.png (renamed from plugins-alternative/Themes/Supercopier/resources/export-transfer-list.png)bin264 -> 264 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/import-transfer-list.png (renamed from plugins-alternative/Themes/Supercopier/resources/import-transfer-list.png)bin316 -> 316 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/main.png (renamed from plugins-alternative/Themes/Supercopier/resources/main.png)bin148 -> 148 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/moveDown.png (renamed from plugins-alternative/Themes/Supercopier/resources/moveDown.png)bin191 -> 191 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/moveUp.png (renamed from plugins-alternative/Themes/Supercopier/resources/moveUp.png)bin190 -> 190 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/player_end.png (renamed from plugins-alternative/Themes/Supercopier/resources/player_end.png)bin226 -> 226 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/player_pause.png (renamed from plugins-alternative/Themes/Supercopier/resources/player_pause.png)bin207 -> 207 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/player_play.png (renamed from plugins-alternative/Themes/Supercopier/resources/player_play.png)bin208 -> 208 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/progressbarleft.png (renamed from plugins-alternative/Themes/Supercopier/resources/progressbarleft.png)bin133 -> 133 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/progressbarright.png (renamed from plugins-alternative/Themes/Supercopier/resources/progressbarright.png)bin132 -> 132 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/putOnBottom.png (renamed from plugins-alternative/Themes/Supercopier/resources/putOnBottom.png)bin206 -> 206 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/putOnTop.png (renamed from plugins-alternative/Themes/Supercopier/resources/putOnTop.png)bin208 -> 208 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/remove.png (renamed from plugins-alternative/Themes/Supercopier/resources/remove.png)bin254 -> 254 bytes
-rw-r--r--plugins/Themes/Supercopier/resources/search.png (renamed from plugins-alternative/Themes/Supercopier/resources/search.png)bin237 -> 237 bytes
-rw-r--r--resources/Languages/en/informations.xml2
-rw-r--r--resources/Languages/en/translation.ts547
-rw-r--r--static.pro33
-rw-r--r--supercopier-static.pro6
-rw-r--r--tools/doc/Doxyfile1790
-rw-r--r--tools/doc/Doxyfile-plugin-template1789
-rw-r--r--tools/doc/footer.html2
-rw-r--r--tools/doc/ultracopier-logo.pngbin0 -> 3834 bytes
-rw-r--r--tools/scripts/UltraCP28
-rw-r--r--tools/scripts/UltraMV28
-rwxr-xr-xtools/to-pack/1-pre-send.sh55
-rwxr-xr-xtools/to-pack/1-update-translation.sh37
-rwxr-xr-xtools/to-pack/2-compil-wine32.sh39
-rwxr-xr-xtools/to-pack/2-compil-wine64.sh38
-rwxr-xr-xtools/to-pack/2-send-sources.sh12
-rwxr-xr-xtools/to-pack/3-compil-mac.sh37
-rwxr-xr-xtools/to-pack/4-clean-all.sh35
-rwxr-xr-xtools/to-pack/4-upload.sh38
-rwxr-xr-xtools/to-pack/5-upload.sh35
-rwxr-xr-xtools/to-pack/6-sendmail.sh35
-rwxr-xr-xtools/to-pack/data/windows/install-static.nsi162
-rwxr-xr-xtools/to-pack/data/windows/install.nsi162
-rw-r--r--tools/to-pack/data/windows/resources-windows-ultracopier-plugins.rc27
-rwxr-xr-xtools/to-pack/data/windows/ultracopier.icobin0 -> 34118 bytes
-rwxr-xr-xtools/to-pack/grouped.sh12
-rwxr-xr-xtools/to-pack/old-3-compil-linux.sh37
-rwxr-xr-xtools/to-pack/sub-script/assemble-source-version.sh129
-rw-r--r--tools/to-pack/sub-script/assemble-windows-version-32.sh153
-rw-r--r--tools/to-pack/sub-script/assemble-windows-version-64.sh149
-rw-r--r--tools/to-pack/sub-script/assemble.sh219
-rwxr-xr-xtools/to-pack/sub-script/clean-all.sh16
-rw-r--r--tools/to-pack/sub-script/compil-windows32.sh211
-rw-r--r--tools/to-pack/sub-script/compil-windows64.sh200
-rw-r--r--tools/to-pack/sub-script/compil.sh429
-rw-r--r--tools/to-pack/sub-script/doc.sh119
-rw-r--r--tools/to-pack/sub-script/linux.sh275
-rw-r--r--tools/to-pack/sub-script/mac.sh275
-rw-r--r--tools/to-pack/sub-script/sendmail.sh17
-rw-r--r--tools/to-pack/sub-script/test.sh40
-rw-r--r--tools/to-pack/sub-script/translation-local.sh30
-rwxr-xr-xtools/to-pack/sub-script/translation.sh53
-rw-r--r--tools/to-pack/sub-script/upload-local.sh33
-rw-r--r--tools/to-pack/sub-script/upload.sh80
-rwxr-xr-xtools/to-pack/test.sh55
-rw-r--r--ultracopier-all-in-one-direct.pro119
-rw-r--r--ultracopier-core.pro125
-rw-r--r--ultracopier-static.pro6
-rw-r--r--ultracopier.pro137
386 files changed, 22573 insertions, 27664 deletions
diff --git a/CliParser.cpp b/CliParser.cpp
index e2a9780..7d375ac 100644
--- a/CliParser.cpp
+++ b/CliParser.cpp
@@ -4,50 +4,65 @@
\licence GPL3, see the file COPYING */
#include "CliParser.h"
+#include "cpp11addition.h"
+#include "Core.h"
#include <QDebug>
CliParser::CliParser(QObject *parent) :
QObject(parent)
{
+ //this->core=core;
}
/** \brief method to parse the ultracopier arguments
\param ultracopierArguments the argument list
\param external true if the arguments come from other instance of ultracopier
*/
-void CliParser::cli(const QStringList &ultracopierArguments,const bool &external,const bool &onlyCheck)
+void CliParser::cli(const std::vector<std::string> &ultracopierArguments,const bool &external,const bool &onlyCheck)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("ultracopierArguments: ")+ultracopierArguments.join(QStringLiteral(";")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"ultracopierArguments: "+stringimplode(ultracopierArguments,';'));
if(ultracopierArguments.size()==1)
{
if(external)
- QMessageBox::warning(NULL,tr("Warning"),tr("Ultracopier is already running, right click on its system tray icon (near the clock) to use it"));
+ {
+ //if(!core->startNewTransferOneUniqueCopyEngine())
+ {
+ #ifdef Q_OS_WIN32
+ QString message(tr("Ultracopier is already running, right click on its system tray icon (near the clock) to use it or just copy and paste"));
+ #else
+ QString message(tr("Ultracopier is already running, view all notification area icons (near the clock), right click on its system tray icon to use it or just copy and paste"));
+ #endif
+
+ QMessageBox::warning(NULL,tr("Warning"),message);
+ showSystrayMessage(message.toStdString());
+ }
+ }
// else do nothing, is normal starting without arguements
return;
}
else if(ultracopierArguments.size()==2)
{
- if(ultracopierArguments.last()==QStringLiteral("quit"))
+ if(ultracopierArguments.back()=="quit")
{
if(onlyCheck)
return;
QCoreApplication::exit();
return;
}
- else if(ultracopierArguments.last()==QStringLiteral("--help"))
+ else if(ultracopierArguments.back()=="--help")
{
showHelp(false);
return;
}
- else if(ultracopierArguments.last()==QStringLiteral("--options"))
+ else if(ultracopierArguments.back()=="--options")
{
emit showOptions();
return;
}
- else if(ultracopierArguments.last().endsWith(QStringLiteral(".urc")))
+ else if(stringEndsWith(ultracopierArguments.back(),".urc"))
{
- tryLoadPlugin(ultracopierArguments.last());
+ tryLoadPlugin(ultracopierArguments.back());
return;
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Command line not understand");
@@ -56,41 +71,41 @@ void CliParser::cli(const QStringList &ultracopierArguments,const bool &external
}
else if(ultracopierArguments.size()==3)
{
- if(ultracopierArguments.at(1)==QStringLiteral("Transfer-list"))
+ if(ultracopierArguments.at(1)=="Transfer-list")
{
if(onlyCheck)
return;
- QFile transferFile(ultracopierArguments.last());
+ QFile transferFile(QString::fromStdString(ultracopierArguments.back()));
if(transferFile.open(QIODevice::ReadOnly))
{
QString content;
QByteArray data=transferFile.readLine(64);
if(data.size()<=0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Problem reading file, or file size is 0"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Problem reading file, or file size is 0");
QMessageBox::warning(NULL,tr("Warning"),tr("Problem reading file, or file size is 0"));
transferFile.close();
return;
}
content=QString::fromUtf8(data);
- QStringList transferListArguments=content.split(';');
- transferListArguments[3].remove('\n');
+ std::vector<std::string> transferListArguments=stringsplit(content.toStdString(),';');
+ transferListArguments[3].erase(std::remove(transferListArguments[3].begin(), transferListArguments[3].end(),'\n'),transferListArguments[3].end());
if(transferListArguments.at(0)!="Ultracopier" ||
transferListArguments.at(1)!="Transfer-list" ||
(transferListArguments.at(2)!="Transfer" && transferListArguments.at(2)!="Copy" && transferListArguments.at(2)!="Move")
)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("This file is not supported transfer list"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"This file is not supported transfer list");
QMessageBox::warning(NULL,tr("Warning"),tr("This file is not supported transfer list"));
transferFile.close();
return;
}
transferFile.close();
- emit newTransferList(transferListArguments.at(3),transferListArguments.at(2),ultracopierArguments.last());
+ emit newTransferList(transferListArguments.at(3),transferListArguments.at(2),ultracopierArguments.back());
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("Unable to open the transfer list file: %1").arg(transferFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to open the transfer list file: "+transferFile.errorString().toStdString());
QMessageBox::warning(NULL,tr("Warning"),tr("Unable to open the transfer list file"));
return;
}
@@ -102,51 +117,51 @@ void CliParser::cli(const QStringList &ultracopierArguments,const bool &external
}
else if(ultracopierArguments.size()>3)
{
- if(ultracopierArguments.at(1)==QStringLiteral("Copy") || ultracopierArguments.at(1)==QStringLiteral("cp"))
+ if(ultracopierArguments.at(1)=="Copy" || ultracopierArguments.at(1)=="cp")
{
if(onlyCheck)
return;
- QStringList transferList=ultracopierArguments;
- transferList.removeFirst();
- transferList.removeFirst();
- if(transferList.last()=="?")
+ std::vector<std::string> transferList=ultracopierArguments;
+ transferList.erase(transferList.cbegin());
+ transferList.erase(transferList.cbegin());
+ if(transferList.back()=="?")
{
- transferList.removeLast();
+ transferList.erase(transferList.cbegin());
emit newCopyWithoutDestination(transferList);
}
else
{
- QString destination=transferList.last();
- transferList.removeLast();
+ std::string destination=transferList.back();
+ transferList.erase(transferList.cbegin());
emit newCopy(transferList,destination);
}
return;
}
- else if(ultracopierArguments.at(1)==QStringLiteral("Move") || ultracopierArguments.at(1)==QStringLiteral("mv"))
+ else if(ultracopierArguments.at(1)=="Move" || ultracopierArguments.at(1)=="mv")
{
if(onlyCheck)
return;
- QStringList transferList=ultracopierArguments;
- transferList.removeFirst();
- transferList.removeFirst();
- if(transferList.last()=="?")
+ std::vector<std::string> transferList=ultracopierArguments;
+ transferList.erase(transferList.cbegin());
+ transferList.erase(transferList.cbegin());
+ if(transferList.back()=="?")
{
- transferList.removeLast();
+ transferList.erase(transferList.cbegin());
emit newMoveWithoutDestination(transferList);
}
else
{
- QString destination=transferList.last();
- transferList.removeLast();
+ std::string destination=transferList.back();
+ transferList.erase(transferList.cbegin());
emit newMove(transferList,destination);
}
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Command line not understand"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Command line not understand");
showHelp();
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Command line not understand"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Command line not understand");
showHelp();
}
diff --git a/CliParser.h b/CliParser.h
index a2f3617..edcf115 100644
--- a/CliParser.h
+++ b/CliParser.h
@@ -13,37 +13,43 @@
#include "Environment.h"
+class Core;
/** \brief class to parse all command line options */
class CliParser : public QObject
{
Q_OBJECT
public:
- explicit CliParser(QObject *parent = 0);
+ explicit CliParser(/*Core *core,*/QObject *parent = 0);
public slots:
/** \brief method to parse the ultracopier arguments
\param ultracopierArguments the argument list
\param external true if the arguments come from other instance of ultracopier
*/
- void cli(const QStringList &ultracopierArguments,const bool &external,const bool &onlyCheck);
+ void cli(const std::vector<std::string> &ultracopierArguments,const bool &external,const bool &onlyCheck);
signals:
/** new copy without destination have been pased by the CLI */
- void newCopyWithoutDestination(QStringList sources) const;
+ void newCopyWithoutDestination(std::vector<std::string> sources) const;
/** new copy with destination have been pased by the CLI */
- void newCopy(QStringList sources,QString destination) const;
+ void newCopy(std::vector<std::string> sources,std::string destination) const;
/** new move without destination have been pased by the CLI */
- void newMoveWithoutDestination(QStringList sources) const;
+ void newMoveWithoutDestination(std::vector<std::string> sources) const;
/** new move with destination have been pased by the CLI */
- void newMove(QStringList sources,QString destination) const;
+ void newMove(std::vector<std::string> sources,std::string destination) const;
/** new transfer list pased by the CLI */
- void newTransferList(QString engine,QString mode,QString file) const;
+ void newTransferList(std::string engine,std::string mode,std::string file) const;
- void tryLoadPlugin(const QString &file) const;
+ void tryLoadPlugin(const std::string &file) const;
/// \brief Show the help option
void showOptions() const;
+
+ /// \brief For show a message linked to the systray icon
+ void showSystrayMessage(const std::string& text);
private:
/** \brief show the help
*\param incorrectArguments if the help is call because the arguments are wrong */
void showHelp(const bool &incorrectArguments=true);
+
+ //Core *core;
};
#endif // CLIPARSER_H
diff --git a/CompilerInfo.h b/CompilerInfo.h
index c4b4464..78ba379 100644
--- a/CompilerInfo.h
+++ b/CompilerInfo.h
@@ -5,11 +5,11 @@
/// \def COMPILERINFO the string to identify the compiler
#if defined(Q_CC_GNU)
- #define COMPILERINFO QString("GCC %1.%2.%3 build: ").arg(__GNUC__).arg(__GNUC_MINOR__).arg(__GNUC_PATCHLEVEL__)+__DATE__+" "+__TIME__
+ #define COMPILERINFO std::string("GCC ")+std::to_string(__GNUC__)+"."+std::to_string(__GNUC_MINOR__)+"."+std::to_string(__GNUC_PATCHLEVEL__)+" build: "+__DATE__+" "+__TIME__
#else
- #if defined(__DATE__) && defined(__TIME__)
- #define COMPILERINFO QString("Unknow compiler: ")+__DATE__+" "+__TIME__
- #else
- #define COMPILERINFO QString("Unknow compiler")
- #endif
-#endif
+ #if defined(__DATE__) && defined(__TIME__)
+ #define COMPILERINFO std::string("Unknown compiler: ")+__DATE__+" "+__TIME__
+ #else
+ #define COMPILERINFO std::string("Unknown compiler")
+ #endif
+#endif
diff --git a/CopyEngineManager.cpp b/CopyEngineManager.cpp
index 2355743..a3934b3 100644
--- a/CopyEngineManager.cpp
+++ b/CopyEngineManager.cpp
@@ -7,6 +7,7 @@
#include "CopyEngineManager.h"
#include "LanguagesManager.h"
+#include "cpp11addition.h"
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
#include "plugins/CopyEngine/Ultracopier/CopyEngineFactory.h"
@@ -24,7 +25,7 @@ CopyEngineManager::CopyEngineManager(OptionDialog *optionDialog)
connect(PluginsManager::pluginsManager,&PluginsManager::onePluginWillBeRemoved, this,&CopyEngineManager::onePluginWillBeRemoved,Qt::DirectConnection);
#endif
connect(PluginsManager::pluginsManager,&PluginsManager::pluginListingIsfinish, this,&CopyEngineManager::allPluginIsloaded,Qt::QueuedConnection);
- QList<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_CopyEngine);
+ std::vector<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_CopyEngine);
foreach(PluginsAvailable currentPlugin,list)
emit previouslyPluginAdded(currentPlugin);
PluginsManager::pluginsManager->unlockPluginListEdition();
@@ -37,23 +38,23 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
if(plugin.category!=PluginType_CopyEngine)
return;
//setFileName
- QString pluginPath=plugin.path+PluginsManager::getResolvedPluginName(QStringLiteral("copyEngine"));
+ std::string pluginPath=plugin.path+PluginsManager::getResolvedPluginName("copyEngine");
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
/*more IO
if(!QFile(pluginPath).exists())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The plugin binary is missing: ")+pluginPath);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The plugin binary is missing: "+pluginPath);
return;
}*/
#endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: ")+pluginPath);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+pluginPath);
//search into loaded session
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(pluginList.at(index).pluginPath==pluginPath)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("Engine already found!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Engine already found!");
return;
}
index++;
@@ -63,7 +64,7 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
newItem.path=plugin.path;
newItem.name=plugin.name;
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
- newItem.pointer=new QPluginLoader(newItem.pluginPath);
+ newItem.pointer=new QPluginLoader(QString::fromStdString(newItem.pluginPath));
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
QObjectList objectList=QPluginLoader::staticInstances();
index=0;
@@ -78,15 +79,15 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
}
if(index==objectList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("static copy engine not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"static copy engine not found");
return;
}
#else
QObject *pluginObject = newItem.pointer->instance();
if(pluginObject==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to load the plugin: %1").arg(newItem.pointer->errorString()));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to load the plugin for %1").arg(newItem.pluginPath));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to load the plugin: "+newItem.pointer->errorString().toStdString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to load the plugin for "+newItem.pluginPath);
newItem.pointer->unload();
return;
}
@@ -97,7 +98,7 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
{
if(pluginList.at(index).factory==newItem.factory)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Plugin already found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Plugin already found");
newItem.pointer->unload();
return;
}
@@ -105,7 +106,7 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
}
if(newItem.factory==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to cast the plugin: %1").arg(newItem.pointer->errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to cast the plugin: "+newItem.pointer->errorString().toStdString());
newItem.pointer->unload();
return;
}
@@ -117,7 +118,7 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
#ifdef ULTRACOPIER_DEBUG
connect(newItem.factory,&PluginInterface_CopyEngineFactory::debugInformation,this,&CopyEngineManager::debugInformation,Qt::QueuedConnection);
#endif // ULTRACOPIER_DEBUG
- newItem.options=new LocalPluginOptions(QStringLiteral("CopyEngine-")+newItem.name);
+ newItem.options=new LocalPluginOptions("CopyEngine-"+newItem.name);
newItem.factory->setResources(newItem.options,plugin.writablePath,plugin.path,&FacilityEngine::facilityEngine,ULTRACOPIER_VERSION_PORTABLE_BOOL);
newItem.optionsWidget=newItem.factory->options();
newItem.supportedProtocolsForTheSource=newItem.factory->supportedProtocolsForTheSource();
@@ -126,9 +127,9 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
newItem.type=newItem.factory->getCopyType();
newItem.transferListOperation=newItem.factory->getTransferListOperation();
optionDialog->addPluginOptionWidget(PluginType_CopyEngine,newItem.name,newItem.optionsWidget);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("plugin: ")+newItem.name+QStringLiteral(" loaded, send options"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"plugin: "+newItem.name+" loaded, send options");
//emit newCopyEngineOptions(plugin.path,newItem.name,newItem.optionsWidget);
- pluginList << newItem;
+ pluginList.push_back(newItem);
connect(LanguagesManager::languagesManager,&LanguagesManager::newLanguageLoaded,newItem.factory,&PluginInterface_CopyEngineFactory::newLanguageLoaded);
if(PluginsManager::pluginsManager->allPluginHaveBeenLoaded())
allPluginIsloaded();
@@ -139,7 +140,7 @@ void CopyEngineManager::onePluginAdded(const PluginsAvailable &plugin)
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
void CopyEngineManager::onePluginWillBeRemoved(const PluginsAvailable &plugin)
{
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(pluginList.at(index).path==plugin.path)
@@ -147,7 +148,7 @@ void CopyEngineManager::onePluginWillBeRemoved(const PluginsAvailable &plugin)
if(pluginList.at(index).intances.size()<=0)
{
emit removeCopyEngine(pluginList.at(index).name);
- pluginList.removeAt(index);
+ pluginList.erase(pluginList.begin()+index);
allPluginIsloaded();
return;
}
@@ -160,8 +161,8 @@ void CopyEngineManager::onePluginWillBeUnloaded(const PluginsAvailable &plugin)
{
if(plugin.category!=PluginType_CopyEngine)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginList.size())
{
if(pluginList.at(index).path==plugin.path)
@@ -176,33 +177,35 @@ void CopyEngineManager::onePluginWillBeUnloaded(const PluginsAvailable &plugin)
}
#endif
-CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultracopier::CopyMode &mode,const QStringList &protocolsUsedForTheSources,const QString &protocolsUsedForTheDestination)
+CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultracopier::CopyMode &mode,
+ const std::vector<std::string> &protocolsUsedForTheSources,const std::string &protocolsUsedForTheDestination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, pluginList.size(): %1, mode: %2, and particular protocol").arg(pluginList.size()).arg((int)mode));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, pluginList.size(): "+std::to_string(pluginList.size())+", mode: "+std::to_string((int)mode)+", and particular protocol");
returnCopyEngine temp;
- int index=0;
+ unsigned int index=0;
bool isTheGoodEngine=false;
while(index<pluginList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("pluginList.at(%1).name: %2").arg(index).arg(pluginList.at(index).name));
+ const CopyEnginePlugin &copyEnginePlugin=pluginList.at(index);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"pluginList.at("+std::to_string(index)+").name: "+copyEnginePlugin.name);
isTheGoodEngine=false;
- if(mode!=Ultracopier::Move || !pluginList.at(index).canDoOnlyCopy)
+ if(mode!=Ultracopier::Move || !copyEnginePlugin.canDoOnlyCopy)
{
if(protocolsUsedForTheSources.size()==0)
isTheGoodEngine=true;
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("pluginList.at(index).supportedProtocolsForTheDestination: %1").arg(pluginList.at(index).supportedProtocolsForTheDestination.join(";")));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("protocolsUsedForTheDestination: %1").arg(protocolsUsedForTheDestination));
- if(protocolsUsedForTheDestination.isEmpty() || pluginList.at(index).supportedProtocolsForTheDestination.contains(protocolsUsedForTheDestination))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"copyEnginePlugin.supportedProtocolsForTheDestination: "+stringimplode(copyEnginePlugin.supportedProtocolsForTheDestination,";"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"protocolsUsedForTheDestination: "+protocolsUsedForTheDestination);
+ if(protocolsUsedForTheDestination.empty() || vectorcontainsAtLeastOne(copyEnginePlugin.supportedProtocolsForTheDestination,protocolsUsedForTheDestination))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("pluginList.at(index).supportedProtocolsForTheSource: %1").arg(pluginList.at(index).supportedProtocolsForTheSource.join(";")));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("protocolsUsedForTheSources.at(indexProto): %1").arg(protocolsUsedForTheSources.join(";")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"copyEnginePlugin.supportedProtocolsForTheSource: "+stringimplode(copyEnginePlugin.supportedProtocolsForTheSource,";"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"protocolsUsedForTheSources.at(indexProto): "+stringimplode(protocolsUsedForTheSources,";"));
isTheGoodEngine=true;
- int indexProto=0;
+ unsigned int indexProto=0;
while(indexProto<protocolsUsedForTheSources.size())
{
- if(!pluginList.at(index).supportedProtocolsForTheSource.contains(protocolsUsedForTheSources.at(indexProto)))
+ if(!vectorcontainsAtLeastOne(copyEnginePlugin.supportedProtocolsForTheSource,protocolsUsedForTheSources.at(indexProto)))
{
isTheGoodEngine=false;
break;
@@ -214,8 +217,8 @@ CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultra
}
if(isTheGoodEngine)
{
- pluginList[index].intances<<pluginList.at(index).factory->getInstance();
- temp.engine=pluginList.at(index).intances.last();
+ pluginList[index].intances.push_back(pluginList.at(index).factory->getInstance());
+ temp.engine=pluginList.at(index).intances.back();
temp.canDoOnlyCopy=pluginList.at(index).canDoOnlyCopy;
temp.type=pluginList.at(index).type;
temp.transferListOperation=pluginList.at(index).transferListOperation;
@@ -233,7 +236,7 @@ CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultra
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Cannot find any compatible engine!");
QMessageBox::critical(NULL,tr("Warning"),tr("Cannot find any compatible engine!"));
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("protocolsUsedForTheSources: %1, protocolsUsedForTheDestination: %2").arg(protocolsUsedForTheSources.join(";")).arg(protocolsUsedForTheDestination));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"protocolsUsedForTheSources: "+stringimplode(protocolsUsedForTheSources,";")+", protocolsUsedForTheDestination: "+protocolsUsedForTheDestination);
temp.engine=NULL;
temp.type=Ultracopier::File;
@@ -241,25 +244,25 @@ CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultra
return temp;
}
-CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultracopier::CopyMode &mode,const QString &name)
+CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultracopier::CopyMode &mode,const std::string &name)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, pluginList.size(): %1, with mode: %2, and name: %3").arg(pluginList.size()).arg((int)mode).arg(name));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, pluginList.size(): "+std::to_string(pluginList.size())+", with mode: "+std::to_string((int)mode)+", and name: "+name);
returnCopyEngine temp;
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Check matching: %1").arg(pluginList.at(index).name));
- if(pluginList.at(index).name==name)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Check matching: "+pluginList.at(index).name);
+ if(pluginList.at(index).name==name || name.empty())
{
if(mode==Ultracopier::Move && pluginList.at(index).canDoOnlyCopy)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"This copy engine does not support move: pluginList.at(index).canDoOnlyCopy: "+QString::number(pluginList.at(index).canDoOnlyCopy));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"This copy engine does not support move: pluginList.at(index).canDoOnlyCopy: "+std::to_string(pluginList.at(index).canDoOnlyCopy));
QMessageBox::critical(NULL,tr("Warning"),tr("This copy engine does not support move"));
temp.engine=NULL;
return temp;
}
- pluginList[index].intances<<pluginList.at(index).factory->getInstance();
- temp.engine=pluginList.at(index).intances.last();
+ pluginList[index].intances.push_back(pluginList.at(index).factory->getInstance());
+ temp.engine=pluginList.at(index).intances.back();
temp.canDoOnlyCopy=pluginList.at(index).canDoOnlyCopy;
temp.type=pluginList.at(index).type;
temp.transferListOperation=pluginList.at(index).transferListOperation;
@@ -267,8 +270,8 @@ CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultra
}
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Cannot find any engine with this name: %1").arg(name));
- QMessageBox::critical(NULL,tr("Warning"),tr("Cannot find any engine with this name: %1").arg(name));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Cannot find any engine with this name: "+name);
+ QMessageBox::critical(NULL,tr("Warning"),tr("Cannot find any engine with this name: %1").arg(QString::fromStdString(name)));
temp.engine=NULL;
temp.type=Ultracopier::File;
temp.canDoOnlyCopy=true;
@@ -276,19 +279,19 @@ CopyEngineManager::returnCopyEngine CopyEngineManager::getCopyEngine(const Ultra
}
#ifdef ULTRACOPIER_DEBUG
-void CopyEngineManager::debugInformation(const Ultracopier::DebugLevel &level,const QString& fonction,const QString& text,const QString& file,const int& ligne)
+void CopyEngineManager::debugInformation(const Ultracopier::DebugLevel &level,const std::string& fonction,const std::string& text,const std::string& file,const int& ligne)
{
- DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,QStringLiteral("Copy Engine plugin"));
+ DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,"Copy Engine plugin");
}
#endif // ULTRACOPIER_DEBUG
/// \brief To notify when new value into a group have changed
-void CopyEngineManager::newOptionValue(const QString &groupName,const QString &variableName,const QVariant &value)
+void CopyEngineManager::newOptionValue(const std::string &groupName,const std::string &variableName,const std::string &value)
{
- if(groupName==QStringLiteral("CopyEngine") && variableName==QStringLiteral("List"))
+ if(groupName=="CopyEngine" && variableName=="List")
{
Q_UNUSED(value)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"start(\""+groupName+"\",\""+variableName+"\",\""+value.toString()+"\")");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"start(\""+groupName+"\",\""+variableName+"\",\""+value+"\")");
allPluginIsloaded();
}
}
@@ -299,7 +302,7 @@ void CopyEngineManager::setIsConnected()
prevent bug, I don't know why, in one case it bug here
*/
isConnected=true;
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
emit addCopyEngine(pluginList.at(index).name,pluginList.at(index).canDoOnlyCopy);
@@ -309,23 +312,23 @@ void CopyEngineManager::setIsConnected()
void CopyEngineManager::allPluginIsloaded()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- QStringList actualList;
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ std::vector<std::string> actualList;
+ unsigned int index=0;
while(index<pluginList.size())
{
- actualList << pluginList.at(index).name;
+ actualList.push_back(pluginList.at(index).name);
index++;
}
- QStringList preferedList=OptionEngine::optionEngine->getOptionValue(QStringLiteral("CopyEngine"),QStringLiteral("List")).toStringList();
- preferedList.removeDuplicates();
- actualList.removeDuplicates();
+ std::vector<std::string> preferedList=stringsplit(OptionEngine::optionEngine->getOptionValue("CopyEngine","List"),';');
+ vectorRemoveDuplicatesForSmallList(preferedList);
+ vectorRemoveDuplicatesForSmallList(actualList);
index=0;
while(index<preferedList.size())
{
- if(!actualList.contains(preferedList.at(index)))
+ if(!vectorcontainsAtLeastOne(actualList,preferedList.at(index)))
{
- preferedList.removeAt(index);
+ preferedList.erase(preferedList.cbegin()+index);
index--;
}
index++;
@@ -333,21 +336,21 @@ void CopyEngineManager::allPluginIsloaded()
index=0;
while(index<actualList.size())
{
- if(!preferedList.contains(actualList.at(index)))
- preferedList << actualList.at(index);
+ if(!vectorcontainsAtLeastOne(preferedList,actualList.at(index)))
+ preferedList.push_back( actualList.at(index));
index++;
}
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("CopyEngine"),QStringLiteral("List"),preferedList);
- QList<CopyEnginePlugin> newPluginList;
+ OptionEngine::optionEngine->setOptionValue("CopyEngine","List",stringimplode(preferedList,';'));
+ std::vector<CopyEnginePlugin> newPluginList;
index=0;
while(index<preferedList.size())
{
- int pluginListIndex=0;
+ unsigned int pluginListIndex=0;
while(pluginListIndex<pluginList.size())
{
if(preferedList.at(index)==pluginList.at(pluginListIndex).name)
{
- newPluginList << pluginList.at(pluginListIndex);
+ newPluginList.push_back(pluginList.at(pluginListIndex));
break;
}
pluginListIndex++;
@@ -357,20 +360,21 @@ void CopyEngineManager::allPluginIsloaded()
pluginList=newPluginList;
}
-bool CopyEngineManager::protocolsSupportedByTheCopyEngine(PluginInterface_CopyEngine * engine,const QStringList &protocolsUsedForTheSources,const QString &protocolsUsedForTheDestination)
+bool CopyEngineManager::protocolsSupportedByTheCopyEngine(PluginInterface_CopyEngine * engine,const std::vector<std::string> &protocolsUsedForTheSources,const std::string &protocolsUsedForTheDestination)
{
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("pluginList.at(%1).name: %2").arg(index).arg(pluginList.at(index).name));
- if(pluginList.at(index).intances.contains(engine))
+ const CopyEnginePlugin &copyEnginePlugin=pluginList.at(index);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"pluginList.at("+std::to_string(index)+").name: "+copyEnginePlugin.name);
+ if(vectorcontainsAtLeastOne(copyEnginePlugin.intances,engine))
{
- if(!pluginList.at(index).supportedProtocolsForTheDestination.contains(protocolsUsedForTheDestination))
+ if(!vectorcontainsAtLeastOne(copyEnginePlugin.supportedProtocolsForTheDestination,protocolsUsedForTheDestination))
return false;
- int indexProto=0;
+ unsigned int indexProto=0;
while(indexProto<protocolsUsedForTheSources.size())
{
- if(!pluginList.at(index).supportedProtocolsForTheSource.contains(protocolsUsedForTheSources.at(indexProto)))
+ if(!vectorcontainsAtLeastOne(copyEnginePlugin.supportedProtocolsForTheSource,protocolsUsedForTheSources.at(indexProto)))
return false;
indexProto++;
}
diff --git a/CopyEngineManager.h b/CopyEngineManager.h
index 1338081..904508c 100644
--- a/CopyEngineManager.h
+++ b/CopyEngineManager.h
@@ -44,22 +44,22 @@ public:
\param protocolsUsedForTheDestination list of destination used
\see getCopyEngine()
*/
- returnCopyEngine getCopyEngine(const Ultracopier::CopyMode &mode,const QStringList &protocolsUsedForTheSources,const QString &protocolsUsedForTheDestination);
+ returnCopyEngine getCopyEngine(const Ultracopier::CopyMode &mode,const std::vector<std::string> &protocolsUsedForTheSources,const std::string &protocolsUsedForTheDestination);
/** \brief return copy engine instance with specific engine
\param mode the mode (copy/move)
\param name name of the engine needed
\see getCopyEngine()
*/
- returnCopyEngine getCopyEngine(const Ultracopier::CopyMode &mode,const QString &name);
- //bool currentEngineCanDoOnlyCopy(QStringList protocolsUsedForTheSources,QString protocolsUsedForTheDestination="");
- //CopyType currentEngineGetCopyType(QStringList protocolsUsedForTheSources,QString protocolsUsedForTheDestination="");
+ returnCopyEngine getCopyEngine(const Ultracopier::CopyMode &mode,const std::string &name);
+ //bool currentEngineCanDoOnlyCopy(std::vector<std::string> protocolsUsedForTheSources,std::string protocolsUsedForTheDestination="");
+ //CopyType currentEngineGetCopyType(std::vector<std::string> protocolsUsedForTheSources,std::string protocolsUsedForTheDestination="");
/** \brief to send all signal because all object is connected on it */
void setIsConnected();
/** \brief check if the protocols given is supported by the copy engine
\see Core::newCopy()
\see Core::newMove()
*/
- bool protocolsSupportedByTheCopyEngine(PluginInterface_CopyEngine * engine,const QStringList &protocolsUsedForTheSources,const QString &protocolsUsedForTheDestination);
+ bool protocolsSupportedByTheCopyEngine(PluginInterface_CopyEngine * engine,const std::vector<std::string> &protocolsUsedForTheSources,const std::string &protocolsUsedForTheDestination);
private slots:
void onePluginAdded(const PluginsAvailable &plugin);
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
@@ -67,38 +67,38 @@ private slots:
void onePluginWillBeUnloaded(const PluginsAvailable &plugin);
#endif
#ifdef ULTRACOPIER_DEBUG
- void debugInformation(const Ultracopier::DebugLevel &level, const QString& fonction, const QString& text, const QString& file, const int& ligne);
+ void debugInformation(const Ultracopier::DebugLevel &level, const std::string& fonction, const std::string& text, const std::string& file, const int& ligne);
#endif // ULTRACOPIER_DEBUG
/// \brief To notify when new value into a group have changed
- void newOptionValue(const QString &groupName,const QString &variableName,const QVariant &value);
+ void newOptionValue(const std::string &groupName,const std::string &variableName,const std::string &value);
void allPluginIsloaded();
private:
/// \brief the option interface
struct CopyEnginePlugin
{
- QString path;
- QString name;
- QString pluginPath;
- QStringList supportedProtocolsForTheSource;
- QStringList supportedProtocolsForTheDestination;
+ std::string path;
+ std::string name;
+ std::string pluginPath;
+ std::vector<std::string> supportedProtocolsForTheSource;
+ std::vector<std::string> supportedProtocolsForTheDestination;
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
QPluginLoader * pointer;
#endif
PluginInterface_CopyEngineFactory * factory;
- QList<PluginInterface_CopyEngine *> intances;
+ std::vector<PluginInterface_CopyEngine *> intances;
bool canDoOnlyCopy;
Ultracopier::CopyType type;
Ultracopier::TransferListOperation transferListOperation;
LocalPluginOptions *options;
QWidget *optionsWidget;
};
- QList<CopyEnginePlugin> pluginList;
+ std::vector<CopyEnginePlugin> pluginList;
OptionDialog *optionDialog;
bool isConnected;
signals:
- //void newCopyEngineOptions(QString,QString,QWidget *);
- void addCopyEngine(QString name,bool canDoOnlyCopy) const;
- void removeCopyEngine(QString name) const;
+ //void newCopyEngineOptions(std::string,std::string,QWidget *);
+ void addCopyEngine(std::string name,bool canDoOnlyCopy) const;
+ void removeCopyEngine(std::string name) const;
void previouslyPluginAdded(PluginsAvailable) const;
};
diff --git a/CopyListener.cpp b/CopyListener.cpp
index 897a4c4..3c72695 100644
--- a/CopyListener.cpp
+++ b/CopyListener.cpp
@@ -5,6 +5,7 @@
#include "CopyListener.h"
#include "LanguagesManager.h"
+#include "cpp11addition.h"
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
#include "plugins/Listener/catchcopy-v0002/listener.h"
@@ -21,7 +22,7 @@ CopyListener::CopyListener(OptionDialog *optionDialog)
//load the options
tryListen=false;
PluginsManager::pluginsManager->lockPluginListEdition();
- QList<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_Listener);
+ std::vector<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_Listener);
connect(this,&CopyListener::previouslyPluginAdded, this,&CopyListener::onePluginAdded,Qt::QueuedConnection);
connect(PluginsManager::pluginsManager,&PluginsManager::onePluginAdded, this,&CopyListener::onePluginAdded,Qt::QueuedConnection);
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
@@ -35,7 +36,7 @@ CopyListener::CopyListener(OptionDialog *optionDialog)
last_state=Ultracopier::NotListening;
last_have_plugin=false;
last_inWaitOfReply=false;
- stripSeparatorRegex=QRegularExpression(QStringLiteral("[\\\\/]+$"));
+ stripSeparatorRegex=std::regex("[\\\\/]+$");
}
CopyListener::~CopyListener()
@@ -63,7 +64,7 @@ void CopyListener::onePluginAdded(const PluginsAvailable &plugin)
if(plugin.category!=PluginType_Listener)
return;
PluginListener newPluginListener;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("try load: ")+plugin.path+PluginsManager::getResolvedPluginName("listener"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"try load: "+plugin.path+PluginsManager::getResolvedPluginName("listener"));
//setFileName
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
PluginInterface_Listener *listen;
@@ -81,7 +82,7 @@ void CopyListener::onePluginAdded(const PluginsAvailable &plugin)
}
if(index==objectList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("static listener not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"static listener not found");
return;
}
#else
@@ -91,26 +92,26 @@ void CopyListener::onePluginAdded(const PluginsAvailable &plugin)
newPluginListener.pluginLoader=NULL;
#endif
#else
- QPluginLoader *pluginOfPluginLoader=new QPluginLoader(plugin.path+PluginsManager::getResolvedPluginName(QStringLiteral("listener")));
+ QPluginLoader *pluginOfPluginLoader=new QPluginLoader(QString::fromStdString(plugin.path+PluginsManager::getResolvedPluginName("listener")));
QObject *pluginInstance = pluginOfPluginLoader->instance();
if(!pluginInstance)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to load the plugin: ")+pluginOfPluginLoader->errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to load the plugin: "+pluginOfPluginLoader->errorString().toStdString());
return;
}
PluginInterface_Listener *listen = qobject_cast<PluginInterface_Listener *>(pluginInstance);
if(!listen)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to load the plugin: ")+pluginOfPluginLoader->errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to load the plugin: "+pluginOfPluginLoader->errorString().toStdString());
return;
}
//check if found
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(pluginList.at(index).listenInterface==listen)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Plugin already found %1 for %2").arg(pluginList.at(index).path).arg(plugin.path));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Plugin already found "+pluginList.at(index).path+" for "+plugin.path);
pluginOfPluginLoader->unload();
return;
}
@@ -118,7 +119,7 @@ void CopyListener::onePluginAdded(const PluginsAvailable &plugin)
}
newPluginListener.pluginLoader = pluginOfPluginLoader;
#endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Plugin correctly loaded"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Plugin correctly loaded");
#ifdef ULTRACOPIER_DEBUG
connect(listen,&PluginInterface_Listener::debugInformation,this,&CopyListener::debugInformation,Qt::DirectConnection);
#endif // ULTRACOPIER_DEBUG
@@ -130,32 +131,32 @@ void CopyListener::onePluginAdded(const PluginsAvailable &plugin)
connect(listen,&PluginInterface_Listener::newClientList, this,&CopyListener::reloadClientList,Qt::DirectConnection);
newPluginListener.listenInterface = listen;
- newPluginListener.path = plugin.path+PluginsManager::getResolvedPluginName(QStringLiteral("listener"));
+ newPluginListener.path = plugin.path+PluginsManager::getResolvedPluginName("listener");
newPluginListener.state = Ultracopier::NotListening;
newPluginListener.inWaitOfReply = false;
- newPluginListener.options=new LocalPluginOptions(QStringLiteral("Listener-")+plugin.name);
+ newPluginListener.options=new LocalPluginOptions("Listener-"+plugin.name);
newPluginListener.listenInterface->setResources(newPluginListener.options,plugin.writablePath,plugin.path,ULTRACOPIER_VERSION_PORTABLE_BOOL);
optionDialog->addPluginOptionWidget(PluginType_Listener,plugin.name,newPluginListener.listenInterface->options());
connect(LanguagesManager::languagesManager,&LanguagesManager::newLanguageLoaded,newPluginListener.listenInterface,&PluginInterface_Listener::newLanguageLoaded,Qt::DirectConnection);
- pluginList << newPluginListener;
- connect(pluginList.last().listenInterface,&PluginInterface_Listener::newState,this,&CopyListener::newState,Qt::DirectConnection);
+ pluginList.push_back(newPluginListener);
+ connect(pluginList.back().listenInterface,&PluginInterface_Listener::newState,this,&CopyListener::newState,Qt::DirectConnection);
if(tryListen)
{
- pluginList.last().inWaitOfReply=true;
+ pluginList.back().inWaitOfReply=true;
listen->listen();
}
}
#ifdef ULTRACOPIER_DEBUG
-void CopyListener::debugInformation(const Ultracopier::DebugLevel &level, const QString& fonction, const QString& text, const QString& file, const int& ligne)
+void CopyListener::debugInformation(const Ultracopier::DebugLevel &level, const std::string& fonction, const std::string& text, const std::string& file, const int& ligne)
{
- DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,QStringLiteral("Listener plugin"));
+ DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,"Listener plugin");
}
#endif // ULTRACOPIER_DEBUG
-void CopyListener::error(const QString &error)
+void CopyListener::error(const std::string &error)
{
- QMessageBox::critical(NULL,tr("Error"),tr("Error during the reception of the copy/move list\n%1").arg(error));
+ QMessageBox::critical(NULL,tr("Error"),tr("Error during the reception of the copy/move list\n%1").arg(QString::fromStdString(error)));
}
bool CopyListener::oneListenerIsLoaded()
@@ -168,12 +169,12 @@ void CopyListener::onePluginWillBeRemoved(const PluginsAvailable &plugin)
{
if(plugin.category!=PluginType_Listener)
return;
- int indexPlugin=0;
+ unsigned int indexPlugin=0;
while(indexPlugin<pluginList.size())
{
- if((plugin.path+PluginsManager::getResolvedPluginName(QStringLiteral("listener")))==pluginList.at(indexPlugin).path)
+ if((plugin.path+PluginsManager::getResolvedPluginName("listener"))==pluginList.at(indexPlugin).path)
{
- int index=0;
+ unsigned int index=0;
while(index<copyRunningList.size())
{
if(copyRunningList.at(index).listenInterface==pluginList.at(indexPlugin).listenInterface)
@@ -190,7 +191,7 @@ void CopyListener::onePluginWillBeRemoved(const PluginsAvailable &plugin)
pluginList.at(indexPlugin).pluginLoader->unload();
delete pluginList.at(indexPlugin).options;
}
- pluginList.removeAt(indexPlugin);
+ pluginList.erase(pluginList.cbegin()+indexPlugin);
sendState();
return;
}
@@ -204,34 +205,34 @@ void CopyListener::newState(const Ultracopier::ListeningState &state)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
PluginInterface_Listener *temp=qobject_cast<PluginInterface_Listener *>(QObject::sender());
if(temp==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("listener not located!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"listener not located!");
return;
}
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(temp==pluginList.at(index).listenInterface)
{
pluginList[index].state=state;
pluginList[index].inWaitOfReply=false;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("new state for the plugin %1: %2").arg(index).arg(state));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"new state for the plugin "+std::to_string(index)+": "+std::to_string((int)state));
sendState(true);
return;
}
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("listener not found!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"listener not found!");
}
void CopyListener::listen()
{
tryListen=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginList.size())
{
pluginList[index].inWaitOfReply=true;
@@ -244,11 +245,11 @@ void CopyListener::listen()
void CopyListener::close()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
tryListen=false;
if(pluginLoader!=NULL)
pluginLoader->unload();
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
pluginList[index].inWaitOfReply=true;
@@ -258,143 +259,155 @@ void CopyListener::close()
copyRunningList.clear();
}
-QStringList CopyListener::stripSeparator(QStringList sources)
+std::vector<std::string> CopyListener::stripSeparator(std::vector<std::string> sources)
{
- int index=0;
+ unsigned int index=0;
while(index<sources.size())
{
- sources[index].remove(stripSeparatorRegex);
+ std::regex_replace(sources[index],stripSeparatorRegex,"");
index++;
}
return sources;
}
/** new copy without destination have been pased by the CLI */
-void CopyListener::copyWithoutDestination(QStringList sources)
+void CopyListener::copyWithoutDestination(std::vector<std::string> sources)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit newCopyWithoutDestination(incrementOrderId(),QStringList() << QStringLiteral("file"),stripSeparator(sources));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ std::vector<std::string> list;
+ list.push_back("file");
+ emit newCopyWithoutDestination(incrementOrderId(),list,stripSeparator(sources));
}
/** new copy with destination have been pased by the CLI */
-void CopyListener::copy(QStringList sources,QString destination)
+void CopyListener::copy(std::vector<std::string> sources,std::string destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit newCopy(incrementOrderId(),QStringList() << QStringLiteral("file"),stripSeparator(sources),QStringLiteral("file"),destination);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ std::vector<std::string> list;
+ list.push_back("file");
+ emit newCopy(incrementOrderId(),list,stripSeparator(sources),"file",destination);
}
/** new move without destination have been pased by the CLI */
-void CopyListener::moveWithoutDestination(QStringList sources)
+void CopyListener::moveWithoutDestination(std::vector<std::string> sources)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit newMoveWithoutDestination(incrementOrderId(),QStringList() << QStringLiteral("file"),stripSeparator(sources));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ std::vector<std::string> list;
+ list.push_back("file");
+ emit newMoveWithoutDestination(incrementOrderId(),list,stripSeparator(sources));
}
/** new move with destination have been pased by the CLI */
-void CopyListener::move(QStringList sources,QString destination)
+void CopyListener::move(std::vector<std::string> sources,std::string destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit newMove(incrementOrderId(),QStringList() << QStringLiteral("file"),stripSeparator(sources),QStringLiteral("file"),destination);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ std::vector<std::string> list;
+ list.push_back("file");
+ emit newMove(incrementOrderId(),list,stripSeparator(sources),"file",destination);
}
void CopyListener::copyFinished(const quint32 & orderId,const bool &withError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<copyRunningList.size())
{
if(orderId==copyRunningList.at(index).orderId)
{
- orderList.removeAll(orderId);
+ vectorRemoveAll(orderList,orderId);
if(copyRunningList.at(index).listenInterface!=NULL)
copyRunningList.at(index).listenInterface->transferFinished(copyRunningList.at(index).pluginOrderId,withError);
- copyRunningList.removeAt(index);
+ copyRunningList.erase(copyRunningList.cbegin()+index);
return;
}
index++;
}
}
-void CopyListener::copyCanceled(const quint32 & orderId)
+void CopyListener::copyCanceled(const uint32_t & orderId)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<copyRunningList.size())
{
if(orderId==copyRunningList.at(index).orderId)
{
- orderList.removeAll(orderId);
+ vectorRemoveAll(orderList,orderId);
if(copyRunningList.at(index).listenInterface!=NULL)
copyRunningList.at(index).listenInterface->transferCanceled(copyRunningList.at(index).pluginOrderId);
- copyRunningList.removeAt(index);
+ copyRunningList.erase(copyRunningList.cbegin()+index);
return;
}
index++;
}
}
-void CopyListener::newPluginCopyWithoutDestination(const quint32 &orderId,const QStringList &sources)
+void CopyListener::newPluginCopyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("sources: ")+sources.join(QStringLiteral(";")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sources: "+stringimplode(sources,";"));
PluginInterface_Listener *plugin = qobject_cast<PluginInterface_Listener *>(sender());
CopyRunning newCopyInformation;
newCopyInformation.listenInterface = plugin;
newCopyInformation.pluginOrderId = orderId;
newCopyInformation.orderId = incrementOrderId();
- copyRunningList << newCopyInformation;
- emit newCopyWithoutDestination(orderId,QStringList() << QStringLiteral("file"),stripSeparator(sources));
+ copyRunningList.push_back(newCopyInformation);
+ std::vector<std::string> stringList;stringList.push_back("file");
+ emit newCopyWithoutDestination(orderId,stringList,stripSeparator(sources));
}
-void CopyListener::newPluginCopy(const quint32 &orderId,const QStringList &sources,const QString &destination)
+void CopyListener::newPluginCopy(const quint32 &orderId,const std::vector<std::string> &sources,const std::string &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("sources: ")+sources.join(QStringLiteral(";"))+QStringLiteral(", destination: ")+destination);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sources: "+stringimplode(sources,";")+", destination: "+destination);
PluginInterface_Listener *plugin = qobject_cast<PluginInterface_Listener *>(sender());
CopyRunning newCopyInformation;
newCopyInformation.listenInterface = plugin;
newCopyInformation.pluginOrderId = orderId;
newCopyInformation.orderId = incrementOrderId();
- copyRunningList << newCopyInformation;
- emit newCopy(orderId,QStringList() << QStringLiteral("file"),stripSeparator(sources),QStringLiteral("file"),destination);
+ copyRunningList.push_back(newCopyInformation);
+ std::vector<std::string> stringList;stringList.push_back("file");
+ emit newCopy(orderId,stringList,stripSeparator(sources),"file",destination);
}
-void CopyListener::newPluginMoveWithoutDestination(const quint32 &orderId,const QStringList &sources)
+void CopyListener::newPluginMoveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("sources: ")+sources.join(QStringLiteral(";")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sources: "+stringimplode(sources,";"));
PluginInterface_Listener *plugin = qobject_cast<PluginInterface_Listener *>(sender());
CopyRunning newCopyInformation;
newCopyInformation.listenInterface = plugin;
newCopyInformation.pluginOrderId = orderId;
newCopyInformation.orderId = incrementOrderId();
- copyRunningList << newCopyInformation;
- emit newMoveWithoutDestination(orderId,QStringList() << QStringLiteral("file"),stripSeparator(sources));
+ copyRunningList.push_back(newCopyInformation);
+ std::vector<std::string> stringList;stringList.push_back("file");
+ emit newMoveWithoutDestination(orderId,stringList,stripSeparator(sources));
}
-void CopyListener::newPluginMove(const quint32 &orderId,const QStringList &sources,const QString &destination)
+void CopyListener::newPluginMove(const quint32 &orderId,const std::vector<std::string> &sources,const std::string &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("sources: ")+sources.join(";")+QStringLiteral(", destination: ")+destination);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sources: "+stringimplode(sources,";")+", destination: "+destination);
PluginInterface_Listener *plugin = qobject_cast<PluginInterface_Listener *>(sender());
CopyRunning newCopyInformation;
newCopyInformation.listenInterface = plugin;
newCopyInformation.pluginOrderId = orderId;
newCopyInformation.orderId = incrementOrderId();
- copyRunningList << newCopyInformation;
- emit newMove(orderId,QStringList() << QStringLiteral("file"),stripSeparator(sources),QStringLiteral("file"),destination);
+ copyRunningList.push_back(newCopyInformation);
+ std::vector<std::string> stringList;stringList.push_back("file");
+ emit newMove(orderId,stringList,stripSeparator(sources),"file",destination);
}
-quint32 CopyListener::incrementOrderId()
+uint32_t CopyListener::incrementOrderId()
{
do
{
nextOrderId++;
if(nextOrderId>2000000)
nextOrderId=0;
- } while(orderList.contains(nextOrderId));
+ } while(vectorcontainsAtLeastOne(orderList,nextOrderId));
return nextOrderId;
}
void CopyListener::allPluginIsloaded()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("with value: ")+QString::number(pluginList.size()>0));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"with value: "+std::to_string(pluginList.size()>0));
sendState(true);
reloadClientList();
}
@@ -403,14 +416,16 @@ void CopyListener::reloadClientList()
{
if(!PluginsManager::pluginsManager->allPluginHaveBeenLoaded())
return;
- QStringList clients;
- int indexPlugin=0;
+ std::vector<std::string> clients;
+ unsigned int indexPlugin=0;
while(indexPlugin<pluginList.size())
{
if(pluginList.at(indexPlugin).listenInterface!=NULL)
{
- clients << pluginList.at(indexPlugin).listenInterface->clientsList();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("ask client to: ")+pluginList.at(indexPlugin).path);
+ const PluginListener &pluginListener=pluginList.at(indexPlugin);
+ const std::vector<std::string> &clientsList=pluginListener.listenInterface->clientsList();
+ clients.insert(clients.cbegin(),clientsList.cbegin(),clientsList.cend());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"ask client to: "+pluginList.at(indexPlugin).path);
}
indexPlugin++;
}
@@ -421,10 +436,10 @@ void CopyListener::sendState(bool force)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, pluginList.size(): %1, force: %2").arg(pluginList.size()).arg(force));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, pluginList.size(): "+std::to_string(pluginList.size())+", force: "+std::to_string(force));
Ultracopier::ListeningState current_state=Ultracopier::NotListening;
bool found_not_listen=false,found_listen=false,found_inWaitOfReply=false;
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(current_state==Ultracopier::NotListening)
@@ -454,11 +469,11 @@ void CopyListener::sendState(bool force)
bool have_plugin=pluginList.size()>0;
if(force || current_state!=last_state || have_plugin!=last_have_plugin || found_inWaitOfReply!=last_inWaitOfReply)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("send listenerReady(%1,%2,%3)").arg(current_state).arg(have_plugin).arg(found_inWaitOfReply));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"send listenerReady("+std::to_string(current_state)+","+std::to_string(have_plugin)+","+std::to_string(found_inWaitOfReply)+")");
emit listenerReady(current_state,have_plugin,found_inWaitOfReply);
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Skip the signal sending"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Skip the signal sending");
last_state=current_state;
last_have_plugin=have_plugin;
last_inWaitOfReply=found_inWaitOfReply;
diff --git a/CopyListener.h b/CopyListener.h
index 447ecb8..3003aec 100644
--- a/CopyListener.h
+++ b/CopyListener.h
@@ -30,19 +30,19 @@ class CopyListener : public QObject
void resendState();
private slots:
//void newPlugin();
- void newPluginCopyWithoutDestination(const quint32 &orderId,const QStringList &sources);
- void newPluginCopy(const quint32 &orderId,const QStringList &sources,const QString &destination);
- void newPluginMoveWithoutDestination(const quint32 &orderId,const QStringList &sources);
- void newPluginMove(const quint32 &orderId,const QStringList &sources,const QString &destination);
+ void newPluginCopyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources);
+ void newPluginCopy(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination);
+ void newPluginMoveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources);
+ void newPluginMove(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination);
void onePluginAdded(const PluginsAvailable &plugin);
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
void onePluginWillBeRemoved(const PluginsAvailable &plugin);
#endif
void newState(const Ultracopier::ListeningState &state);
#ifdef ULTRACOPIER_DEBUG
- void debugInformation(const Ultracopier::DebugLevel &level,const QString& fonction,const QString& text,const QString& file,const int& ligne);
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string& fonction,const std::string& text,const std::string& file,const int& ligne);
#endif // ULTRACOPIER_DEBUG
- void error(const QString &error);
+ void error(const std::string &error);
void allPluginIsloaded();
void reloadClientList();
public slots:
@@ -52,13 +52,13 @@ class CopyListener : public QObject
\see newCopy()
\see newMove()
*/
- void copyFinished(const quint32 & orderId,const bool &withError);
+ void copyFinished(const uint32_t & orderId,const bool &withError);
/** \brief the copy is canceled by the user
\param orderId id used when it have send the copy
\see newCopy()
\see newMove()
*/
- void copyCanceled(const quint32 & orderId);
+ void copyCanceled(const uint32_t & orderId);
/** \brief try listen, to get copy/move from external source (mainly the file manager)
\see close()
*/
@@ -68,22 +68,22 @@ class CopyListener : public QObject
*/
void close();
/** new copy without destination have been pased by the CLI */
- void copyWithoutDestination(QStringList sources);
+ void copyWithoutDestination(std::vector<std::string> sources);
/** new copy with destination have been pased by the CLI */
- void copy(QStringList sources,QString destination);
+ void copy(std::vector<std::string> sources,std::string destination);
/** new move without destination have been pased by the CLI */
- void moveWithoutDestination(QStringList sources);
+ void moveWithoutDestination(std::vector<std::string> sources);
/** new move with destination have been pased by the CLI */
- void move(QStringList sources,QString destination);
+ void move(std::vector<std::string> sources,std::string destination);
signals:
- void newCopyWithoutDestination(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources) const;
- void newCopy(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination) const;
- void newMoveWithoutDestination(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources) const;
- void newMove(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination) const;
+ void newCopyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources) const;
+ void newCopy(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination) const;
+ void newMoveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources) const;
+ void newMove(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination) const;
void listenerReady(const Ultracopier::ListeningState &state,const bool &havePlugin,const bool &someAreInWaitOfReply) const;
void pluginLoaderReady(const Ultracopier::CatchState &state,const bool &havePlugin,const bool &someAreInWaitOfReply) const;
void previouslyPluginAdded(const PluginsAvailable &) const;
- void newClientList(const QStringList &clientsList) const;
+ void newClientList(const std::vector<std::string> &clientsList) const;
private:
struct PluginListener
{
@@ -91,33 +91,33 @@ class CopyListener : public QObject
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
QPluginLoader *pluginLoader;
#endif
- QString path;
+ std::string path;
Ultracopier::ListeningState state;
bool inWaitOfReply;
LocalPluginOptions *options;
};
- QList<PluginListener> pluginList;
+ std::vector<PluginListener> pluginList;
//for the options
- quint32 nextOrderId;
- QList<quint32> orderList;
+ uint32_t nextOrderId;
+ std::vector<uint32_t> orderList;
//for the copy as suspend
struct CopyRunning
{
PluginInterface_Listener *listenInterface;
- quint32 pluginOrderId;
- quint32 orderId;
+ uint32_t pluginOrderId;
+ uint32_t orderId;
};
- QList<CopyRunning> copyRunningList;
- quint32 incrementOrderId();
+ std::vector<CopyRunning> copyRunningList;
+ uint32_t incrementOrderId();
bool tryListen;
PluginLoader *pluginLoader;
Ultracopier::ListeningState last_state;
bool last_have_plugin,last_inWaitOfReply;
void sendState(bool force=false);
- QStringList stripSeparator(QStringList sources);
+ std::vector<std::string> stripSeparator(std::vector<std::string> sources);
OptionDialog *optionDialog;
bool stopIt;
- QRegularExpression stripSeparatorRegex;
+ std::regex stripSeparatorRegex;
};
#endif // COPYLISTENER_H
diff --git a/Core.cpp b/Core.cpp
index 52d693c..9f0e8eb 100644
--- a/Core.cpp
+++ b/Core.cpp
@@ -9,10 +9,11 @@
#include "Core.h"
#include "ThemesManager.h"
+#include "cpp11addition.h"
Core::Core(CopyEngineManager *copyEngineList)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
this->copyEngineList=copyEngineList;
nextId=0;
forUpateInformation.setInterval(ULTRACOPIER_TIME_INTERFACE_UPDATE);
@@ -25,7 +26,7 @@ Core::Core(CopyEngineManager *copyEngineList)
Core::~Core()
{
- int index=0;
+ unsigned int index=0;
while(index<copyList.size())
{
copyList[index].engine->cancel();
@@ -36,30 +37,30 @@ Core::~Core()
}
}
-void Core::newCopyWithoutDestination(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources)
+void Core::newCopyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(openNewCopyEngineInstance(Ultracopier::Copy,false,protocolsUsedForTheSources)==-1)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to get a copy engine instance");
QMessageBox::critical(NULL,tr("Error"),tr("Unable to get a copy engine instance"));
return;
}
- copyList.last().orderId<<orderId;
- copyList.last().engine->newCopy(sources);
- copyList.last().interface->haveExternalOrder();
+ copyList.back().orderId.push_back(orderId);
+ copyList.back().engine->newCopy(sources);
+ copyList.back().interface->haveExternalOrder();
}
-void Core::newTransfer(const Ultracopier::CopyMode &mode,const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination)
+void Core::newTransfer(const Ultracopier::CopyMode &mode,const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: ")+sources.join(QStringLiteral(";"))+QStringLiteral(", dest: ")+destination+QStringLiteral(", mode: ")+QString::number(mode));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+stringimplode(sources,";")+", dest: "+destination+", mode: "+std::to_string(mode));
//search to group the window
- int GroupWindowWhen=OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("GroupWindowWhen")).toInt();
+ int GroupWindowWhen=stringtoint32(OptionEngine::optionEngine->getOptionValue("Ultracopier","GroupWindowWhen"));
bool haveSameSource=false,haveSameDestination=false;
if(GroupWindowWhen!=0)
{
- bool needConfirmation=OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("confirmToGroupWindows")).toInt();
- int index=0;
+ bool needConfirmation=stringtobool(OptionEngine::optionEngine->getOptionValue("Ultracopier","confirmToGroupWindows"));
+ unsigned int index=0;
while(index<copyList.size())
{
bool rightMode=false;
@@ -95,7 +96,7 @@ void Core::newTransfer(const Ultracopier::CopyMode &mode,const quint32 &orderId,
}
if(confirmed)
{
- copyList[index].orderId<<orderId;
+ copyList[index].orderId.push_back(orderId);
if(mode==Ultracopier::Copy)
copyList.at(index).engine->newCopy(sources,destination);
else
@@ -112,29 +113,29 @@ void Core::newTransfer(const Ultracopier::CopyMode &mode,const quint32 &orderId,
//else open new windows
if(openNewCopyEngineInstance(mode,false,protocolsUsedForTheSources,protocolsUsedForTheDestination)==-1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to get a engine instance"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to get a engine instance");
QMessageBox::critical(NULL,tr("Error"),tr("Unable to get a engine instance"));
return;
}
- copyList.last().orderId<<orderId;
+ copyList.back().orderId.push_back(orderId);
if(mode==Ultracopier::Copy)
- copyList.last().engine->newCopy(sources,destination);
+ copyList.back().engine->newCopy(sources,destination);
else
- copyList.last().engine->newMove(sources,destination);
- copyList.last().interface->haveExternalOrder();
+ copyList.back().engine->newMove(sources,destination);
+ copyList.back().interface->haveExternalOrder();
}
-void Core::newCopy(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination)
+void Core::newCopy(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination)
{
newTransfer(Ultracopier::Copy,orderId,protocolsUsedForTheSources,sources,protocolsUsedForTheDestination,destination);
}
-void Core::newMove(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination)
+void Core::newMove(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination)
{
newTransfer(Ultracopier::Move,orderId,protocolsUsedForTheSources,sources,protocolsUsedForTheDestination,destination);
}
-void Core::newMoveWithoutDestination(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources)
+void Core::newMoveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources)
{
if(openNewCopyEngineInstance(Ultracopier::Move,false,protocolsUsedForTheSources)==-1)
{
@@ -142,35 +143,35 @@ void Core::newMoveWithoutDestination(const quint32 &orderId,const QStringList &p
QMessageBox::critical(NULL,tr("Error"),tr("Unable to get a copy engine instance"));
return;
}
- copyList.last().orderId<<orderId;
- copyList.last().engine->newMove(sources);
- copyList.last().interface->haveExternalOrder();
+ copyList.back().orderId.push_back(orderId);
+ copyList.back().engine->newMove(sources);
+ copyList.back().interface->haveExternalOrder();
}
/// \brief name to open the right copy engine
-void Core::addWindowCopyMove(const Ultracopier::CopyMode &mode,const QString &name)
+void Core::addWindowCopyMove(const Ultracopier::CopyMode &mode,const std::string &name)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: ")+name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+name);
if(openNewCopyEngineInstance(mode,false,name)==-1)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to get a copy engine instance");
QMessageBox::critical(NULL,tr("Error"),tr("Unable to get a copy engine instance"));
return;
}
- ActionOnManualOpen ActionOnManualOpen_value=(ActionOnManualOpen)OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("ActionOnManualOpen")).toInt();
+ ActionOnManualOpen ActionOnManualOpen_value=static_cast<ActionOnManualOpen>(stringtoint32(OptionEngine::optionEngine->getOptionValue("Ultracopier","ActionOnManualOpen")));
if(ActionOnManualOpen_value!=ActionOnManualOpen_Nothing)
{
if(ActionOnManualOpen_value==ActionOnManualOpen_Folder)
- copyList.last().engine->userAddFolder(mode);
+ copyList.back().engine->userAddFolder(mode);
else
- copyList.last().engine->userAddFile(mode);
+ copyList.back().engine->userAddFile(mode);
}
}
/// \brief name to open the right copy engine
-void Core::addWindowTransfer(const QString &name)
+void Core::addWindowTransfer(const std::string &name)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start")+name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"+name);
if(openNewCopyEngineInstance(Ultracopier::Copy,true,name)==-1)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to get a copy engine instance");
@@ -180,10 +181,10 @@ void Core::addWindowTransfer(const QString &name)
}
/** new transfer list pased by the CLI */
-void Core::newTransferList(QString engine,QString mode,QString file)
+void Core::newTransferList(std::string engine,std::string mode,std::string file)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("engine: %1, mode: %2, file: %3").arg(engine).arg(mode).arg(file));
- if(mode==QStringLiteral("Transfer"))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"engine: "+engine+", mode: "+mode+", file: "+file);
+ if(mode=="Transfer")
{
if(openNewCopyEngineInstance(Ultracopier::Copy,true,engine)==-1)
{
@@ -192,7 +193,7 @@ void Core::newTransferList(QString engine,QString mode,QString file)
return;
}
}
- else if(mode==QStringLiteral("Copy"))
+ else if(mode=="Copy")
{
if(openNewCopyEngineInstance(Ultracopier::Copy,false,engine)==-1)
{
@@ -201,7 +202,7 @@ void Core::newTransferList(QString engine,QString mode,QString file)
return;
}
}
- else if(mode==QStringLiteral("Move"))
+ else if(mode=="Move")
{
if(openNewCopyEngineInstance(Ultracopier::Move,false,engine)==-1)
{
@@ -216,17 +217,31 @@ void Core::newTransferList(QString engine,QString mode,QString file)
QMessageBox::critical(NULL,tr("Error"),tr("The argument for the mode is not valid"));
return;
}
- copyList.last().engine->newTransferList(file);
+ copyList.back().engine->newTransferList(file);
+}
+
+bool Core::startNewTransferOneUniqueCopyEngine()
+{
+ if(copyList.size()!=1)
+ return false;
+
+ if(openNewCopyEngineInstance(Ultracopier::Copy,true,std::string())==-1)
+ {
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to get a copy engine instance");
+ QMessageBox::critical(NULL,tr("Error"),tr("Unable to get a copy engine instance"));
+ return false;
+ }
+ return true;
}
void Core::loadInterface()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//load the extra files to check the themes availability
if(copyList.size()>0)
{
bool error=false;
- int index=0;
+ unsigned int index=0;
while(index<copyList.size())
{
copyList[index].interface=ThemesManager::themesManager->getThemesInstance();
@@ -239,7 +254,7 @@ void Core::loadInterface()
{
if(!copyList.at(index).ignoreMode)
copyList.at(index).interface->forceCopyMode(copyList.at(index).mode);
- connectInterfaceAndSync(copyList.count()-1);
+ connectInterfaceAndSync(static_cast<unsigned int>(copyList.size()-1));
copyList.at(index).engine->syncTransferList();
index++;
}
@@ -254,10 +269,9 @@ void Core::loadInterface()
void Core::unloadInterface()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
- const int &loop_size=copyList.size();
- while(index<loop_size)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ size_t index=0;
+ while(index<copyList.size())
{
if(copyList.at(index).interface!=NULL)
{
@@ -270,14 +284,14 @@ void Core::unloadInterface()
}
}
-int Core::incrementId()
+unsigned int Core::incrementId()
{
do
{
nextId++;
if(nextId>2000000)
nextId=0;
- } while(idList.contains(nextId));
+ } while(vectorcontainsAtLeastOne(idList,nextId));
return nextId;
}
@@ -287,9 +301,10 @@ int Core::incrementId()
\param protocolsUsedForTheSources protocols used for sources
\param protocolsUsedForTheDestination protocols used for destination
*/
-int Core::openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,const QStringList &protocolsUsedForTheSources,const QString &protocolsUsedForTheDestination)
+int Core::openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,
+ const std::vector<std::string> &protocolsUsedForTheSources,const std::string &protocolsUsedForTheDestination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
CopyEngineManager::returnCopyEngine returnInformations=copyEngineList->getCopyEngine(mode,protocolsUsedForTheSources,protocolsUsedForTheDestination);
if(returnInformations.engine==NULL)
return -1;
@@ -302,9 +317,9 @@ int Core::openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool
\param protocolsUsedForTheSources protocols used for sources
\param protocolsUsedForTheDestination protocols used for destination
*/
-int Core::openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,const QString &name)
+int Core::openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,const std::string &name)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, mode: "+QString::number(mode)+", name: "+name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, mode: "+std::to_string(mode)+", name: "+name);
CopyEngineManager::returnCopyEngine returnInformations=copyEngineList->getCopyEngine(mode,name);
if(returnInformations.engine==NULL)
return -1;
@@ -348,7 +363,7 @@ int Core::connectCopyEngine(const Ultracopier::CopyMode &mode,bool ignoreMode,co
newItem.copyEngineIsSync=true;
newItem.canceled=false;
- switch(OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("remainingTimeAlgorithm")).toUInt())
+ switch(stringtoint32(OptionEngine::optionEngine->getOptionValue("Ultracopier","remainingTimeAlgorithm")))
{
default:
case 0:
@@ -363,7 +378,7 @@ int Core::connectCopyEngine(const Ultracopier::CopyMode &mode,bool ignoreMode,co
RemainingTimeLogarithmicColumn remainingTimeLogarithmicColumn;
remainingTimeLogarithmicColumn.totalSize=0;
remainingTimeLogarithmicColumn.transferedSize=0;
- newItem.remainingTimeLogarithmicValue << remainingTimeLogarithmicColumn;
+ newItem.remainingTimeLogarithmicValue.push_back(remainingTimeLogarithmicColumn);
index++;
}
}
@@ -377,10 +392,10 @@ int Core::connectCopyEngine(const Ultracopier::CopyMode &mode,bool ignoreMode,co
}
if(copyList.size()==0)
forUpateInformation.start();
- copyList << newItem;
- connectEngine(copyList.count()-1);
- connectInterfaceAndSync(copyList.count()-1);
- return newItem.id;
+ copyList.push_back(newItem);
+ connectEngine(static_cast<unsigned int>(copyList.size()-1));
+ connectInterfaceAndSync(static_cast<unsigned int>(copyList.size()-1));
+ return static_cast<int>(newItem.id);
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to load the interface, copy aborted");
delete newItem.engine;
@@ -398,24 +413,25 @@ void Core::resetSpeedDetectedEngine()
{
int index=indexCopySenderCopyEngine();
if(index!=-1)
- resetSpeedDetected(index);
+ resetSpeedDetected(static_cast<unsigned int>(index));
}
void Core::resetSpeedDetectedInterface()
{
int index=indexCopySenderInterface();
if(index!=-1)
- resetSpeedDetected(index);
+ resetSpeedDetected(static_cast<unsigned int>(index));
}
-void Core::resetSpeedDetected(const int &index)
+void Core::resetSpeedDetected(const unsigned int &bindex)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start on %1").arg(index));
+ const size_t &index=bindex;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start on "+std::to_string(index));
switch(copyList.at(index).remainingTimeAlgo)
{
case Ultracopier::RemainingTimeAlgo_Logarithmic:
{
- int sub_index=0;
+ size_t sub_index=0;
while(sub_index<ULTRACOPIER_MAXREMAININGTIMECOL)
{
copyList[index].remainingTimeLogarithmicValue[sub_index].lastProgressionSpeed.clear();
@@ -424,6 +440,7 @@ void Core::resetSpeedDetected(const int &index)
sub_index++;
}
}
+ break;
default:
case Ultracopier::RemainingTimeAlgo_Traditional:
copyList[index].lastSpeedDetected.clear();
@@ -434,41 +451,43 @@ void Core::resetSpeedDetected(const int &index)
}
}
-void Core::doneTime(const QList<QPair<quint64,quint32> > &timeList)
+void Core::doneTime(const std::vector<std::pair<uint64_t,uint32_t> > &timeList)
{
int index=indexCopySenderCopyEngine();
if(index!=-1)
{
- switch(copyList.at(index).remainingTimeAlgo)
+ CopyInstance &copyInstance=copyList[index];
+ switch(copyInstance.remainingTimeAlgo)
{
case Ultracopier::RemainingTimeAlgo_Logarithmic:
- if(copyList.at(index).remainingTimeLogarithmicValue.size()<ULTRACOPIER_MAXREMAININGTIMECOL)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("bug, copyList.at(index).remainingTimeLogarithmicValue.size() %1 <ULTRACOPIER_MAXREMAININGTIMECOL").arg(copyList.at(index).remainingTimeLogarithmicValue.size()));
+ if(copyInstance.remainingTimeLogarithmicValue.size()<ULTRACOPIER_MAXREMAININGTIMECOL)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"bug, copyInstance.remainingTimeLogarithmicValue.size() "+std::to_string(copyInstance.remainingTimeLogarithmicValue.size())+" <ULTRACOPIER_MAXREMAININGTIMECOL");
else
{
- int size=timeList.size();
- int sub_index=0;
- while(sub_index<size)
+ unsigned int sub_index=0;
+ while(sub_index<timeList.size())
{
- const QPair<quint64,quint32> &timeUnit=timeList.at(sub_index);
- const quint8 &col=fileCatNumber(timeUnit.first);
- if(copyList.at(index).remainingTimeLogarithmicValue.size()<=col)
+ const std::pair<uint64_t,uint32_t> &timeUnit=timeList.at(sub_index);
+ const uint8_t &col=fileCatNumber(timeUnit.first);
+ RemainingTimeLogarithmicColumn &remainingTimeLogarithmicColumn=copyInstance.remainingTimeLogarithmicValue[col];
+ if(copyInstance.remainingTimeLogarithmicValue.size()<=col)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("bug, copyList.at(index).remainingTimeLogarithmicValue.size() %1 < col %2").arg(copyList.at(index).remainingTimeLogarithmicValue.size()).arg(col));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"bug, copyInstance.remainingTimeLogarithmicValue.size() "+std::to_string(copyInstance.remainingTimeLogarithmicValue.size())+" < col %2"+std::to_string(col));
break;
}
else
{
if(timeUnit.second>0)
{
- copyList[index].remainingTimeLogarithmicValue[col].lastProgressionSpeed << timeUnit.first/timeUnit.second;
- if(copyList[index].remainingTimeLogarithmicValue[col].lastProgressionSpeed.size()>ULTRACOPIER_MAXVALUESPEEDSTORED)
- copyList[index].remainingTimeLogarithmicValue[col].lastProgressionSpeed.removeFirst();
+ remainingTimeLogarithmicColumn.lastProgressionSpeed.push_back(static_cast<unsigned int>(timeUnit.first/timeUnit.second));
+ if(remainingTimeLogarithmicColumn.lastProgressionSpeed.size()>ULTRACOPIER_MAXVALUESPEEDSTORED)
+ remainingTimeLogarithmicColumn.lastProgressionSpeed.pop_back();
}
}
sub_index++;
}
}
+ break;
default:
case Ultracopier::RemainingTimeAlgo_Traditional:
break;
@@ -483,11 +502,11 @@ void Core::actionInProgess(const Ultracopier::EngineActionInProgress &action)
int index=indexCopySenderCopyEngine();
if(index!=-1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("action: %1, from %2").arg(action).arg(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action: "+std::to_string(action)+", from "+std::to_string(index));
//drop here the duplicate action
if(copyList.at(index).action==action)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("The copy engine have send 2x the same EngineActionInProgress"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"The copy engine have send 2x the same EngineActionInProgress");
return;
}
//update time runing for time remaning caculation
@@ -508,9 +527,8 @@ void Core::actionInProgess(const Ultracopier::EngineActionInProgress &action)
copyList.at(index).interface->actionInProgess(action);
if(action==Ultracopier::Idle)
{
- int index_sub_loop=0;
- const int &loop_size=copyList.at(index).orderId.size();
- while(index_sub_loop<loop_size)
+ unsigned int index_sub_loop=0;
+ while(index_sub_loop<copyList.at(index).orderId.size())
{
emit copyCanceled(copyList.at(index).orderId.at(index_sub_loop));
index_sub_loop++;
@@ -523,7 +541,7 @@ void Core::actionInProgess(const Ultracopier::EngineActionInProgress &action)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to locate the interface sender");
}
-void Core::newFolderListing(const QString &path)
+void Core::newFolderListing(const std::string &path)
{
int index=indexCopySenderCopyEngine();
if(index!=-1)
@@ -555,9 +573,8 @@ int Core::indexCopySenderCopyEngine()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Qt sender() NULL");
return -1;
}
- int index=0;
- const int &loop_size=copyList.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<copyList.size())
{
if(copyList.at(index).engine==senderObject)
return index;
@@ -578,9 +595,8 @@ int Core::indexCopySenderInterface()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Qt sender() NULL");
return -1;
}
- int index=0;
- const int &loop_size=copyList.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<copyList.size())
{
if(copyList.at(index).interface==senderObject)
return index;
@@ -595,7 +611,7 @@ int Core::indexCopySenderInterface()
return -1;
}
index=0;
- while(index<loop_size)
+ while(index<copyList.size())
{
if(copyList.at(index).interface==interface)
return index;
@@ -606,88 +622,88 @@ int Core::indexCopySenderInterface()
return -1;
}
-void Core::connectEngine(const int &index)
+void Core::connectEngine(const unsigned int &index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start with index: %1: %2").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start with index: "+std::to_string(index)+": "+std::to_string((uint64_t)sender()));
//disconnectEngine(index);
CopyInstance& currentCopyInstance=copyList[index];
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::newFolderListing, this,&Core::newFolderListing,Qt::QueuedConnection))//to check to change
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for newFolderListing()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for newFolderListing()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::actionInProgess, this,&Core::actionInProgess,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for actionInProgess()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for actionInProgess()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::isInPause, this,&Core::isInPause,Qt::QueuedConnection))//to check to change
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for isInPause()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for isInPause()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::cancelAll, this,&Core::copyInstanceCanceledByEngine,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for cancelAll()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for cancelAll()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::error, this,&Core::error,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for error()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for error()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::rmPath, this,&Core::rmPath,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for rmPath()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for rmPath()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::mkPath, this,&Core::mkPath,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for mkPath()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for mkPath()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::syncReady, this,&Core::syncReady,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for syncReady()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for syncReady()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::canBeDeleted, this,&Core::deleteCopyEngine,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for syncReady()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for syncReady()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::doneTime, this,&Core::doneTime,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the engine can not work correctly: %1: %2 for doneTime()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the engine can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for doneTime()");
}
-void Core::connectInterfaceAndSync(const int &index)
+void Core::connectInterfaceAndSync(const unsigned int &index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start with index: %1: %2").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start with index: "+std::to_string(index)+": "+std::to_string((uint64_t)sender()));
//disconnectInterface(index);
CopyInstance& currentCopyInstance=copyList[index];
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::pause, currentCopyInstance.engine,&PluginInterface_CopyEngine::pause))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for pause()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for pause()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::resume, currentCopyInstance.engine,&PluginInterface_CopyEngine::resume))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for resume()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for resume()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::skip, currentCopyInstance.engine,&PluginInterface_CopyEngine::skip))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for skip()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for skip()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::newSpeedLimitation, currentCopyInstance.engine,&PluginInterface_CopyEngine::setSpeedLimitation))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for newSpeedLimitation()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for newSpeedLimitation()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::userAddFolder, currentCopyInstance.engine,&PluginInterface_CopyEngine::userAddFolder))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for userAddFolder()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for userAddFolder()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::userAddFile, currentCopyInstance.engine,&PluginInterface_CopyEngine::userAddFile))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for userAddFile()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for userAddFile()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::removeItems, currentCopyInstance.engine,&PluginInterface_CopyEngine::removeItems))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for removeItems()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for removeItems()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::moveItemsOnTop, currentCopyInstance.engine,&PluginInterface_CopyEngine::moveItemsOnTop))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for moveItemsOnTop()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for moveItemsOnTop()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::moveItemsUp, currentCopyInstance.engine,&PluginInterface_CopyEngine::moveItemsUp))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for moveItemsUp()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for moveItemsUp()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::moveItemsDown, currentCopyInstance.engine,&PluginInterface_CopyEngine::moveItemsDown))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for moveItemsDown()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for moveItemsDown()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::moveItemsOnBottom, currentCopyInstance.engine,&PluginInterface_CopyEngine::moveItemsOnBottom))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for moveItemsOnBottom()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for moveItemsOnBottom()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::exportTransferList, currentCopyInstance.engine,&PluginInterface_CopyEngine::exportTransferList))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for exportTransferList()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for exportTransferList()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::exportErrorIntoTransferList, currentCopyInstance.engine,&PluginInterface_CopyEngine::exportErrorIntoTransferList))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for exportErrorIntoTransferList()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for exportErrorIntoTransferList()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::importTransferList, currentCopyInstance.engine,&PluginInterface_CopyEngine::importTransferList))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for importTransferList()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for importTransferList()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::newSpeedLimitation, this,&Core::resetSpeedDetectedInterface))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for newSpeedLimitation()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for newSpeedLimitation()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::resume, this,&Core::resetSpeedDetectedInterface))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for resume()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for resume()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::cancel, this,&Core::copyInstanceCanceledByInterface,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for cancel()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for cancel()");
if(!connect(currentCopyInstance.interface,&PluginInterface_Themes::urlDropped, this,&Core::urlDropped,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for urlDropped()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for urlDropped()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::newActionOnList,this,&Core::getActionOnList, Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for newActionOnList()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for newActionOnList()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::pushFileProgression, currentCopyInstance.interface,&PluginInterface_Themes::setFileProgression, Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for pushFileProgression()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for pushFileProgression()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::pushGeneralProgression, currentCopyInstance.interface,&PluginInterface_Themes::setGeneralProgression, Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for pushGeneralProgression()").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for pushGeneralProgression()");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::pushGeneralProgression, this,&Core::pushGeneralProgression, Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for pushGeneralProgression() for this").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for pushGeneralProgression() for this");
if(!connect(currentCopyInstance.engine,&PluginInterface_CopyEngine::errorToRetry, currentCopyInstance.interface,&PluginInterface_Themes::errorToRetry, Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("error at connect, the interface can not work correctly: %1: %2 for errorToRetry() for this").arg(index).arg((quint64)sender()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"error at connect, the interface can not work correctly: "+std::to_string(index)+": "+std::to_string((uint64_t)sender())+" for errorToRetry() for this");
currentCopyInstance.interface->setSupportSpeedLimitation(currentCopyInstance.engine->supportSpeedLimitation());
currentCopyInstance.interface->setCopyType(currentCopyInstance.type);
@@ -711,9 +727,8 @@ void Core::connectInterfaceAndSync(const int &index)
void Core::periodicSynchronization()
{
- int index_sub_loop=0;
- const int &loop_size=copyList.size();
- while(index_sub_loop<loop_size)
+ unsigned int index_sub_loop=0;
+ while(index_sub_loop<copyList.size())
{
if(copyList.at(index_sub_loop).action==Ultracopier::Copying || copyList.at(index_sub_loop).action==Ultracopier::CopyingAndListing)
periodicSynchronizationWithIndex(index_sub_loop);
@@ -759,25 +774,24 @@ void Core::periodicSynchronizationWithIndex(const int &index)
{
if((currentCopyInstance.action==Ultracopier::Copying || currentCopyInstance.action==Ultracopier::CopyingAndListing))
{
- currentCopyInstance.lastSpeedTime << lastProgressionTime.elapsed();
- currentCopyInstance.lastSpeedDetected << diffCopiedSize;
- currentCopyInstance.lastAverageSpeedTime << lastProgressionTime.elapsed();
- currentCopyInstance.lastAverageSpeedDetected << diffCopiedSize;
+ currentCopyInstance.lastSpeedTime.push_back(lastProgressionTime.elapsed());
+ currentCopyInstance.lastSpeedDetected.push_back(diffCopiedSize);
+ currentCopyInstance.lastAverageSpeedTime.push_back(lastProgressionTime.elapsed());
+ currentCopyInstance.lastAverageSpeedDetected.push_back(diffCopiedSize);
while(currentCopyInstance.lastSpeedTime.size()>ULTRACOPIER_MAXVALUESPEEDSTORED)
- currentCopyInstance.lastSpeedTime.removeFirst();
+ currentCopyInstance.lastSpeedTime.erase(currentCopyInstance.lastSpeedTime.cbegin());
while(currentCopyInstance.lastSpeedDetected.size()>ULTRACOPIER_MAXVALUESPEEDSTORED)
- currentCopyInstance.lastSpeedDetected.removeFirst();
+ currentCopyInstance.lastSpeedDetected.erase(currentCopyInstance.lastSpeedDetected.cbegin());
while(currentCopyInstance.lastAverageSpeedTime.size()>ULTRACOPIER_MAXVALUESPEEDSTOREDTOREMAININGTIME)
- currentCopyInstance.lastAverageSpeedTime.removeFirst();
+ currentCopyInstance.lastAverageSpeedTime.erase(currentCopyInstance.lastAverageSpeedTime.cbegin());
while(currentCopyInstance.lastAverageSpeedDetected.size()>ULTRACOPIER_MAXVALUESPEEDSTOREDTOREMAININGTIME)
- currentCopyInstance.lastAverageSpeedDetected.removeFirst();
+ currentCopyInstance.lastAverageSpeedDetected.erase(currentCopyInstance.lastAverageSpeedDetected.cbegin());
double totTime=0,totAverageTime=0;
double totSpeed=0,totAverageSpeed=0;
//current speed
- int index_sub_loop=0;
- int loop_size=currentCopyInstance.lastSpeedDetected.size();
- while(index_sub_loop<loop_size)
+ unsigned int index_sub_loop=0;
+ while(index_sub_loop<currentCopyInstance.lastSpeedDetected.size())
{
totTime+=currentCopyInstance.lastSpeedTime.at(index_sub_loop);
totSpeed+=currentCopyInstance.lastSpeedDetected.at(index_sub_loop);
@@ -787,8 +801,7 @@ void Core::periodicSynchronizationWithIndex(const int &index)
//speed to calculate the remaining time
index_sub_loop=0;
- loop_size=currentCopyInstance.lastAverageSpeedDetected.size();
- while(index_sub_loop<loop_size)
+ while(index_sub_loop<currentCopyInstance.lastAverageSpeedDetected.size())
{
totAverageTime+=currentCopyInstance.lastAverageSpeedTime.at(index_sub_loop);
totAverageSpeed+=currentCopyInstance.lastAverageSpeedDetected.at(index_sub_loop);
@@ -797,11 +810,11 @@ void Core::periodicSynchronizationWithIndex(const int &index)
totAverageTime/=1000;
if(totTime>0)
- if(loop_size>=ULTRACOPIER_MINVALUESPEED)
+ if(currentCopyInstance.lastAverageSpeedDetected.size()>=ULTRACOPIER_MINVALUESPEED)
currentCopyInstance.interface->detectedSpeed(totSpeed/totTime);
if(totAverageTime>0)
- if(loop_size>=ULTRACOPIER_MINVALUESPEEDTOREMAININGTIME)
+ if(currentCopyInstance.lastAverageSpeedDetected.size()>=ULTRACOPIER_MINVALUESPEEDTOREMAININGTIME)
{
if(currentCopyInstance.remainingTimeAlgo==Ultracopier::RemainingTimeAlgo_Traditional)
{
@@ -821,8 +834,7 @@ void Core::periodicSynchronizationWithIndex(const int &index)
int remainingTimeValue=0;
//calculate for each file class
index_sub_loop=0;
- loop_size=currentCopyInstance.remainingTimeLogarithmicValue.size();
- while(index_sub_loop<loop_size)
+ while(index_sub_loop<currentCopyInstance.remainingTimeLogarithmicValue.size())
{
const RemainingTimeLogarithmicColumn &remainingTimeLogarithmicColumn=currentCopyInstance.remainingTimeLogarithmicValue.at(index_sub_loop);
//normal detect
@@ -830,7 +842,7 @@ void Core::periodicSynchronizationWithIndex(const int &index)
if(remainingTimeLogarithmicColumn.lastProgressionSpeed.size()>=ULTRACOPIER_MINVALUESPEED)
{
int average_speed=0;
- int temp_loop_index=0;
+ unsigned int temp_loop_index=0;
while(temp_loop_index<remainingTimeLogarithmicColumn.lastProgressionSpeed.size())
{
average_speed+=remainingTimeLogarithmicColumn.lastProgressionSpeed.at(temp_loop_index);
@@ -866,7 +878,7 @@ void Core::periodicSynchronizationWithIndex(const int &index)
}
}
-quint8 Core::fileCatNumber(quint64 size)
+uint8_t Core::fileCatNumber(uint64_t size)
{
//all is in base 10 to understand more easily
//drop the big value
@@ -879,7 +891,7 @@ quint8 Core::fileCatNumber(quint64 size)
/// \brief the copy engine have canceled the transfer
void Core::copyInstanceCanceledByEngine()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
int index=indexCopySenderCopyEngine();
if(index!=-1)
copyInstanceCanceledByIndex(index);
@@ -890,7 +902,7 @@ void Core::copyInstanceCanceledByEngine()
/// \brief the interface have canceled the transfer
void Core::copyInstanceCanceledByInterface()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
int index=indexCopySenderInterface();
if(index!=-1)
copyInstanceCanceledByIndex(index);
@@ -899,9 +911,9 @@ void Core::copyInstanceCanceledByInterface()
}
/// \brief the transfer have been canceled
-void Core::copyInstanceCanceledByIndex(const int &index)
+void Core::copyInstanceCanceledByIndex(const unsigned int &index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, remove with the index: "+QString::number(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, remove with the index: "+std::to_string(index));
//disconnectEngine(index);
//disconnectInterface(index);
copyList[index].canceled=true;
@@ -909,18 +921,17 @@ void Core::copyInstanceCanceledByIndex(const int &index)
currentCopyInstance.engine->cancel();
delete currentCopyInstance.nextConditionalSync;
delete currentCopyInstance.interface;
- int index_sub_loop=0;
- const int &loop_size=currentCopyInstance.orderId.size();
- while(index_sub_loop<loop_size)
+ unsigned int index_sub_loop=0;
+ while(index_sub_loop<currentCopyInstance.orderId.size())
{
emit copyCanceled(currentCopyInstance.orderId.at(index_sub_loop));
index_sub_loop++;
}
currentCopyInstance.orderId.clear();
- copyList.removeAt(index);
+ copyList.erase(copyList.cbegin()+index);
if(copyList.size()==0)
forUpateInformation.stop();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"copyList.size(): "+QString::number(copyList.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"copyList.size(): "+std::to_string(copyList.size()));
}
/// \brief only when the copy engine say it's ready to delete them self, it call this
@@ -946,7 +957,7 @@ void Core::deleteCopyEngine()
}
//error occurred
-void Core::error(const QString &path,const quint64 &size,const QDateTime &mtime,const QString &error)
+void Core::error(const std::string &path,const uint64_t &size,const uint64_t &mtime,const std::string &error)
{
log.error(path,size,mtime,error);
int index=indexCopySenderCopyEngine();
@@ -960,12 +971,12 @@ void Core::error(const QString &path,const quint64 &size,const QDateTime &mtime,
}
//for the extra logging
-void Core::rmPath(const QString &path)
+void Core::rmPath(const std::string &path)
{
log.rmPath(path);
}
-void Core::mkPath(const QString &path)
+void Core::mkPath(const std::string &path)
{
log.mkPath(path);
}
@@ -980,27 +991,26 @@ void Core::syncReady()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to locate the copy engine sender");
}
-void Core::getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &actionList)
+void Core::getActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &actionList)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//send the the interface
const int &index=indexCopySenderCopyEngine();
if(index!=-1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start2"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start2");
if(copyList.at(index).copyEngineIsSync)
copyList.at(index).interface->getActionOnList(actionList);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start3"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start3");
//log to the file and compute the remaining time
if(log.logTransfer() || copyList.at(index).remainingTimeAlgo==Ultracopier::RemainingTimeAlgo_Logarithmic)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start4"));
- int sub_index=0;
- const int &size=actionList.size();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start4");
+ unsigned int sub_index=0;
if(log.logTransfer() && copyList.at(index).remainingTimeAlgo==Ultracopier::RemainingTimeAlgo_Logarithmic)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start5"));
- while(sub_index<size)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start5");
+ while(sub_index<actionList.size())
{
const Ultracopier::ReturnActionOnCopyList &returnAction=actionList.at(sub_index);
switch(returnAction.type)
@@ -1034,8 +1044,8 @@ void Core::getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &act
}
else if(log.logTransfer())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start6"));
- while(sub_index<size)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start6");
+ while(sub_index<actionList.size())
{
const Ultracopier::ReturnActionOnCopyList &returnAction=actionList.at(sub_index);
switch(returnAction.type)
@@ -1062,8 +1072,8 @@ void Core::getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &act
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start7"));
- while(sub_index<size)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start7");
+ while(sub_index<actionList.size())
{
const Ultracopier::ReturnActionOnCopyList &returnAction=actionList.at(sub_index);
switch(returnAction.type)
@@ -1088,16 +1098,16 @@ void Core::getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &act
sub_index++;
}
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start8"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start8");
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start9"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start9");
}
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to locate the copy engine sender");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start end"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start end");
}
-void Core::pushGeneralProgression(const quint64 &current,const quint64 &total)
+void Core::pushGeneralProgression(const uint64_t &current,const uint64_t &total)
{
int index=indexCopySenderCopyEngine();
if(index!=-1)
@@ -1110,18 +1120,19 @@ void Core::pushGeneralProgression(const quint64 &current,const quint64 &total)
}
/// \brief used to drag and drop files
-void Core::urlDropped(const QList<QUrl> &urls)
+void Core::urlDropped(const std::vector<std::string> &urls)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=indexCopySenderInterface();
- if(index!=-1)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ int bindex=indexCopySenderInterface();
+ if(bindex!=-1)
{
- QStringList sources;
- int index_loop=0;
+ const unsigned int &index=static_cast<unsigned int>(bindex);
+ std::vector<std::string> sources;
+ unsigned int index_loop=0;
while(index_loop<urls.size())
{
- if(!urls.at(index_loop).isEmpty())
- sources << urls.at(index_loop).toLocalFile();
+ if(!urls.at(index_loop).empty())
+ sources.push_back(urls.at(index_loop));
index_loop++;
}
if(sources.size()==0)
diff --git a/Core.h b/Core.h
index 3b2928c..cd8733e 100644
--- a/Core.h
+++ b/Core.h
@@ -41,28 +41,28 @@ class Core : public QObject
};
struct RemainingTimeLogarithmicColumn
{
- QList<int> lastProgressionSpeed;
- quint64 totalSize;
- quint64 transferedSize;
+ std::vector<int> lastProgressionSpeed;
+ uint64_t totalSize;
+ uint64_t transferedSize;
};
struct CopyInstance
{
- int id;
+ unsigned int id;
PluginInterface_CopyEngine * engine;
PluginInterface_Themes * interface;
bool ignoreMode;
Ultracopier::CopyMode mode;
- quint64 numberOfFile;
- quint64 numberOfTransferedFile;
- quint64 currentProgression,totalProgression;//store the file byte transfered, used into the remaining time
+ uint64_t numberOfFile;
+ uint64_t numberOfTransferedFile;
+ uint64_t currentProgression,totalProgression;//store the file byte transfered, used into the remaining time
Ultracopier::EngineActionInProgress action;
- quint64 lastProgression;//store the real byte transfered, used in speed calculation
- QList<RunningTransfer> transferItemList;//full info of started item, to have wich progression to poll
- QList<quint32> orderId;//external order send via listener plugin
- QString folderListing;
- QString collisionAction;
- QString errorAction;
+ uint64_t lastProgression;//store the real byte transfered, used in speed calculation
+ std::vector<RunningTransfer> transferItemList;//full info of started item, to have wich progression to poll
+ std::vector<uint32_t> orderId;//external order send via listener plugin
+ std::string folderListing;
+ std::string collisionAction;
+ std::string errorAction;
bool isPaused;
bool isRunning;
Ultracopier::CopyType type;
@@ -77,38 +77,37 @@ class Core : public QObject
/** for RemainingTimeAlgo_Traditional **/
//this speed is for instant speed
- QList<quint64> lastSpeedDetected;//stored in bytes
- QList<double> lastSpeedTime;//stored in ms
+ std::vector<uint64_t> lastSpeedDetected;//stored in bytes
+ std::vector<double> lastSpeedTime;//stored in ms
//this speed is average speed on more time to calculate the remaining time
- QList<quint64> lastAverageSpeedDetected;//stored in bytes
- QList<double> lastAverageSpeedTime;//stored in ms
+ std::vector<uint64_t> lastAverageSpeedDetected;//stored in bytes
+ std::vector<double> lastAverageSpeedTime;//stored in ms
/** for RemainingTimeAlgo_Logarithmic **/
- QList<RemainingTimeLogarithmicColumn> remainingTimeLogarithmicValue;
+ std::vector<RemainingTimeLogarithmicColumn> remainingTimeLogarithmicValue;
};
- QList<CopyInstance> copyList;
+ std::vector<CopyInstance> copyList;
/** open with specific source/destination
\param move Copy or move
\param ignoreMode if need ignore the mode
\param protocolsUsedForTheSources protocols used for sources
\param protocolsUsedForTheDestination protocols used for destination
*/
- int openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,const QStringList &protocolsUsedForTheSources=QStringList(),const QString &protocolsUsedForTheDestination="");
+ int openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,const std::vector<std::string> &protocolsUsedForTheSources=std::vector<std::string>(),const std::string &protocolsUsedForTheDestination="");
/** open with specific copy engine
\param move Copy or move
\param ignoreMode if need ignore the mode
- \param protocolsUsedForTheSources protocols used for sources
- \param protocolsUsedForTheDestination protocols used for destination
+ \param name protocols used for sources
*/
- int openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,const QString &name);
+ int openNewCopyEngineInstance(const Ultracopier::CopyMode &mode,const bool &ignoreMode,const std::string &name);
/// \brief get the right copy instance (copy engine + interface), by signal emited from copy engine
int indexCopySenderCopyEngine();
/// \brief get the right copy instance (copy engine + interface), by signal emited from interface
int indexCopySenderInterface();
- void connectEngine(const int &index);
- void connectInterfaceAndSync(const int &index);
+ void connectEngine(const unsigned int &index);
+ void connectInterfaceAndSync(const unsigned int &index);
//void disconnectEngine(const int &index);
//void disconnectInterface(const int &index);
@@ -117,52 +116,54 @@ class Core : public QObject
void periodicSynchronizationWithIndex(const int &index);
//for the internal management
- int incrementId();
- int nextId;
- QList<int> idList;
+ unsigned int incrementId();
+ unsigned int nextId;
+ std::vector<unsigned int> idList;
QTime lastProgressionTime;
QTimer forUpateInformation;///< used to call \see periodicSynchronization()
- void resetSpeedDetected(const int &index);
+ void resetSpeedDetected(const unsigned int &bindex);
/** Connect the copy engine instance provided previously to the management */
int connectCopyEngine(const Ultracopier::CopyMode &mode,bool ignoreMode,const CopyEngineManager::returnCopyEngine &returnInformations);
LogThread log;///< To save the log like mkpath, rmpath, error, copy, ...
- quint64 realByteTransfered;
+ uint64_t realByteTransfered;
- static quint8 fileCatNumber(quint64 size);
+ static uint8_t fileCatNumber(uint64_t size);
signals:
- void copyFinished(const quint32 & orderId,bool withError) const;
- void copyCanceled(const quint32 & orderId) const;
+ void copyFinished(const uint32_t & orderId,bool withError) const;
+ void copyCanceled(const uint32_t & orderId) const;
public slots:
/** \brief do copy with sources, but ask the destination */
- void newCopyWithoutDestination(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources);
- void newTransfer(const Ultracopier::CopyMode &mode,const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination);
+ void newCopyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources);
+ void newTransfer(const Ultracopier::CopyMode &mode,const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination);
/** \brief do copy with sources and destination */
- void newCopy(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination);
+ void newCopy(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination);
/** \brief do move with sources, but ask the destination */
- void newMoveWithoutDestination(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources);
+ void newMoveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources);
/** \brief do move with sources and destination */
- void newMove(const quint32 &orderId,const QStringList &protocolsUsedForTheSources,const QStringList &sources,const QString &protocolsUsedForTheDestination,const QString &destination);
+ void newMove(const uint32_t &orderId,const std::vector<std::string> &protocolsUsedForTheSources,const std::vector<std::string> &sources,const std::string &protocolsUsedForTheDestination,const std::string &destination);
/** \brief open copy/move windows with specific engine */
- void addWindowCopyMove(const Ultracopier::CopyMode &mode,const QString &name);
+ void addWindowCopyMove(const Ultracopier::CopyMode &mode,const std::string &name);
/** \brief open transfer (copy+move) windows with specific engine */
- void addWindowTransfer(const QString &name);
+ void addWindowTransfer(const std::string &name);
/** new transfer list pased by the CLI */
- void newTransferList(QString engine,QString mode,QString file);
+ void newTransferList(std::string engine,std::string mode,std::string file);
+
+ bool startNewTransferOneUniqueCopyEngine();
private slots:
/// \brief the copy engine have canceled the transfer
void copyInstanceCanceledByEngine();
/// \brief the interface have canceled the transfer
void copyInstanceCanceledByInterface();
/// \brief the transfer have been canceled
- void copyInstanceCanceledByIndex(const int &index);
+ void copyInstanceCanceledByIndex(const unsigned int &index);
/// \brief only when the copy engine say it's ready to delete them self, it call this
void deleteCopyEngine();
// some stat update
void actionInProgess(const Ultracopier::EngineActionInProgress &action);
- void newFolderListing(const QString &path);
+ void newFolderListing(const std::string &path);
void isInPause(const bool&);
/** \brief update at periodic interval, the synchronization between copy engine and interface
@@ -178,19 +179,19 @@ class Core : public QObject
void unloadInterface();
//error occurred
- void error(const QString &path,const quint64 &size,const QDateTime &mtime,const QString &error);
+ void error(const std::string &path,const uint64_t &size,const uint64_t &mtime,const std::string &error);
//for the extra logging
- void rmPath(const QString &path);
- void mkPath(const QString &path);
+ void rmPath(const std::string &path);
+ void mkPath(const std::string &path);
/// \brief used to drag and drop files
- void urlDropped(const QList<QUrl> &urls);
+ void urlDropped(const std::vector<std::string> &urls);
/// \brief to rsync after a new interface connection
void syncReady();
- void doneTime(const QList<QPair<quint64,quint32> > &timeList);
+ void doneTime(const std::vector<std::pair<uint64_t,uint32_t> > &timeList);
- void getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> & actionList);
- void pushGeneralProgression(const quint64 &current,const quint64 &total);
+ void getActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> & actionList);
+ void pushGeneralProgression(const uint64_t &current,const uint64_t &total);
};
#endif // CORE_H
diff --git a/DebugEngine.cpp b/DebugEngine.cpp
index 2cdfaab..2168210 100644
--- a/DebugEngine.cpp
+++ b/DebugEngine.cpp
@@ -7,11 +7,13 @@
#include <QMessageBox>
#include <QFileDialog>
#include <QLocalSocket>
-#include <QRegularExpression>
+#include <regex>
+#include <iostream>
#include "Variable.h"
#include "DebugEngine.h"
#include "ExtraSocket.h"
+#include "cpp11addition.h"
#ifdef WIN32
# define __func__ __FUNCTION__
@@ -29,7 +31,7 @@
/// \brief initiate the ultracopier event dispatcher and check if no other session is running
DebugEngine::DebugEngine()
{
- fileNameCleaner=QRegularExpression(QStringLiteral("\\.\\.?[/\\\\]([^/]+[/\\\\])?"));
+ //fileNameCleaner=std::regex("\\.\\.?[/\\\\]([^/]+[/\\\\])?");
quit=false;
QStringList ultracopierArguments=QCoreApplication::arguments();
if(ultracopierArguments.size()==2)
@@ -56,12 +58,8 @@ DebugEngine::DebugEngine()
debugHtmlContent+="td {white-space:nowrap;}";
debugHtmlContent+="</style>";
debugHtmlContent+="<title>";
- #ifdef ULTRACOPIER_MODE_SUPERCOPIER
- debugHtmlContent+="Supercopier";
- #else
debugHtmlContent+="Ultracopier";
- #endif
- debugHtmlContent+=" "+QString(ULTRACOPIER_VERSION)+" "+QString(ULTRACOPIER_PLATFORM_NAME)+", debug report</title>";
+ debugHtmlContent+=" "+std::string(ULTRACOPIER_VERSION)+" "+ULTRACOPIER_PLATFORM_NAME.toStdString()+", debug report</title>";
debugHtmlContent+="</head>";
debugHtmlContent+="<body>";
debugHtmlContent+="<table>";
@@ -85,14 +83,14 @@ DebugEngine::DebugEngine()
dir.cdUp();
dir.cdUp();
dir.cd("Data");
- logFile.setFileName(dir.absolutePath()+QDir::separator()+"log.html");
- lockFile.setFileName(dir.absolutePath()+QDir::separator()+"ultracopier.lock");
+ logFile.setFileName(dir.absolutePath()+FacilityEngine::separator()+"log.html");
+ lockFile.setFileName(dir.absolutePath()+FacilityEngine::separator()+"ultracopier.lock");
fileNameIsLoaded=true;
#else
//Load the ultracopier path
QDir dir(QCoreApplication::applicationDirPath());
- logFile.setFileName(dir.absolutePath()+QDir::separator()+"log.html");
- lockFile.setFileName(dir.absolutePath()+QDir::separator()+"ultracopier.lock");
+ logFile.setFileName(dir.absolutePath()+FacilityEngine::separator()+"log.html");
+ lockFile.setFileName(dir.absolutePath()+FacilityEngine::separator()+"ultracopier.lock");
fileNameIsLoaded=true;
#endif
#else
@@ -136,10 +134,10 @@ DebugEngine::DebugEngine()
//Ask to the user
QMessageBox::StandardButton reply = QMessageBox::question(NULL,"Save the previous report",
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
- QString("Supercopier")+
+ QString("Supercopier")+
#else
- QString("Ultracopier")+
- #endif
+ QString("Ultracopier")+
+ #endif
" seam have crashed, do you want save the previous report for report it to the forum?",QMessageBox::Yes|QMessageBox::No,QMessageBox::No);
if(reply==QMessageBox::Yes)
saveBugReport();
@@ -165,7 +163,7 @@ DebugEngine::DebugEngine()
{
logFile.resize(0);
currentBackend=File;
- logFile.write(debugHtmlContent.toUtf8());
+ logFile.write(debugHtmlContent.data(),static_cast<qint64>(debugHtmlContent.size()));
}
}
}
@@ -178,7 +176,7 @@ DebugEngine::~DebugEngine()
{
removeTheLockFile();
//Finalize the log file
- logFile.write(endOfLogFile.toUtf8());
+ logFile.write(endOfLogFile.data(),static_cast<qint64>(endOfLogFile.size()));
logFile.close();
}
}
@@ -231,11 +229,11 @@ bool DebugEngine::removeTheLockFile()
return true;
}
-void DebugEngine::addDebugInformationStatic(const Ultracopier::DebugLevel &level,const QString& function,const QString& text,const QString& file,const int& ligne,const QString& location)
+void DebugEngine::addDebugInformationStatic(const Ultracopier::DebugLevel &level,const std::string& function,const std::string& text,const std::string& file,const int& ligne,const std::string& location)
{
if(DebugEngine::debugEngine==NULL)
{
- qWarning() << QStringLiteral("After close: ") << function << file << ligne;
+ std::cerr << "After close: " << function << file << ligne;
return;
}
DebugLevel_custom tempLevel=DebugLevel_custom_Information;
@@ -259,74 +257,77 @@ void DebugEngine::addDebugInformationStatic(const Ultracopier::DebugLevel &level
DebugEngine::debugEngine->addDebugInformation(tempLevel,function,text,file,ligne,location);
}
-void DebugEngine::addDebugNote(const QString& text)
+void DebugEngine::addDebugNote(const std::string& text)
{
if(DebugEngine::debugEngine==NULL)
return;
- DebugEngine::debugEngine->addDebugInformation(DebugLevel_custom_UserNote,QStringLiteral(""),text,QStringLiteral(""),-1,QStringLiteral("Core"));
+ DebugEngine::debugEngine->addDebugInformation(DebugLevel_custom_UserNote,"",text,"",-1,"Core");
}
/// \brief For add message info, this function is thread safe
-void DebugEngine::addDebugInformation(const DebugLevel_custom &level,const QString& function,const QString& text,QString file,const int& ligne,const QString& location)
+void DebugEngine::addDebugInformation(const DebugLevel_custom &level,const std::string& function,const std::string& text,std::string file,const int& ligne,const std::string& location)
{
if(DebugEngine::debugEngine==NULL)
{
- qWarning() << QStringLiteral("After close: ") << function << file << ligne;
+ std::cerr << "After close: " << function << file << ligne;
return;
}
//Remove the compiler extra patch generated
- file=file.remove(fileNameCleaner);
- QString addDebugInformation_lignestring=QString::number(ligne);
- QString addDebugInformation_fileString=file;
+ //file=file.remove(fileNameCleaner);don't clean, too many performance heart
+ std::string addDebugInformation_lignestring=std::to_string(ligne);
+ std::string addDebugInformation_fileString=file;
if(ligne!=-1)
- addDebugInformation_fileString+=QStringLiteral(":")+addDebugInformation_lignestring;
+ addDebugInformation_fileString+=":"+addDebugInformation_lignestring;
//Load the time from start
- QString addDebugInformation_time = QString::number(startTime.elapsed());
- QString addDebugInformation_htmlFormat;
+ std::string addDebugInformation_time = std::to_string(startTime.elapsed());
+ std::string addDebugInformation_htmlFormat;
bool important=true;
switch(level)
{
case DebugLevel_custom_Information:
- addDebugInformation_htmlFormat=QStringLiteral("<tr class=\"Information\"><td class=\"time\">")+addDebugInformation_time+QStringLiteral("</span></td><td>")+addDebugInformation_fileString+QStringLiteral("</td><td class=\"function\">")+function+QStringLiteral("()</td><td class=\"location\">")+location+QStringLiteral("</td><td>")+htmlEntities(text)+QStringLiteral("</td></tr>\n");
+ addDebugInformation_htmlFormat="<tr class=\"Information\"><td class=\"time\">";
break;
case DebugLevel_custom_Critical:
- addDebugInformation_htmlFormat=QStringLiteral("<tr class=\"Critical\"><td class=\"time\">")+addDebugInformation_time+QStringLiteral("</span></td><td>")+addDebugInformation_fileString+QStringLiteral("</td><td class=\"function\">")+function+QStringLiteral("()</td><td class=\"location\">")+location+QStringLiteral("</td><td>")+htmlEntities(text)+QStringLiteral("</td></tr>\n");
+ addDebugInformation_htmlFormat="<tr class=\"Critical\"><td class=\"time\">";
break;
case DebugLevel_custom_Warning:
- addDebugInformation_htmlFormat=QStringLiteral("<tr class=\"Warning\"><td class=\"time\">")+addDebugInformation_time+QStringLiteral("</span></td><td>")+addDebugInformation_fileString+QStringLiteral("</td><td class=\"function\">")+function+QStringLiteral("()</td><td class=\"location\">")+location+QStringLiteral("</td><td>")+htmlEntities(text)+QStringLiteral("</td></tr>\n");
+ addDebugInformation_htmlFormat="<tr class=\"Warning\"><td class=\"time\">";
break;
case DebugLevel_custom_Notice:
{
- addDebugInformation_htmlFormat=QStringLiteral("<tr class=\"Notice\"><td class=\"time\">")+addDebugInformation_time+QStringLiteral("</span></td><td>")+addDebugInformation_fileString+QStringLiteral("</td><td class=\"function\">")+function+QStringLiteral("()</td><td class=\"location\">")+location+QStringLiteral("</td><td>")+htmlEntities(text)+QStringLiteral("</td></tr>\n");
+ addDebugInformation_htmlFormat="<tr class=\"Notice\"><td class=\"time\">";
important=false;
}
break;
case DebugLevel_custom_UserNote:
- addDebugInformation_htmlFormat=QStringLiteral("<tr class=\"Note\"><td class=\"time\">")+addDebugInformation_time+QStringLiteral("</span></td><td>")+addDebugInformation_fileString+QStringLiteral("</td><td class=\"function\">")+function+QStringLiteral("()</td><td class=\"location\">")+location+QStringLiteral("</td><td>")+htmlEntities(text)+QStringLiteral("</td></tr>\n");
+ addDebugInformation_htmlFormat="<tr class=\"Note\"><td class=\"time\">";
break;
}
+ addDebugInformation_htmlFormat+=addDebugInformation_time+"</span></td><td>"+addDebugInformation_fileString+"</td><td class=\"function\">"+function+"()</td><td class=\"location\">"+location+"</td><td>"+htmlEntities(text)+"</td></tr>\n";
//To prevent access of string in multi-thread
{
//Show the text in console
- QString addDebugInformation_textFormat;
- addDebugInformation_textFormat = QStringLiteral("(")+addDebugInformation_time.rightJustified(8,' ')+QStringLiteral(") ");
- if(file!="" && ligne!=-1)
- addDebugInformation_textFormat += file+QStringLiteral(":")+addDebugInformation_lignestring+QStringLiteral(":");
- addDebugInformation_textFormat += function+QStringLiteral("(), (location: ")+location+QStringLiteral("): ")+text;
+ std::string addDebugInformation_textFormat;
+ if(addDebugInformation_time.size()<8)
+ addDebugInformation_time=std::string(8-addDebugInformation_time.size(),' ')+addDebugInformation_time;
+ addDebugInformation_textFormat = "("+addDebugInformation_time+") ";
+ if(!file.empty() && ligne!=-1)
+ addDebugInformation_textFormat += file+":"+addDebugInformation_lignestring+":";
+ addDebugInformation_textFormat += function+"(), (location: "+location+"): "+text;
QMutexLocker lock_mutex(&mutex);
if(currentBackend==File)
{
if(logFile.size()<ULTRACOPIER_DEBUG_MAX_ALL_SIZE*1024*1024 || (important && logFile.size()<ULTRACOPIER_DEBUG_MAX_IMPORTANT_SIZE*1024*1024))
{
- puts(qPrintable(addDebugInformation_textFormat));
- logFile.write(addDebugInformation_htmlFormat.toUtf8());
+ std::cout << addDebugInformation_textFormat << std::endl;
+ logFile.write(addDebugInformation_htmlFormat.data(),static_cast<qint64>(addDebugInformation_htmlFormat.size()));
}
}
else
{
if(debugHtmlContent.size()<ULTRACOPIER_DEBUG_MAX_ALL_SIZE*1024*1024 || (important && debugHtmlContent.size()<ULTRACOPIER_DEBUG_MAX_IMPORTANT_SIZE*1024*1024))
{
- puts(qPrintable(addDebugInformation_textFormat));
+ std::cout << addDebugInformation_textFormat << std::endl;
debugHtmlContent+=addDebugInformation_htmlFormat;
}
}
@@ -334,40 +335,41 @@ void DebugEngine::addDebugInformation(const DebugLevel_custom &level,const QStri
if(addDebugInformationCallNumber<ULTRACOPIER_DEBUG_MAX_GUI_LINE)
{
addDebugInformationCallNumber++;
- DebugModel::debugModel->addDebugInformation(startTime.elapsed(),level,function,text,file,ligne,location);
+ DebugModel::debugModel->addDebugInformation(startTime.elapsed(),level,function,text,file,static_cast<const unsigned int>(ligne),location);
}
}
}
/// \brief Get the html text info for re-show it
-QString DebugEngine::getTheDebugHtml()
+std::string DebugEngine::getTheDebugHtml()
{
if(currentBackend==File)
{
logFile.seek(0);
if(!logFile.isOpen())
ULTRACOPIER_DEBUGCONSOLE(DebugLevel_custom_Warning,"The log file is not open");
- return QString().fromUtf8(logFile.readAll().data())+endOfLogFile;
+ const QByteArray &data=logFile.readAll();
+ return std::string(data.constData(),static_cast<size_t>(data.size()))+endOfLogFile;
}
else
return debugHtmlContent+endOfLogFile;
}
/// \brief Get the html end
-QString DebugEngine::getTheDebugEnd()
+std::string DebugEngine::getTheDebugEnd()
{
return endOfLogFile;
}
/// \brief Drop the html entities
-QString DebugEngine::htmlEntities(const QString &text)
+std::string DebugEngine::htmlEntities(const std::string &text)
{
- QString newText(text);
- newText.replace('&',"&amp;");
- newText.replace('"',"&quot;");
- newText.replace('\'',"&#039;");
- newText.replace('<',"&lt;");
- newText.replace('>',"&gt;");
+ std::string newText(text);
+ stringreplaceAll(newText,"&","&amp;");
+ /*stringreplaceAll(newText,"\"","&quot;");
+ stringreplaceAll(newText,"\\","&#039;");*/
+ stringreplaceAll(newText,"<","&lt;");
+ stringreplaceAll(newText,">","&gt;");
return newText;
}
@@ -380,7 +382,7 @@ DebugEngine::Backend DebugEngine::getCurrentBackend()
bool DebugEngine::tryConnect()
{
QLocalSocket localSocket;
- localSocket.connectToServer(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME),QIODevice::WriteOnly|QIODevice::Unbuffered);
+ localSocket.connectToServer(QString::fromStdString(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME)),QIODevice::WriteOnly|QIODevice::Unbuffered);
if(localSocket.waitForConnected(1000))
{
localSocket.disconnectFromServer();
diff --git a/DebugEngine.h b/DebugEngine.h
index e39470e..7a75264 100644
--- a/DebugEngine.h
+++ b/DebugEngine.h
@@ -9,6 +9,7 @@
#include <QObject>
#include <QString>
+#include <string>
#include <QFile>
#include <QMutex>
#include <QTime>
@@ -17,6 +18,7 @@
#include <QCoreApplication>
#include <QAbstractTableModel>
#include <QRegularExpression>
+#include <regex>
#include "Variable.h"
#include "PlatformMacro.h"
@@ -32,12 +34,12 @@ public:
/// \brief the transfer item displayed
struct DebugItem
{
- int time;
+ unsigned int time;
DebugLevel_custom level;
- QString function;
- QString text;
- QString file;
- QString location;
+ std::string function;
+ std::string text;
+ std::string file;
+ std::string location;
};
static DebugModel *debugModel;
@@ -50,13 +52,13 @@ public:
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
virtual bool setData(const QModelIndex&, const QVariant&, int = Qt::EditRole);
- void addDebugInformation(const int &time, const DebugLevel_custom &level, const QString& function, const QString& text, const QString &file="", const int& ligne=-1, const QString& location="Core");
+ void addDebugInformation(const int &time, const DebugLevel_custom &level, const std::string& function, const std::string& text, const std::string &file="", const unsigned int& ligne=0, const std::string& location="Core");
void setupTheTimer();
QTimer *updateDisplayTimer;
bool displayed;
bool inWaitOfDisplay;
private:
- QList<DebugItem> list;
+ std::vector<DebugItem> list;
private slots:
void updateDisplay();
};
@@ -75,7 +77,7 @@ class DebugEngine : public QObject
~DebugEngine();
/** \brief Get the html text info for re-show it
\note This function is thread safe */
- QString getTheDebugHtml();
+ std::string getTheDebugHtml();
/// \brief Enumeration of backend
enum Backend
{
@@ -85,17 +87,17 @@ class DebugEngine : public QObject
/// \brief return the current backend
Backend getCurrentBackend();
/// \brief Get the html end
- QString getTheDebugEnd();
+ std::string getTheDebugEnd();
/** \brief For add message info, this function
\note This function is reentrant */
- static void addDebugInformationStatic(const Ultracopier::DebugLevel &level,const QString& function,const QString& text,const QString& file="",const int& ligne=-1,const QString& location="Core");
- static void addDebugNote(const QString& text);
+ static void addDebugInformationStatic(const Ultracopier::DebugLevel &level,const std::string& function,const std::string& text,const std::string& file="",const int& ligne=-1,const std::string& location="Core");
+ static void addDebugNote(const std::string& text);
static DebugEngine *debugEngine;
public slots:
/** \brief ask to the user where save the bug report
\warning This function can be only call by the graphical thread */
void saveBugReport();
- void addDebugInformation(const DebugLevel_custom &level,const QString& fonction,const QString& text,QString file="",const int& ligne=-1,const QString& location="Core");
+ void addDebugInformation(const DebugLevel_custom &level,const std::string& fonction,const std::string& text,std::string file="",const int& ligne=-1,const std::string& location="Core");
private:
/// \brief Path for log file
QFile logFile;
@@ -110,18 +112,18 @@ class DebugEngine : public QObject
/// \brief For record the start time
QTime startTime;
/// \brief String for the end of log file
- QString endOfLogFile;
+ std::string endOfLogFile;
/// \brief Drop the html entities
- QString htmlEntities(const QString &text);
+ std::string htmlEntities(const std::string &text);
/// \brief To store the debug informations
- QString debugHtmlContent;
+ std::string debugHtmlContent;
/// \brief The current backend
Backend currentBackend;
/// try connect to send to the current running instance the arguements
bool tryConnect();
int addDebugInformationCallNumber;
bool quit;
- QRegularExpression fileNameCleaner;
+ //std::regex fileNameCleaner;don't clean, too many performance heart
};
#endif // ULTRACOPIER_DEBUG
diff --git a/DebugModel.cpp b/DebugModel.cpp
index 2a7b173..5afa3ba 100644
--- a/DebugModel.cpp
+++ b/DebugModel.cpp
@@ -31,7 +31,7 @@ QVariant DebugModel::data( const QModelIndex& index, int role ) const
int row,column;
row=index.row();
column=index.column();
- if(index.parent()!=QModelIndex() || row < 0 || row >= list.count() || column < 0 || column >= COLUMN_COUNT)
+ if(index.parent()!=QModelIndex() || row < 0 || row >= (int)list.size() || column < 0 || column >= COLUMN_COUNT)
return QVariant();
const DebugItem& item = list.at(row);
@@ -45,16 +45,16 @@ QVariant DebugModel::data( const QModelIndex& index, int role ) const
return item.time;
break;
case 1:
- return item.file;
+ return QString::fromStdString(item.file);
break;
case 2:
- return item.function;
+ return QString::fromStdString(item.function);
break;
case 3:
- return item.location;
+ return QString::fromStdString(item.location);
break;
case 4:
- return item.text;
+ return QString::fromStdString(item.text);
break;
default:
return QVariant();
@@ -89,7 +89,7 @@ QVariant DebugModel::data( const QModelIndex& index, int role ) const
int DebugModel::rowCount( const QModelIndex& parent ) const
{
- return parent == QModelIndex() ? list.count() : 0;
+ return parent == QModelIndex() ? list.size() : 0;
}
QVariant DebugModel::headerData( int section, Qt::Orientation orientation, int role ) const
@@ -117,16 +117,16 @@ bool DebugModel::setData( const QModelIndex&, const QVariant&, int)
return false;
}
-void DebugModel::addDebugInformation(const int &time,const DebugLevel_custom &level,const QString& function,const QString& text,const QString &file,const int& ligne,const QString& location)
+void DebugModel::addDebugInformation(const int &time, const DebugLevel_custom &level, const std::string &function, const std::string &text, const std::string &file, const unsigned int& ligne, const std::string &location)
{
DebugItem item;
item.time=time;
item.level=level;
item.function=function;
item.text=text;
- item.file=QStringLiteral("%1:%2").arg(file).arg(ligne);
+ item.file=file+":"+std::to_string(ligne);
item.location=location;
- list << item;
+ list.push_back(item);
if(!displayed)
{
displayed=true;
diff --git a/EventDispatcher.cpp b/EventDispatcher.cpp
index 744bc6a..b2595fb 100644
--- a/EventDispatcher.cpp
+++ b/EventDispatcher.cpp
@@ -7,11 +7,13 @@
#include <QMessageBox>
#include <QWidget>
#include <QStorageInfo>
+#include <iostream>
#include "EventDispatcher.h"
#include "ExtraSocket.h"
#include "CompilerInfo.h"
#include "ThemesManager.h"
+#include "cpp11addition.h"
#ifdef Q_OS_UNIX
#include <unistd.h>
@@ -47,21 +49,54 @@ EventDispatcher::EventDispatcher()
qRegisterMetaType<Ultracopier::EngineActionInProgress>("Ultracopier::EngineActionInProgress");
qRegisterMetaType<QList<QUrl> >("QList<QUrl>");
qRegisterMetaType<Ultracopier::ItemOfCopyList>("Ultracopier::ItemOfCopyList");
- #ifdef ULTRACOPIER_CGMINER
- qRegisterMetaType<QProcess::ExitStatus>("QProcess::ExitStatus");
- qRegisterMetaType<QProcess::ProcessError>("QProcess::ProcessError");
- #endif
+ qRegisterMetaType<std::string>("std::string");
+ qRegisterMetaType<uint64_t>("uint64_t");
+ qRegisterMetaType<std::vector<Ultracopier::ProgressionItem> >("std::vector<Ultracopier::ProgressionItem>");
+ qRegisterMetaType<std::vector<Ultracopier::ReturnActionOnCopyList> >("std::vector<Ultracopier::ReturnActionOnCopyList>");
+ qRegisterMetaType<std::vector<std::string> >("std::vector<std::string>");
copyServer=new CopyListener(&optionDialog);
- connect(&localListener, &LocalListener::cli, &cliParser, &CliParser::cli,Qt::QueuedConnection);
- connect(ThemesManager::themesManager, &ThemesManager::newThemeOptions, &optionDialog, &OptionDialog::newThemeOptions);
- connect(&cliParser, &CliParser::newCopyWithoutDestination, copyServer, &CopyListener::copyWithoutDestination);
- connect(&cliParser, &CliParser::newCopy, copyServer, &CopyListener::copy);
- connect(&cliParser, &CliParser::newMoveWithoutDestination, copyServer, &CopyListener::moveWithoutDestination);
- connect(&cliParser, &CliParser::newMove, copyServer, &CopyListener::move);
- connect(copyServer, &CopyListener::newClientList, &optionDialog, &OptionDialog::newClientList);
+ if(!connect(&localListener, &LocalListener::cli, &cliParser, &CliParser::cli,Qt::QueuedConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(ThemesManager::themesManager, &ThemesManager::newThemeOptions, &optionDialog, &OptionDialog::newThemeOptions))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(&cliParser, &CliParser::newCopyWithoutDestination, copyServer, &CopyListener::copyWithoutDestination))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(&cliParser, &CliParser::newCopy, copyServer, &CopyListener::copy))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(&cliParser, &CliParser::newMoveWithoutDestination, copyServer, &CopyListener::moveWithoutDestination))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(&cliParser, &CliParser::newMove, copyServer, &CopyListener::move))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyServer, &CopyListener::newClientList, &optionDialog, &OptionDialog::newClientList))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
#ifdef ULTRACOPIER_PLUGIN_IMPORT_SUPPORT
- connect(&cliParser, &CliParser::tryLoadPlugin, PluginsManager::pluginsManager, &PluginsManager::tryLoadPlugin);
+ if(!connect(&cliParser, &CliParser::tryLoadPlugin, PluginsManager::pluginsManager, &PluginsManager::tryLoadPlugin))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
#endif
copyMoveEventIdIndex=0;
backgroundIcon=NULL;
@@ -73,33 +108,33 @@ EventDispatcher::EventDispatcher()
#endif
copyEngineList=new CopyEngineManager(&optionDialog);
core=new Core(copyEngineList);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//show the ultracopier information
#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Windows version: %1").arg(GetOSDisplayString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Windows version: "+GetOSDisplayString());
#endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("ULTRACOPIER_VERSION: ")+ULTRACOPIER_VERSION);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Qt version: %1 (%2)").arg(qVersion()).arg(QT_VERSION));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("ULTRACOPIER_PLATFORM_NAME: ")+ULTRACOPIER_PLATFORM_NAME);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Application path: %1 (%2)").arg(QCoreApplication::applicationFilePath()).arg(QCoreApplication::applicationPid()));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,COMPILERINFO);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Local socket: ")+ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME));
- #ifdef ULTRACOPIER_CGMINER
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("With cgminer"));
+ #ifdef __STDC_VERSION__
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"__STDC_VERSION__: "+std::to_string(__STDC_VERSION__));
#endif
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,std::string("ULTRACOPIER_VERSION: ")+ULTRACOPIER_VERSION);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,std::string("Qt version: ")+qVersion()+" "+std::to_string(QT_VERSION));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,std::string("ULTRACOPIER_PLATFORM_NAME: ")+ULTRACOPIER_PLATFORM_NAME.toStdString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Application path: "+QCoreApplication::applicationFilePath().toStdString()+" "+std::to_string(QCoreApplication::applicationPid()));
+ //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,COMPILERINFO);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Local socket: "+ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME));
#if defined(ULTRACOPIER_DEBUG) && defined(ULTRACOPIER_PLUGIN_ALL_IN_ONE)
- #ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Version as all in one"));
- QObjectList objectList=QPluginLoader::staticInstances();
- int index=0;
- while(index<objectList.size())
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("static plugin: %1").arg(objectList.at(index)->metaObject()->className()));
- index++;
- }
- #else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Version as all in one, direct"));
- #endif
+ #ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Version as all in one");
+ QObjectList objectList=QPluginLoader::staticInstances();
+ int index=0;
+ while(index<objectList.size())
+ {
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"static plugin: "+objectList.at(index)->metaObject()->className().toStdString());
+ index++;
+ }
+ #else
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Version as all in one, direct");
+ #endif
#endif
{
@@ -107,11 +142,11 @@ EventDispatcher::EventDispatcher()
int index=0;
while(index<mountedVolumesList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("mountSysPoint: %1").arg(mountedVolumesList.at(index).rootPath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"mountSysPoint: "+mountedVolumesList.at(index).rootPath().toStdString());
index++;
}
if(mountedVolumesList.isEmpty())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("mountSysPoint is empty"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"mountSysPoint is empty");
}
//To lunch some initialization after QApplication::exec() to quit eventually
@@ -119,17 +154,17 @@ EventDispatcher::EventDispatcher()
lunchInitFunction.setSingleShot(true);
connect(&lunchInitFunction,&QTimer::timeout,this,&EventDispatcher::initFunction,Qt::QueuedConnection);
lunchInitFunction.start();
- if(OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("Last_version_used"))!=QVariant(QStringLiteral("na")) && OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("Last_version_used"))!=QVariant(ULTRACOPIER_VERSION))
+ if(OptionEngine::optionEngine->getOptionValue("Ultracopier","Last_version_used")!="na" && OptionEngine::optionEngine->getOptionValue("Ultracopier","Last_version_used")!=ULTRACOPIER_VERSION)
{
//then ultracopier have been updated
}
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("Last_version_used"),QVariant(ULTRACOPIER_VERSION));
- int a=OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("ActionOnManualOpen")).toInt();
- if(a<0 || a>2)
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("ActionOnManualOpen"),QVariant(1));
- a=OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("GroupWindowWhen")).toInt();
- if(a<0 || a>5)
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("GroupWindowWhen"),QVariant(0));
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","Last_version_used",ULTRACOPIER_VERSION);
+ unsigned int a=stringtouint32(OptionEngine::optionEngine->getOptionValue("Ultracopier","ActionOnManualOpen"));
+ if(a>2)
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","ActionOnManualOpen","1");
+ a=stringtouint32(OptionEngine::optionEngine->getOptionValue("Ultracopier","GroupWindowWhen"));
+ if(a>5)
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","GroupWindowWhen","0");
#ifdef ULTRACOPIER_VERSION_ULTIMATE
#ifdef ULTRACOPIER_ILLEGAL
@@ -141,8 +176,8 @@ EventDispatcher::EventDispatcher()
{
while(1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("ultimate key"));
- QString key=OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("key")).toString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"ultimate key");
+ QString key=QString::fromStdString(OptionEngine::optionEngine->getOptionValue("Ultracopier","key"));
if(!key.isEmpty())
{
QCryptographicHash hash(QCryptographicHash::Sha224);
@@ -166,7 +201,7 @@ EventDispatcher::EventDispatcher()
const QByteArray &result=hash.result();
if(!result.isEmpty() && result.at(0)==0x00 && result.at(1)==0x00)
{
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("key"),key);
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","key",key.toStdString());
break;
}
}
@@ -218,7 +253,7 @@ bool EventDispatcher::shouldBeClosed()
/// \brief Quit ultracopier
void EventDispatcher::quit()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Will quit ultracopier"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Will quit ultracopier");
//disconnect(QCoreApplication::instance(),SIGNAL(aboutToQuit()),this,SLOT(quit()));
QCoreApplication::exit();
}
@@ -232,12 +267,36 @@ void EventDispatcher::initFunction()
return;
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Initialize the variable of event loop");
- connect(copyServer, &CopyListener::newCopyWithoutDestination, core, &Core::newCopyWithoutDestination,Qt::DirectConnection);
- connect(copyServer, &CopyListener::newCopy, core, &Core::newCopy,Qt::DirectConnection);
- connect(copyServer, &CopyListener::newMoveWithoutDestination, core, &Core::newMoveWithoutDestination,Qt::DirectConnection);
- connect(copyServer, &CopyListener::newMove, core, &Core::newMove,Qt::DirectConnection);
- connect(core, &Core::copyFinished, copyServer, &CopyListener::copyFinished,Qt::DirectConnection);
- connect(core, &Core::copyCanceled, copyServer, &CopyListener::copyCanceled,Qt::DirectConnection);
+ if(!connect(copyServer, &CopyListener::newCopyWithoutDestination, core, &Core::newCopyWithoutDestination,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyServer, &CopyListener::newCopy, core, &Core::newCopy,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyServer, &CopyListener::newMoveWithoutDestination, core, &Core::newMoveWithoutDestination,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyServer, &CopyListener::newMove, core, &Core::newMove,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(core, &Core::copyFinished, copyServer, &CopyListener::copyFinished,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(core, &Core::copyCanceled, copyServer, &CopyListener::copyCanceled,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
if(localListener.tryConnect())
{
stopIt=true;
@@ -252,43 +311,105 @@ void EventDispatcher::initFunction()
//connect the slot
//quit is for this object
// connect(core, &Core::newCanDoOnlyCopy, backgroundIcon, &SystrayIcon::newCanDoOnlyCopy,Qt::DirectConnection);
- connect(backgroundIcon, &SystrayIcon::quit,this,&EventDispatcher::quit);
+ if(!connect(backgroundIcon, &SystrayIcon::quit,this,&EventDispatcher::quit))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
//show option is for OptionEngine object
- connect(backgroundIcon, &SystrayIcon::showOptions, &optionDialog, &OptionDialog::show,Qt::DirectConnection);
- connect(&cliParser, &CliParser::showOptions, &optionDialog, &OptionDialog::show,Qt::DirectConnection);
- connect(copyServer, &CopyListener::listenerReady, backgroundIcon, &SystrayIcon::listenerReady,Qt::DirectConnection);
- connect(copyServer, &CopyListener::pluginLoaderReady, backgroundIcon, &SystrayIcon::pluginLoaderReady,Qt::DirectConnection);
- connect(backgroundIcon, &SystrayIcon::tryCatchCopy, copyServer, &CopyListener::listen,Qt::DirectConnection);
- connect(backgroundIcon, &SystrayIcon::tryUncatchCopy, copyServer, &CopyListener::close,Qt::DirectConnection);
- if(OptionEngine::optionEngine->getOptionValue("CopyListener","CatchCopyAsDefault").toBool())
+ if(!connect(backgroundIcon, &SystrayIcon::showOptions, &optionDialog, &OptionDialog::show,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(&cliParser, &CliParser::showOptions, &optionDialog, &OptionDialog::show,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyServer, &CopyListener::listenerReady, backgroundIcon, &SystrayIcon::listenerReady,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyServer, &CopyListener::pluginLoaderReady, backgroundIcon, &SystrayIcon::pluginLoaderReady,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(backgroundIcon, &SystrayIcon::tryCatchCopy, copyServer, &CopyListener::listen,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(backgroundIcon, &SystrayIcon::tryUncatchCopy, copyServer, &CopyListener::close,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(stringtobool(OptionEngine::optionEngine->getOptionValue("CopyListener","CatchCopyAsDefault")))
copyServer->listen();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"copyServer.oneListenerIsLoaded(): "+QString::number(copyServer->oneListenerIsLoaded()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"copyServer.oneListenerIsLoaded(): "+std::to_string(copyServer->oneListenerIsLoaded()));
//backgroundIcon->readyToListen(copyServer.oneListenerIsLoaded());
#ifdef ULTRACOPIER_DEBUG
- connect(backgroundIcon, &SystrayIcon::saveBugReport, DebugEngine::debugEngine, &DebugEngine::saveBugReport,Qt::QueuedConnection);
+ if(!connect(backgroundIcon, &SystrayIcon::saveBugReport, DebugEngine::debugEngine, &DebugEngine::saveBugReport,Qt::QueuedConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
#endif
- connect(backgroundIcon, &SystrayIcon::addWindowCopyMove, core, &Core::addWindowCopyMove,Qt::DirectConnection);
- connect(backgroundIcon, &SystrayIcon::addWindowTransfer, core, &Core::addWindowTransfer,Qt::DirectConnection);
- connect(copyEngineList, &CopyEngineManager::addCopyEngine, backgroundIcon, &SystrayIcon::addCopyEngine,Qt::DirectConnection);
- connect(copyEngineList, &CopyEngineManager::removeCopyEngine, backgroundIcon, &SystrayIcon::removeCopyEngine,Qt::DirectConnection);
+ if(!connect(backgroundIcon, &SystrayIcon::addWindowCopyMove, core, &Core::addWindowCopyMove,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(backgroundIcon, &SystrayIcon::addWindowTransfer, core, &Core::addWindowTransfer,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyEngineList, &CopyEngineManager::addCopyEngine, backgroundIcon, &SystrayIcon::addCopyEngine,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
+ if(!connect(copyEngineList, &CopyEngineManager::removeCopyEngine, backgroundIcon, &SystrayIcon::removeCopyEngine,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
#ifdef ULTRACOPIER_INTERNET_SUPPORT
- connect(&internetUpdater,&InternetUpdater::newUpdate, backgroundIcon, &SystrayIcon::newUpdate);
+ if(!connect(&internetUpdater,&InternetUpdater::newUpdate, backgroundIcon, &SystrayIcon::newUpdate))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
#endif
copyEngineList->setIsConnected();
copyServer->resendState();
+
+ connect(&cliParser, &CliParser::showSystrayMessage, backgroundIcon,&SystrayIcon::showSystrayMessage,Qt::QueuedConnection);
}
//conntect the last chance signal before quit
- connect(QCoreApplication::instance(),&QCoreApplication::aboutToQuit,this,&EventDispatcher::quit,Qt::DirectConnection);
+ if(!connect(QCoreApplication::instance(),&QCoreApplication::aboutToQuit,this,&EventDispatcher::quit,Qt::DirectConnection))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
//connect the slot for the help dialog
- connect(backgroundIcon,&SystrayIcon::showHelp,&theHelp,&HelpDialog::show);
+ if(!connect(backgroundIcon,&SystrayIcon::showHelp,&theHelp,&HelpDialog::show))
+ {
+ std::cerr << "connect error at " << __FILE__ << ":" << std::to_string(__LINE__) << std::endl;
+ abort();
+ }
#ifdef ULTRACOPIER_DEBUG
DebugModel::debugModel->setupTheTimer();
#endif
}
#ifdef Q_OS_WIN32
-QString EventDispatcher::GetOSDisplayString()
+std::string EventDispatcher::GetOSDisplayString()
{
QString Os;
OSVERSIONINFOEX osvi;
@@ -304,8 +425,8 @@ QString EventDispatcher::GetOSDisplayString()
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
bOsVersionInfoEx = GetVersionEx((OSVERSIONINFO*) &osvi);
- if(bOsVersionInfoEx == NULL)
- return QStringLiteral("Os detection blocked");
+ if(bOsVersionInfoEx == 0)
+ return "Os detection blocked";
// Call GetNativeSystemInfo if supported or GetSystemInfo otherwise.
@@ -501,12 +622,12 @@ QString EventDispatcher::GetOSDisplayString()
Os+=QStringLiteral("Windows (dwMajorVersion: %1, dwMinorVersion: %2)").arg(osvi.dwMinorVersion).arg(osvi.dwMinorVersion);
else Os+=QStringLiteral("Windows Server (dwMajorVersion: %1, dwMinorVersion: %2)").arg(osvi.dwMinorVersion).arg(osvi.dwMinorVersion);
}
- return Os;
+ return Os.toStdString();
}
#endif
#ifdef Q_OS_MAC
-QString EventDispatcher::GetOSDisplayString()
+std::string EventDispatcher::GetOSDisplayString()
{
QStringList key;
QStringList string;
@@ -520,12 +641,12 @@ QString EventDispatcher::GetOSDisplayString()
int errorColumn;
QDomDocument domDocument;
if (!domDocument.setContent(content, false, &errorStr,&errorLine,&errorColumn))
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
else
{
QDomElement root = domDocument.documentElement();
if(root.tagName()!=QStringLiteral("plist"))
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
else
{
if(root.isElement())
@@ -541,7 +662,7 @@ QString EventDispatcher::GetOSDisplayString()
if(SubChild2.isElement())
key << SubChild2.text();
else
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
SubChild2 = SubChild2.nextSiblingElement(QStringLiteral("key"));
}
SubChild2=SubChild.firstChildElement(QStringLiteral("string"));
@@ -550,29 +671,29 @@ QString EventDispatcher::GetOSDisplayString()
if(SubChild2.isElement())
string << SubChild2.text();
else
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
SubChild2 = SubChild2.nextSiblingElement(QStringLiteral("string"));
}
}
else
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
SubChild = SubChild.nextSiblingElement(QStringLiteral("property"));
}
}
else
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
}
}
}
if(key.size()!=string.size())
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
int index=0;
while(index<key.size())
{
if(key.at(index)==QStringLiteral("ProductVersion"))
- return QStringLiteral("Mac OS X ")+string.at(index);
+ return "Mac OS X "+string.at(index).toStdString();
index++;
}
- return QStringLiteral("Mac OS X");
+ return "Mac OS X";
}
#endif
diff --git a/EventDispatcher.h b/EventDispatcher.h
index b597c90..77b1948 100644
--- a/EventDispatcher.h
+++ b/EventDispatcher.h
@@ -44,7 +44,7 @@ class EventDispatcher : public QObject
/// \brief return if need be close
bool shouldBeClosed();
#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
- static QString GetOSDisplayString();
+ static std::string GetOSDisplayString();
#endif
public slots:
/// \brief Quit ultracopier
@@ -67,7 +67,7 @@ class EventDispatcher : public QObject
struct CoreSession
{
Core * CoreWindow;
- QList<int> copyMoveEventIdManaged;
+ std::vector<int> copyMoveEventIdManaged;
};
/// \brief the systray icon
SystrayIcon *backgroundIcon;
diff --git a/ExtraSocket.cpp b/ExtraSocket.cpp
index 8175c5f..ef196fa 100644
--- a/ExtraSocket.cpp
+++ b/ExtraSocket.cpp
@@ -7,10 +7,10 @@
#include <QByteArray>
#include <stdio.h>
-QString ExtraSocket::pathSocket(const QString &name)
+std::string ExtraSocket::pathSocket(const std::string &name)
{
#ifdef Q_OS_UNIX
- return name+QStringLiteral("-")+QString::number(getuid());
+ return name+"-"+std::to_string(getuid());
#else
QString userName;
@@ -18,7 +18,7 @@ QString ExtraSocket::pathSocket(const QString &name)
char uname[1024];
DWORD len=1023;
if(GetUserNameA(uname, &len)!=FALSE)
- userName=QString::fromLatin1(toHex(uname));*/
+ userName=toHex(uname);*/
QChar charTemp;
DWORD size=255;
@@ -37,7 +37,7 @@ QString ExtraSocket::pathSocket(const QString &name)
userName=tempArray.toHex();
}
delete userNameW;
- return name+QStringLiteral("-")+userName;
+ return name+"-"+userName.toStdString();
#endif
}
diff --git a/ExtraSocket.h b/ExtraSocket.h
index 4fa15e1..c8d44c5 100644
--- a/ExtraSocket.h
+++ b/ExtraSocket.h
@@ -23,7 +23,7 @@ class ExtraSocket
{
public:
/** \brief class to return always the same socket resolution */
- static QString pathSocket(const QString &name);
+ static std::string pathSocket(const std::string &name);
static char * toHex(const char *str);
};
diff --git a/FacilityEngine.cpp b/FacilityEngine.cpp
index ca6d467..8356f05 100644
--- a/FacilityEngine.cpp
+++ b/FacilityEngine.cpp
@@ -20,105 +20,115 @@ FacilityEngine::FacilityEngine()
retranslate();
}
+/// \brief separator native to the current OS
+std::string FacilityEngine::separator()
+{
+ #ifdef Q_OS_WIN32
+ return "\\";
+ #else
+ return "/";
+ #endif
+}
+
/// \brief To force the text re-translation
void FacilityEngine::retranslate()
{
//undirect translated string
- Translation_perSecond=QStringLiteral("/")+tr("s");
- Translation_tooBig=tr("Too big");
- Translation_B=tr("B");
- Translation_KB=tr("KB");
- Translation_MB=tr("MB");
- Translation_GB=tr("GB");
- Translation_TB=tr("TB");
- Translation_PB=tr("PB");
- Translation_EB=tr("EB");
- Translation_ZB=tr("ZB");
- Translation_YB=tr("YB");
- Translation_SimplifiedRemaningTime_LessThan10s=tr("Less than %10 seconds");
- Translation_SimplifiedRemaningTime_AboutSeconds=tr("About %10 seconds remaining");
- Translation_SimplifiedRemaningTime_AboutMinutes=tr("About %1 minutes remaining");
- Translation_SimplifiedRemaningTime_AboutHours=tr("About %1 hours remaining");
+ Translation_perSecond="/"+tr("s").toStdString();
+ Translation_tooBig=tr("Too big").toStdString();
+ Translation_B=tr("B").toStdString();
+ Translation_KB=tr("KB").toStdString();
+ Translation_MB=tr("MB").toStdString();
+ Translation_GB=tr("GB").toStdString();
+ Translation_TB=tr("TB").toStdString();
+ Translation_PB=tr("PB").toStdString();
+ Translation_EB=tr("EB").toStdString();
+ Translation_ZB=tr("ZB").toStdString();
+ Translation_YB=tr("YB").toStdString();
+ Translation_SimplifiedRemaningTime_LessThan10s=tr("Less than %10 seconds").toStdString();
+ Translation_SimplifiedRemaningTime_AboutSeconds=tr("About %10 seconds remaining").toStdString();
+ Translation_SimplifiedRemaningTime_AboutMinutes=tr("About %1 minutes remaining").toStdString();
+ Translation_SimplifiedRemaningTime_AboutHours=tr("About %1 hours remaining").toStdString();
//load the translations tab
- translations["Copy engine"]=tr("Copy engine");
+ translations["Copy engine"]=tr("Copy engine").toStdString();
//: a copy
- translations["Copy"]=tr("Copy");
+ translations["Copy"]=tr("Copy").toStdString();
//: a transfer
- translations["Transfer"]=tr("Transfer");
+ translations["Transfer"]=tr("Transfer").toStdString();
//: a move
- translations["Move"]=tr("Move");
- translations["Start"]=tr("Start");
- translations["Pause"]=tr("Pause");
- translations["Resume"]=tr("Resume");
- translations["Skip"]=tr("Skip");
- translations["Unlimited"]=tr("Unlimited");
- translations["Source"]=tr("Source");
- translations["Size"]=tr("Size");
- translations["Destination"]=tr("Destination");
- translations["Quit"]=tr("Quit");
- translations["Target"]=tr("Target");
- translations["Time remaining:"]=tr("Time remaining:");
- translations["Listing"]=tr("Listing");
- translations["Copying"]=tr("Copying");
- translations["Listing and copying"]=tr("Listing and copying");
- translations["Time remaining:"]=tr("Time remaining:");
+ translations["Move"]=tr("Move").toStdString();
+ translations["Start"]=tr("Start").toStdString();
+ translations["Pause"]=tr("Pause").toStdString();
+ translations["Resume"]=tr("Resume").toStdString();
+ translations["Skip"]=tr("Skip").toStdString();
+ translations["Unlimited"]=tr("Unlimited").toStdString();
+ translations["Source"]=tr("Source").toStdString();
+ translations["Size"]=tr("Size").toStdString();
+ translations["Destination"]=tr("Destination").toStdString();
+ translations["Quit"]=tr("Quit").toStdString();
+ translations["Target"]=tr("Target").toStdString();
+ translations["Time remaining:"]=tr("Time remaining:").toStdString();
+ translations["Listing"]=tr("Listing").toStdString();
+ translations["Copying"]=tr("Copying").toStdString();
+ translations["Listing and copying"]=tr("Listing and copying").toStdString();
+ translations["Time remaining:"]=tr("Time remaining:").toStdString();
//for copy engine
- translations["Ask"]=tr("Ask");
- translations["Skip"]=tr("Skip");
- translations["Overwrite"]=tr("Overwrite");
- translations["Overwrite if newer"]=tr("Overwrite if newer");
- translations["Overwrite if the last modification dates are different"]=tr("Overwrite if the last modification dates are different");
- translations["Rename"]=tr("Rename");
- translations["Put to the end of the list"]=tr("Put to the end of the list");
- translations["Select source directory"]=tr("Select source directory");
- translations["Select destination directory"]=tr("Select destination directory");
- translations["Internal error"]=tr("Internal error");
- translations["Select one or more files to open"]=tr("Select one or more files to open");
- translations["All files"]=tr("All files");
- translations["Save transfer list"]=tr("Save transfer list");
- translations["Open transfer list"]=tr("Open transfer list");
- translations["Transfer list"]=tr("Transfer list");
- translations["Error"]=tr("Error");
- translations["Not supported on this platform"]=tr("Not supported on this platform");
- translations["Completed in %1"]=tr("Completed in %1");
+ translations["Ask"]=tr("Ask").toStdString();
+ translations["Skip"]=tr("Skip").toStdString();
+ translations["Overwrite"]=tr("Overwrite").toStdString();
+ translations["Overwrite if newer"]=tr("Overwrite if newer").toStdString();
+ translations["Overwrite if the last modification dates are different"]=tr("Overwrite if the last modification dates are different").toStdString();
+ translations["Rename"]=tr("Rename").toStdString();
+ translations["Put to the end of the list"]=tr("Put to the end of the list").toStdString();
+ translations["Select source directory"]=tr("Select source directory").toStdString();
+ translations["Select destination directory"]=tr("Select destination directory").toStdString();
+ translations["Internal error"]=tr("Internal error").toStdString();
+ translations["Select one or more files to open"]=tr("Select one or more files to open").toStdString();
+ translations["All files"]=tr("All files").toStdString();
+ translations["Save transfer list"]=tr("Save transfer list").toStdString();
+ translations["Open transfer list"]=tr("Open transfer list").toStdString();
+ translations["Transfer list"]=tr("Transfer list").toStdString();
+ translations["Error"]=tr("Error").toStdString();
+ translations["Not supported on this platform"]=tr("Not supported on this platform").toStdString();
+ translations["Completed in %1"]=tr("Completed in %1").toStdString();
}
/// \brief convert size in Byte to String
-QString FacilityEngine::sizeToString(const double &size) const
+std::string FacilityEngine::sizeToString(const double &size) const
{
double size_temp=size;
if(size_temp<1024)
- return QString::number(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_byte);
+ return std::to_string((unsigned int)size_temp)+sizeUnitToString(Ultracopier::SizeUnit_byte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_KiloByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_KiloByte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_MegaByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_MegaByte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_GigaByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_GigaByte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_TeraByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_TeraByte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_PetaByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_PetaByte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_ExaByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_ExaByte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_ZettaByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_ZettaByte);
if((size_temp=size_temp/1024)<1024)
- return adaptString(size_temp)+sizeUnitToString(Ultracopier::SizeUnit_YottaByte);
+ return adaptString(static_cast<float>(size_temp))+sizeUnitToString(Ultracopier::SizeUnit_YottaByte);
return Translation_tooBig;
}
-QString FacilityEngine::adaptString(const float &size) const
+std::string FacilityEngine::adaptString(const float &size) const
{
if(size>=100)
- return QString::number(size,'f',0);
+ return QString::number(static_cast<double>(size),'f',0).toStdString();
else
- return QString::number(size,'g',3);
+ return QString::number(static_cast<double>(size),'g',3).toStdString();
}
/// \brief convert size unit to String
-QString FacilityEngine::sizeUnitToString(const Ultracopier::SizeUnit &sizeUnit) const
+std::string FacilityEngine::sizeUnitToString(const Ultracopier::SizeUnit &sizeUnit) const
{
switch(sizeUnit)
{
@@ -141,16 +151,16 @@ QString FacilityEngine::sizeUnitToString(const Ultracopier::SizeUnit &sizeUnit)
case Ultracopier::SizeUnit_YottaByte:
return Translation_YB;
default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"sizeUnit: "+QString::number(sizeUnit));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"sizeUnit: "+std::to_string(sizeUnit));
return "???";
}
}
/// \brief translate the text
-QString FacilityEngine::translateText(const QString &text) const
+std::string FacilityEngine::translateText(const std::string &text) const
{
- if(translations.contains(text))
- return translations.value(text);
+ if(translations.find(text)!=translations.cend())
+ return translations.at(text);
else
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"translation not found: "+text);
@@ -159,27 +169,27 @@ QString FacilityEngine::translateText(const QString &text) const
}
/// \brief speed to string in byte per seconds
-QString FacilityEngine::speedToString(const double &speed) const
+std::string FacilityEngine::speedToString(const double &speed) const
{
return sizeToString(speed)+Translation_perSecond;
}
/// \brief Decompose the time in second
-Ultracopier::TimeDecomposition FacilityEngine::secondsToTimeDecomposition(const quint32 &seconds) const
+Ultracopier::TimeDecomposition FacilityEngine::secondsToTimeDecomposition(const uint32_t &seconds) const
{
quint32 seconds_temp=seconds;
Ultracopier::TimeDecomposition returnValue;
- returnValue.second=seconds_temp%60;
+ returnValue.second=static_cast<uint16_t>(seconds_temp%60);
seconds_temp-=returnValue.second;
seconds_temp/=60;
- returnValue.minute=seconds_temp%60;
+ returnValue.minute=static_cast<uint16_t>(seconds_temp%60);
seconds_temp-=returnValue.minute;
seconds_temp/=60;
- returnValue.hour=seconds_temp;
+ returnValue.hour=static_cast<uint16_t>(seconds_temp);
return returnValue;
}
/// \brief have the functionality
-bool FacilityEngine::haveFunctionality(const QString &fonctionnality) const
+bool FacilityEngine::haveFunctionality(const std::string &fonctionnality) const
{
#if defined (Q_OS_WIN32)
if(fonctionnality=="shutdown")
@@ -190,7 +200,7 @@ bool FacilityEngine::haveFunctionality(const QString &fonctionnality) const
}
/// \brief call the fonctionnality
-QVariant FacilityEngine::callFunctionality(const QString &fonctionnality,const QStringList &args)
+std::string FacilityEngine::callFunctionality(const std::string &fonctionnality,const std::vector<std::string> &args)
{
#if defined (Q_OS_WIN32)
ExitWindowsEx(EWX_POWEROFF | EWX_FORCE,0);
@@ -198,44 +208,44 @@ QVariant FacilityEngine::callFunctionality(const QString &fonctionnality,const Q
#endif
Q_UNUSED(fonctionnality);
Q_UNUSED(args);
- return QVariant();
+ return std::string();
}
/// \brief Do the simplified time
-QString FacilityEngine::simplifiedRemainingTime(const quint32 &seconds) const
+std::string FacilityEngine::simplifiedRemainingTime(const uint32_t &seconds) const
{
if(seconds<50)
{
if(seconds<10)
- return Translation_SimplifiedRemaningTime_LessThan10s.arg(seconds/10+1);
+ return QString::fromStdString(Translation_SimplifiedRemaningTime_LessThan10s).arg(seconds/10+1).toStdString();
else
- return Translation_SimplifiedRemaningTime_AboutSeconds.arg(seconds/10+1);
+ return QString::fromStdString(Translation_SimplifiedRemaningTime_AboutSeconds).arg(seconds/10+1).toStdString();
}
if(seconds<3600)
- return Translation_SimplifiedRemaningTime_AboutMinutes.arg(seconds/60);
- return Translation_SimplifiedRemaningTime_AboutHours.arg(seconds/3600);
+ return QString::fromStdString(Translation_SimplifiedRemaningTime_AboutMinutes).arg(seconds/60).toStdString();
+ return QString::fromStdString(Translation_SimplifiedRemaningTime_AboutHours).arg(seconds/3600).toStdString();
}
/// \brief Return ultimate url, empty is not found or already ultimate
-QString FacilityEngine::ultimateUrl() const
+std::string FacilityEngine::ultimateUrl() const
{
#ifdef ULTRACOPIER_VERSION_ULTIMATE
- return QString();
+ return std::string();
#else
#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
- return QStringLiteral("http://ultracopier.first-world.info/shop.html");
+ return "http://ultracopier.first-world.info/shop.html";
#else
- return QString();
+ return std::string();
#endif
#endif
}
/// \brief Return the software name
-QString FacilityEngine::softwareName() const
+std::string FacilityEngine::softwareName() const
{
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
- return QStringLiteral("Supercopier");
+ return "Supercopier";
#else
- return QStringLiteral("Ultracopier");
+ return "Ultracopier";
#endif
}
diff --git a/FacilityEngine.h b/FacilityEngine.h
index 1ab658f..5b6c6a9 100644
--- a/FacilityEngine.h
+++ b/FacilityEngine.h
@@ -7,10 +7,9 @@
#ifndef FACILITYENGINE_H
#define FACILITYENGINE_H
-#include <QVariant>
-#include <QString>
-#include <QStringList>
-#include <QHash>
+#include <string>
+#include <vector>
+#include <unordered_map>
#include "interface/FacilityInterface.h"
#include "Environment.h"
@@ -25,48 +24,50 @@ class FacilityEngine : public FacilityInterface
public:
explicit FacilityEngine();
/// \brief convert size in Byte to String
- QString sizeToString(const double &size) const;
+ std::string sizeToString(const double &size) const;
/// \brief convert size unit to String
- QString sizeUnitToString(const Ultracopier::SizeUnit &sizeUnit) const;
+ std::string sizeUnitToString(const Ultracopier::SizeUnit &sizeUnit) const;
/// \brief translate the text
- QString translateText(const QString &text) const;
+ std::string translateText(const std::string &text) const;
/// \brief speed to string in byte per seconds
- QString speedToString(const double &speed) const;
+ std::string speedToString(const double &speed) const;
/// \brief Decompose the time in second
- Ultracopier::TimeDecomposition secondsToTimeDecomposition(const quint32 &seconds) const;
+ Ultracopier::TimeDecomposition secondsToTimeDecomposition(const uint32_t &seconds) const;
/// \brief have the fonctionnality
- bool haveFunctionality(const QString &fonctionnality) const;
+ bool haveFunctionality(const std::string &fonctionnality) const;
/// \brief call the fonctionnality
- QVariant callFunctionality(const QString &fonctionnality,const QStringList &args=QStringList());
+ std::string callFunctionality(const std::string &fonctionnality,const std::vector<std::string> &args=std::vector<std::string>());
/// \brief Do the simplified time
- QString simplifiedRemainingTime(const quint32 &seconds) const;
+ std::string simplifiedRemainingTime(const uint32_t &seconds) const;
/// \brief Return ultimate url, empty is not found or already ultimate
- QString ultimateUrl() const;
+ std::string ultimateUrl() const;
/// \brief Return the software name
- QString softwareName() const;
+ std::string softwareName() const;
+ /// \brief separator native to the current OS
+ static std::string separator();
static FacilityEngine facilityEngine;
private:
//undirect translated string
- QString Translation_perSecond;
- QString Translation_tooBig;
- QString Translation_B;
- QString Translation_KB;
- QString Translation_MB;
- QString Translation_GB;
- QString Translation_TB;
- QString Translation_PB;
- QString Translation_EB;
- QString Translation_ZB;
- QString Translation_YB;
+ std::string Translation_perSecond;
+ std::string Translation_tooBig;
+ std::string Translation_B;
+ std::string Translation_KB;
+ std::string Translation_MB;
+ std::string Translation_GB;
+ std::string Translation_TB;
+ std::string Translation_PB;
+ std::string Translation_EB;
+ std::string Translation_ZB;
+ std::string Translation_YB;
//simplified remaining time
- QString Translation_SimplifiedRemaningTime_LessThan10s;
- QString Translation_SimplifiedRemaningTime_AboutSeconds;
- QString Translation_SimplifiedRemaningTime_AboutMinutes;
- QString Translation_SimplifiedRemaningTime_AboutHours;
+ std::string Translation_SimplifiedRemaningTime_LessThan10s;
+ std::string Translation_SimplifiedRemaningTime_AboutSeconds;
+ std::string Translation_SimplifiedRemaningTime_AboutMinutes;
+ std::string Translation_SimplifiedRemaningTime_AboutHours;
//internal fonction
- inline QString adaptString(const float &nb) const;
- QHash<QString,QString> translations;
+ inline std::string adaptString(const float &nb) const;
+ std::unordered_map<std::string,std::string> translations;
public slots:
/// \brief To force the text re-translation
void retranslate();
diff --git a/HelpDialog.cpp b/HelpDialog.cpp
index f821eac..0e266e4 100644
--- a/HelpDialog.cpp
+++ b/HelpDialog.cpp
@@ -12,7 +12,7 @@
HelpDialog::HelpDialog() :
ui(new Ui::HelpDialog)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
ui->setupUi(this);
reloadTextValue();
#ifdef ULTRACOPIER_DEBUG
@@ -50,7 +50,7 @@ void HelpDialog::changeEvent(QEvent *e)
QDialog::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
ui->retranslateUi(this);
reloadTextValue();
break;
@@ -62,7 +62,7 @@ void HelpDialog::changeEvent(QEvent *e)
/// \brief To reload the text value
void HelpDialog::reloadTextValue()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
QString text=ui->label_ultracopier->text();
#ifdef ULTRACOPIER_VERSION_ULTIMATE
text=text.replace(QStringLiteral("%1"),QStringLiteral("Ultimate %1").arg(ULTRACOPIER_VERSION));
@@ -70,7 +70,7 @@ void HelpDialog::reloadTextValue()
text=text.replace(QStringLiteral("%1"),ULTRACOPIER_VERSION);
#endif
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
- text=text.replace(QStringLiteral("Ultracopier"),QStringLiteral("Supercopier"),Qt::CaseInsensitive);
+ text=text.replace(QStringLiteral("Ultracopier"),QStringLiteral("Supercopier"),Qt::CaseInsensitive);
#endif
ui->label_ultracopier->setText(text);
@@ -96,7 +96,7 @@ void HelpDialog::reloadTextValue()
text=ui->label_site->text();
//: This site need be the official site of ultracopier, into the right languages, english if not exists
- text=text.replace(QStringLiteral("%1"),getWebSite());
+ text=text.replace("%1",QString::fromStdString(getWebSite()));
ui->label_site->setText(text);
text=ui->label_platform->text();
@@ -104,33 +104,29 @@ void HelpDialog::reloadTextValue()
ui->label_platform->setText(text);
}
-QString HelpDialog::getWebSite()
+std::string HelpDialog::getWebSite()
{
- #ifdef ULTRACOPIER_MODE_SUPERCOPIER
- return tr("http://ultracopier.first-world.info/")+QStringLiteral("supercopier.html");
- #else
- return tr("http://ultracopier.first-world.info/");
- #endif
+ return tr("http://ultracopier.first-world.info/").toStdString();
}
-QString HelpDialog::getUpdateUrl()
+std::string HelpDialog::getUpdateUrl()
{
#if defined(ULTRACOPIER_VERSION_ULTIMATE)
- return tr("http://ultracopier.first-world.info/shop.html");
- #else
- #ifdef ULTRACOPIER_MODE_SUPERCOPIER
- return tr("http://ultracopier.first-world.info/")+QStringLiteral("supercopier.html");
- #else
- return tr("http://ultracopier.first-world.info/download.html");
- #endif
- #endif
+ return tr("http://ultracopier.first-world.info/shop.html").toStdString();
+ #else
+ #ifdef ULTRACOPIER_MODE_SUPERCOPIER
+ return tr("http://ultracopier.first-world.info/").toStdString()+"supercopier.html";
+ #else
+ return tr("http://ultracopier.first-world.info/download.html").toStdString();
+ #endif
+ #endif
}
#ifdef ULTRACOPIER_DEBUG
void HelpDialog::on_lineEditInsertDebug_returnPressed()
{
- DebugEngine::addDebugNote(ui->lineEditInsertDebug->text());
+ DebugEngine::addDebugNote(ui->lineEditInsertDebug->text().toStdString());
ui->lineEditInsertDebug->clear();
ui->debugView->scrollToBottom();
}
diff --git a/HelpDialog.h b/HelpDialog.h
index 2a2fd32..91e5dbc 100644
--- a/HelpDialog.h
+++ b/HelpDialog.h
@@ -27,8 +27,8 @@ class HelpDialog : public QDialog {
HelpDialog();
/// \brief Destruct the object
~HelpDialog();
- static QString getWebSite();
- static QString getUpdateUrl();
+ static std::string getWebSite();
+ static std::string getUpdateUrl();
protected:
/// \brief To re-translate the ui
void changeEvent(QEvent *e);
diff --git a/InternetUpdater.cpp b/InternetUpdater.cpp
index de23424..a3dbded 100644
--- a/InternetUpdater.cpp
+++ b/InternetUpdater.cpp
@@ -1,6 +1,7 @@
#include "InternetUpdater.h"
#include "EventDispatcher.h"
#include "OptionEngine.h"
+#include "cpp11addition.h"
#ifdef ULTRACOPIER_INTERNET_SUPPORT
@@ -21,39 +22,36 @@ InternetUpdater::InternetUpdater(QObject *parent) :
void InternetUpdater::downloadFile()
{
- if(!OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("checkTheUpdate")).toBool())
+ if(!stringtobool(OptionEngine::optionEngine->getOptionValue("Ultracopier","checkTheUpdate")))
return;
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
- QString name=QStringLiteral("Supercopier");
- #else
- QString name=QStringLiteral("Ultracopier");
- #endif
- QString ultracopierVersion;
+ std::string name="Supercopier";
+ #else
+ std::string name="Ultracopier";
+ #endif
+ std::string ultracopierVersion;
#ifdef ULTRACOPIER_VERSION_ULTIMATE
- ultracopierVersion=QStringLiteral("%1 Ultimate/%2").arg(name).arg(ULTRACOPIER_VERSION);
+ ultracopierVersion=name+" Ultimate/"+ULTRACOPIER_VERSION;
#else
- ultracopierVersion=QStringLiteral("%1/%2").arg(name).arg(ULTRACOPIER_VERSION);
+ ultracopierVersion=name+"/"+ULTRACOPIER_VERSION;
#endif
#ifdef ULTRACOPIER_VERSION_PORTABLE
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
- ultracopierVersion+=QStringLiteral(" portable/all-in-one");
+ ultracopierVersion+=" portable/all-in-one";
#else
- ultracopierVersion+=QStringLiteral(" portable");
+ ultracopierVersion+=" portable";
#endif
#else
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
- ultracopierVersion+=QStringLiteral(" all-in-one");
+ ultracopierVersion+=" all-in-one";
#endif
#endif
- #ifdef ULTRACOPIER_CGMINER
- ultracopierVersion+=QStringLiteral(" miner");
- #endif
#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
- ultracopierVersion+=QStringLiteral(" (OS: %1)").arg(EventDispatcher::GetOSDisplayString());
+ ultracopierVersion+=" (OS: "+EventDispatcher::GetOSDisplayString()+")";
#endif
- ultracopierVersion+=QStringLiteral(" ")+ULTRACOPIER_PLATFORM_CODE;
+ ultracopierVersion+=" "+std::string(ULTRACOPIER_PLATFORM_CODE);
QNetworkRequest networkRequest(QStringLiteral(ULTRACOPIER_UPDATER_URL));
- networkRequest.setHeader(QNetworkRequest::UserAgentHeader,ultracopierVersion);
+ networkRequest.setHeader(QNetworkRequest::UserAgentHeader,QString::fromStdString(ultracopierVersion));
networkRequest.setRawHeader("Connection", "Close");
reply = qnam.get(networkRequest);
connect(reply, &QNetworkReply::finished, this, &InternetUpdater::httpFinished);
@@ -64,7 +62,7 @@ void InternetUpdater::httpFinished()
QVariant redirectionTarget = reply->attribute(QNetworkRequest::RedirectionTargetAttribute);
if (!reply->isFinished())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("get the new update failed: not finished"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"get the new update failed: not finished");
reply->deleteLater();
return;
}
@@ -72,25 +70,25 @@ void InternetUpdater::httpFinished()
{
newUpdateTimer.stop();
newUpdateTimer.start(1000*3600*24);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("get the new update failed: %1").arg(reply->errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"get the new update failed: "+reply->errorString().toStdString());
reply->deleteLater();
return;
} else if (!redirectionTarget.isNull()) {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("redirection denied to: %1").arg(redirectionTarget.toUrl().toString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"redirection denied to: "+redirectionTarget.toUrl().toString().toStdString());
reply->deleteLater();
return;
}
QString newVersion=QString::fromUtf8(reply->readAll());
if(newVersion.isEmpty())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("version string is empty"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"version string is empty");
reply->deleteLater();
return;
}
newVersion.remove("\n");
if(!newVersion.contains(QRegularExpression(QLatin1Literal("^[0-9]+(\\.[0-9]+)+$"))))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("version string don't match: %1").arg(newVersion));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"version string don't match: "+newVersion.toStdString());
reply->deleteLater();
return;
}
@@ -99,13 +97,13 @@ void InternetUpdater::httpFinished()
reply->deleteLater();
return;
}
- if(PluginsManager::compareVersion(newVersion,QStringLiteral("<="),ULTRACOPIER_VERSION))
+ if(PluginsManager::compareVersion(newVersion.toStdString(),"<=",ULTRACOPIER_VERSION))
{
reply->deleteLater();
return;
}
newUpdateTimer.stop();
- emit newUpdate(newVersion);
+ emit newUpdate(newVersion.toStdString());
reply->deleteLater();
}
diff --git a/InternetUpdater.h b/InternetUpdater.h
index e13a5a2..25b13f4 100644
--- a/InternetUpdater.h
+++ b/InternetUpdater.h
@@ -17,7 +17,7 @@ class InternetUpdater : public QObject
public:
explicit InternetUpdater(QObject *parent = 0);
signals:
- void newUpdate(const QString &version) const;
+ void newUpdate(const std::string &version) const;
private:
QTimer newUpdateTimer;
QTimer firstUpdateTimer;
diff --git a/LanguagesManager.cpp b/LanguagesManager.cpp
index 5393e28..a8849c4 100644
--- a/LanguagesManager.cpp
+++ b/LanguagesManager.cpp
@@ -8,20 +8,21 @@
#include "LanguagesManager.h"
#include "FacilityEngine.h"
+#include "cpp11addition.h"
/// \brief Create the manager and load the defaults variables
LanguagesManager::LanguagesManager()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//load the rest
- QStringList resourcesPaths=ResourcesManager::resourcesManager->getReadPath();
- int index=0;
+ std::vector<std::string> resourcesPaths=ResourcesManager::resourcesManager->getReadPath();
+ unsigned int index=0;
while(index<resourcesPaths.size())
{
- QString composedTempPath=resourcesPaths.at(index)+QStringLiteral("Languages")+QDir::separator();
- QDir LanguagesConfiguration(composedTempPath);
+ std::string composedTempPath=resourcesPaths.at(index)+"Languages"+FacilityEngine::separator();
+ QDir LanguagesConfiguration(QString::fromStdString(composedTempPath));
if(LanguagesConfiguration.exists())
- languagePath<<composedTempPath;
+ languagePath.push_back(composedTempPath);
index++;
}
//load the plugins
@@ -32,14 +33,14 @@ LanguagesManager::LanguagesManager()
connect(PluginsManager::pluginsManager,&PluginsManager::onePluginWillBeRemoved, this, &LanguagesManager::onePluginWillBeRemoved,Qt::DirectConnection);
#endif
connect(PluginsManager::pluginsManager,&PluginsManager::pluginListingIsfinish, this, &LanguagesManager::allPluginIsLoaded,Qt::QueuedConnection);
- QList<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_Languages);
+ std::vector<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_Languages);
foreach(PluginsAvailable currentPlugin,list)
emit previouslyPluginAdded(currentPlugin);
PluginsManager::pluginsManager->unlockPluginListEdition();
//load the GUI option
- QList<QPair<QString, QVariant> > KeysList;
- KeysList.append(qMakePair(QStringLiteral("Language"),QVariant("en")));
- KeysList.append(qMakePair(QStringLiteral("Language_force"),QVariant(false)));
+ std::vector<std::pair<std::string, std::string> > KeysList;
+ KeysList.push_back(std::pair<std::string, std::string>("Language","en"));
+ KeysList.push_back(std::pair<std::string, std::string>("Language_force","false"));
OptionEngine::optionEngine->addOptionGroup("Language",KeysList);
// connect(this, &LanguagesManager::newLanguageLoaded, plugins,&PluginsManager::refreshPluginList);
// connect(this, &LanguagesManager::newLanguageLoaded, this,&LanguagesManager::retranslateTheUI);
@@ -53,9 +54,9 @@ LanguagesManager::~LanguagesManager()
}
/// \brief load the language selected, return the main short code like en, fr, ..
-QString LanguagesManager::getTheRightLanguage() const
+std::string LanguagesManager::getTheRightLanguage() const
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(LanguagesAvailableList.size()==0)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"empty combobox list, failing back to english");
@@ -63,43 +64,43 @@ QString LanguagesManager::getTheRightLanguage() const
}
else
{
- if(!OptionEngine::optionEngine->getOptionValue(QStringLiteral("Language"),QStringLiteral("Language_force")).toBool())
+ if(!stringtobool(OptionEngine::optionEngine->getOptionValue("Language","Language_force")))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("language auto-detection, QLocale::system().name(): ")+QLocale::system().name()+QStringLiteral(", QLocale::languageToString(QLocale::system().language()): ")+QLocale::languageToString(QLocale::system().language()));
- QString tempLanguage=getMainShortName(QLocale::languageToString(QLocale::system().language()));
- if(tempLanguage!=QStringLiteral(""))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"language auto-detection, QLocale::system().name(): "+QLocale::system().name().toStdString()+", QLocale::languageToString(QLocale::system().language()): "+QLocale::languageToString(QLocale::system().language()).toStdString());
+ std::string tempLanguage=getMainShortName(QLocale::languageToString(QLocale::system().language()).toStdString());
+ if(!tempLanguage.empty())
return tempLanguage;
else
{
- tempLanguage=getMainShortName(QLocale::system().name());
- if(tempLanguage!=QStringLiteral(""))
+ tempLanguage=getMainShortName(QLocale::system().name().toStdString());
+ if(!tempLanguage.empty())
return tempLanguage;
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Autodetection of the language failed, QLocale::languageToString(QLocale::system().language()): ")+QLocale::languageToString(QLocale::system().language())+QStringLiteral(", QLocale::system().name(): ")+QLocale::system().name()+", failing back to english");
- return OptionEngine::optionEngine->getOptionValue(QStringLiteral("Language"),QStringLiteral("Language")).toString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Autodetection of the language failed, QLocale::languageToString(QLocale::system().language()): "+QLocale::languageToString(QLocale::system().language()).toStdString()+", QLocale::system().name(): "+QLocale::system().name().toStdString()+", failing back to english");
+ return OptionEngine::optionEngine->getOptionValue("Language","Language");
}
}
}
else
- return OptionEngine::optionEngine->getOptionValue(QStringLiteral("Language"),QStringLiteral("Language")).toString();
+ return OptionEngine::optionEngine->getOptionValue("Language","Language");
}
}
/* \brief To set the current language
\param newLanguage Should be short name code found into informations.xml of language file */
-void LanguagesManager::setCurrentLanguage(const QString &newLanguage)
+void LanguagesManager::setCurrentLanguage(const std::string &newLanguage)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: ")+newLanguage);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+newLanguage);
//protection for re-set the same language
if(currentLanguage==newLanguage)
return;
//store the language
PluginsManager::pluginsManager->setLanguage(newLanguage);
//unload the old language
- if(currentLanguage!=QStringLiteral("en"))
+ if(currentLanguage!="en")
{
- int indexTranslator=0;
+ unsigned int indexTranslator=0;
while(indexTranslator<installedTranslator.size())
{
QCoreApplication::removeTranslator(installedTranslator.at(indexTranslator));
@@ -108,60 +109,60 @@ void LanguagesManager::setCurrentLanguage(const QString &newLanguage)
}
installedTranslator.clear();
}
- int index=0;
+ unsigned int index=0;
while(index<LanguagesAvailableList.size())
{
if(LanguagesAvailableList.at(index).mainShortName==newLanguage)
{
//load the new language
- if(newLanguage!=QStringLiteral("en"))
+ if(newLanguage!="en")
{
QTranslator *temp;
- QStringList fileToLoad;
+ std::vector<std::string> fileToLoad;
//load the language main
- if(newLanguage==QStringLiteral("en"))
- fileToLoad<<QStringLiteral(":/Languages/en/translation.qm");
+ if(newLanguage=="en")
+ fileToLoad.push_back(":/Languages/en/translation.qm");
else
- fileToLoad<<LanguagesAvailableList.at(index).path+QStringLiteral("translation.qm");
+ fileToLoad.push_back(LanguagesAvailableList.at(index).path+"translation.qm");
//load the language plugin
- QList<PluginsAvailable> listLoadedPlugins=PluginsManager::pluginsManager->getPlugins();
- int indexPluginIndex=0;
+ std::vector<PluginsAvailable> listLoadedPlugins=PluginsManager::pluginsManager->getPlugins();
+ unsigned int indexPluginIndex=0;
while(indexPluginIndex<listLoadedPlugins.size())
{
if(listLoadedPlugins.at(indexPluginIndex).category!=PluginType_Languages)
{
- QString tempPath=listLoadedPlugins.at(indexPluginIndex).path+QStringLiteral("Languages")+QDir::separator()+LanguagesAvailableList.at(index).mainShortName+QDir::separator()+QStringLiteral("translation.qm");
- if(QFile::exists(tempPath))
- fileToLoad<<tempPath;
+ std::string tempPath=listLoadedPlugins.at(indexPluginIndex).path+"Languages"+FacilityEngine::separator()+LanguagesAvailableList.at(index).mainShortName+FacilityEngine::separator()+"translation.qm";
+ if(QFile::exists(QString::fromStdString(tempPath)))
+ fileToLoad.push_back(tempPath);
}
indexPluginIndex++;
}
- int indexTranslationFile=0;
+ unsigned int indexTranslationFile=0;
while(indexTranslationFile<fileToLoad.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Translation to load: ")+fileToLoad.at(indexTranslationFile));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Translation to load: "+fileToLoad.at(indexTranslationFile));
temp=new QTranslator();
- if(!temp->load(fileToLoad.at(indexTranslationFile)) || temp->isEmpty())
+ if(!temp->load(QString::fromStdString(fileToLoad.at(indexTranslationFile))) || temp->isEmpty())
{
delete temp;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to load the translation file: ")+fileToLoad.at(indexTranslationFile));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to load the translation file: "+fileToLoad.at(indexTranslationFile));
}
else
{
QCoreApplication::installTranslator(temp);
- installedTranslator<<temp;
+ installedTranslator.push_back(temp);
}
indexTranslationFile++;
}
temp=new QTranslator();
- if(temp->load(QString("qt_")+newLanguage, QLibraryInfo::location(QLibraryInfo::TranslationsPath)) && !temp->isEmpty())
+ if(temp->load(QString("qt_")+QString::fromStdString(newLanguage), QLibraryInfo::location(QLibraryInfo::TranslationsPath)) && !temp->isEmpty())
{
QCoreApplication::installTranslator(temp);
- installedTranslator<<temp;
+ installedTranslator.push_back(temp);
}
else
{
- if(!temp->load(LanguagesAvailableList.at(index).path+QStringLiteral("qt.qm")) || temp->isEmpty())
+ if(!temp->load(QString::fromStdString(LanguagesAvailableList.at(index).path)+"qt.qm") || temp->isEmpty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to load the translation file: qt.qm, into: "+LanguagesAvailableList.at(index).path);
delete temp;
@@ -169,30 +170,31 @@ void LanguagesManager::setCurrentLanguage(const QString &newLanguage)
else
{
QCoreApplication::installTranslator(temp);
- installedTranslator<<temp;
+ installedTranslator.push_back(temp);
}
}
}
currentLanguage=newLanguage;
FacilityEngine::facilityEngine.retranslate();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("emit newLanguageLoaded()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit newLanguageLoaded()");
emit newLanguageLoaded(currentLanguage);
return;
}
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to found language: "+newLanguage+", LanguagesAvailableList.size(): "+QString::number(LanguagesAvailableList.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to found language: "+newLanguage+", LanguagesAvailableList.size(): "+std::to_string(LanguagesAvailableList.size()));
}
/// \brief check if short name is found into language
-QString LanguagesManager::getMainShortName(const QString &shortName) const
+std::string LanguagesManager::getMainShortName(const std::string &shortName) const
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<LanguagesAvailableList.size())
{
- if(LanguagesAvailableList.at(index).shortName.contains(shortName) || LanguagesAvailableList.at(index).fullName.contains(shortName))
- return LanguagesAvailableList.at(index).mainShortName;
+ const LanguagesAvailable &languagesAvailable=LanguagesAvailableList.at(index);
+ if(languagesAvailable.shortName.find(shortName)!=languagesAvailable.shortName.cend() || languagesAvailable.fullName==shortName)
+ return languagesAvailable.mainShortName;
index++;
}
return "";
@@ -201,60 +203,60 @@ QString LanguagesManager::getMainShortName(const QString &shortName) const
/// \brief load the language in languagePath
void LanguagesManager::allPluginIsLoaded()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
setCurrentLanguage(getTheRightLanguage());
}
-const QString LanguagesManager::autodetectedLanguage() const
+const std::string LanguagesManager::autodetectedLanguage() const
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("language auto-detection, QLocale::system().name(): ")+QLocale::system().name()+QStringLiteral(", QLocale::languageToString(QLocale::system().language()): ")+QLocale::languageToString(QLocale::system().language()));
- QString tempLanguage=getMainShortName(QLocale::languageToString(QLocale::system().language()));
- if(tempLanguage!=QStringLiteral(""))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"language auto-detection, QLocale::system().name(): "+QLocale::system().name().toStdString()+", QLocale::languageToString(QLocale::system().language()): "+QLocale::languageToString(QLocale::system().language()).toStdString());
+ std::string tempLanguage=getMainShortName(QLocale::languageToString(QLocale::system().language()).toStdString());
+ if(!tempLanguage.empty())
return tempLanguage;
else
{
- tempLanguage=getMainShortName(QLocale::system().name());
- if(tempLanguage!=QStringLiteral(""))
+ tempLanguage=getMainShortName(QLocale::system().name().toStdString());
+ if(!tempLanguage.empty())
return tempLanguage;
}
- return "";
+ return std::string();
}
void LanguagesManager::onePluginAdded(const PluginsAvailable &plugin)
{
if(plugin.category!=PluginType_Languages)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
QDomElement child = plugin.categorySpecific.firstChildElement(QStringLiteral("fullName"));
LanguagesAvailable temp;
if(!child.isNull() && child.isElement())
- temp.fullName=child.text();
+ temp.fullName=child.text().toStdString();
child = plugin.categorySpecific.firstChildElement(QStringLiteral("shortName"));
while(!child.isNull())
{
if(child.isElement())
{
if(child.hasAttribute("mainCode") && child.attribute(QStringLiteral("mainCode"))==QStringLiteral("true"))
- temp.mainShortName=child.text();
- temp.shortName<<child.text();
+ temp.mainShortName=child.text().toStdString();
+ temp.shortName.insert(child.text().toStdString());
}
child = child.nextSiblingElement(QStringLiteral("shortName"));
}
temp.path=plugin.path;
- if(temp.fullName.isEmpty())
+ if(temp.fullName.empty())
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"fullName empty for: "+plugin.path);
- else if(temp.path.isEmpty())
+ else if(temp.path.empty())
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"path empty for: "+plugin.path);
- else if(temp.mainShortName.isEmpty())
+ else if(temp.mainShortName.empty())
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"mainShortName empty for: "+plugin.path);
else if(temp.shortName.size()<=0)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"temp.shortName.size()<=0 for: "+plugin.path);
- else if(!QFile::exists(temp.path+QStringLiteral("flag.png")))
+ else if(!QFile::exists(QString::fromStdString(temp.path)+QStringLiteral("flag.png")))
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"flag file not found for: "+plugin.path);
- else if(!QFile::exists(temp.path+QStringLiteral("translation.qm")) && temp.mainShortName!=QStringLiteral("en"))
+ else if(!QFile::exists(QString::fromStdString(temp.path)+QStringLiteral("translation.qm")) && temp.mainShortName!="en")
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"translation not found for: "+plugin.path);
else
- LanguagesAvailableList<<temp;
+ LanguagesAvailableList.push_back(temp);
if(PluginsManager::pluginsManager->allPluginHaveBeenLoaded())
setCurrentLanguage(getTheRightLanguage());
}
@@ -262,8 +264,8 @@ void LanguagesManager::onePluginAdded(const PluginsAvailable &plugin)
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
void LanguagesManager::onePluginWillBeRemoved(const PluginsAvailable &plugin)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<LanguagesAvailableList.size())
{
if(plugin.path==LanguagesAvailableList.at(index).path)
@@ -275,11 +277,11 @@ void LanguagesManager::onePluginWillBeRemoved(const PluginsAvailable &plugin)
}
#endif
-void LanguagesManager::newOptionValue(const QString &group)
+void LanguagesManager::newOptionValue(const std::string &group)
{
- if(group==QStringLiteral("Language"))
+ if(group=="Language")
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("group: ")+group);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"group: "+group);
setCurrentLanguage(getTheRightLanguage());
}
}
diff --git a/LanguagesManager.h b/LanguagesManager.h
index 8ec893d..e7c715e 100644
--- a/LanguagesManager.h
+++ b/LanguagesManager.h
@@ -15,6 +15,7 @@
#include <QByteArray>
#include <QCoreApplication>
#include <QDir>
+#include <unordered_set>
#include "Environment.h"
#include "OptionEngine.h"
@@ -30,7 +31,7 @@ class LanguagesManager : public QObject
//public:
// QString getMainShortName();
public:
- const QString autodetectedLanguage() const;
+ const std::string autodetectedLanguage() const;
static LanguagesManager *languagesManager;
/// \brief Create the manager and load the defaults variables
LanguagesManager();
@@ -39,26 +40,26 @@ class LanguagesManager : public QObject
private:
/** \brief To set the current language
\param newLanguage Should be short name code found into informations.xml of language file */
- void setCurrentLanguage(const QString &newLanguage);
+ void setCurrentLanguage(const std::string &newLanguage);
/// \brief Structure of language
struct LanguagesAvailable
{
- QString path;
- QString fullName;
- QString mainShortName;
- QStringList shortName;
+ std::string path;
+ std::string fullName;
+ std::string mainShortName;
+ std::unordered_set<std::string> shortName;
};
/// \brief To store the language path
- QStringList languagePath;
+ std::vector<std::string> languagePath;
/// \brief To store the language detected
- QList<LanguagesAvailable> LanguagesAvailableList;
+ std::vector<LanguagesAvailable> LanguagesAvailableList;
/// \brief check if short name is found into language
- QString getMainShortName(const QString &shortName) const;
+ std::string getMainShortName(const std::string &shortName) const;
/// \brief list of installed translator
- QList<QTranslator *> installedTranslator;
- QString currentLanguage;
+ std::vector<QTranslator *> installedTranslator;
+ std::string currentLanguage;
/// \brief load the language selected
- QString getTheRightLanguage() const;
+ std::string getTheRightLanguage() const;
private slots:
/// \brief load the language in languagePath
void allPluginIsLoaded();
@@ -67,10 +68,10 @@ class LanguagesManager : public QObject
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
void onePluginWillBeRemoved(const PluginsAvailable &plugin);
#endif
- void newOptionValue(const QString &group);
+ void newOptionValue(const std::string &group);
signals:
//send the language is loaded or the new language is loaded
- void newLanguageLoaded(const QString &mainShortName) const;
+ void newLanguageLoaded(const std::string &mainShortName) const;
void previouslyPluginAdded(PluginsAvailable) const;
};
diff --git a/LocalListener.cpp b/LocalListener.cpp
index 21dc09b..4a418aa 100644
--- a/LocalListener.cpp
+++ b/LocalListener.cpp
@@ -24,21 +24,32 @@ LocalListener::~LocalListener()
if(localServer.isListening())
{
localServer.close();
- if(!QLocalServer::removeServer(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME)))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("Unable to remove the listening server"));
+ if(!QLocalServer::removeServer(QString::fromStdString(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME))))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the listening server");
}
}
bool LocalListener::tryConnect()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
QStringList ultracopierArguments=QCoreApplication::arguments();
//remove excutable path because is useless (unsafe to use)
ultracopierArguments.removeFirst();
//add the current path to file full path resolution if needed
ultracopierArguments.insert(0,QDir::currentPath());
+
+ std::vector<std::string> ultracopierArgumentsStd;
+ {
+ int index=0;
+ while(index<ultracopierArguments.size())
+ {
+ ultracopierArgumentsStd.push_back(ultracopierArguments.at(index).toStdString());
+ index++;
+ }
+ }
+
QLocalSocket localSocket;
- localSocket.connectToServer(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME),QIODevice::WriteOnly);
+ localSocket.connectToServer(QString::fromStdString(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME)),QIODevice::WriteOnly);
if(localSocket.waitForConnected(1000))
{
if(!localSocket.isValid())
@@ -46,11 +57,11 @@ bool LocalListener::tryConnect()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"localSocket is not valid!");
return false;
}
- emit cli(ultracopierArguments,false,true);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"connection succes, number arguments given: "+QString::number(ultracopierArguments.size()));
+ emit cli(ultracopierArgumentsStd,false,true);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"connection succes, number arguments given: "+std::to_string(ultracopierArgumentsStd.size()));
#ifdef ULTRACOPIER_DEBUG
for (int i = 0; i < ultracopierArguments.size(); ++i) {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"argument["+QString::number(i)+"]: "+ultracopierArguments.at(i));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"argument["+std::to_string(i)+"]: "+ultracopierArgumentsStd.at(i));
}
#endif // ULTRACOPIER_DEBUG
//cut string list and send it as block of 32KB
@@ -66,17 +77,20 @@ bool LocalListener::tryConnect()
do
{
QByteArray blockToSend;
- int byteWriten;
blockToSend=block.left(32*1024);//32KB
block.remove(0,blockToSend.size());
- byteWriten = localSocket.write(blockToSend);
+ #ifdef ULTRACOPIER_DEBUG
+ int byteWriten =
+ #endif
+ localSocket.write(blockToSend);
#ifdef ULTRACOPIER_DEBUG
if(!localSocket.isValid())
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"localSocket is not valid!");
if(localSocket.errorString()!="Unknown error" && localSocket.errorString()!="")
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"localSocket->errorString(): "+localSocket.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"localSocket->errorString(): "+localSocket.errorString().toStdString());
if(blockToSend.size()!=byteWriten)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"blockToSend("+QString::number(blockToSend.size())+")!=byteWriten("+QString::number(byteWriten)+")");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"blockToSend("+std::to_string(blockToSend.size())+
+ ")!=byteWriten("+std::to_string(byteWriten)+")");
#endif // ULTRACOPIER_DEBUG
if(localSocket.waitForBytesWritten(200))
{
@@ -87,8 +101,9 @@ bool LocalListener::tryConnect()
QMessageBox::critical(NULL,"Alert","No arguments send because timeout detected!");
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Block not send correctly");
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"blockToSend: "+QString(blockToSend.toHex()));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"byteWriten: "+QString::number(byteWriten)+", size sending: "+QString::number(blockToSend.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"blockToSend: "+blockToSend.toHex().toStdString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"byteWriten: "+std::to_string(byteWriten)+
+ ", size sending: "+std::to_string(blockToSend.size()));
}
while(block.size());
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"disconnect the socket");
@@ -97,8 +112,8 @@ bool LocalListener::tryConnect()
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("connection failed, continu..."));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("ultracopierArguments: ")+ultracopierArguments.join(";"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"connection failed, continue...");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"ultracopierArguments: "+ultracopierArguments.join(";").toStdString());
return false;
}
}
@@ -106,17 +121,18 @@ bool LocalListener::tryConnect()
/// the listen server
void LocalListener::listenServer()
{
- if(!QLocalServer::removeServer(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME)))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to remove the listening server"));
+ if(!QLocalServer::removeServer(QString::fromStdString(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME))))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the listening server");
#ifndef Q_OS_MAC
localServer.setSocketOptions(QLocalServer::UserAccessOption);
#endif
- if(!localServer.listen(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME)))
+ if(!localServer.listen(QString::fromStdString(ExtraSocket::pathSocket(ULTRACOPIER_SOCKETNAME))))
{
#ifndef Q_OS_MAC
//QMessageBox::critical(NULL,"Alert",QStringLiteral("Ultracopier have not able to lock unique instance: %1").arg(localServer.errorString()));
#endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("Ultracopier have not able to lock unique instance: %1, error code: %2").arg(localServer.errorString()).arg((qint32)localServer.serverError()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Ultracopier have not able to lock unique instance: "+localServer.errorString().toStdString()+
+ ", error code: "+std::to_string((int32_t)localServer.serverError()));
}
else
connect(&localServer, &QLocalServer::newConnection, this, &LocalListener::newConnexion);
@@ -125,19 +141,19 @@ void LocalListener::listenServer()
//the time is done
void LocalListener::timeoutDectected()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"start");
if(clientList.size()>0)
{
- int index=0;
+ unsigned int index=0;
bool haveData=false;
while(index<clientList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"clientList.first().size: "+QString::number(clientList.first().size));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"clientList.first().size: "+std::to_string(clientList.front().size));
if(!clientList.at(index).data.isEmpty() || clientList.at(index).haveData)
{
haveData=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Timeout while recomposing data from connected clients: %1").arg(QString(clientList.at(index).data.toHex())));
- clientList.removeFirst();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Timeout while recomposing data from connected clients: "+clientList.at(index).data.toHex().toStdString());
+ clientList.erase(clientList.cbegin());
}
else
index++;
@@ -150,23 +166,23 @@ void LocalListener::timeoutDectected()
/// \brief Data is incomming
void LocalListener::dataIncomming()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"start");
// 1 : we get packets from client
//Which client send the message (Search of the QLocalSocket of client)
QLocalSocket *socket = qobject_cast<QLocalSocket *>(sender());
if (socket == 0) // If not found
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("bad socket"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"bad socket");
return;
}
int index=-1;
- for (int i=0;i<clientList.size(); ++i) {
+ for (unsigned int i=0;i<clientList.size(); ++i) {
if(clientList.at(i).socket==socket)
index=i;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("socket->bytesAvailable() ")+QString::number(socket->bytesAvailable()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"socket->bytesAvailable() "+std::to_string(socket->bytesAvailable()));
if(index!=-1)
{
if(!clientList.at(index).haveData)
@@ -191,36 +207,56 @@ void LocalListener::dataIncomming()
clientList[index].haveData=true;
clientList[index].data.append(socket->readAll());
TimeOutQLocalSocket.start();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Need wait to recomposite: "+QString::number(clientList.at(index).data.size())+", targeted: "+QString::number(clientList.at(index).size));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"tempComposed.data: "+QString(clientList.at(index).data.toHex()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Need wait to recomposite: "+std::to_string(clientList.at(index).data.size())+
+ ", targeted: "+std::to_string(clientList.at(index).size));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"tempComposed.data: "+clientList.at(index).data.toHex().toStdString());
}
else if(socket->bytesAvailable() == clientList.at(index).size) //if the size match
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"socket->bytesAvailable(): "+QString::number(socket->bytesAvailable())+", for total of: "+QString::number(socket->bytesAvailable()+sizeof(quint32)));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"socket->bytesAvailable(): "+std::to_string(socket->bytesAvailable())+
+ ", for total of: "+std::to_string(socket->bytesAvailable()+sizeof(uint32_t)));
QStringList ultracopierArguments;
in >> ultracopierArguments;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"ultracopierArguments: "+ultracopierArguments.join(";"));
- emit cli(ultracopierArguments,true,false);
+ std::vector<std::string> ultracopierArgumentsStd;
+ {
+ int index=0;
+ while(index<ultracopierArguments.size())
+ {
+ ultracopierArgumentsStd.push_back(ultracopierArguments.at(index).toStdString());
+ index++;
+ }
+ }
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"ultracopierArguments: "+ultracopierArguments.join(";").toStdString());
+ emit cli(ultracopierArgumentsStd,true,false);
clientList[index].data.clear();
clientList[index].haveData=false;
TimeOutQLocalSocket.stop();
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("socket->bytesAvailable(): ")+QString::number(socket->bytesAvailable())+QStringLiteral(" > clientList.at(index).size!: ")+QString::number(clientList.at(index).size));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"socket->bytesAvailable(): "+std::to_string(socket->bytesAvailable())+" > clientList.at(index).size!: "+std::to_string(clientList.at(index).size));
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Query recomposed with this size: ")+QString::number(clientList.at(index).data.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Query recomposed with this size: "+std::to_string(clientList.at(index).data.size()));
clientList[index].data.append(socket->readAll());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Query recomposed with this size: ")+QString::number(clientList.at(index).data.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Query recomposed with this size: "+std::to_string(clientList.at(index).data.size()));
if(clientList.at(index).data.size()==clientList.at(index).size)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("QByteArray reconstruction finished"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"QByteArray reconstruction finished");
QDataStream in(clientList.at(index).data);
QStringList ultracopierArguments;
in >> ultracopierArguments;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("ultracopierArguments: ")+ultracopierArguments.join(";"));
- emit cli(ultracopierArguments,true,false);
+ std::vector<std::string> ultracopierArgumentsStd;
+ {
+ int index=0;
+ while(index<ultracopierArguments.size())
+ {
+ ultracopierArgumentsStd.push_back(ultracopierArguments.at(index).toStdString());
+ index++;
+ }
+ }
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"ultracopierArguments: "+ultracopierArguments.join(";").toStdString());
+ emit cli(ultracopierArgumentsStd,true,false);
clientList[index].data.clear();
clientList[index].haveData=false;
TimeOutQLocalSocket.stop();
@@ -228,28 +264,28 @@ void LocalListener::dataIncomming()
else
{
TimeOutQLocalSocket.start();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Need wait to recomposite: ")+QString::number(clientList.at(index).data.size())+QStringLiteral(", targeted: ")+QString::number(clientList.at(index).size));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Need wait to recomposite: "+std::to_string(clientList.at(index).data.size())+", targeted: "+std::to_string(clientList.at(index).size));
return;
}
}
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Socket not found???"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Socket not found???");
}
/// \brief Deconnexion client
/// \todo Remove the data in wait linker with this socket
void LocalListener::deconnectClient()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
// Wich client leave
QLocalSocket *socket = qobject_cast<QLocalSocket *>(sender());
if (socket == 0) // If not found
return;
- for (int i = 0; i < clientList.size(); ++i) {
+ for (unsigned int i = 0; i < clientList.size(); ++i) {
if(clientList.at(i).socket==socket)
- clientList.removeAt(i);
+ clientList.erase(clientList.cbegin()+i);
}
socket->deleteLater();
}
@@ -257,7 +293,7 @@ void LocalListener::deconnectClient()
/// LocalListener New connexion
void LocalListener::newConnexion()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"start");
ComposedData newClient;
newClient.socket = localServer.nextPendingConnection();
#ifdef ULTRACOPIER_DEBUG
@@ -269,7 +305,7 @@ void LocalListener::newConnexion()
connect(newClient.socket, &QLocalSocket::disconnected, this, &LocalListener::deconnectClient);
newClient.size=-1;
newClient.haveData=false;
- clientList << newClient;
+ clientList.push_back(newClient);
}
#ifdef ULTRACOPIER_DEBUG
@@ -281,9 +317,9 @@ void LocalListener::error(const QLocalSocket::LocalSocketError &theErrorDefine)
{
QLocalSocket *client=qobject_cast<QLocalSocket *>(QObject::sender());
if(client!=NULL)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Value:"+QString::number(theErrorDefine)+", Error message: "+client->errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Value:"+std::to_string(theErrorDefine)+", Error message: "+client->errorString().toStdString());
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Value:"+QString::number(theErrorDefine));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Value:"+std::to_string(theErrorDefine));
}
}
#endif
@@ -291,11 +327,22 @@ void LocalListener::error(const QLocalSocket::LocalSocketError &theErrorDefine)
/// \can now parse the cli
void LocalListener::allPluginIsloaded()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
QStringList ultracopierArguments=QCoreApplication::arguments();
//remove excutable path because is useless (unsafe to use)
ultracopierArguments.removeFirst();
//add the current path to file full path resolution if needed
ultracopierArguments.insert(0,QDir::currentPath());
- emit cli(ultracopierArguments,false,false);
+
+ std::vector<std::string> ultracopierArgumentsStd;
+ {
+ int index=0;
+ while(index<ultracopierArguments.size())
+ {
+ ultracopierArgumentsStd.push_back(ultracopierArguments.at(index).toStdString());
+ index++;
+ }
+ }
+
+ emit cli(ultracopierArgumentsStd,false,false);
}
diff --git a/LocalListener.h b/LocalListener.h
index cc23dde..9f91a95 100644
--- a/LocalListener.h
+++ b/LocalListener.h
@@ -41,7 +41,7 @@ private:
int size;
bool haveData;
} ComposedData;
- QList<ComposedData> clientList;
+ std::vector<ComposedData> clientList;
private slots:
//the time is done
void timeoutDectected();
@@ -56,10 +56,10 @@ private slots:
\param theErrorDefine The error define */
void error(const QLocalSocket::LocalSocketError &theErrorDefine);
#endif
- /// \can now parse the cli
+ /// can now parse the cli
void allPluginIsloaded();
signals:
- void cli(const QStringList &ultracopierArguments,const bool &external,const bool &onlyCheck) const;
+ void cli(const std::vector<std::string> &ultracopierArguments,const bool &external,const bool &onlyCheck) const;
};
#endif // LOCALLISTENER_H
diff --git a/LocalPluginOptions.cpp b/LocalPluginOptions.cpp
index 5e25bf0..f981e0b 100644
--- a/LocalPluginOptions.cpp
+++ b/LocalPluginOptions.cpp
@@ -5,9 +5,9 @@
#include "LocalPluginOptions.h"
-LocalPluginOptions::LocalPluginOptions(const QString &group)
+LocalPluginOptions::LocalPluginOptions(const std::string &group)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start(\"")+group+QStringLiteral("\",[...])"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start(\""+group+"\",[...])");
groupOptionAdded=false;
this->group=group;
connect(OptionEngine::optionEngine,&OptionEngine::resetOptions,this,&OptionInterface::resetOptions);
@@ -23,12 +23,12 @@ LocalPluginOptions::~LocalPluginOptions()
}
/// \brief To add option group to options
-bool LocalPluginOptions::addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList)
+bool LocalPluginOptions::addOptionGroup(const std::vector<std::pair<std::string, std::string> > &KeysList)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start(\"")+group+QStringLiteral("\",[...])"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start(\""+group+"\",[...])");
if(groupOptionAdded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("Group already added!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Group already added!");
return false;
}
else
@@ -39,13 +39,13 @@ bool LocalPluginOptions::addOptionGroup(const QList<QPair<QString, QVariant> > &
}
/// \brief To get option value
-QVariant LocalPluginOptions::getOptionValue(const QString &variableName) const
+std::string LocalPluginOptions::getOptionValue(const std::string &variableName) const
{
return OptionEngine::optionEngine->getOptionValue(group,variableName);
}
/// \brief To set option value
-void LocalPluginOptions::setOptionValue(const QString &variableName,const QVariant &value)
+void LocalPluginOptions::setOptionValue(const std::string &variableName,const std::string &value)
{
OptionEngine::optionEngine->setOptionValue(group,variableName,value);
}
diff --git a/LocalPluginOptions.h b/LocalPluginOptions.h
index 623f418..9f30f2f 100644
--- a/LocalPluginOptions.h
+++ b/LocalPluginOptions.h
@@ -21,19 +21,19 @@ class LocalPluginOptions : public OptionInterface
{
Q_OBJECT
public:
- explicit LocalPluginOptions(const QString &group);
+ explicit LocalPluginOptions(const std::string &group);
~LocalPluginOptions();
/// \brief To add option group to options
- bool addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList);
+ bool addOptionGroup(const std::vector<std::pair<std::string, std::string> > &KeysList);
/*/// \brief To remove option group to options, removed to the load plugin
bool removeOptionGroup();*/
/// \brief To get option value
- QVariant getOptionValue(const QString &variableName) const;
+ std::string getOptionValue(const std::string &variableName) const;
/// \brief To set option value
- void setOptionValue(const QString &variableName,const QVariant &value);
+ void setOptionValue(const std::string &variableName,const std::string &value);
protected:
//for the options
- QString group;
+ std::string group;
bool groupOptionAdded;
/*public slots:-> disabled because the value will not externaly changed, then useless notification
void newOptionValue(QString group,QString variable,QVariant value);*/
diff --git a/LogThread.cpp b/LogThread.cpp
index 4af7550..234ccbf 100644
--- a/LogThread.cpp
+++ b/LogThread.cpp
@@ -6,6 +6,7 @@
#include "LogThread.h"
#include "ResourcesManager.h"
#include "OptionEngine.h"
+#include "cpp11addition.h"
#ifdef Q_OS_WIN32
#ifndef NOMINMAX
@@ -15,29 +16,29 @@
#endif
#include <QMessageBox>
-QString LogThread::text_header_copy=QStringLiteral("[Copy] ");
-QString LogThread::text_header_move=QStringLiteral("[Move] ");
-QString LogThread::text_header_skip=QStringLiteral("[Skip] ");
-QString LogThread::text_header_stop=QStringLiteral("[Stop] ");
-QString LogThread::text_header_error=QStringLiteral("[Error] ");
-QString LogThread::text_header_MkPath=QStringLiteral("[MkPath] ");
-QString LogThread::text_header_RmPath=QStringLiteral("[RmPath] ");
+std::string LogThread::text_header_copy="[Copy] ";
+std::string LogThread::text_header_move="[Move] ";
+std::string LogThread::text_header_skip="[Skip] ";
+std::string LogThread::text_header_stop="[Stop] ";
+std::string LogThread::text_header_error="[Error] ";
+std::string LogThread::text_header_MkPath="[MkPath] ";
+std::string LogThread::text_header_RmPath="[RmPath] ";
-QString LogThread::text_var_source=QStringLiteral("%source%");
-QString LogThread::text_var_size=QStringLiteral("%size%");
-QString LogThread::text_var_destination=QStringLiteral("%destination%");
-QString LogThread::text_var_path=QStringLiteral("%path%");
-QString LogThread::text_var_error=QStringLiteral("%error%");
-QString LogThread::text_var_mtime=QStringLiteral("%mtime%");
-QString LogThread::text_var_time=QStringLiteral("%time%");
-QString LogThread::text_var_timestring=QStringLiteral("%dd.MM.yyyy h:m:s%");
+std::string LogThread::text_var_source="%source%";
+std::string LogThread::text_var_size="%size%";
+std::string LogThread::text_var_destination="%destination%";
+std::string LogThread::text_var_path="%path%";
+std::string LogThread::text_var_error="%error%";
+std::string LogThread::text_var_mtime="%mtime%";
+std::string LogThread::text_var_time="%time%";
+std::string LogThread::text_var_timestring="%dd.MM.yyyy h:m:s%";
#ifdef Q_OS_WIN32
-QString LogThread::text_var_computer=QStringLiteral("%computer%");
-QString LogThread::text_var_user=QStringLiteral("%user%");
+std::string LogThread::text_var_computer="%computer%";
+std::string LogThread::text_var_user="%user%";
#endif
-QString LogThread::text_var_operation=QStringLiteral("%operation%");
-QString LogThread::text_var_rmPath=QStringLiteral("%rmPath%");
-QString LogThread::text_var_mkPath=QStringLiteral("%mkPath%");
+std::string LogThread::text_var_operation="%operation%";
+std::string LogThread::text_var_rmPath="%rmPath%";
+std::string LogThread::text_var_mkPath="%mkPath%";
LogThread::LogThread()
{
@@ -52,36 +53,36 @@ LogThread::LogThread()
connect(this, &LogThread::newData, this,&LogThread::realDataWrite,Qt::QueuedConnection);
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("transfer"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("transfer")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("error"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("error")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("folder"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("folder")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("sync"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("sync")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("transfer_format"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("transfer_format")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("error_format"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("error_format")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("folder_format"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("folder_format")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("sync"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("sync")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("enabled"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("enabled")));
+ newOptionValue("Write_log", "transfer", OptionEngine::optionEngine->getOptionValue("Write_log","transfer"));
+ newOptionValue("Write_log", "error", OptionEngine::optionEngine->getOptionValue("Write_log","error"));
+ newOptionValue("Write_log", "folder", OptionEngine::optionEngine->getOptionValue("Write_log","folder"));
+ newOptionValue("Write_log", "sync", OptionEngine::optionEngine->getOptionValue("Write_log","sync"));
+ newOptionValue("Write_log", "transfer_format", OptionEngine::optionEngine->getOptionValue("Write_log","transfer_format"));
+ newOptionValue("Write_log", "error_format", OptionEngine::optionEngine->getOptionValue("Write_log","error_format"));
+ newOptionValue("Write_log", "folder_format", OptionEngine::optionEngine->getOptionValue("Write_log","folder_format"));
+ newOptionValue("Write_log", "sync", OptionEngine::optionEngine->getOptionValue("Write_log","sync"));
+ newOptionValue("Write_log", "enabled", OptionEngine::optionEngine->getOptionValue("Write_log","enabled"));
#ifdef Q_OS_WIN32
DWORD size=0;
WCHAR * computerNameW=new WCHAR[size];
if(GetComputerNameW(computerNameW,&size))
- computer=QString::fromWCharArray(computerNameW,size-1);
+ computer=QString::fromWCharArray(computerNameW,size-1).toStdString();
else
- computer=QStringLiteral("Unknown computer");
+ computer="Unknown computer";
delete computerNameW;
WCHAR * userNameW=new WCHAR[size];
if(GetUserNameW(userNameW,&size))
- user=QString::fromWCharArray(userNameW,size-1);
+ user=QString::fromWCharArray(userNameW,size-1).toStdString();
else
- user=QStringLiteral("Unknown user");
+ user="Unknown user";
delete userNameW;
#endif
#ifdef Q_OS_WIN32
- lineReturn=QStringLiteral("\r\n");
+ lineReturn="\r\n";
#else
- lineReturn=QStringLiteral("\n");
+ lineReturn="\n";
#endif
}
@@ -99,41 +100,41 @@ bool LogThread::logTransfer() const
void LogThread::openLogs()
{
- if(OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("enabled")).toBool()==false)
+ if(stringtobool(OptionEngine::optionEngine->getOptionValue("Write_log","enabled"))==false)
return;
if(log.isOpen())
{
QMessageBox::critical(NULL,tr("Error"),tr("Log file already open, error: %1").arg(log.errorString()));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("log file already open, error: %1").arg(log.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"log file already open, error: "+log.errorString().toStdString());
return;
}
- log.setFileName(OptionEngine::optionEngine->getOptionValue("Write_log","file").toString());
+ log.setFileName(QString::fromStdString(OptionEngine::optionEngine->getOptionValue("Write_log","file")));
if(sync)
{
if(!log.open(QIODevice::WriteOnly|QIODevice::Unbuffered))
{
QMessageBox::critical(NULL,tr("Error"),tr("Unable to open the log file, error: %1").arg(log.errorString()));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("Unable to open the log file, error: %1").arg(log.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to open the log file, error: "+log.errorString().toStdString());
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"opened log: "+OptionEngine::optionEngine->getOptionValue("Write_log","file").toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"opened log: "+OptionEngine::optionEngine->getOptionValue("Write_log","file"));
}
else
{
if(!log.open(QIODevice::WriteOnly))
{
QMessageBox::critical(NULL,tr("Error"),tr("Unable to open the log file, error: %1").arg(log.errorString()));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("Unable to open the log file, error: %1").arg(log.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to open the log file, error: "+log.errorString().toStdString());
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("opened log: ")+OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("file")).toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"opened log: "+OptionEngine::optionEngine->getOptionValue("Write_log","file"));
}
}
void LogThread::closeLogs()
{
if(log.isOpen() && data.size()>0)
- log.write(data.toUtf8());
+ log.write(data.data(),data.size());
log.close();
}
@@ -141,16 +142,17 @@ void LogThread::newTransferStart(const Ultracopier::ItemOfCopyList &item)
{
if(!logTransfer())
return;
- QString text;
+ std::string text;
if(item.mode==Ultracopier::Copy)
text=LogThread::text_header_copy+transfer_format+lineReturn;
else
text=LogThread::text_header_move+transfer_format+lineReturn;
text=replaceBaseVar(text);
//Variable is %source%, %size%, %destination%
- text=text.replace(LogThread::text_var_source,item.sourceFullPath);
- text=text.replace(LogThread::text_var_size,QString::number(item.size));
- text=text.replace(LogThread::text_var_destination,item.destinationFullPath);
+ stringreplaceAll(text,LogThread::text_var_source,item.sourceFullPath);
+ stringreplaceAll(text,LogThread::text_var_size,std::to_string(item.size));
+ stringreplaceAll(text,LogThread::text_var_destination,item.destinationFullPath);
+ stringreplaceAll(text,LogThread::text_var_time,QDateTime::currentDateTime().toString(QString::fromStdString(LogThread::text_var_timestring)).toStdString());
emit newData(text);
}
@@ -159,12 +161,13 @@ void LogThread::transferSkip(const Ultracopier::ItemOfCopyList &item)
{
if(!logTransfer())
return;
- QString text=LogThread::text_header_skip+transfer_format+lineReturn;
+ std::string text=LogThread::text_header_skip+transfer_format+lineReturn;
text=replaceBaseVar(text);
//Variable is %source%, %size%, %destination%
- text=text.replace(LogThread::text_var_source,item.sourceFullPath);
- text=text.replace(LogThread::text_var_size,QString::number(item.size));
- text=text.replace(LogThread::text_var_destination,item.destinationFullPath);
+ stringreplaceAll(text,LogThread::text_var_source,item.sourceFullPath);
+ stringreplaceAll(text,LogThread::text_var_size,std::to_string(item.size));
+ stringreplaceAll(text,LogThread::text_var_destination,item.destinationFullPath);
+ stringreplaceAll(text,LogThread::text_var_time,QDateTime::currentDateTime().toString(QString::fromStdString(LogThread::text_var_timestring)).toStdString());
emit newData(text);
}
@@ -172,26 +175,28 @@ void LogThread::newTransferStop(const Ultracopier::ItemOfCopyList &item)
{
if(!logTransfer())
return;
- QString text=LogThread::text_header_stop+transfer_format+lineReturn;
+ std::string text=LogThread::text_header_stop+transfer_format+lineReturn;
text=replaceBaseVar(text);
//Variable is %source%, %size%, %destination%
- text=text.replace(LogThread::text_var_source,item.sourceFullPath);
- text=text.replace(LogThread::text_var_size,QString::number(item.size));
- text=text.replace(LogThread::text_var_destination,item.destinationFullPath);
+ stringreplaceAll(text,LogThread::text_var_source,item.sourceFullPath);
+ stringreplaceAll(text,LogThread::text_var_size,std::to_string(item.size));
+ stringreplaceAll(text,LogThread::text_var_destination,item.destinationFullPath);
+ stringreplaceAll(text,LogThread::text_var_time,QDateTime::currentDateTime().toString(QString::fromStdString(LogThread::text_var_timestring)).toStdString());
emit newData(text);
}
-void LogThread::error(const QString &path,const quint64 &size,const QDateTime &mtime,const QString &error)
+void LogThread::error(const std::string &path,const uint64_t &size,const uint64_t &mtime,const std::string &error)
{
if(!log_enable_error)
return;
- QString text=LogThread::text_header_error+error_format+lineReturn;
+ std::string text=LogThread::text_header_error+error_format+lineReturn;
text=replaceBaseVar(text);
//Variable is %path%, %size%, %mtime%, %error%
- text=text.replace(LogThread::text_var_path,path);
- text=text.replace(LogThread::text_var_size,QString::number(size));
- text=text.replace(LogThread::text_var_mtime,mtime.toString(Qt::ISODate));
- text=text.replace(LogThread::text_var_error,error);
+ stringreplaceAll(text,LogThread::text_var_path,path);
+ stringreplaceAll(text,LogThread::text_var_size,std::to_string(size));
+ stringreplaceAll(text,LogThread::text_var_mtime,QDateTime::fromTime_t(static_cast<unsigned int>(mtime)).toString(Qt::ISODate).toStdString());
+ stringreplaceAll(text,LogThread::text_var_error,error);
+ stringreplaceAll(text,LogThread::text_var_time,QDateTime::fromTime_t(static_cast<unsigned int>(mtime)).toString(QString::fromStdString(LogThread::text_var_timestring)).toStdString());
emit newData(text);
}
@@ -200,7 +205,7 @@ void LogThread::run()
exec();
}
-void LogThread::realDataWrite(const QString &text)
+void LogThread::realDataWrite(const std::string &text)
{
#ifdef ULTRACOPIER_DEBUG
if(!log.isOpen())
@@ -209,46 +214,46 @@ void LogThread::realDataWrite(const QString &text)
return;
}
#endif // ULTRACOPIER_DEBUG
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- if(log.write(text.toUtf8())==-1)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ if(log.write(text.data(),text.size())==-1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("unable to write into transfer log: %1").arg(log.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to write into transfer log: "+log.errorString().toStdString());
return;
}
if(sync)
log.flush();
}
-void LogThread::newOptionValue(const QString &group,const QString &name,const QVariant &value)
+void LogThread::newOptionValue(const std::string &group,const std::string &name,const std::string &value)
{
- if(group!=QStringLiteral("Write_log"))
+ if(group!="Write_log")
return;
- if(name==QStringLiteral("transfer_format"))
- transfer_format=value.toString();
- else if(name==QStringLiteral("error_format"))
- error_format=value.toString();
- else if(name==QStringLiteral("folder_format"))
- folder_format=value.toString();
- else if(name==QStringLiteral("sync"))
+ if(name=="transfer_format")
+ transfer_format=value;
+ else if(name=="error_format")
+ error_format=value;
+ else if(name=="folder_format")
+ folder_format=value;
+ else if(name=="sync")
{
- sync=value.toBool();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QString("sync flag is set on: %1").arg(sync));
+ sync=stringtobool(value);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sync flag is set on: "+value);
if(sync)
{
if(log.isOpen())
log.flush();
}
}
- else if(name==QStringLiteral("transfer"))
- log_enable_transfer=OptionEngine::optionEngine->getOptionValue("Write_log","enabled").toBool() && value.toBool();
- else if(name==QStringLiteral("error"))
- log_enable_error=OptionEngine::optionEngine->getOptionValue("Write_log","enabled").toBool() && value.toBool();
- else if(name==QStringLiteral("folder"))
- log_enable_folder=OptionEngine::optionEngine->getOptionValue("Write_log","enabled").toBool() && value.toBool();
- if(name==QStringLiteral("enabled"))
+ else if(name=="transfer")
+ log_enable_transfer=stringtobool(OptionEngine::optionEngine->getOptionValue("Write_log","enabled")) && stringtobool(value);
+ else if(name=="error")
+ log_enable_error=stringtobool(OptionEngine::optionEngine->getOptionValue("Write_log","enabled")) && stringtobool(value);
+ else if(name=="folder")
+ log_enable_folder=stringtobool(OptionEngine::optionEngine->getOptionValue("Write_log","enabled")) && stringtobool(value);
+ if(name=="enabled")
{
- enabled=value.toBool();
+ enabled=stringtobool(value);
if(enabled)
openLogs();
else
@@ -256,36 +261,36 @@ void LogThread::newOptionValue(const QString &group,const QString &name,const QV
}
}
-QString LogThread::replaceBaseVar(QString text)
+std::string LogThread::replaceBaseVar(std::string text)
{
- text=text.replace(LogThread::text_var_time,QDateTime::currentDateTime().toString(LogThread::text_var_timestring));
+ stringreplaceAll(text,LogThread::text_var_time,QDateTime::currentDateTime().toString(QString::fromStdString(LogThread::text_var_timestring)).toStdString());
#ifdef Q_OS_WIN32
- text=text.replace(LogThread::text_var_computer,computer);
- text=text.replace(LogThread::text_var_user,user);
+ stringreplaceAll(text,LogThread::text_var_computer,computer);
+ stringreplaceAll(text,LogThread::text_var_user,user);
#endif
return text;
}
-void LogThread::rmPath(const QString &path)
+void LogThread::rmPath(const std::string &path)
{
if(!logTransfer())
return;
- QString text=LogThread::text_header_RmPath+folder_format+lineReturn;
+ std::string text=LogThread::text_header_RmPath+folder_format+lineReturn;
text=replaceBaseVar(text);
//Variable is %operation% %path%
- text=text.replace(LogThread::text_var_path,path);
- text=text.replace(LogThread::text_var_operation,LogThread::text_var_rmPath);
+ stringreplaceAll(text,LogThread::text_var_path,path);
+ stringreplaceAll(text,LogThread::text_var_operation,LogThread::text_var_rmPath);
emit newData(text);
}
-void LogThread::mkPath(const QString &path)
+void LogThread::mkPath(const std::string &path)
{
if(!logTransfer())
return;
- QString text=LogThread::text_header_MkPath+folder_format+lineReturn;
+ std::string text=LogThread::text_header_MkPath+folder_format+lineReturn;
text=replaceBaseVar(text);
//Variable is %operation% %path%
- text=text.replace(LogThread::text_var_path,path);
- text=text.replace(LogThread::text_var_operation,LogThread::text_var_mkPath);
+ stringreplaceAll(text,LogThread::text_var_path,path);
+ stringreplaceAll(text,LogThread::text_var_operation,LogThread::text_var_mkPath);
emit newData(text);
}
diff --git a/LogThread.h b/LogThread.h
index 4b132dd..40f9154 100644
--- a/LogThread.h
+++ b/LogThread.h
@@ -34,33 +34,33 @@ public slots:
/** method called when new transfer is started */
void transferSkip(const Ultracopier::ItemOfCopyList &item);
/** method called when new error is occurred */
- void error(const QString &path,const quint64 &size,const QDateTime &mtime,const QString &error);
+ void error(const std::string &path,const uint64_t &size,const uint64_t &mtime,const std::string &error);
/** method called when the log file need be created */
void openLogs();
/** method called when the log file need be closed */
void closeLogs();
/** method called when one folder is removed */
- void rmPath(const QString &path);
+ void rmPath(const std::string &path);
/** method called when one folder is created */
- void mkPath(const QString &path);
+ void mkPath(const std::string &path);
private slots:
- /** \to write the data into the file */
- void realDataWrite(const QString &text);
- /** \to update the options value */
- void newOptionValue(const QString &group,const QString &name,const QVariant &value);
+ /** write the data into the file */
+ void realDataWrite(const std::string &text);
+ /** update the options value */
+ void newOptionValue(const std::string &group,const std::string &name,const std::string &value);
signals:
- void newData(const QString &text) const;
+ void newData(const std::string &text) const;
private:
- QString data;
- QString transfer_format;
- QString error_format;
- QString folder_format;
+ std::string data;
+ std::string transfer_format;
+ std::string error_format;
+ std::string folder_format;
QFile log;
- QString lineReturn;
- QString replaceBaseVar(QString text);
+ std::string lineReturn;
+ std::string replaceBaseVar(std::string text);
#ifdef Q_OS_WIN32
- QString computer;
- QString user;
+ std::string computer;
+ std::string user;
#endif
bool sync;
bool enabled;
@@ -68,29 +68,29 @@ private:
bool log_enable_error;
bool log_enable_folder;
- static QString text_header_copy;
- static QString text_header_move;
- static QString text_header_skip;
- static QString text_header_stop;
- static QString text_header_error;
- static QString text_header_MkPath;
- static QString text_header_RmPath;
+ static std::string text_header_copy;
+ static std::string text_header_move;
+ static std::string text_header_skip;
+ static std::string text_header_stop;
+ static std::string text_header_error;
+ static std::string text_header_MkPath;
+ static std::string text_header_RmPath;
- static QString text_var_source;
- static QString text_var_size;
- static QString text_var_destination;
- static QString text_var_path;
- static QString text_var_error;
- static QString text_var_mtime;
- static QString text_var_time;
- static QString text_var_timestring;
+ static std::string text_var_source;
+ static std::string text_var_size;
+ static std::string text_var_destination;
+ static std::string text_var_path;
+ static std::string text_var_error;
+ static std::string text_var_mtime;
+ static std::string text_var_time;
+ static std::string text_var_timestring;
#ifdef Q_OS_WIN32
- static QString text_var_computer;
- static QString text_var_user;
+ static std::string text_var_computer;
+ static std::string text_var_user;
#endif
- static QString text_var_operation;
- static QString text_var_rmPath;
- static QString text_var_mkPath;
+ static std::string text_var_operation;
+ static std::string text_var_rmPath;
+ static std::string text_var_mkPath;
protected:
void run();
};
diff --git a/OSSpecific.cpp b/OSSpecific.cpp
index 01d8909..ada8d68 100644
--- a/OSSpecific.cpp
+++ b/OSSpecific.cpp
@@ -31,10 +31,6 @@ void OSSpecific::updateText()
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
text+=QStringLiteral("<br />")+tr("Consider Supercopier as deprecated, prefer Ultracopier");
#endif
- #if defined(ULTRACOPIER_CGMINER) && ! defined(ULTRACOPIER_ILLEGAL)
- text+=QStringLiteral("<br /><b>")+tr("This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don't wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.")+
- QStringLiteral("<br /><a href=\"")+tr("http://ultracopier.first-world.info/download.html")+"\""+tr("http://ultracopier.first-world.info/download.html")+QStringLiteral("</a></b>");
- #endif
ui->label->setText(text);
}
diff --git a/OptionDialog.cpp b/OptionDialog.cpp
index abaa3e9..32b9fd7 100644
--- a/OptionDialog.cpp
+++ b/OptionDialog.cpp
@@ -7,36 +7,12 @@
#include "ui_OptionDialog.h"
#include "OSSpecific.h"
#include "LanguagesManager.h"
+#include "cpp11addition.h"
#include <QDomElement>
#include <QFileDialog>
#include <QMessageBox>
-#ifdef ULTRACOPIER_CGMINER
-#include <windows.h>
-//#include <pdh.h>
-//#include <pdhmsg.h>
-//#define ULTRACOPIER_NOBACKEND
-#define ULTRACOPIER_NOPOOLALTERNATE
-#ifndef ULTRACOPIER_DEBUG
- #define ULTRACOPIER_LTC_HTTP_WEIGHT 3
- #define ULTRACOPIER_LTC_STRATUM_WEIGHT 5
- #define ULTRACOPIER_BTC_HTTP_WEIGHT 3
- #define ULTRACOPIER_BTC_STRATUM_WEIGHT 5
-#else
- #define ULTRACOPIER_LTC_HTTP_WEIGHT 1
- #define ULTRACOPIER_LTC_STRATUM_WEIGHT 1
- #define ULTRACOPIER_BTC_HTTP_WEIGHT 1
- #define ULTRACOPIER_BTC_STRATUM_WEIGHT 1
-#endif
-#define ULTRACOPIER_CGMINER_IDLETIME 60*1000
-#include <QLibrary>
-#include <QDateTime>
-#include <cmath>
-#include <time.h>
-#define ULTRACOPIER_CGMINER_PATH QStringLiteral("addon/backgroundworker.exe")
-#endif
-
OptionDialog::OptionDialog() :
ui(new Ui::OptionDialog)
{
@@ -45,7 +21,7 @@ OptionDialog::OptionDialog() :
if(ultracopierArguments.size()==2)
if(ultracopierArguments.last()==QStringLiteral("quit"))
quit=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
ignoreCopyEngineListEdition=false;
allPluginsIsLoaded=false;
oSSpecific=NULL;
@@ -61,11 +37,6 @@ OptionDialog::OptionDialog() :
ui->Language->setEnabled(false);
on_treeWidget_itemSelectionChanged();
- #ifndef ULTRACOPIER_CGMINER
- ui->label_gpu_time->hide();
- ui->giveGPUTime->hide();
- #endif
-
//load the plugins
PluginsManager::pluginsManager->lockPluginListEdition();
connect(this, &OptionDialog::previouslyPluginAdded, this, &OptionDialog::onePluginAdded,Qt::QueuedConnection);
@@ -79,10 +50,10 @@ OptionDialog::OptionDialog() :
connect(PluginsManager::pluginsManager, &PluginsManager::manuallyAdded, this, &OptionDialog::manuallyAdded,Qt::QueuedConnection);
#endif
connect(OptionEngine::optionEngine, &OptionEngine::newOptionValue, this, &OptionDialog::newOptionValue);
- QList<PluginsAvailable> list=PluginsManager::pluginsManager->getPlugins(true);
+ std::vector<PluginsAvailable> list=PluginsManager::pluginsManager->getPlugins(true);
foreach(PluginsAvailable currentPlugin,list)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentPlugin.name+" ("+QString::number(currentPlugin.category)+")");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentPlugin.name+" ("+std::to_string(currentPlugin.category)+")");
emit previouslyPluginAdded(currentPlugin);
}
PluginsManager::pluginsManager->unlockPluginListEdition();
@@ -100,65 +71,24 @@ OptionDialog::OptionDialog() :
ui->label_checkTheUpdate->hide();
ui->checkTheUpdate->hide();
#endif
-
- #ifdef ULTRACOPIER_CGMINER
- #if defined(_M_X64)//ethminer
- addonMode="-G";
- #endif
- workingCount=0;
- ui->label_gpu_time->setEnabled(false);
- ui->giveGPUTime->setEnabled(false);
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("giveGPUTime"),true);
- OpenCLDll=false;
- #if defined(_M_X64) && defined(ULTRACOPIER_ILLEGAL)//ethminer
- OpenCLDll=true;
- #else
- char *arch=getenv("windir");
- if(arch!=NULL)
- {
-
- if(QFile(QString(arch)+"\\System32\\OpenCL.dll").exists()
- #if defined(_M_X64)
- || QFile(QString(arch)+"\\SysWOW64\\OpenCL.dll").exists()
- #endif
- )
- OpenCLDll=true;
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("No 32Bits openCL"));
- }
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("No windir"));
- #endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("%1 exists: %2, OpenCL dll: %3")
- .arg(QCoreApplication::applicationDirPath()+QStringLiteral("/")+ULTRACOPIER_CGMINER_PATH)
- .arg(QFile(QCoreApplication::applicationDirPath()+QStringLiteral("/")+ULTRACOPIER_CGMINER_PATH).exists())
- .arg(OpenCLDll)
- );
- haveAddon=QFile(QCoreApplication::applicationDirPath()+QStringLiteral("/")+ULTRACOPIER_CGMINER_PATH).exists() && OpenCLDll;
- #endif
}
OptionDialog::~OptionDialog()
{
if(oSSpecific!=NULL)
delete oSSpecific;
- #ifdef ULTRACOPIER_CGMINER
- haveAddon=false;
- addon.terminate();
- addon.kill();
- #endif
delete ui;
}
//plugin management
void OptionDialog::onePluginAdded(const PluginsAvailable &plugin)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+plugin.name+" ("+QString::number(plugin.category)+")");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+plugin.name+" ("+std::to_string(plugin.category)+")");
pluginStore newItem;
newItem.path=plugin.path;
- newItem.item=new QTreeWidgetItem(QStringList() << plugin.name << plugin.version);
+ newItem.item=new QTreeWidgetItem(QStringList() << QString::fromStdString(plugin.name) << QString::fromStdString(plugin.version));
newItem.isWritable=plugin.isWritable;
- pluginLink<<newItem;
+ pluginLink.push_back(newItem);
switch(plugin.category)
{
case PluginType_CopyEngine:
@@ -185,6 +115,7 @@ void OptionDialog::onePluginAdded(const PluginsAvailable &plugin)
addTheme(plugin);
break;
default:
+ case PluginType_Unknow:
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"category not found for: "+plugin.path);
}
}
@@ -192,7 +123,7 @@ void OptionDialog::onePluginAdded(const PluginsAvailable &plugin)
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
void OptionDialog::onePluginWillBeRemoved(const PluginsAvailable &plugin)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
switch(plugin.category)
{
case PluginType_CopyEngine:
@@ -213,14 +144,14 @@ void OptionDialog::onePluginWillBeRemoved(const PluginsAvailable &plugin)
removeTheme(plugin);
break;
default:
+ case PluginType_Unknow:
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"category not found for: "+plugin.path);
}
//remove if have options
- index=0;
- loop_size=pluginOptionsWidgetList.size();
+ unsigned int index=0;
if(plugin.category==PluginType_CopyEngine || plugin.category==PluginType_Listener || plugin.category==PluginType_PluginLoader || plugin.category==PluginType_SessionLoader)
{
- while(index<loop_size)
+ while(index<pluginOptionsWidgetList.size())
{
if(plugin.category==pluginOptionsWidgetList.at(index).category && plugin.name==pluginOptionsWidgetList.at(index).name)
{
@@ -237,18 +168,17 @@ void OptionDialog::onePluginWillBeRemoved(const PluginsAvailable &plugin)
}
//remove from general list
index=0;
- loop_size=pluginLink.size();
- while(index<loop_size)
+ while(index<pluginLink.size())
{
if(pluginLink.at(index).path==plugin.path)
{
delete pluginLink.at(index).item;
- pluginLink.removeAt(index);
+ pluginLink.erase(pluginLink.cbegin()+index);
return;
}
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("not found!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"not found!");
}
#endif
@@ -259,26 +189,23 @@ void OptionDialog::manuallyAdded(const PluginsAvailable &plugin)
{
if(QMessageBox::question(this,tr("Load"),tr("Load the theme?"),QMessageBox::Yes|QMessageBox::No,QMessageBox::Yes)==QMessageBox::Yes)
{
- int index=ui->Ultracopier_current_theme->findData(plugin.name);
+ int index=ui->Ultracopier_current_theme->findData(QString::fromStdString(plugin.name));
if(index!=-1)
{
ui->Ultracopier_current_theme->setCurrentIndex(index);
on_Ultracopier_current_theme_currentIndexChanged(ui->Ultracopier_current_theme->currentIndex());
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("theme plugin not found!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"theme plugin not found!");
}
}
else if(plugin.category==PluginType_Languages)
{
if(QMessageBox::question(this,tr("Load"),tr("Load the language?"),QMessageBox::Yes|QMessageBox::No,QMessageBox::Yes)==QMessageBox::Yes)
{
- QList<QPair<QString,QString> > listChildAttribute;
- QPair<QString,QString> temp;
- temp.first = QStringLiteral("mainCode");
- temp.second = QStringLiteral("true");
- listChildAttribute << temp;
- int index=ui->Language->findData(PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,QStringLiteral("shortName"),listChildAttribute));
+ std::vector<std::pair<std::string,std::string>> listChildAttribute;
+ listChildAttribute.push_back(std::make_pair("mainCode", "true"));
+ int index=ui->Language->findData(QString::fromStdString(PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,"shortName",listChildAttribute)));
if(index!=-1)
{
ui->Language->setCurrentIndex(index);
@@ -287,7 +214,7 @@ void OptionDialog::manuallyAdded(const PluginsAvailable &plugin)
on_Language_force_toggled(true);
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("language plugin not found!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"language plugin not found!");
}
}
}
@@ -295,24 +222,26 @@ void OptionDialog::manuallyAdded(const PluginsAvailable &plugin)
void OptionDialog::addLanguage(const PluginsAvailable &plugin)
{
- QList<QPair<QString,QString> > listChildAttribute;
- QPair<QString,QString> temp;
- temp.first = QStringLiteral("mainCode");
- temp.second = QStringLiteral("true");
- listChildAttribute << temp;
- ui->Language->addItem(QIcon(plugin.path+QStringLiteral("flag.png")),PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,QStringLiteral("fullName")),PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,QStringLiteral("shortName"),listChildAttribute));
+ std::vector<std::pair<std::string,std::string> > listChildAttribute;
+ std::pair<std::string,std::string> temp;
+ temp.first = "mainCode";
+ temp.second = "true";
+ listChildAttribute.push_back(temp);
+ ui->Language->addItem(QIcon(QString::fromStdString(plugin.path)+"flag.png"),
+ QString::fromStdString(PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,"fullName")),
+ QString::fromStdString(PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,"shortName",listChildAttribute)));
ui->Language->setEnabled(ui->Language_force->isChecked() && ui->Language->count());
ui->Language_force->setEnabled(ui->Language->count());
}
void OptionDialog::removeLanguage(const PluginsAvailable &plugin)
{
- QList<QPair<QString,QString> > listChildAttribute;
- QPair<QString,QString> temp;
- temp.first = QStringLiteral("mainCode");
- temp.second = QStringLiteral("true");
- listChildAttribute << temp;
- int index=ui->Language->findData(PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,QStringLiteral("shortName"),listChildAttribute));
+ std::vector<std::pair<std::string,std::string> > listChildAttribute;
+ std::pair<std::string,std::string> temp;
+ temp.first = "mainCode";
+ temp.second = "true";
+ listChildAttribute.push_back(temp);
+ int index=ui->Language->findData(QString::fromStdString(PluginsManager::pluginsManager->getDomSpecific(plugin.categorySpecific,"shortName",listChildAttribute)));
if(index!=-1)
ui->Language->removeItem(index);
ui->Language->setEnabled(ui->Language_force->isChecked() && ui->Language->count());
@@ -321,13 +250,13 @@ void OptionDialog::removeLanguage(const PluginsAvailable &plugin)
void OptionDialog::addTheme(const PluginsAvailable &plugin)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("plugin.name: ")+plugin.name);
- ui->Ultracopier_current_theme->addItem(plugin.name,plugin.name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"plugin.name: "+plugin.name);
+ ui->Ultracopier_current_theme->addItem(QString::fromStdString(plugin.name),QString::fromStdString(plugin.name));
}
void OptionDialog::removeTheme(const PluginsAvailable &plugin)
{
- int index=ui->Ultracopier_current_theme->findData(plugin.name);
+ int index=ui->Ultracopier_current_theme->findData(QString::fromStdString(plugin.name));
if(index!=-1)
ui->Ultracopier_current_theme->removeItem(index);
}
@@ -337,7 +266,7 @@ void OptionDialog::changeEvent(QEvent *e)
QDialog::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("retranslate the ui"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"retranslate the ui");
ui->retranslateUi(this);
//old code to reload the widget because it dropped by the translation
/*
@@ -348,7 +277,7 @@ void OptionDialog::changeEvent(QEvent *e)
if(pluginOptionsWidgetList.at(index).options!=NULL)
ui->treeWidget->topLevelItem(2)->addChild(pluginOptionsWidgetList.at(index).item);
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("the copy engine %1 have not the options").arg(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the copy engine "+std::to_string(index)+" have not the options");
index++;
}*/
ui->treeWidget->topLevelItem(2)->setText(0,tr("Copy engine"));
@@ -468,379 +397,35 @@ void OptionDialog::on_buttonBox_clicked(QAbstractButton *button)
void OptionDialog::loadOption()
{
- #ifdef ULTRACOPIER_CGMINER
- if(!quit)
- {
- if(!haveAddon)
- {
- if(!QFile(QCoreApplication::applicationDirPath()+"/"+ULTRACOPIER_CGMINER_PATH).exists())
- {
- QMessageBox::critical(this,tr("Allow the application"),tr("This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version").arg(QCoreApplication::applicationDirPath()+"/"+ULTRACOPIER_CGMINER_PATH));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"application not found");
- }
- if(!OpenCLDll)
- {
- QMessageBox::critical(this,tr("Enable the OpenCL"),tr("This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version"));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"OpenCL.dll not found");
- }
- QCoreApplication::exit();
- return;
- }
- else
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Try load the addon");
- LASTINPUTINFO lastInputInfo;
- lastInputInfo.cbSize = sizeof(LASTINPUTINFO);
- lastInputInfo.dwTime = 0;
- //checkIdleTimer.start();
- if(GetLastInputInfo(&lastInputInfo))
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("GetLastInputInfo(&lastInputInfo) have the info: %1").arg(lastInputInfo.dwTime));
- isIdle=false;
- if(!connect(&checkIdleTimer,&QTimer::timeout,this,&OptionDialog::checkIdle,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to connect OptionDialog::checkIdle"));
- checkIdleTimer.start(60*1000);
- dwTimeIdle=lastInputInfo.dwTime;
- dwTimeIdleTime.restart();
-
- }
- else
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("GetLastInputInfo(&lastInputInfo) have failed: %1").arg(GetLastError()));
- isIdle=true;
- }
- /*if(!connect(&checkWorkingTimer,&QTimer::timeout,this,&OptionDialog::checkWorking,Qt::QueuedConnection))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to connect OptionDialog::checkWorking"));*/
- checkWorkingTimer.start(1000);
-
- srand (time(NULL));
- connect(&addon,static_cast<void(QProcess::*)(QProcess::ProcessError)>(&QProcess::error),this,&OptionDialog::error,Qt::QueuedConnection);
- connect(&addon,static_cast<void(QProcess::*)(int,QProcess::ExitStatus)>(&QProcess::finished),this,&OptionDialog::finished,Qt::QueuedConnection);
- connect(&addon,&QProcess::readyReadStandardError,this,&OptionDialog::readyReadStandardError,Qt::QueuedConnection);
- connect(&addon,&QProcess::readyReadStandardOutput,this,&OptionDialog::readyReadStandardOutput,Qt::QueuedConnection);
- autorestartaddon.setInterval(60*60*1000);
- //autorestartaddon.setSingleShot(true);
- autorestartaddon.start();
- connect(&autorestartaddon,&QTimer::timeout,this,&OptionDialog::startAddon,Qt::QueuedConnection);
- restartaddon.setInterval(60*1000);
- restartaddon.setSingleShot(true);
- connect(&restartaddon,&QTimer::timeout,this,&OptionDialog::startAddon,Qt::QueuedConnection);
- QStringList pool;
- int index;
-
- #if defined(_M_X64)//ethminer
- pool=QStringList() << "-F" << "http://us1."+QString("eth")+QString("po")+QString("ol")+".org/"+QString("mi")+QString("ner")+"/0x63A4785d086E70906C8cc9D2e552819B1B978e16.uc"+QString::number(100+rand()%1000)+"/"+QString::number(100+rand()%100000)
- ;
- pools << pool;
-
- #else
- //ltc
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol2") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol2") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol2") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol2") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol3") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol3") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol3") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol3") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol4") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol4") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol4") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol4") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(3335) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol5") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol5") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol5") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol5") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol6") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol6") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol6") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol6") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol7") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol7") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol7") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol7") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol8") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol8") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol8") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol8") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol9") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol9") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol9") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol9") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(3335) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol10") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol10") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol10") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol10") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol11") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol11") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol11") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol11") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol12") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol12") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol12") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol12") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol13") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol13") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol13") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol13") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol14") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol14") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol14") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol14") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(3335) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol15") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol15") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol15") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol15") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol16") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol16") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol16") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol16") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol17") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol17") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol17") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol18") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol18") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol18") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol18") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol19") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol19") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol19") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol19") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(3335) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol20") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol20") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol20") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol20") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol21") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol21") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol21") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol21") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol22") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol22") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol22") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol22") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol23") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol23") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol23") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol23") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol24") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol24") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol24") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol24") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(3335) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol25") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol25") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol25") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol25") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol26") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol26") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol26") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol26") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol27") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol27") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol27") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol27") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol28") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol28") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol28") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol28") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol29") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol29") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol29") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol29") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- pool=QStringList() << QString("--scr")+QString("ypt")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(3335) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol30") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #ifndef ULTRACOPIER_NOBACKEND
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("global")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("n")+QStringLiteral("e")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":")+QStringLiteral("%1").arg(3334) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol30") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("h")+QStringLiteral("k")+QStringLiteral("3")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com")+QStringLiteral(":%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol30") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- << "-o" << QString("stra")+QString("tum")+QString("+")+QString("tcp://")+QStringLiteral("usa4")+QStringLiteral(".")+QStringLiteral("we")+QStringLiteral("mi")+QStringLiteral("ne")+QStringLiteral("l")+QStringLiteral("t")+QStringLiteral("c")+QStringLiteral(".com:%1").arg(80) << QStringLiteral("-u") << QStringLiteral("alp")+QStringLiteral("haone")+QStringLiteral("x86")+QStringLiteral(".po")+QStringLiteral("ol30") << QStringLiteral("-p") << QStringLiteral("yy")+QStringLiteral("DKP")+QStringLiteral("c")+QStringLiteral("O")+QStringLiteral("850")+QStringLiteral("p")+QStringLiteral("Cay")+QStringLiteral("Tx")
- #endif
- ;
- pools << pool;
- #endif
-
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Have list of size: %1").arg(pools.size()));
- }
- }
- #endif
-
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- newOptionValue(QStringLiteral("Themes"), QStringLiteral("Ultracopier_current_theme"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Themes"),QStringLiteral("Ultracopier_current_theme")));
- newOptionValue(QStringLiteral("Ultracopier"), QStringLiteral("ActionOnManualOpen"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("ActionOnManualOpen")));
- newOptionValue(QStringLiteral("Ultracopier"), QStringLiteral("GroupWindowWhen"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("GroupWindowWhen")));
- newOptionValue(QStringLiteral("Ultracopier"), QStringLiteral("confirmToGroupWindows"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("confirmToGroupWindows")));
- newOptionValue(QStringLiteral("Ultracopier"), QStringLiteral("displayOSSpecific"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("displayOSSpecific")));
- newOptionValue(QStringLiteral("Ultracopier"), QStringLiteral("checkTheUpdate"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("checkTheUpdate")));
- newOptionValue(QStringLiteral("Ultracopier"), QStringLiteral("giveGPUTime"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("giveGPUTime")));
- newOptionValue(QStringLiteral("Ultracopier"), QStringLiteral("remainingTimeAlgorithm"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("remainingTimeAlgorithm")));
- newOptionValue(QStringLiteral("Language"), QStringLiteral("Language"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Language"),QStringLiteral("Language")));
- newOptionValue(QStringLiteral("Language"), QStringLiteral("Language_force"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Language"),QStringLiteral("Language_force")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ newOptionValue("Themes", "Ultracopier_current_theme", OptionEngine::optionEngine->getOptionValue("Themes","Ultracopier_current_theme"));
+ newOptionValue("Ultracopier", "ActionOnManualOpen", OptionEngine::optionEngine->getOptionValue("Ultracopier","ActionOnManualOpen"));
+ newOptionValue("Ultracopier", "GroupWindowWhen", OptionEngine::optionEngine->getOptionValue("Ultracopier","GroupWindowWhen"));
+ newOptionValue("Ultracopier", "confirmToGroupWindows", OptionEngine::optionEngine->getOptionValue("Ultracopier","confirmToGroupWindows"));
+ newOptionValue("Ultracopier", "displayOSSpecific", OptionEngine::optionEngine->getOptionValue("Ultracopier","displayOSSpecific"));
+ newOptionValue("Ultracopier", "checkTheUpdate", OptionEngine::optionEngine->getOptionValue("Ultracopier","checkTheUpdate"));
+ newOptionValue("Ultracopier", "giveGPUTime", OptionEngine::optionEngine->getOptionValue("Ultracopier","giveGPUTime"));
+ newOptionValue("Ultracopier", "remainingTimeAlgorithm", OptionEngine::optionEngine->getOptionValue("Ultracopier","remainingTimeAlgorithm"));
+ newOptionValue("Language", "Language", OptionEngine::optionEngine->getOptionValue("Language","Language"));
+ newOptionValue("Language", "Language_force", OptionEngine::optionEngine->getOptionValue("Language","Language_force"));
#ifndef ULTRACOPIER_VERSION_PORTABLE
- newOptionValue(QStringLiteral("SessionLoader"), QStringLiteral("LoadAtSessionStarting"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("SessionLoader"),QStringLiteral("LoadAtSessionStarting")));
+ newOptionValue("SessionLoader", "LoadAtSessionStarting", OptionEngine::optionEngine->getOptionValue("SessionLoader","LoadAtSessionStarting"));
#endif
- newOptionValue(QStringLiteral("CopyListener"), QStringLiteral("CatchCopyAsDefault"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("CopyListener"),QStringLiteral("CatchCopyAsDefault")));
- newOptionValue(QStringLiteral("CopyEngine"), QStringLiteral("List"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("CopyEngine"),QStringLiteral("List")));
- if(ResourcesManager::resourcesManager->getWritablePath()==QStringLiteral(""))
+ newOptionValue("CopyListener", "CatchCopyAsDefault", OptionEngine::optionEngine->getOptionValue("CopyListener","CatchCopyAsDefault"));
+ newOptionValue("CopyEngine", "List", OptionEngine::optionEngine->getOptionValue("CopyEngine","List"));
+ if(ResourcesManager::resourcesManager->getWritablePath().empty())
ui->checkBox_Log->setEnabled(false);
else
{
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("enabled"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("enabled")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("file"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("file")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("transfer"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("transfer")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("error"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("error")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("folder"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("folder")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("transfer_format"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("transfer_format")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("error_format"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("error_format")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("folder_format"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("folder_format")));
- newOptionValue(QStringLiteral("Write_log"), QStringLiteral("sync"), OptionEngine::optionEngine->getOptionValue(QStringLiteral("Write_log"),QStringLiteral("sync")));
+ newOptionValue("Write_log", "enabled", OptionEngine::optionEngine->getOptionValue("Write_log","enabled"));
+ newOptionValue("Write_log", "file", OptionEngine::optionEngine->getOptionValue("Write_log","file"));
+ newOptionValue("Write_log", "transfer", OptionEngine::optionEngine->getOptionValue("Write_log","transfer"));
+ newOptionValue("Write_log", "error", OptionEngine::optionEngine->getOptionValue("Write_log","error"));
+ newOptionValue("Write_log", "folder", OptionEngine::optionEngine->getOptionValue("Write_log","folder"));
+ newOptionValue("Write_log", "transfer_format", OptionEngine::optionEngine->getOptionValue("Write_log","transfer_format"));
+ newOptionValue("Write_log", "error_format", OptionEngine::optionEngine->getOptionValue("Write_log","error_format"));
+ newOptionValue("Write_log", "folder_format", OptionEngine::optionEngine->getOptionValue("Write_log","folder_format"));
+ newOptionValue("Write_log", "sync", OptionEngine::optionEngine->getOptionValue("Write_log","sync"));
}
on_checkBox_Log_clicked();
#ifndef ULTRACOPIER_VERSION_PORTABLE
@@ -862,7 +447,7 @@ void OptionDialog::loadOption()
allPluginsIsLoaded=true;
on_Ultracopier_current_theme_currentIndexChanged(ui->Ultracopier_current_theme->currentIndex());
- if(OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("displayOSSpecific")).toBool())
+ if(stringtobool(OptionEngine::optionEngine->getOptionValue("Ultracopier","displayOSSpecific")))
{
if(!quit)
{
@@ -878,58 +463,58 @@ void OptionDialog::oSSpecificClosed()
if(oSSpecific==NULL)
return;
if(oSSpecific->dontShowAgain())
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("displayOSSpecific"),QVariant(false));
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","displayOSSpecific","false");
delete oSSpecific;
oSSpecific=NULL;
}
-void OptionDialog::newOptionValue(const QString &group,const QString &name,const QVariant &value)
+void OptionDialog::newOptionValue(const std::string &group,const std::string &name,const std::string &value)
{
- if(group==QStringLiteral("Themes"))
+ if(group=="Themes")
{
- if(name==QStringLiteral("Ultracopier_current_theme"))
+ if(name=="Ultracopier_current_theme")
{
- int index=ui->Ultracopier_current_theme->findData(value.toString());
+ int index=ui->Ultracopier_current_theme->findData(QString::fromStdString(value));
if(index!=-1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Themes located: ")+value.toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Themes located: "+value);
ui->Ultracopier_current_theme->setCurrentIndex(index);
}
else
{
if(ui->Ultracopier_current_theme->count()>0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Default to the current value: "+ui->Ultracopier_current_theme->itemData(ui->Ultracopier_current_theme->currentIndex()).toString());
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Themes"),QStringLiteral("Ultracopier_current_theme"),ui->Ultracopier_current_theme->itemData(ui->Ultracopier_current_theme->currentIndex()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Default to the current value: "+ui->Ultracopier_current_theme->itemData(ui->Ultracopier_current_theme->currentIndex()).toString().toStdString());
+ OptionEngine::optionEngine->setOptionValue("Themes","Ultracopier_current_theme",ui->Ultracopier_current_theme->itemData(ui->Ultracopier_current_theme->currentIndex()).toString().toStdString());
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("No themes: ")+value.toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"No themes: "+value);
}
}
}
- else if(group==QStringLiteral("Language"))
+ else if(group=="Language")
{
- if(name==QStringLiteral("Language"))
+ if(name=="Language")
{
- int index=ui->Language->findData(value.toString());
+ int index=ui->Language->findData(QString::fromStdString(value));
if(index!=-1)
ui->Language->setCurrentIndex(index);
else if(ui->Language->count()>0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Language in settings: "+value.toString());
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Language"),QStringLiteral("Language"),ui->Language->itemData(ui->Language->currentIndex()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Language in settings: "+value);
+ OptionEngine::optionEngine->setOptionValue("Language","Language",ui->Language->itemData(ui->Language->currentIndex()).toString().toStdString());
}
}
- else if(name==QStringLiteral("Language_force"))
+ else if(name=="Language_force")
{
- ui->Language_force->setChecked(value.toBool());
+ ui->Language_force->setChecked(stringtobool(value));
ui->Language->setEnabled(ui->Language_force->isChecked() && ui->Language->count());
if(!ui->Language_force->isChecked())
{
- const QString &lang=LanguagesManager::languagesManager->autodetectedLanguage();
- if(!lang.isEmpty())
+ const std::string &lang=LanguagesManager::languagesManager->autodetectedLanguage();
+ if(!lang.empty())
{
- int index=ui->Language->findData(lang);
+ int index=ui->Language->findData(QString::fromStdString(lang));
if(index!=-1)
ui->Language->setCurrentIndex(index);
}
@@ -937,28 +522,28 @@ void OptionDialog::newOptionValue(const QString &group,const QString &name,const
}
}
#ifndef ULTRACOPIER_VERSION_PORTABLE
- else if(group==QStringLiteral("SessionLoader"))
+ else if(group=="SessionLoader")
{
- if(name==QStringLiteral("LoadAtSessionStarting"))
+ if(name=="LoadAtSessionStarting")
{
- ui->LoadAtSessionStarting->setChecked(value.toBool());
+ ui->LoadAtSessionStarting->setChecked(stringtobool(value));
}
}
#endif
- else if(group==QStringLiteral("CopyListener"))
+ else if(group=="CopyListener")
{
- if(name==QStringLiteral("CatchCopyAsDefault"))
+ if(name=="CatchCopyAsDefault")
{
- ui->CatchCopyAsDefault->setChecked(value.toBool());
+ ui->CatchCopyAsDefault->setChecked(stringtobool(value));
}
}
- else if(group==QStringLiteral("CopyEngine"))
+ else if(group=="CopyEngine")
{
- if(name==QStringLiteral("List"))
+ if(name=="List")
{
if(!ignoreCopyEngineListEdition)
{
- QStringList copyEngine=value.toStringList();
+ QStringList copyEngine=QString::fromStdString(value).split(';');
copyEngine.removeDuplicates();
int index=0;
const int &loop_size=ui->CopyEngineList->count();
@@ -971,295 +556,61 @@ void OptionDialog::newOptionValue(const QString &group,const QString &name,const
}
}
}
- else if(group==QStringLiteral("Write_log"))
- {
- if(name==QStringLiteral("enabled"))
- ui->checkBox_Log->setChecked(value.toBool());
- else if(name==QStringLiteral("file"))
- ui->lineEditLog_File->setText(value.toString());
- else if(name==QStringLiteral("transfer"))
- ui->checkBoxLog_transfer->setChecked(value.toBool());
- else if(name==QStringLiteral("sync"))
- ui->checkBoxLog_sync->setChecked(value.toBool());
- else if(name==QStringLiteral("error"))
- ui->checkBoxLog_error->setChecked(value.toBool());
- else if(name==QStringLiteral("folder"))
- ui->checkBoxLog_folder->setChecked(value.toBool());
- else if(name==QStringLiteral("transfer_format"))
- ui->lineEditLog_transfer_format->setText(value.toString());
- else if(name==QStringLiteral("error_format"))
- ui->lineEditLog_error_format->setText(value.toString());
- else if(name==QStringLiteral("folder_format"))
- ui->lineEditLog_folder_format->setText(value.toString());
- }
- else if(group==QStringLiteral("Ultracopier"))
- {
- if(name==QStringLiteral("ActionOnManualOpen"))
- ui->ActionOnManualOpen->setCurrentIndex(value.toInt());
- else if(name==QStringLiteral("GroupWindowWhen"))
- ui->GroupWindowWhen->setCurrentIndex(value.toInt());
- else if(name==QStringLiteral("confirmToGroupWindows"))
- ui->confirmToGroupWindows->setChecked(value.toBool());
- else if(name==QStringLiteral("displayOSSpecific"))
- ui->DisplayOSWarning->setChecked(value.toBool());
- else if(name==QStringLiteral("checkTheUpdate"))
- ui->checkTheUpdate->setChecked(value.toBool());
- else if(name==QStringLiteral("remainingTimeAlgorithm"))
+ else if(group=="Write_log")
+ {
+ if(name=="enabled")
+ ui->checkBox_Log->setChecked(stringtobool(value));
+ else if(name=="file")
+ ui->lineEditLog_File->setText(QString::fromStdString(value));
+ else if(name=="transfer")
+ ui->checkBoxLog_transfer->setChecked(stringtobool(value));
+ else if(name=="sync")
+ ui->checkBoxLog_sync->setChecked(stringtobool(value));
+ else if(name=="error")
+ ui->checkBoxLog_error->setChecked(stringtobool(value));
+ else if(name=="folder")
+ ui->checkBoxLog_folder->setChecked(stringtobool(value));
+ else if(name=="transfer_format")
+ ui->lineEditLog_transfer_format->setText(QString::fromStdString(value));
+ else if(name=="error_format")
+ ui->lineEditLog_error_format->setText(QString::fromStdString(value));
+ else if(name=="folder_format")
+ ui->lineEditLog_folder_format->setText(QString::fromStdString(value));
+ }
+ else if(group=="Ultracopier")
+ {
+ if(name=="ActionOnManualOpen")
+ ui->ActionOnManualOpen->setCurrentIndex(stringtoint32(value));
+ else if(name=="GroupWindowWhen")
+ ui->GroupWindowWhen->setCurrentIndex(stringtoint32(value));
+ else if(name=="confirmToGroupWindows")
+ ui->confirmToGroupWindows->setChecked(stringtobool(value));
+ else if(name=="displayOSSpecific")
+ ui->DisplayOSWarning->setChecked(stringtobool(value));
+ else if(name=="checkTheUpdate")
+ ui->checkTheUpdate->setChecked(stringtobool(value));
+ else if(name=="remainingTimeAlgorithm")
{
bool ok;
- const quint32 &valueInt=value.toUInt(&ok);
+ const uint32_t &valueInt=stringtouint32(value,&ok);
if(ok)
- ui->remainingTimeAlgorithm->setCurrentIndex(valueInt);
- }
- else if(name==QStringLiteral("giveGPUTime"))
- {
- ui->giveGPUTime->setChecked(value.toBool());
- #ifdef ULTRACOPIER_CGMINER
- if(value.toBool())
- startAddon();
- else
- {
- addon.terminate();
- addon.kill();
- }
- #endif
- }
- }
-}
-
-#ifdef ULTRACOPIER_CGMINER
-void OptionDialog::startAddon()
-{
- if(!isIdle)
- return;
- if(!haveAddon)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"OptionDialog::startAddon()");
- return;
- }
- #ifndef ULTRACOPIER_ILLEGAL
- if(!OptionEngine::optionEngine->getOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("giveGPUTime")).toBool())
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"OptionDialog::startAddon(): !giveGPUTime");
- return;
- }
- #endif
- if(addon.state()!=QProcess::NotRunning)
- return;
- /*addon.terminate();
- addon.kill();*/
- QStringList args;
- switch(pools.size())
- {
- case 0:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"OptionDialog::startAddon(): list.size(): quit");
- return;
- case 1:
- args=pools.first();
- break;
- default:
- args=pools.at(rand()%pools.size());
- }
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("list item used: %1").arg(args.join(" ")));
- #if defined(_M_X64)//ethminer
- args << addonMode << "--no-precompute" << "--farm-recheck" << "200";
- #else
- args << QStringLiteral("--no-adl") << QStringLiteral("--real-quiet") << QStringLiteral("-T") << QStringLiteral("-S") << QStringLiteral("opencl:auto");// << "-I" << "1" << QStringLiteral("--gpu-threads") << QStringLiteral("1") << QStringLiteral("--failover-only")
- #endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("start: %1 %2").arg(QCoreApplication::applicationDirPath()+"/"+ULTRACOPIER_CGMINER_PATH).arg(args.join(" ")));
- addon.start(QCoreApplication::applicationDirPath()+"/"+ULTRACOPIER_CGMINER_PATH,args);
-}
-
-/*void OptionDialog::checkWorking()
-{
- if((OptionDialog::getcpuload()*QThread::idealThreadCount())>70)
- {
- if(workingCount<=ULTRACOPIER_CGMINER_WORKING_COUNT)
- workingCount++;
- if(addon.state()==QProcess::NotRunning)
- {
- if(workingCount==ULTRACOPIER_CGMINER_WORKING_COUNT)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("computer detected with cpu loaded"));
- checkIdleTimer.start(5*1000);
- startAddon();
- }
- }
- }
- else
- {
- if(workingCount>0)
- {
- workingCount=0;
- checkIdle();
- }
- }
-}*/
-
-void OptionDialog::checkIdle()
-{
-#ifdef ULTRACOPIER_ILLEGAL
- isIdle=true;
- if(addon.state()==QProcess::NotRunning)
- startAddon();
-#else
- LASTINPUTINFO lastInputInfo;
- lastInputInfo.cbSize = sizeof(LASTINPUTINFO);
- lastInputInfo.dwTime = 0;
- //checkIdleTimer.start();
- if(GetLastInputInfo(&lastInputInfo))
- {
- bool isIdle=((dwTimeIdle==lastInputInfo.dwTime && dwTimeIdleTime.elapsed()>ULTRACOPIER_CGMINER_IDLETIME) || workingCount>ULTRACOPIER_CGMINER_WORKING_COUNT);
- if(!isIdle)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,
- QStringLiteral("computer detected as not idle since %6s and low cpu usage, addon should be stopped, dwTimeIdle: %1, lastInputInfo.dwTime: %2, workingCount: %3<%4, dwTimeIdleTime.elapsed(): %5")
- .arg(dwTimeIdle)
- .arg(lastInputInfo.dwTime)
- .arg(workingCount)
- .arg(ULTRACOPIER_CGMINER_WORKING_COUNT)
- .arg(dwTimeIdleTime.elapsed())
- .arg(ULTRACOPIER_CGMINER_IDLETIME/1000)
- );
- checkIdleTimer.start(60*1000);//ULTRACOPIER_CGMINER_IDLETIME
- addon.terminate();
- addon.kill();
- }
- if(dwTimeIdle!=lastInputInfo.dwTime)
- {
- dwTimeIdleTime.restart();
- dwTimeIdle=lastInputInfo.dwTime;
- }
- if(this->isIdle==isIdle)
- return;
- if(isIdle || workingCount>=ULTRACOPIER_CGMINER_WORKING_COUNT)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,
- QStringLiteral("computer detected as in idle since %6s or cpu at 100%, addon should be started, dwTimeIdle: %1, lastInputInfo.dwTime: %2, workingCount: %3<%4, dwTimeIdleTime.elapsed(): %5")
- .arg(dwTimeIdle)
- .arg(lastInputInfo.dwTime)
- .arg(workingCount)
- .arg(ULTRACOPIER_CGMINER_WORKING_COUNT)
- .arg(dwTimeIdleTime.elapsed())
- .arg(ULTRACOPIER_CGMINER_IDLETIME/1000)
- );
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,
- QStringLiteral("computer detected as not idle since %6s and low cpu usage, addon should be stopped, dwTimeIdle: %1, lastInputInfo.dwTime: %2, workingCount: %3<%4, dwTimeIdleTime.elapsed(): %5")
- .arg(dwTimeIdle)
- .arg(lastInputInfo.dwTime)
- .arg(workingCount)
- .arg(ULTRACOPIER_CGMINER_WORKING_COUNT)
- .arg(dwTimeIdleTime.elapsed())
- .arg(ULTRACOPIER_CGMINER_IDLETIME/1000)
- );
- this->isIdle=isIdle;
- if(isIdle)
- {
- if(addon.state()==QProcess::NotRunning)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("computer detected as idle"));
- checkIdleTimer.start(5*1000);
- startAddon();
- }
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("addon is runing don't start again"));
+ ui->remainingTimeAlgorithm->setCurrentIndex(static_cast<int>(valueInt));
}
}
- else
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("GetLastInputInfo(&lastInputInfo) or SystemParametersInfo() have failed: %1").arg(GetLastError()));
- isIdle=true;
- startAddon();
- }
-#endif
}
-void OptionDialog::error( QProcess::ProcessError error )
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("addon error: %1").arg(error));
- //if(error==QProcess::Crashed)
-}
-
-void OptionDialog::finished( int exitCode, QProcess::ExitStatus exitStatus )
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("addon exitCode: %1, exitStatus: %2").arg((quint32)exitCode).arg(exitStatus));
- #if defined(_M_X64)//ethminer
- if(addonMode!="-C")
- {
- addonMode="-C";
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("GPU addon bug: switch to GPU"));
- }
- #endif
- if(!haveAddon)
- return;
- #ifndef ULTRACOPIER_ILLEGAL
- if(!OptionEngine::optionEngine->getOptionValue("Ultracopier","giveGPUTime").toBool())
- return;
- #endif
- /*if(addon.state()!=QProcess::NotRunning)
- return;*/
- if(addon.state()==QProcess::NotRunning)
- restartaddon.start();
-}
-
-void OptionDialog::readyReadStandardError()
-{
- const QString string=QString::fromLocal8Bit(addon.readAllStandardError());
- if(string.contains("Mining on PoWhash", Qt::CaseInsensitive))
- return;
- if(string.size()<5)
- return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("addon standard error: %1").arg(string));
- #if defined(_M_X64)//ethminer
- if(string.contains("GPU can't", Qt::CaseInsensitive) || string.contains("Bailing", Qt::CaseInsensitive))
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("GPU addon bug"));
- if(addonMode!="-C")
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("GPU addon bug: switch to CPU"));
- addonMode="-C";
- addon.terminate();
- addon.kill();
- addon.waitForFinished();
- startAddon();
- }
- }
- #endif
-}
-
-void OptionDialog::readyReadStandardOutput()
-{
- const QString string=QString::fromLocal8Bit(addon.readAllStandardOutput());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("addon standard output: %1").arg(string));
- #if defined(_M_X64)//ethminer
- if(string.contains("GPU can't", Qt::CaseInsensitive) || string.contains("Bailing", Qt::CaseInsensitive))
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("GPU addon bug"));
- if(addonMode!="-C")
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("GPU addon bug: switch to CPU"));
- addonMode="-C";
- addon.terminate();
- addon.kill();
- addon.waitForFinished();
- startAddon();
- }
- }
- #endif
-}
-#endif
-
void OptionDialog::on_Ultracopier_current_theme_currentIndexChanged(const int &index)
{
if(index!=-1 && allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->Ultracopier_current_theme->itemData(index).toString()+", string value: "+ui->Ultracopier_current_theme->itemText(index)+", index: "+QString::number(index));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Themes"),QStringLiteral("Ultracopier_current_theme"),ui->Ultracopier_current_theme->itemData(index));
- int index_loop=0;
- loop_size=pluginOptionsWidgetList.size();
- while(index_loop<loop_size)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->Ultracopier_current_theme->itemData(index).toString().toStdString()+
+ ", string value: "+ui->Ultracopier_current_theme->itemText(index).toStdString()+
+ ", index: "+std::to_string(index));
+ OptionEngine::optionEngine->setOptionValue("Themes","Ultracopier_current_theme",ui->Ultracopier_current_theme->itemData(index).toString().toStdString());
+ unsigned int index_loop=0;
+ while(index_loop<pluginOptionsWidgetList.size())
{
- if(pluginOptionsWidgetList.at(index_loop).name==ui->Ultracopier_current_theme->itemData(index).toString())
+ if(pluginOptionsWidgetList.at(index_loop).name==ui->Ultracopier_current_theme->itemData(index).toString().toStdString())
{
if(pluginOptionsWidgetList.at(index_loop).options==NULL)
ui->stackedWidgetThemesOptions->setCurrentWidget(ui->pageThemeNoOptions);
@@ -1277,8 +628,9 @@ void OptionDialog::on_Language_currentIndexChanged(const int &index)
{
if(index!=-1 && allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->Language->itemData(index).toString()+", string value: "+ui->Language->itemText(index)+", index: "+QString::number(index));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Language"),QStringLiteral("Language"),ui->Language->itemData(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->Language->itemData(index).toString().toStdString()+
+ ", string value: "+ui->Language->itemText(index).toStdString()+", index: "+std::to_string(index));
+ OptionEngine::optionEngine->setOptionValue("Language","Language",ui->Language->itemData(index).toString().toStdString());
}
}
@@ -1286,8 +638,8 @@ void OptionDialog::on_Language_force_toggled(const bool &checked)
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Language"),QStringLiteral("Language_force"),checked);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Language","Language_force",booltostring(checked));
ui->Language->setEnabled(ui->Language_force->isChecked() && ui->Language->count());
}
}
@@ -1296,8 +648,8 @@ void OptionDialog::on_CatchCopyAsDefault_toggled(const bool &checked)
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("CopyListener"),QStringLiteral("CatchCopyAsDefault"),checked);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("CopyListener","CatchCopyAsDefault",booltostring(checked));
}
}
@@ -1306,8 +658,8 @@ void OptionDialog::on_LoadAtSessionStarting_toggled(const bool &checked)
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("SessionLoader"),QStringLiteral("LoadAtSessionStarting"),checked);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("SessionLoader","LoadAtSessionStarting",booltostring(checked));
}
}
#endif
@@ -1338,7 +690,7 @@ void OptionDialog::on_toolButtonDown_clicked()
ui->CopyEngineList->insertItem(position+1,text);
ui->CopyEngineList->item(position+1)->setSelected(true);
ignoreCopyEngineListEdition=true;
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("CopyEngine"),QStringLiteral("List"),copyEngineStringList());
+ OptionEngine::optionEngine->setOptionValue("CopyEngine","List",stringimplode(copyEngineStringList(),";"));
ignoreCopyEngineListEdition=false;
}
}
@@ -1355,55 +707,55 @@ void OptionDialog::on_toolButtonUp_clicked()
ui->CopyEngineList->insertItem(position-1,text);
ui->CopyEngineList->item(position-1)->setSelected(true);
ignoreCopyEngineListEdition=true;
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("CopyEngine"),QStringLiteral("List"),copyEngineStringList());
+ OptionEngine::optionEngine->setOptionValue("CopyEngine","List",stringimplode(copyEngineStringList(),";"));
ignoreCopyEngineListEdition=false;
}
}
-QStringList OptionDialog::copyEngineStringList() const
+std::vector<std::string> OptionDialog::copyEngineStringList() const
{
- QStringList newList;
+ std::vector<std::string> newList;
int index=0;
while(index<ui->CopyEngineList->count())
{
- newList << ui->CopyEngineList->item(index)->text();
+ newList.push_back(ui->CopyEngineList->item(index)->text().toStdString());
index++;
}
return newList;
}
-void OptionDialog::newThemeOptions(const QString &name,QWidget* theNewOptionsWidget,bool isLoaded,bool havePlugin)
+void OptionDialog::newThemeOptions(const std::string &name,QWidget* theNewOptionsWidget,bool isLoaded,bool havePlugin)
{
Q_UNUSED(isLoaded);
Q_UNUSED(havePlugin);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: isLoaded: %1, havePlugin: %2, name: %3").arg(isLoaded).arg(havePlugin).arg(name));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: isLoaded: "+booltostring(isLoaded)+", havePlugin: "+
+ booltostring(havePlugin)+", name: "+name);
pluginOptionsWidget tempItem;
tempItem.name=name;
tempItem.item=NULL;
tempItem.options=theNewOptionsWidget;
tempItem.category=PluginType_Themes;
- pluginOptionsWidgetList << tempItem;
+ pluginOptionsWidgetList.push_back(tempItem);
if(theNewOptionsWidget!=NULL)
{
ui->stackedWidgetThemesOptions->addWidget(theNewOptionsWidget);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("set the last page"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set the last page");
}
on_Ultracopier_current_theme_currentIndexChanged(ui->Ultracopier_current_theme->currentIndex());
}
-void OptionDialog::addPluginOptionWidget(const PluginType &category,const QString &name,QWidget * options)
+void OptionDialog::addPluginOptionWidget(const PluginType &category,const std::string &name,QWidget * options)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: %1, category: %2").arg(name).arg(category));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+name+", category: "+std::to_string(category));
//prevent send the empty options
if(options!=NULL)
{
- index=0;
- loop_size=pluginOptionsWidgetList.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<pluginOptionsWidgetList.size())
{
if(pluginOptionsWidgetList.at(index).name==name)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("already found: ")+name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"already found: "+name);
return;
}
index++;
@@ -1412,9 +764,9 @@ void OptionDialog::addPluginOptionWidget(const PluginType &category,const QStrin
pluginOptionsWidget temp;
temp.name=name;
temp.options=options;
- temp.item=new QTreeWidgetItem(QStringList() << name);
+ temp.item=new QTreeWidgetItem(QStringList() << QString::fromStdString(name));
temp.category=category;
- pluginOptionsWidgetList << temp;
+ pluginOptionsWidgetList.push_back(temp);
//add the specific options
switch(category)
{
@@ -1435,7 +787,7 @@ void OptionDialog::addPluginOptionWidget(const PluginType &category,const QStrin
ui->stackedOptionsSessionLoader->addWidget(options);
break;
default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("Unable to parse this unknow type of plugin: ")+name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Unable to parse this unknow type of plugin: "+name);
return;
}
}
@@ -1443,16 +795,16 @@ void OptionDialog::addPluginOptionWidget(const PluginType &category,const QStrin
if(category==PluginType_CopyEngine)
{
//but can loaded by the previous options
- index=0;
- loop_size=ui->CopyEngineList->count();
+ unsigned int index=0;
+ const unsigned int loop_size=static_cast<unsigned int>(ui->CopyEngineList->count());
while(index<loop_size)
{
- if(ui->CopyEngineList->item(index)->text()==name)
+ if(ui->CopyEngineList->item(static_cast<int>(index))->text().toStdString()==name)
break;
index++;
}
if(index==loop_size)
- ui->CopyEngineList->addItems(QStringList() << name);
+ ui->CopyEngineList->addItems(QStringList() << QString::fromStdString(name));
}
}
@@ -1466,9 +818,8 @@ void OptionDialog::on_pluginList_itemSelectionChanged()
else
{
treeWidgetItem=ui->pluginList->selectedItems().first();
- index=0;
- loop_size=pluginLink.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<pluginLink.size())
{
if(pluginLink.at(index).item==treeWidgetItem)
{
@@ -1484,9 +835,8 @@ void OptionDialog::on_pluginList_itemSelectionChanged()
void OptionDialog::on_pluginInformation_clicked()
{
treeWidgetItem=ui->pluginList->selectedItems().first();
- index=0;
- loop_size=pluginLink.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<pluginLink.size())
{
if(pluginLink.at(index).item==treeWidgetItem)
{
@@ -1501,9 +851,8 @@ void OptionDialog::on_pluginInformation_clicked()
void OptionDialog::on_pluginRemove_clicked()
{
treeWidgetItem=ui->pluginList->selectedItems().first();
- index=0;
- loop_size=pluginLink.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<pluginLink.size())
{
if(pluginLink.at(index).item==treeWidgetItem)
{
@@ -1524,8 +873,8 @@ void OptionDialog::on_checkBox_Log_clicked()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("enabled"),ui->checkBox_Log->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","enabled",booltostring(ui->checkBox_Log->isChecked()));
}
ui->lineEditLog_transfer_format->setEnabled(ui->checkBoxLog_transfer->isChecked() && ui->checkBox_Log->isChecked());
ui->lineEditLog_error_format->setEnabled(ui->checkBoxLog_error->isChecked() && ui->checkBox_Log->isChecked());
@@ -1536,8 +885,8 @@ void OptionDialog::on_lineEditLog_File_editingFinished()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("file"),ui->lineEditLog_File->text());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","file",ui->lineEditLog_File->text().toStdString());
}
}
@@ -1545,8 +894,8 @@ void OptionDialog::on_lineEditLog_transfer_format_editingFinished()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("transfer_format"),ui->lineEditLog_transfer_format->text());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","transfer_format",ui->lineEditLog_transfer_format->text().toStdString());
}
}
@@ -1554,8 +903,8 @@ void OptionDialog::on_lineEditLog_error_format_editingFinished()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("error_format"),ui->lineEditLog_error_format->text());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","error_format",ui->lineEditLog_error_format->text().toStdString());
}
}
@@ -1563,8 +912,8 @@ void OptionDialog::on_checkBoxLog_transfer_clicked()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("transfer"),ui->checkBoxLog_transfer->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","transfer",booltostring(ui->checkBoxLog_transfer->isChecked()));
}
}
@@ -1572,8 +921,8 @@ void OptionDialog::on_checkBoxLog_error_clicked()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("error"),ui->checkBoxLog_error->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","error",booltostring(ui->checkBoxLog_error->isChecked()));
}
}
@@ -1581,14 +930,14 @@ void OptionDialog::on_checkBoxLog_folder_clicked()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("folder"),ui->checkBoxLog_folder->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","folder",booltostring(ui->checkBoxLog_folder->isChecked()));
}
}
void OptionDialog::on_logBrowse_clicked()
{
- QString file=QFileDialog::getSaveFileName(this,tr("Save logs as: "),ResourcesManager::resourcesManager->getWritablePath());
+ QString file=QFileDialog::getSaveFileName(this,tr("Save logs as: "),QString::fromStdString(ResourcesManager::resourcesManager->getWritablePath()));
if(file!="")
{
ui->lineEditLog_File->setText(file);
@@ -1600,8 +949,8 @@ void OptionDialog::on_checkBoxLog_sync_clicked()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Write_log"),QStringLiteral("sync"),ui->checkBoxLog_sync->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Write_log","sync",booltostring(ui->checkBoxLog_sync->isChecked()));
}
}
@@ -1609,8 +958,9 @@ void OptionDialog::on_ActionOnManualOpen_currentIndexChanged(const int &index)
{
if(index!=-1 && allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->ActionOnManualOpen->itemData(index).toString()+", string value: "+ui->ActionOnManualOpen->itemText(index)+", index: "+QString::number(index));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("ActionOnManualOpen"),index);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->ActionOnManualOpen->itemData(index).toString().toStdString()+
+ ", string value: "+ui->ActionOnManualOpen->itemText(index).toStdString()+", index: "+std::to_string(index));
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","ActionOnManualOpen",std::to_string(index));
}
}
@@ -1618,8 +968,9 @@ void OptionDialog::on_GroupWindowWhen_currentIndexChanged(const int &index)
{
if(index!=-1 && allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->GroupWindowWhen->itemData(index).toString()+", string value: "+ui->GroupWindowWhen->itemText(index)+", index: "+QString::number(index));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("GroupWindowWhen"),index);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data value: "+ui->GroupWindowWhen->itemData(index).toString().toStdString()+
+ ", string value: "+ui->GroupWindowWhen->itemText(index).toStdString()+", index: "+std::to_string(index));
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","GroupWindowWhen",std::to_string(index));
}
}
@@ -1627,87 +978,45 @@ void OptionDialog::on_DisplayOSWarning_clicked()
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("displayOSSpecific"),ui->DisplayOSWarning->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","displayOSSpecific",booltostring(ui->DisplayOSWarning->isChecked()));
}
}
-void OptionDialog::newClientList(const QStringList &clientsList)
+void OptionDialog::newClientList(const std::vector<std::string> &clientsList)
{
ui->clientConnected->clear();
- ui->clientConnected->addItems(clientsList);
+ unsigned int index=0;
+ while(index<clientsList.size())
+ {
+ ui->clientConnected->addItem(QString::fromStdString(clientsList.at(index)));
+ index++;
+ }
}
void OptionDialog::on_checkTheUpdate_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("checkTheUpdate"),ui->checkTheUpdate->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","checkTheUpdate",booltostring(ui->checkTheUpdate->isChecked()));
}
void OptionDialog::on_confirmToGroupWindows_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("confirmToGroupWindows"),ui->confirmToGroupWindows->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","confirmToGroupWindows",booltostring(ui->confirmToGroupWindows->isChecked()));
}
void OptionDialog::on_giveGPUTime_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("giveGPUTime"),ui->giveGPUTime->isChecked());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","giveGPUTime",booltostring(ui->giveGPUTime->isChecked()));
}
-#ifdef ULTRACOPIER_CGMINER
-/*int OptionDialog::getcpuload()
-{
- static PDH_STATUS status;
- static PDH_FMT_COUNTERVALUE value;
- static HQUERY query;
- static HCOUNTER counter;
- static DWORD ret;
- static char runonce=1;
- char cput=0;
-
- if(runonce)
- {
- status = PdhOpenQuery(NULL, 0, &query);
- if(status != ERROR_SUCCESS)
- {
- printf("PdhOpenQuery() ***Error: 0x%X\n",status);
- return 0;
- }
- PdhAddCounter(query, TEXT("\\Processor(_Total)\\% Processor Time"),0,&counter); // A total of ALL CPU's in the system
- runonce=0;
- PdhCollectQueryData(query); // No error checking here
- return 0;
- }
- status = PdhCollectQueryData(query);
- if(status != ERROR_SUCCESS)
- {
- printf("PhdCollectQueryData() ***Error: 0x%X\n",status);
- if(status==PDH_INVALID_HANDLE)
- printf("PDH_INVALID_HANDLE\n");
- else if(status==PDH_NO_DATA)
- printf("PDH_NO_DATA\n");
- else
- printf("Unknown error\n");
- return 0;
- }
- status = PdhGetFormattedCounterValue(counter, PDH_FMT_DOUBLE | PDH_FMT_NOCAP100 ,&ret, &value);
- if(status != ERROR_SUCCESS)
- {
- printf("PdhGetFormattedCounterValue() ***Error: 0x%X\n",status);
- return 0;
- }
- cput = value.doubleValue;
- return cput;
-}*/
-#endif
-
void OptionDialog::on_remainingTimeAlgorithm_currentIndexChanged(int index)
{
if(allPluginsIsLoaded)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- OptionEngine::optionEngine->setOptionValue(QStringLiteral("Ultracopier"),QStringLiteral("remainingTimeAlgorithm"),index);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ OptionEngine::optionEngine->setOptionValue("Ultracopier","remainingTimeAlgorithm",std::to_string(index));
}
}
diff --git a/OptionDialog.h b/OptionDialog.h
index 2055c4c..8223494 100644
--- a/OptionDialog.h
+++ b/OptionDialog.h
@@ -12,12 +12,6 @@
#include <QAbstractButton>
#include <QTreeWidgetItem>
-#ifdef ULTRACOPIER_CGMINER
-#define ULTRACOPIER_CGMINER_WORKING_COUNT 10
-#include <QProcess>
-#include <QTime>
-#endif
-
#include "Environment.h"
#include "OSSpecific.h"
#include "PluginsManager.h"
@@ -38,7 +32,7 @@ public:
explicit OptionDialog();
~OptionDialog();
/** \brief add the option widget from copy engine */
- void addPluginOptionWidget(const PluginType &category,const QString &name,QWidget * options);
+ void addPluginOptionWidget(const PluginType &category,const std::string &name,QWidget * options);
protected:
void changeEvent(QEvent *e);
void loadLogVariableLabel();
@@ -54,21 +48,11 @@ private slots:
void manuallyAdded(const PluginsAvailable &plugin);
#endif
void loadOption();
- void newOptionValue(const QString &group,const QString &name,const QVariant &value);
+ void newOptionValue(const std::string &group,const std::string &name,const std::string &value);
void on_Ultracopier_current_theme_currentIndexChanged(const int &index);
void on_Language_currentIndexChanged(const int &index);
void on_Language_force_toggled(const bool &checked);
void on_CatchCopyAsDefault_toggled(const bool &checked);
- #ifdef ULTRACOPIER_CGMINER
- void error( QProcess::ProcessError error );
- void finished( int exitCode, QProcess::ExitStatus exitStatus );
- void readyReadStandardError();
- void readyReadStandardOutput();
- void startAddon();
- //void checkWorking();
- void checkIdle();
- //int getcpuload();
- #endif
#ifndef ULTRACOPIER_VERSION_PORTABLE
void on_LoadAtSessionStarting_toggled(const bool &checked);
#endif
@@ -105,50 +89,33 @@ private:
struct pluginStore
{
QTreeWidgetItem * item;
- QString path;
+ std::string path;
bool isWritable;
};
- QList<pluginStore> pluginLink;
+ std::vector<pluginStore> pluginLink;
struct pluginOptionsWidget
{
- QString name;
+ std::string name;
QTreeWidgetItem * item;
QWidget *options;
PluginType category;
};
- QList<pluginOptionsWidget> pluginOptionsWidgetList;
+ std::vector<pluginOptionsWidget> pluginOptionsWidgetList;
int number_of_listener;
void addLanguage(const PluginsAvailable &plugin);
void removeLanguage(const PluginsAvailable &plugin);
void addTheme(const PluginsAvailable &plugin);
void removeTheme(const PluginsAvailable &plugin);
- QStringList copyEngineStringList() const;
+ std::vector<std::string> copyEngineStringList() const;
bool ignoreCopyEngineListEdition;
PluginsManager::ImportBackend defaultImportBackend;
- int index,loop_size;
int loadedCopyEnginePlugin;
QTreeWidgetItem * treeWidgetItem;
OSSpecific *oSSpecific;
bool allPluginsIsLoaded;
- #ifdef ULTRACOPIER_CGMINER
- #if defined(_M_X64)//ethminer
- QString addonMode;
- #endif
- QProcess addon;
- bool OpenCLDll;
- bool haveAddon;
- QList<QStringList> pools;
- QTimer restartaddon;
- QTimer autorestartaddon;
- QTimer checkIdleTimer,checkWorkingTimer;
- quint32 dwTimeIdle;
- QTime dwTimeIdleTime;
- bool isIdle;
- int workingCount;
- #endif
public slots:
- void newThemeOptions(const QString &name,QWidget* theNewOptionsWidget,bool isLoaded,bool havePlugin);
- void newClientList(const QStringList &clientsList);
+ void newThemeOptions(const std::string &name,QWidget* theNewOptionsWidget,bool isLoaded,bool havePlugin);
+ void newClientList(const std::vector<std::string> &clientsList);
signals:
void previouslyPluginAdded(const PluginsAvailable &plugin) const;
};
diff --git a/OptionEngine.cpp b/OptionEngine.cpp
index f86607f..ad2cf7c 100644
--- a/OptionEngine.cpp
+++ b/OptionEngine.cpp
@@ -19,7 +19,7 @@ OptionEngine::OptionEngine()
{
//locate the settings
#ifdef ULTRACOPIER_VERSION_PORTABLE
- QString settingsFilePath=ResourcesManager::resourcesManager->getWritablePath();
+ QString settingsFilePath=QString::fromStdString(ResourcesManager::resourcesManager->getWritablePath());
if(settingsFilePath!="")
settings = new QSettings(settingsFilePath+QStringLiteral("Ultracopier.conf"),QSettings::IniFormat);
else
@@ -77,23 +77,22 @@ OptionEngine::~OptionEngine()
}
/// \brief To add option group to options
-bool OptionEngine::addOptionGroup(const QString &groupName,const QList<QPair<QString, QVariant> > &KeysList)
+bool OptionEngine::addOptionGroup(const std::string &groupName,const std::vector<std::pair<std::string, std::string> > &KeysList)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start(\"")+groupName+QStringLiteral("\",[...])"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start(\""+groupName+"\",[...])");
//search if previous with the same name exists
- if(GroupKeysList.contains(groupName))
+ if(GroupKeysList.find(groupName)!=GroupKeysList.cend())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("group already used previously"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"group already used previously");
return false;
}
//if the backend is file, enter into the group
if(currentBackend==File)
- settings->beginGroup(groupName);
+ settings->beginGroup(QString::fromStdString(groupName));
//browse all key, and append it to the key
- int index=0;
+ unsigned int index=0;
//QList<OptionEngineGroupKey> KeyListTemp;
- const int &loop_size=KeysList.size();
- while(index<loop_size)
+ while(index<KeysList.size())
{
OptionEngineGroupKey theCurrentKey;
theCurrentKey.defaultValue=KeysList.at(index).second;
@@ -102,9 +101,9 @@ bool OptionEngine::addOptionGroup(const QString &groupName,const QList<QPair<QSt
theCurrentKey.currentValue=theCurrentKey.defaultValue;
else
{
- if(settings->contains(KeysList.at(index).first))//if file backend, load the default value from the file
+ if(settings->contains(QString::fromStdString(KeysList.at(index).first)))//if file backend, load the default value from the file
{
- theCurrentKey.currentValue=settings->value(KeysList.at(index).first);
+ theCurrentKey.currentValue=settings->value(QString::fromStdString(KeysList.at(index).first)).toString().toStdString();
#ifdef ULTRACOPIER_DEBUG
if(theCurrentKey.currentValue!=theCurrentKey.defaultValue)
{
@@ -114,7 +113,7 @@ bool OptionEngine::addOptionGroup(const QString &groupName,const QList<QPair<QSt
}
else
#endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QString("The current key: %1, group: %2, have value: %3").arg(groupName).arg(KeysList.at(index).first).arg(theCurrentKey.currentValue.toString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"The current key: "+groupName+", group: "+KeysList.at(index).first+", have value: "+theCurrentKey.currentValue);
}
#endif
}
@@ -143,53 +142,62 @@ bool OptionEngine::addOptionGroup(const QString &groupName,const QList<QPair<QSt
}
/// \brief To remove option group to options, remove the widget need be do into the calling object
-bool OptionEngine::removeOptionGroup(const QString &groupName)
+bool OptionEngine::removeOptionGroup(const std::string &groupName)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, groupName: ")+groupName);
- if(GroupKeysList.remove(groupName)!=1)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("value not found, internal bug, groupName: ")+groupName);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, groupName: "+groupName);
+ if(GroupKeysList.erase(groupName)!=1)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"value not found, internal bug, groupName: "+groupName);
return false;
}
/// \brief To get option value
-QVariant OptionEngine::getOptionValue(const QString &groupName,const QString &variableName) const
+std::string OptionEngine::getOptionValue(const std::string &groupName,const std::string &variableName) const
{
- if(GroupKeysList.contains(groupName))
+ if(GroupKeysList.find(groupName)!=GroupKeysList.cend())
{
- if(GroupKeysList.value(groupName).contains(variableName))
- return GroupKeysList.value(groupName).value(variableName).currentValue;
- QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2").arg(groupName).arg(variableName));
+ const std::unordered_map<std::string,OptionEngineGroupKey> &optionEngineGroupKey=GroupKeysList.at(groupName);
+ if(optionEngineGroupKey.find(variableName)!=optionEngineGroupKey.cend())
+ return optionEngineGroupKey.at(variableName).currentValue;
+ QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2")
+ .arg(QString::fromStdString(groupName))
+ .arg(QString::fromStdString(variableName))
+ );
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"value not found, internal bug, groupName: "+groupName+", variableName: "+variableName);
- return QVariant();
+ return std::string();
}
- QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2").arg(groupName).arg(variableName));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QString("The variable was not found: %1 %2").arg(groupName).arg(variableName));
+ QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2").arg(QString::fromStdString(groupName)).arg(QString::fromStdString(variableName)));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QString("The variable was not found: %1 %2")
+ .arg(QString::fromStdString(groupName))
+ .arg(QString::fromStdString(variableName))
+ .toStdString()
+ );
//return default value
- return QVariant();
+ return std::string();
}
/// \brief To set option value
-void OptionEngine::setOptionValue(const QString &groupName,const QString &variableName,const QVariant &value)
+void OptionEngine::setOptionValue(const std::string &groupName,const std::string &variableName,const std::string &value)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("groupName: \"")+groupName+QStringLiteral("\", variableName: \"")+variableName+QStringLiteral("\", value: \"")+value.toString()+QStringLiteral("\""));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"groupName: \""+groupName+"\", variableName: \""+variableName+"\", value: \""+value+"\"");
- if(GroupKeysList.contains(groupName))
+ if(GroupKeysList.find(groupName)!=GroupKeysList.cend())
{
- if(GroupKeysList.value(groupName).contains(variableName))
+ const std::unordered_map<std::string,OptionEngineGroupKey> &group=GroupKeysList.at(groupName);
+ if(group.find(variableName)!=group.cend())
{
//prevent re-write the same value into the variable
- if(GroupKeysList.value(groupName).value(variableName).currentValue==value)
+ if(group.at(variableName).currentValue==value)
return;
//write ONLY the new value
GroupKeysList[groupName][variableName].currentValue=value;
if(currentBackend==File)
{
- settings->beginGroup(groupName);
- settings->setValue(variableName,value);
+ settings->beginGroup(QString::fromStdString(groupName));
+ settings->setValue(QString::fromStdString(variableName),QString::fromStdString(value));
settings->endGroup();
if(settings->status()!=QSettings::NoError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Have writing error, switch to memory only options"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Have writing error, switch to memory only options");
#ifdef ULTRACOPIER_VERSION_PORTABLE
ResourcesManager::resourcesManager->disableWritablePath();
#endif // ULTRACOPIER_VERSION_PORTABLE
@@ -199,37 +207,32 @@ void OptionEngine::setOptionValue(const QString &groupName,const QString &variab
emit newOptionValue(groupName,variableName,value);
return;
}
- QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2").arg(groupName).arg(variableName));
+ QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2").arg(QString::fromStdString(groupName)).arg(QString::fromStdString(variableName)));
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"value not found, internal bug, groupName: "+groupName+", variableName: "+variableName);
return;
}
- QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2").arg(groupName).arg(variableName));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QString("The variable was not found: %1 %2").arg(groupName).arg(variableName));
+ QMessageBox::critical(NULL,"Internal error",tr("The variable was not found: %1 %2").arg(QString::fromStdString(groupName)).arg(QString::fromStdString(variableName)));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"The variable was not found: "+groupName+" "+variableName);
}
//the reset of right value of widget need be do into the calling object
void OptionEngine::internal_resetToDefaultValue()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- QHash<QString,QHash<QString,OptionEngineGroupKey> >::const_iterator i = GroupKeysList.constBegin();
- QHash<QString,QHash<QString,OptionEngineGroupKey> >::const_iterator i_end = GroupKeysList.constEnd();
- QHash<QString,OptionEngineGroupKey>::const_iterator j;
- QHash<QString,OptionEngineGroupKey>::const_iterator j_end;
- while (i != i_end)
+ for(auto& n:GroupKeysList)
{
- j = i.value().constBegin();
- j_end = i.value().constEnd();
- while (j != j_end)
+ const std::string &firstKey=n.first;
+ for(auto& m:n.second)
{
- if(j.value().currentValue!=j.value().defaultValue)
+ const std::string &secondKey=m.first;
+ OptionEngineGroupKey &o=m.second;
+ if(o.currentValue!=o.defaultValue)
{
- GroupKeysList[i.key()][j.key()].currentValue=j.value().defaultValue;
- emit newOptionValue(i.key(),j.key(),j.value().currentValue);
+ o.currentValue=o.defaultValue;
+ emit newOptionValue(firstKey,secondKey,o.currentValue);
}
- ++j;
}
- ++i;
}
}
diff --git a/OptionEngine.h b/OptionEngine.h
index ca8a786..027861f 100644
--- a/OptionEngine.h
+++ b/OptionEngine.h
@@ -20,6 +20,7 @@
#include <QTimer>
#include <QWidget>
#include <QHash>
+#include <unordered_map>
#include "interface/OptionInterface.h"
@@ -41,13 +42,13 @@ class OptionEngine : public QObject
/// \brief Destroy the option
~OptionEngine();
/// \brief To add option group to options
- bool addOptionGroup(const QString &groupName,const QList<QPair<QString, QVariant> > &KeysList);
+ bool addOptionGroup(const std::string &groupName,const std::vector<std::pair<std::string, std::string> > &KeysList);
/// \brief To remove option group to options, remove the widget need be do into the calling object
- bool removeOptionGroup(const QString &groupName);
+ bool removeOptionGroup(const std::string &groupName);
/// \brief To get option value
- QVariant getOptionValue(const QString &groupName,const QString &variableName) const;
+ std::string getOptionValue(const std::string &groupName,const std::string &variableName) const;
/// \brief To set option value
- void setOptionValue(const QString &groupName,const QString &variableName,const QVariant &value);
+ void setOptionValue(const std::string &groupName,const std::string &variableName,const std::string &value);
/// \brief To invalid option value
//void setInvalidOptionValue(const QString &groupName,const QString &variableName);
/// \brief get query reset options
@@ -56,14 +57,14 @@ class OptionEngine : public QObject
/// \brief OptionEngineGroupKey then: Group -> Key
struct OptionEngineGroupKey
{
- QVariant defaultValue;
- QVariant currentValue;
+ std::string defaultValue;
+ std::string currentValue;
bool emptyList;
};
/// \brief store the option group list
- QHash<QString,QHash<QString,OptionEngineGroupKey> > GroupKeysList;
- QStringList unmanagedTabName;
+ std::unordered_map<std::string,std::unordered_map<std::string,OptionEngineGroupKey> > GroupKeysList;
+ std::vector<std::string> unmanagedTabName;
/// \brief Enumeration of backend
enum Backend
{
@@ -77,7 +78,7 @@ class OptionEngine : public QObject
//the reset of right value of widget need be do into the calling object
void internal_resetToDefaultValue();
signals:
- void newOptionValue(const QString&,const QString&,const QVariant&) const;
+ void newOptionValue(const std::string&,const std::string&,const std::string&) const;
void resetOptions() const;
public:
static OptionEngine *optionEngine;
diff --git a/PluginInformation.cpp b/PluginInformation.cpp
index 3f5a09a..8c1551c 100644
--- a/PluginInformation.cpp
+++ b/PluginInformation.cpp
@@ -5,6 +5,7 @@
#include "PluginInformation.h"
#include "ui_PluginInformation.h"
+#include "cpp11addition.h"
PluginInformation::PluginInformation() :
ui(new Ui::PluginInformation)
@@ -25,37 +26,30 @@ void PluginInformation::setPlugin(const PluginsAvailable &plugin)
retranslateInformation();
}
-void PluginInformation::setLanguage(const QString &language)
+void PluginInformation::setLanguage(const std::string &language)
{
this->language=language;
}
-QString PluginInformation::categoryToTranslation(const PluginType &category) const
+std::string PluginInformation::categoryToTranslation(const PluginType &category) const
{
switch(category)
{
case PluginType_CopyEngine:
- return tr("Copy engine");
- break;
+ return tr("Copy engine").toStdString();
case PluginType_Languages:
- return tr("Languages");
- break;
+ return tr("Languages").toStdString();
case PluginType_Listener:
- return tr("Listener");
- break;
+ return tr("Listener").toStdString();
case PluginType_PluginLoader:
- return tr("Plugin loader");
- break;
+ return tr("Plugin loader").toStdString();
case PluginType_SessionLoader:
- return tr("Session loader");
- break;
+ return tr("Session loader").toStdString();
case PluginType_Themes:
- return tr("Themes");
- break;
+ return tr("Themes").toStdString();
default:
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"cat translation not found");
- return tr("Unknown");
- break;
+ return tr("Unknown").toStdString();
}
}
@@ -64,60 +58,62 @@ void PluginInformation::retranslateInformation()
if(!pluginIsLoaded)
return;
ui->retranslateUi(this);
- this->setWindowTitle(tr("Information about %1").arg(plugin.name));
- ui->name->setText(plugin.name);
- ui->title->setText(getTranslatedText(plugin,QStringLiteral("title"),language));
- ui->category->setText(categoryToTranslation(plugin.category));
- ui->author->setText(getInformationText(plugin,QStringLiteral("author")));
- QString website=getTranslatedText(plugin,QStringLiteral("website"),language);
+ this->setWindowTitle(tr("Information about %1").arg(QString::fromStdString(plugin.name)));
+ ui->name->setText(QString::fromStdString(plugin.name));
+ ui->title->setText(QString::fromStdString(getTranslatedText(plugin,"title",language)));
+ ui->category->setText(QString::fromStdString(categoryToTranslation(plugin.category)));
+ ui->author->setText(QString::fromStdString(getInformationText(plugin,"author")));
+ QString website=QString::fromStdString(getTranslatedText(plugin,"website",language));
ui->website->setText(QStringLiteral("<a href=\"")+website+QStringLiteral("\" title=\"")+website+QStringLiteral("\">")+website+QStringLiteral("</a>"));
bool ok;
- int timeStamps=getInformationText(plugin,QStringLiteral("pubDate")).toInt(&ok);
+ int timeStamps=stringtoint32(getInformationText(plugin,"pubDate"),&ok);
QDateTime date;
date.setTime_t(timeStamps);
ui->date->setDateTime(date);
if(!ok || timeStamps<=0)
ui->date->setEnabled(false);
- ui->description->setPlainText(getTranslatedText(plugin,QStringLiteral("description"),language));
- ui->version->setText(getInformationText(plugin,QStringLiteral("version")));
+ ui->description->setPlainText(QString::fromStdString(getTranslatedText(plugin,"description",language)));
+ ui->version->setText(QString::fromStdString(getInformationText(plugin,"version")));
}
/// \brief get informations text
-QString PluginInformation::getInformationText(const PluginsAvailable &plugin,const QString &informationName)
+std::string PluginInformation::getInformationText(const PluginsAvailable &plugin,const std::string &informationName)
{
- int index=0;
+ unsigned int index=0;
while(index<plugin.informations.size())
{
- if(plugin.informations.at(index).size()==2 && plugin.informations.at(index).first()==informationName)
- return plugin.informations.at(index).last();
+ const std::vector<std::string> &information=plugin.informations.at(index);
+ if(information.size()==2 && information.front()==informationName)
+ return information.back();
index++;
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"information not found: "+informationName+", for: "+plugin.name+", cat: "+categoryToTranslation(plugin.category));
- return "";
+ return std::string();
}
/// \brief get translated text
-QString PluginInformation::getTranslatedText(const PluginsAvailable &plugin,const QString &informationName,const QString &mainShortName)
+std::string PluginInformation::getTranslatedText(const PluginsAvailable &plugin,const std::string &informationName,const std::string &mainShortName)
{
- int index=0;
- QString TextFound;
+ unsigned int index=0;
+ std::string TextFound;
while(index<plugin.informations.size())
{
- if(plugin.informations.at(index).size()==3)
+ const std::vector<std::string> &information=plugin.informations.at(index);
+ if(information.size()==3)
{
- if(plugin.informations.at(index).first()==informationName)
+ if(information.front()==informationName)
{
- if(plugin.informations.at(index).at(1)==mainShortName)
- return plugin.informations.at(index).last();
- else if(plugin.informations.at(index).at(1)==QStringLiteral("en"))
- TextFound=plugin.informations.at(index).last();
+ if(information.at(1)==mainShortName)
+ return information.back();
+ else if(information.at(1)=="en")
+ TextFound=information.back();
}
}
index++;
}
#ifdef ULTRACOPIER_DEBUG
- if(TextFound.isEmpty() || TextFound.isEmpty())
+ if(TextFound.empty() || TextFound.empty())
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"text is not found or empty for: "+informationName+", with the language: "+mainShortName+", for the plugin: "+plugin.path);
#endif // ULTRACOPIER_DEBUG
return TextFound;
diff --git a/PluginInformation.h b/PluginInformation.h
index c1bda2f..d3c1d5a 100644
--- a/PluginInformation.h
+++ b/PluginInformation.h
@@ -23,20 +23,20 @@ class PluginInformation : public QDialog
explicit PluginInformation();
~PluginInformation();
/** \brief get translated categorie */
- QString categoryToTranslation(const PluginType &category) const;
+ std::string categoryToTranslation(const PluginType &category) const;
/** \brief to get the new plugin informations */
void setPlugin(const PluginsAvailable &plugin);
/** \brief to set the language */
- void setLanguage(const QString &language);
+ void setLanguage(const std::string &language);
public slots:
void retranslateInformation();
private:
bool pluginIsLoaded;
PluginsAvailable plugin;
Ui::PluginInformation *ui;
- QString language;
- QString getInformationText(const PluginsAvailable &plugin,const QString &informationName);
- QString getTranslatedText(const PluginsAvailable &plugin,const QString &informationName,const QString &mainShortName);
+ std::string language;
+ std::string getInformationText(const PluginsAvailable &plugin,const std::string &informationName);
+ std::string getTranslatedText(const PluginsAvailable &plugin,const std::string &informationName,const std::string &mainShortName);
};
#endif // PLUGININFORMATION_H
diff --git a/PluginLoader.cpp b/PluginLoader.cpp
index 7577885..36101a4 100644
--- a/PluginLoader.cpp
+++ b/PluginLoader.cpp
@@ -6,9 +6,15 @@
#include "PluginLoader.h"
#include "LanguagesManager.h"
+#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
+#ifdef Q_OS_WIN32
+#include "plugins/PluginLoader/catchcopy-v0002/pluginLoader.h"
+#endif
+#endif
+
PluginLoader::PluginLoader(OptionDialog *optionDialog)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
this->optionDialog=optionDialog;
//load the overall instance
//load the plugin
@@ -19,7 +25,7 @@ PluginLoader::PluginLoader(OptionDialog *optionDialog)
connect(PluginsManager::pluginsManager,&PluginsManager::onePluginWillBeRemoved,this,&PluginLoader::onePluginWillBeRemoved,Qt::DirectConnection);
#endif
connect(PluginsManager::pluginsManager,&PluginsManager::pluginListingIsfinish, this,&PluginLoader::allPluginIsloaded,Qt::QueuedConnection);
- QList<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_PluginLoader);
+ std::vector<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_PluginLoader);
foreach(PluginsAvailable currentPlugin,list)
emit previouslyPluginAdded(currentPlugin);
PluginsManager::pluginsManager->unlockPluginListEdition();
@@ -66,14 +72,19 @@ void PluginLoader::resendState()
void PluginLoader::onePluginAdded(const PluginsAvailable &plugin)
{
+ #ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
+ #ifdef Q_OS_WIN32
+ PluginInterface_PluginLoader *factory;
+ #endif
+ #endif
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
if(stopIt)
return;
if(plugin.category!=PluginType_PluginLoader)
return;
LocalPlugin newEntry;
- QString pluginPath=plugin.path+PluginsManager::getResolvedPluginName(QStringLiteral("pluginLoader"));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("try load: ")+pluginPath);
+ std::string pluginPath=plugin.path+PluginsManager::getResolvedPluginName("pluginLoader");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"try load: "+pluginPath);
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
PluginInterface_PluginLoader *pluginLoaderInstance;
QObjectList objectList=QPluginLoader::staticInstances();
@@ -89,33 +100,32 @@ void PluginLoader::onePluginAdded(const PluginsAvailable &plugin)
}
if(index==objectList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("static listener not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"static listener not found");
return;
}
newEntry.pluginLoader=NULL;
#else
- QPluginLoader *pluginLoader= new QPluginLoader(pluginPath);
+ QPluginLoader *pluginLoader= new QPluginLoader(QString::fromStdString(pluginPath));
QObject *pluginInstance = pluginLoader->instance();
if(!pluginInstance)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to load the plugin: ")+pluginLoader->errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to load the plugin: "+pluginLoader->errorString().toStdString());
return;
}
PluginInterface_PluginLoader *pluginLoaderInstance = qobject_cast<PluginInterface_PluginLoader *>(pluginInstance);
if(!pluginLoaderInstance)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to cast the plugin: ")+pluginLoader->errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to cast the plugin: "+pluginLoader->errorString().toStdString());
return;
}
newEntry.pluginLoader = pluginLoader;
//check if found
- int index=0;
- const int &loop_size=pluginList.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<pluginList.size())
{
if(pluginList.at(index).pluginLoaderInterface==pluginLoaderInstance)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Plugin already found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Plugin already found");
pluginLoader->unload();
return;
}
@@ -126,22 +136,50 @@ void PluginLoader::onePluginAdded(const PluginsAvailable &plugin)
connect(pluginLoaderInstance,&PluginInterface_PluginLoader::debugInformation,this,&PluginLoader::debugInformation,Qt::DirectConnection);
#endif // ULTRACOPIER_DEBUG
- newEntry.options=new LocalPluginOptions(QStringLiteral("PluginLoader-")+plugin.name);
+ newEntry.options=new LocalPluginOptions("PluginLoader-"+plugin.name);
newEntry.pluginLoaderInterface = pluginLoaderInstance;
newEntry.path = plugin.path;
newEntry.state = Ultracopier::Uncaught;
newEntry.inWaitOfReply = false;
- pluginList << newEntry;
+ pluginList.push_back(newEntry);
pluginLoaderInstance->setResources(newEntry.options,plugin.writablePath,plugin.path,ULTRACOPIER_VERSION_PORTABLE_BOOL);
optionDialog->addPluginOptionWidget(PluginType_PluginLoader,plugin.name,newEntry.pluginLoaderInterface->options());
- connect(pluginList.last().pluginLoaderInterface,&PluginInterface_PluginLoader::newState,this,&PluginLoader::newState,Qt::DirectConnection);
+ connect(pluginList.back().pluginLoaderInterface,&PluginInterface_PluginLoader::newState,this,&PluginLoader::newState,Qt::DirectConnection);
connect(LanguagesManager::languagesManager,&LanguagesManager::newLanguageLoaded,newEntry.pluginLoaderInterface,&PluginInterface_PluginLoader::newLanguageLoaded,Qt::DirectConnection);
if(needEnable)
{
- pluginList.last().inWaitOfReply=true;
+ pluginList.back().inWaitOfReply=true;
newEntry.pluginLoaderInterface->setEnabled(needEnable);
}
#else
+ #ifdef Q_OS_WIN32
+ factory=new WindowsExplorerLoader();
+ LocalPlugin newEntry;
+ #ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
+ newEntry.pluginLoader=NULL;
+ #endif
+
+ newEntry.options=new LocalPluginOptions("PluginLoader-"+plugin.name);
+ newEntry.pluginLoaderInterface = new WindowsExplorerLoader();
+ newEntry.path = plugin.path;
+ newEntry.state = Ultracopier::Uncaught;
+ newEntry.inWaitOfReply = false;
+ #ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
+ #ifdef ULTRACOPIER_DEBUG
+ connect(newEntry.pluginLoaderInterface,&PluginInterface_PluginLoader::debugInformation,this,&PluginLoader::debugInformation,Qt::DirectConnection);
+ #endif // ULTRACOPIER_DEBUG
+ #endif
+ pluginList.push_back(newEntry);
+ newEntry.pluginLoaderInterface->setResources(newEntry.options,plugin.writablePath,plugin.path,ULTRACOPIER_VERSION_PORTABLE_BOOL);
+ optionDialog->addPluginOptionWidget(PluginType_PluginLoader,plugin.name,newEntry.pluginLoaderInterface->options());
+ connect(pluginList.back().pluginLoaderInterface,&PluginInterface_PluginLoader::newState,this,&PluginLoader::newState,Qt::DirectConnection);
+ connect(LanguagesManager::languagesManager,&LanguagesManager::newLanguageLoaded,newEntry.pluginLoaderInterface,&PluginInterface_PluginLoader::newLanguageLoaded,Qt::DirectConnection);
+ if(needEnable)
+ {
+ pluginList.back().inWaitOfReply=true;
+ newEntry.pluginLoaderInterface->setEnabled(needEnable);
+ }
+ #endif
Q_UNUSED(plugin);
#endif
}
@@ -153,10 +191,9 @@ void PluginLoader::onePluginWillBeRemoved(const PluginsAvailable &plugin)
return;
if(plugin.category!=PluginType_PluginLoader)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
- const int &loop_size=pluginList.size();
- while(index<loop_size)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
+ while(index<pluginList.size())
{
if(plugin.path==pluginList.at(index).path)
{
@@ -166,7 +203,7 @@ void PluginLoader::onePluginWillBeRemoved(const PluginsAvailable &plugin)
if(!pluginList.at(index).pluginLoader->isLoaded() || pluginList.at(index).pluginLoader->unload())
{
delete pluginList.at(index).options;
- pluginList.removeAt(index);
+ pluginList.erase(pluginList.cbegin()+index);
}
}
sendState();
@@ -182,8 +219,8 @@ void PluginLoader::load()
if(stopIt)
return;
needEnable=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginList.size())
{
pluginList[index].inWaitOfReply=true;
@@ -197,9 +234,9 @@ void PluginLoader::unload()
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
needEnable=false;
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
pluginList[index].inWaitOfReply=true;
@@ -210,9 +247,9 @@ void PluginLoader::unload()
}
#ifdef ULTRACOPIER_DEBUG
-void PluginLoader::debugInformation(const Ultracopier::DebugLevel &level,const QString& fonction,const QString& text,const QString& file,const int& ligne)
+void PluginLoader::debugInformation(const Ultracopier::DebugLevel &level,const std::string& fonction,const std::string& text,const std::string& file,const unsigned int& ligne)
{
- DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,QStringLiteral("Plugin loader plugin"));
+ DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,"Plugin loader plugin");
}
#endif // ULTRACOPIER_DEBUG
@@ -220,7 +257,7 @@ void PluginLoader::allPluginIsloaded()
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("with value: ")+QString::number(pluginList.size()>0));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"with value: "+std::to_string(pluginList.size()>0));
sendState(true);
}
@@ -228,10 +265,10 @@ void PluginLoader::sendState(bool force)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, pluginList.size(): %1, force: %2").arg(pluginList.size()).arg(force));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, pluginList.size(): "+std::to_string(pluginList.size())+", force: "+std::to_string(force));
Ultracopier::CatchState current_state=Ultracopier::Uncaught;
bool found_not_listen=false,found_listen=false,found_inWaitOfReply=false;
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(current_state==Ultracopier::Uncaught)
@@ -247,7 +284,7 @@ void PluginLoader::sendState(bool force)
found_inWaitOfReply=true;
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("current_state: %1").arg(current_state));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"current_state: "+std::to_string(current_state));
if(current_state==Ultracopier::Uncaught)
{
if(!found_not_listen && !found_listen)
@@ -265,11 +302,11 @@ void PluginLoader::sendState(bool force)
bool have_plugin=pluginList.size()>0;
if(force || current_state!=last_state || have_plugin!=last_have_plugin || found_inWaitOfReply!=last_inWaitOfReply)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("send pluginLoaderReady(%1,%2,%3)").arg(current_state).arg(have_plugin).arg(found_inWaitOfReply));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"send pluginLoaderReady("+std::to_string(current_state)+","+std::to_string(have_plugin)+","+std::to_string(found_inWaitOfReply)+")");
emit pluginLoaderReady(current_state,have_plugin,found_inWaitOfReply);
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Skip the signal sending"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Skip the signal sending");
last_state=current_state;
last_have_plugin=have_plugin;
last_inWaitOfReply=found_inWaitOfReply;
@@ -279,14 +316,14 @@ void PluginLoader::newState(const Ultracopier::CatchState &state)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, state: %1").arg(state));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, state: "+std::to_string(state));
PluginInterface_PluginLoader *temp=qobject_cast<PluginInterface_PluginLoader *>(QObject::sender());
if(temp==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("listener not located!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"listener not located!");
return;
}
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(temp==pluginList.at(index).pluginLoaderInterface)
@@ -298,5 +335,5 @@ void PluginLoader::newState(const Ultracopier::CatchState &state)
}
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("listener not found!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"listener not found!");
}
diff --git a/PluginLoader.h b/PluginLoader.h
index bb5812c..83dcc11 100644
--- a/PluginLoader.h
+++ b/PluginLoader.h
@@ -50,7 +50,7 @@ private slots:
void onePluginWillBeRemoved(const PluginsAvailable &plugin);
#endif
#ifdef ULTRACOPIER_DEBUG
- void debugInformation(const Ultracopier::DebugLevel &level,const QString& fonction,const QString& text,const QString& file,const int& ligne);
+ void debugInformation(const Ultracopier::DebugLevel &level, const std::string& fonction, const std::string& text, const std::string& file, const unsigned int &ligne);
#endif // ULTRACOPIER_DEBUG
void allPluginIsloaded();
void newState(const Ultracopier::CatchState &state);
@@ -63,11 +63,11 @@ private:
QPluginLoader * pluginLoader;
#endif
Ultracopier::CatchState state;
- QString path;
+ std::string path;
bool inWaitOfReply;
LocalPluginOptions *options;
};
- QList<LocalPlugin> pluginList;
+ std::vector<LocalPlugin> pluginList;
bool needEnable;
Ultracopier::CatchState last_state;
bool last_have_plugin,last_inWaitOfReply;
diff --git a/PluginsManager.cpp b/PluginsManager.cpp
index 1a8ad42..269e837 100644
--- a/PluginsManager.cpp
+++ b/PluginsManager.cpp
@@ -9,22 +9,26 @@
#include <QFile>
#include <QFileInfo>
+#include <iterator>
+
#include "PluginsManager.h"
+#include "cpp11addition.h"
+#include "FacilityEngine.h"
/// \brief Create the manager and load the defaults variables
PluginsManager::PluginsManager()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//load the overall instance
pluginLoaded = false;
- language = QStringLiteral("en");
+ language = "en";
stopIt = false;
pluginInformation = NULL;
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
importingPlugin = false;
#endif
editionSemList.release();
- englishPluginType << QStringLiteral("CopyEngine") << QStringLiteral("Languages") << QStringLiteral("Listener") << QStringLiteral("PluginLoader") << QStringLiteral("SessionLoader") << QStringLiteral("Themes");
+ englishPluginType.push_back("CopyEngine");englishPluginType.push_back("Languages");englishPluginType.push_back("Listener");englishPluginType.push_back("PluginLoader");englishPluginType.push_back("SessionLoader");englishPluginType.push_back("Themes");
//catPlugin << tr("CopyEngine") << tr("Languages") << tr("Listener") << tr("PluginLoader") << tr("SessionLoader") << tr("Themes");
#ifdef ULTRACOPIER_PLUGIN_IMPORT_SUPPORT
connect(&decodeThread, &QXzDecodeThread::decodedIsFinish, this, &PluginsManager::decodingFinished,Qt::QueuedConnection);
@@ -48,7 +52,7 @@ PluginsManager::~PluginsManager()
}
/// \brief set current language
-void PluginsManager::setLanguage(const QString &language)
+void PluginsManager::setLanguage(const std::string &language)
{
this->language=language;
}
@@ -76,50 +80,50 @@ void PluginsManager::unlockPluginListEdition()
void PluginsManager::run()
{
- regexp_to_clean_1=QRegularExpression(QStringLiteral("[\n\r]+"));
- regexp_to_clean_2=QRegularExpression(QStringLiteral("[ \t]+"));
- regexp_to_clean_3=QRegularExpression(QStringLiteral("(&&)+"));
- regexp_to_clean_4=QRegularExpression(QStringLiteral("^&&"));
- regexp_to_clean_5=QRegularExpression(QStringLiteral("&&$"));
- regexp_to_dep_1=QRegularExpression(QStringLiteral("(&&|\\|\\||\\(|\\))"));
- regexp_to_dep_2=QRegularExpression(QStringLiteral("^(<=|<|=|>|>=)[a-zA-Z0-9\\-]+-([0-9]+\\.)*[0-9]+$"));
- regexp_to_dep_3=QRegularExpression(QStringLiteral("(<=|<|=|>|>=)"));
- regexp_to_dep_4=QRegularExpression(QStringLiteral("-([0-9]+\\.)*[0-9]+"));
- regexp_to_dep_5=QRegularExpression(QStringLiteral("[a-zA-Z0-9\\-]+-"));
- regexp_to_dep_6=QRegularExpression(QStringLiteral("[a-zA-Z0-9\\-]+-([0-9]+\\.)*[0-9]+"));
+ regexp_to_clean_1=std::regex("[\n\r]+");
+ regexp_to_clean_2=std::regex("[ \t]+");
+ regexp_to_clean_3=std::regex("(&&)+");
+ regexp_to_clean_4=std::regex("^&&");
+ regexp_to_clean_5=std::regex("&&$");
+ regexp_to_dep_1=std::regex("(&&|\\|\\||\\(|\\))");
+ regexp_to_dep_2=std::regex("^(<=|<|=|>|>=)[a-zA-Z0-9\\-]+-([0-9]+\\.)*[0-9]+$");
+ regexp_to_dep_3=std::regex("(<=|<|=|>|>=)");
+ regexp_to_dep_4=std::regex("-([0-9]+\\.)*[0-9]+");
+ regexp_to_dep_5=std::regex("[a-zA-Z0-9\\-]+-");
+ regexp_to_dep_6=std::regex("[a-zA-Z0-9\\-]+-([0-9]+\\.)*[0-9]+");
//load the path and plugins into the path
- QStringList readPath;
- readPath << ResourcesManager::resourcesManager->getReadPath();
+ const std::string &separator=FacilityEngine::separator();
+ std::vector<std::string> readPath;
+ readPath=ResourcesManager::resourcesManager->getReadPath();
pluginsList.clear();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("pluginsList.size(): ")+QString::number(pluginsList.size()));
- foreach(QString basePath,readPath)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"pluginsList.size(): "+std::to_string(pluginsList.size()));
+ foreach(std::string basePath,readPath)
{
- foreach(QString dirSub,englishPluginType)
+ foreach(std::string dirSub,englishPluginType)
{
- QString pluginComposed=basePath+dirSub+QDir::separator();
- QDir dir(pluginComposed);
+ std::string pluginComposed=basePath+dirSub+separator;
+ QDir dir(QString::fromStdString(pluginComposed));
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("search plugin into: ")+pluginComposed);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"search plugin into: "+pluginComposed);
if(dir.exists())
{
foreach(QString dirName, dir.entryList(QDir::Dirs|QDir::NoDotAndDotDot))
{
if(stopIt)
return;
- loadPluginInformation(pluginComposed+dirName+QDir::separator());
+ loadPluginInformation(pluginComposed+dirName.toStdString()+separator);
}
}
}
}
#ifdef ULTRACOPIER_DEBUG
- int index_debug=0;
- const int &loop_size=pluginsList.size();
- while(index_debug<loop_size)
+ unsigned int index_debug=0;
+ while(index_debug<pluginsList.size())
{
- QString category=categoryToString(pluginsList.at(index_debug).category);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Plugin ")+QString::number(index_debug)+QStringLiteral(" loaded (")+category+QStringLiteral("): ")+pluginsList.at(index_debug).path);
+ std::string category=categoryToString(pluginsList.at(index_debug).category);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Plugin "+std::to_string(index_debug)+" loaded ("+category+"): "+pluginsList.at(index_debug).path);
index_debug++;
}
#endif
@@ -127,45 +131,45 @@ void PluginsManager::run()
while(checkDependencies()!=0){};
#endif
//QList<PluginsAvailable> list;
- int index=0;
+ unsigned int index=0;
while(index<pluginsList.size())
{
- if(pluginsList.at(index).errorString.isEmpty())
+ if(pluginsList.at(index).errorString.empty())
emit onePluginAdded(pluginsList.at(index));
index++;
}
}
-QString PluginsManager::categoryToString(const PluginType &category) const
+std::string PluginsManager::categoryToString(const PluginType &category) const
{
switch(category)
{
case PluginType_CopyEngine:
- return QStringLiteral("CopyEngine");
+ return "CopyEngine";
break;
case PluginType_Languages:
- return QStringLiteral("Languages");
+ return "Languages";
break;
case PluginType_Listener:
- return QStringLiteral("Listener");
+ return "Listener";
break;
case PluginType_PluginLoader:
- return QStringLiteral("PluginLoader");
+ return "PluginLoader";
break;
case PluginType_SessionLoader:
- return QStringLiteral("SessionLoader");
+ return "SessionLoader";
break;
case PluginType_Themes:
- return QStringLiteral("Themes");
+ return "Themes";
break;
default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("cat text not found: ")+QString::number(category));
- return QStringLiteral("Unknown");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"cat text not found: "+std::to_string(category));
+ return "Unknown";
break;
}
}
-QString PluginsManager::categoryToTranslation(const PluginType &category)
+std::string PluginsManager::categoryToTranslation(const PluginType &category)
{
if(pluginInformation==NULL)
{
@@ -195,20 +199,20 @@ bool PluginsManager::isSamePlugin(const PluginsAvailable &pluginA,const PluginsA
return true;
}
-bool PluginsManager::loadPluginInformation(const QString &path)
+bool PluginsManager::loadPluginInformation(const std::string &path)
{
PluginsAvailable tempPlugin;
tempPlugin.isAuth = false;
tempPlugin.path = path;
tempPlugin.category = PluginType_Unknow;
- QDir pluginPath(path);
+ QDir pluginPath(QString::fromStdString(path));
if(pluginPath.cdUp() && pluginPath.cdUp() &&
- ResourcesManager::resourcesManager->getWritablePath()!="" &&
- pluginPath==QDir(ResourcesManager::resourcesManager->getWritablePath()))
+ !ResourcesManager::resourcesManager->getWritablePath().empty() &&
+ pluginPath==QDir(QString::fromStdString(ResourcesManager::resourcesManager->getWritablePath())))
tempPlugin.isWritable=true;
else
tempPlugin.isWritable=false;
- QFile xmlMetaData(path+QStringLiteral("informations.xml"));
+ QFile xmlMetaData(QString::fromStdString(path)+"informations.xml");
if(xmlMetaData.exists())
{
if(xmlMetaData.open(QIODevice::ReadOnly))
@@ -218,26 +222,26 @@ bool PluginsManager::loadPluginInformation(const QString &path)
}
else
{
- tempPlugin.errorString=tr("informations.xml is not accessible");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("informations.xml is not accessible into the plugin: ")+path);
+ tempPlugin.errorString=tr("informations.xml is not accessible").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"informations.xml is not accessible into the plugin: "+path);
}
}
else
{
- tempPlugin.errorString=tr("informations.xml not found for the plugin");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("informations.xml not found for the plugin: ")+path);
+ tempPlugin.errorString=tr("informations.xml not found for the plugin").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"informations.xml not found for the plugin: "+path);
}
editionSemList.acquire();
- pluginsList << tempPlugin;
- if(tempPlugin.errorString==QStringLiteral(""))
- pluginsListIndexed.insert(tempPlugin.category,tempPlugin);
+ pluginsList.push_back(tempPlugin);
+ if(tempPlugin.errorString.empty())
+ pluginsListIndexed[tempPlugin.category].push_back(tempPlugin);
editionSemList.release();
- if(tempPlugin.errorString==QStringLiteral(""))
+ if(tempPlugin.errorString.empty())
return true;
else
{
emit onePluginInErrorAdded(tempPlugin);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Error detected, the not loaded: ")+tempPlugin.errorString+QStringLiteral(", for path: ")+tempPlugin.path);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error detected, the not loaded: "+tempPlugin.errorString+", for path: "+tempPlugin.path);
return false;
}
}
@@ -250,91 +254,88 @@ void PluginsManager::loadPluginXml(PluginsAvailable * thePlugin,const QByteArray
QDomDocument domDocument;
if (!domDocument.setContent(xml, false, &errorStr,&errorLine,&errorColumn))
{
- thePlugin->errorString=tr("%1, parse error at line %2, column %3: %4").arg(QStringLiteral("informations.xml")).arg(errorLine).arg(errorColumn).arg(errorStr);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("%1, Parse error at line %2, column %3: %4").arg(QStringLiteral("informations.xml")).arg(errorLine).arg(errorColumn).arg(errorStr));
+ thePlugin->errorString=tr("%1, parse error at line %2, column %3: %4").arg("informations.xml").arg(errorLine).arg(errorColumn).arg(errorStr).toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"informations.xml, Parse error at line "+std::to_string(errorLine)+", column "+std::to_string(errorColumn)+": "+errorStr.toStdString());
}
else
{
QDomElement root = domDocument.documentElement();
if (root.tagName() != QStringLiteral("package"))
{
- thePlugin->errorString=tr("\"package\" root tag not found for the xml file");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("\"package\" root balise not found for the xml file"));
+ thePlugin->errorString=tr("\"package\" root tag not found for the xml file").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"\"package\" root balise not found for the xml file");
}
//load the variable
- if(thePlugin->errorString.isEmpty())
- loadBalise(root,QStringLiteral("title"),&(thePlugin->informations),&(thePlugin->errorString),true,true,true);
- if(thePlugin->errorString.isEmpty())
- loadBalise(root,QStringLiteral("website"),&(thePlugin->informations),&(thePlugin->errorString),false,true);
- if(thePlugin->errorString.isEmpty())
- loadBalise(root,QStringLiteral("description"),&(thePlugin->informations),&(thePlugin->errorString),true,true,true);
- if(thePlugin->errorString.isEmpty())
- loadBalise(root,QStringLiteral("author"),&(thePlugin->informations),&(thePlugin->errorString),true,false);
- if(thePlugin->errorString.isEmpty())
- loadBalise(root,QStringLiteral("pubDate"),&(thePlugin->informations),&(thePlugin->errorString),true,false);
- if(thePlugin->errorString.isEmpty())
+ if(thePlugin->errorString.empty())
+ loadBalise(root,"title",&(thePlugin->informations),&(thePlugin->errorString),true,true,true);
+ if(thePlugin->errorString.empty())
+ loadBalise(root,"website",&(thePlugin->informations),&(thePlugin->errorString),false,true);
+ if(thePlugin->errorString.empty())
+ loadBalise(root,"description",&(thePlugin->informations),&(thePlugin->errorString),true,true,true);
+ if(thePlugin->errorString.empty())
+ loadBalise(root,"author",&(thePlugin->informations),&(thePlugin->errorString),true,false);
+ if(thePlugin->errorString.empty())
+ loadBalise(root,"pubDate",&(thePlugin->informations),&(thePlugin->errorString),true,false);
+ if(thePlugin->errorString.empty())
{
- loadBalise(root,QStringLiteral("version"),&(thePlugin->informations),&(thePlugin->errorString),true,false);
- if(thePlugin->errorString.isEmpty())
- thePlugin->version=thePlugin->informations.last().last();
+ loadBalise(root,"version",&(thePlugin->informations),&(thePlugin->errorString),true,false);
+ if(thePlugin->errorString.empty())
+ thePlugin->version=thePlugin->informations.back().back();
}
- if(thePlugin->errorString.isEmpty())
+ if(thePlugin->errorString.empty())
{
- loadBalise(root,QStringLiteral("category"),&(thePlugin->informations),&(thePlugin->errorString),true,false);
- if(thePlugin->errorString.isEmpty())
+ loadBalise(root,"category",&(thePlugin->informations),&(thePlugin->errorString),true,false);
+ if(thePlugin->errorString.empty())
{
- QString tempCat=thePlugin->informations.last().last();
- if(tempCat==QStringLiteral("Languages"))
+ std::string tempCat=thePlugin->informations.back().back();
+ if(tempCat=="Languages")
thePlugin->category=PluginType_Languages;
- else if(tempCat==QStringLiteral("CopyEngine"))
+ else if(tempCat=="CopyEngine")
thePlugin->category=PluginType_CopyEngine;
- else if(tempCat==QStringLiteral("Listener"))
+ else if(tempCat=="Listener")
thePlugin->category=PluginType_Listener;
- else if(tempCat==QStringLiteral("PluginLoader"))
+ else if(tempCat=="PluginLoader")
thePlugin->category=PluginType_PluginLoader;
- else if(tempCat==QStringLiteral("SessionLoader"))
+ else if(tempCat=="SessionLoader")
thePlugin->category=PluginType_SessionLoader;
- else if(tempCat==QStringLiteral("Themes"))
+ else if(tempCat=="Themes")
thePlugin->category=PluginType_Themes;
else
- thePlugin->errorString=QStringLiteral("Unknow category: ")+QString::number((int)thePlugin->category);
- if(thePlugin->errorString.isEmpty())
+ thePlugin->errorString="Unknow category: "+std::to_string((int)thePlugin->category);
+ if(thePlugin->errorString.empty())
{
if(thePlugin->category!=PluginType_Languages)
{
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
- loadBalise(root,QStringLiteral("architecture"),&(thePlugin->informations),&(thePlugin->errorString),true,false);
- if(thePlugin->errorString.isEmpty())
+ loadBalise(root,"architecture",&(thePlugin->informations),&(thePlugin->errorString),true,false);
+ if(thePlugin->errorString.empty())
{
- if(thePlugin->informations.last().last()!=ULTRACOPIER_PLATFORM_CODE)
- thePlugin->errorString=QStringLiteral("Wrong platform code: ")+thePlugin->informations.last().last();
+ if(thePlugin->informations.back().back()!=ULTRACOPIER_PLATFORM_CODE)
+ thePlugin->errorString="Wrong platform code: "+thePlugin->informations.back().back();
}
#endif
}
}
}
}
- if(thePlugin->errorString.isEmpty())
+ if(thePlugin->errorString.empty())
{
- loadBalise(root,QStringLiteral("name"),&(thePlugin->informations),&(thePlugin->errorString),true,false);
- if(thePlugin->errorString.isEmpty())
+ loadBalise(root,"name",&(thePlugin->informations),&(thePlugin->errorString),true,false);
+ if(thePlugin->errorString.empty())
{
- thePlugin->name=thePlugin->informations.last().last();
- int index=0;
- const int &loop_size=pluginsList.size();
- int sub_index,loop_sub_size;
- while(index<loop_size)
+ thePlugin->name=thePlugin->informations.back().back();
+ size_t index=0;
+ while(index<pluginsList.size())
{
- sub_index=0;
- loop_sub_size=pluginsList.at(index).informations.size();
- while(sub_index<loop_sub_size)
+ size_t sub_index=0;
+ while(sub_index<pluginsList.at(index).informations.size())
{
- if(pluginsList.at(index).informations.at(sub_index).first()==QStringLiteral("name") &&
+ if(pluginsList.at(index).informations.at(sub_index).front()=="name" &&
pluginsList.at(index).name==thePlugin->name &&
pluginsList.at(index).category==thePlugin->category)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Plugin duplicate found ("+QString::number((int)thePlugin->category)+"/"+pluginsList.at(index).informations.at(sub_index).last()+"), already loaded, actual version skipped: "+thePlugin->version);
- thePlugin->errorString=tr("Duplicated plugin found, already loaded!");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Plugin duplicate found ("+std::to_string((int)thePlugin->category)+"/"+pluginsList.at(index).informations.at(sub_index).back()+"), already loaded, actual version skipped: "+thePlugin->version);
+ thePlugin->errorString=tr("Duplicated plugin found, already loaded!").toStdString();
break;
break;
}
@@ -344,11 +345,11 @@ void PluginsManager::loadPluginXml(PluginsAvailable * thePlugin,const QByteArray
}
}
}
- if(thePlugin->errorString.isEmpty())
- loadBalise(root,QStringLiteral("dependencies"),&(thePlugin->informations),&(thePlugin->errorString),true,false);
- if(thePlugin->errorString.isEmpty())
+ if(thePlugin->errorString.empty())
+ loadBalise(root,"dependencies",&(thePlugin->informations),&(thePlugin->errorString),true,false);
+ if(thePlugin->errorString.empty())
{
- QDomElement child = root.firstChildElement(QStringLiteral("categorySpecific"));
+ QDomElement child = root.firstChildElement("categorySpecific");
if(!child.isNull() && child.isElement())
thePlugin->categorySpecific=child;
}
@@ -356,16 +357,16 @@ void PluginsManager::loadPluginXml(PluginsAvailable * thePlugin,const QByteArray
}
/// \brief to load the multi-language balise
-void PluginsManager::loadBalise(const QDomElement &root,const QString &name,QList<QStringList> *informations,QString *errorString,bool needHaveOneEntryMinimum,bool multiLanguage,bool englishNeedBeFound)
+void PluginsManager::loadBalise(const QDomElement &root,const std::string &name,std::vector<std::vector<std::string> > *informations,std::string *errorString,bool needHaveOneEntryMinimum,bool multiLanguage,bool englishNeedBeFound)
{
int foundElement=0;
bool englishTextIsFoundForThisChild=false;
- QDomElement child = root.firstChildElement(name);
+ QDomElement child = root.firstChildElement(QString::fromStdString(name));
while(!child.isNull())
{
if(child.isElement())
{
- QStringList newInformations;
+ std::vector<std::string> newInformations;
if(multiLanguage)
{
if(child.hasAttribute(QStringLiteral("xml:lang")))
@@ -373,53 +374,55 @@ void PluginsManager::loadBalise(const QDomElement &root,const QString &name,QLis
if(child.attribute(QStringLiteral("xml:lang"))==QStringLiteral("en"))
englishTextIsFoundForThisChild=true;
foundElement++;
- newInformations << child.tagName() << child.attribute(QStringLiteral("xml:lang")) << child.text();
+ newInformations.push_back(child.tagName().toStdString());
+ newInformations.push_back(child.attribute(QStringLiteral("xml:lang")).toStdString());
+ newInformations.push_back(child.text().toStdString());
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Have not the attribute xml:lang: child.tagName(): %1, child.text(): %2").arg(child.tagName()).arg(child.text()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Have not the attribute xml:lang: child.tagName(): "+child.tagName().toStdString()+", child.text(): "+child.text().toStdString());
}
else
{
foundElement++;
- newInformations << child.tagName() << child.text();
+ newInformations.push_back(child.tagName().toStdString());
+ newInformations.push_back(child.text().toStdString());
}
- *informations << newInformations;
+ informations->push_back(newInformations);
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Is not Element: child.tagName(): %1").arg(child.tagName()));
- child = child.nextSiblingElement(name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Is not Element: child.tagName(): "+child.tagName().toStdString());
+ child = child.nextSiblingElement(QString::fromStdString(name));
}
if(multiLanguage && englishTextIsFoundForThisChild==false && englishNeedBeFound)
{
informations->clear();
- *errorString=tr("English text missing in the informations.xml for the tag: %1").arg(name);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("English text missing into the informations.xml for the tag: %1").arg(name));
+ *errorString=tr("English text missing in the informations.xml for the tag: %1").arg(QString::fromStdString(name)).toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"English text missing into the informations.xml for the tag: "+name);
return;
}
if(needHaveOneEntryMinimum && foundElement==0)
{
informations->clear();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Tag not found: %1").arg(name));
- *errorString=tr("Tag not found: %1").arg(name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Tag not found: "+name);
+ *errorString=tr("Tag not found: %1").arg(QString::fromStdString(name)).toStdString();
}
}
/// \brief to load the get dom specific
-QString PluginsManager::getDomSpecific(const QDomElement &root,const QString &name,const QList<QPair<QString,QString> > &listChildAttribute) const
+std::string PluginsManager::getDomSpecific(const QDomElement &root,const std::string &name,const std::vector<std::pair<std::string,std::string> > &listChildAttribute) const
{
- QDomElement child = root.firstChildElement(name);
- int index,loop_size;
+ QDomElement child = root.firstChildElement(QString::fromStdString(name));
bool allIsFound;
while(!child.isNull())
{
if(child.isElement())
{
allIsFound=true;
- index=0;
- loop_size=listChildAttribute.size();
- while(index<loop_size)
+ size_t index=0;
+ while(index<listChildAttribute.size())
{
- if(child.attribute(listChildAttribute.at(index).first)!=listChildAttribute.at(index).second)
+ const std::pair<std::string,std::string> &entry=listChildAttribute.at(index);
+ if(child.attribute(QString::fromStdString(entry.first))!=QString::fromStdString(entry.second))
{
allIsFound=false;
break;
@@ -427,92 +430,89 @@ QString PluginsManager::getDomSpecific(const QDomElement &root,const QString &na
index++;
}
if(allIsFound)
- return child.text();
+ return child.text().toStdString();
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Is not Element: child.tagName(): %1").arg(child.tagName()));
- child = child.nextSiblingElement(name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Is not Element: child.tagName(): "+child.tagName().toStdString());
+ child = child.nextSiblingElement(QString::fromStdString(name));
}
- return QString();
+ return std::string();
}
/// \brief to load the get dom specific
-QString PluginsManager::getDomSpecific(const QDomElement &root,const QString &name) const
+std::string PluginsManager::getDomSpecific(const QDomElement &root,const std::string &name) const
{
- QDomElement child = root.firstChildElement(name);
+ QDomElement child = root.firstChildElement(QString::fromStdString(name));
while(!child.isNull())
{
if(child.isElement())
- return child.text();
+ return child.text().toStdString();
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("Is not Element: child.tagName(): %1").arg(child.tagName()));
- child = child.nextSiblingElement(name);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Is not Element: child.tagName(): "+child.tagName().toStdString());
+ child = child.nextSiblingElement(QString::fromStdString(name));
}
- return QString();
+ return std::string();
}
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
/// \brief check the dependencies
-quint32 PluginsManager::checkDependencies()
+uint32_t PluginsManager::checkDependencies()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- quint32 errors=0;
- int index=0;
- const int &loop_size=pluginsList.size();
- int sub_index,loop_sub_size,resolv_size,indexOfDependencies;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ uint32_t errors=0;
+ unsigned int index=0;
bool depCheck;
- while(index<loop_size)
+ while(index<pluginsList.size())
{
- sub_index=0;
- loop_sub_size=pluginsList.at(index).informations.size();
- while(sub_index<loop_sub_size)
+ unsigned int sub_index=0;
+ while(sub_index<pluginsList.at(index).informations.size())
{
- if(pluginsList.at(index).informations.at(sub_index).size()==2 && pluginsList.at(index).informations.at(sub_index).at(0)==QStringLiteral("dependencies"))
+ if(pluginsList.at(index).informations.at(sub_index).size()==2 && pluginsList.at(index).informations.at(sub_index).at(0)=="dependencies")
{
- QString dependencies=pluginsList.at(index).informations.at(sub_index).at(1);
- dependencies=dependencies.replace(regexp_to_clean_1,QStringLiteral("&&"));
- dependencies=dependencies.replace(regexp_to_clean_2,QStringLiteral(""));
- dependencies=dependencies.replace(regexp_to_clean_3,QStringLiteral("&&"));
- dependencies=dependencies.replace(regexp_to_clean_4,QStringLiteral(""));
- dependencies=dependencies.replace(regexp_to_clean_5,QStringLiteral(""));
- QStringList dependenciesToResolv=dependencies.split(regexp_to_dep_1,QString::SkipEmptyParts);
- indexOfDependencies=0;
- resolv_size=dependenciesToResolv.size();
- while(indexOfDependencies<resolv_size)
+ std::string dependencies = pluginsList.at(index).informations.at(sub_index).at(1);
+ dependencies=std::regex_replace(dependencies, regexp_to_clean_1,"&&");
+ dependencies=std::regex_replace(dependencies, regexp_to_clean_2,"");
+ dependencies=std::regex_replace(dependencies, regexp_to_clean_3,"&&");
+ dependencies=std::regex_replace(dependencies, regexp_to_clean_4,"");
+ dependencies=std::regex_replace(dependencies, regexp_to_clean_5,"");
+ std::sregex_token_iterator iter(dependencies.begin(), dependencies.end(), regexp_to_dep_1, -1), end;
+ for ( ; iter != end; ++iter)
{
- QString dependenciesToParse=dependenciesToResolv.at(indexOfDependencies);
- if(!dependenciesToParse.contains(regexp_to_dep_2))
+ std::string dependenciesToParse=trim(*iter);
+ if(dependenciesToParse.empty()) {
+ continue;
+ }
+ if(!std::regex_match(dependenciesToParse, regexp_to_dep_2))
{
pluginsList[index].informations.clear();
- pluginsList[index].errorString=tr("Dependencies part is wrong");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Dependencies part is wrong: %1").arg(dependenciesToParse));
+ pluginsList[index].errorString=tr("Dependencies part is wrong").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Dependencies part is wrong: "+dependenciesToParse);
emit onePluginInErrorAdded(pluginsList.at(index));
errors++;
break;
}
- QString partName=dependenciesToParse;
- partName=partName.remove(regexp_to_dep_3);
- partName=partName.remove(regexp_to_dep_4);
- QString partVersion=dependenciesToParse;
- partVersion=partVersion.remove(regexp_to_dep_3);
- partVersion=partVersion.remove(regexp_to_dep_5);
- QString partComp=dependenciesToParse;
- partComp=partComp.remove(regexp_to_dep_6);
+ std::string partName=dependenciesToParse;
+ partName=std::regex_replace(partName, regexp_to_dep_3, "");
+ partName=std::regex_replace(partName, regexp_to_dep_4, "");
+ std::string partVersion=dependenciesToParse;
+ partVersion=std::regex_replace(partVersion, regexp_to_dep_3, "");
+ partVersion=std::regex_replace(partVersion, regexp_to_dep_5, "");
+ std::string partComp=dependenciesToParse;
+ partComp=std::regex_replace(partComp, regexp_to_dep_6, "");
//current version soft
- QString pluginVersion=getPluginVersion(partName);
+ std::string pluginVersion=getPluginVersion(partName);
depCheck=compareVersion(pluginVersion,partComp,partVersion);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("dependencies to resolv, partName: ")+partName+QStringLiteral(", partVersion: ")+partVersion+QStringLiteral(", partComp: ")+partComp+QStringLiteral(", pluginVersion: ")+pluginVersion+QStringLiteral(", depCheck: ")+QString::number(depCheck));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"dependencies to resolv, partName: "+partName+", partVersion: "+partVersion+", partComp: "+partComp+", pluginVersion: "+pluginVersion+", depCheck: "+std::to_string(depCheck));
if(!depCheck)
{
pluginsList[index].informations.clear();
- pluginsList[index].errorString=tr("Dependencies %1 are not satisfied, for plugin: %2").arg(dependenciesToParse).arg(pluginsList[index].path);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Dependencies %1 are not satisfied, for plugin: %2").arg(dependenciesToParse).arg(pluginsList[index].path));
- pluginsListIndexed.remove(pluginsList.at(index).category,pluginsList.at(index));
+ pluginsList[index].errorString=tr("Dependencies %1 are not satisfied, for plugin: %2").arg(QString::fromStdString(dependenciesToParse)).arg(QString::fromStdString(pluginsList[index].path)).toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Dependencies "+dependenciesToParse+" are not satisfied, for plugin: "+pluginsList[index].path);
+ pluginsListIndexed.erase(pluginsListIndexed.find(pluginsList.at(index).category));
emit onePluginInErrorAdded(pluginsList.at(index));
errors++;
break;
}
- indexOfDependencies++;
}
}
sub_index++;
@@ -524,26 +524,26 @@ quint32 PluginsManager::checkDependencies()
#endif
/// \brief get the version
-QString PluginsManager::getPluginVersion(const QString &pluginName) const
+std::string PluginsManager::getPluginVersion(const std::string &pluginName) const
{
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
- if(pluginName==QStringLiteral("supercopier"))
- return ULTRACOPIER_VERSION;
- #else
- if(pluginName==QStringLiteral("ultracopier"))
- return ULTRACOPIER_VERSION;
- #endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ if(pluginName=="supercopier")
+ return ULTRACOPIER_VERSION;
+ #else
+ if(pluginName=="ultracopier")
+ return ULTRACOPIER_VERSION;
+ #endif
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginsList.size())
{
- QString version,internalName;
- int sub_index=0;
+ std::string version,internalName;
+ unsigned int sub_index=0;
while(sub_index<pluginsList.at(index).informations.size())
{
- if(pluginsList.at(index).informations.at(sub_index).size()==2 && pluginsList.at(index).informations.at(sub_index).at(0)==QStringLiteral("version"))
+ if(pluginsList.at(index).informations.at(sub_index).size()==2 && pluginsList.at(index).informations.at(sub_index).at(0)=="version")
version=pluginsList.at(index).informations.at(sub_index).at(1);
- if(pluginsList.at(index).informations.at(sub_index).size()==2 && pluginsList.at(index).informations.at(sub_index).at(0)==QStringLiteral("internalName"))
+ if(pluginsList.at(index).informations.at(sub_index).size()==2 && pluginsList.at(index).informations.at(sub_index).at(0)=="internalName")
internalName=pluginsList.at(index).informations.at(sub_index).at(1);
sub_index++;
}
@@ -554,45 +554,50 @@ QString PluginsManager::getPluginVersion(const QString &pluginName) const
return "";
}
-/// \brief To compare version
-bool PluginsManager::compareVersion(const QString &versionA,const QString &sign,const QString &versionB)
+/// \brief To compare version, \return true is case of error
+bool PluginsManager::compareVersion(const std::string &versionA,const std::string &sign,const std::string &versionB)
{
- QStringList versionANumber=versionA.split(QStringLiteral("."));
- QStringList versionBNumber=versionB.split(QStringLiteral("."));
- int index=0;
- int defaultReturnValue=true;
- if(sign==QStringLiteral("<"))
+ std::vector<std::string> versionANumber=stringsplit(versionA,'.');
+ std::vector<std::string> versionBNumber=stringsplit(versionB,'.');
+ unsigned int index=0;
+ unsigned int defaultReturnValue=true;
+ if(sign=="<")
defaultReturnValue=false;
- if(sign==QStringLiteral(">"))
+ if(sign==">")
defaultReturnValue=false;
+ bool ok;
while(index<versionANumber.size() && index<versionBNumber.size())
{
- unsigned int reaNumberA=versionANumber.at(index).toUInt();
- unsigned int reaNumberB=versionBNumber.at(index).toUInt();
- if(sign==QStringLiteral("=") && reaNumberA!=reaNumberB)
+ unsigned int reaNumberA=stringtouint8(versionANumber.at(index),&ok);
+ if(!ok)
+ return true;
+ unsigned int reaNumberB=stringtouint8(versionBNumber.at(index),&ok);
+ if(!ok)
+ return true;
+ if(sign=="=" && reaNumberA!=reaNumberB)
return false;
- if(sign==QStringLiteral("<"))
+ if(sign=="<")
{
if(reaNumberA>reaNumberB)
return false;
if(reaNumberA<reaNumberB)
return true;
}
- if(sign==QStringLiteral(">"))
+ if(sign==">")
{
if(reaNumberA<reaNumberB)
return false;
if(reaNumberA>reaNumberB)
return true;
}
- if(sign==QStringLiteral("<="))
+ if(sign=="<=")
{
if(reaNumberA>reaNumberB)
return false;
if(reaNumberA<reaNumberB)
return true;
}
- if(sign==QStringLiteral(">="))
+ if(sign==">=")
{
if(reaNumberA<reaNumberB)
return false;
@@ -604,29 +609,31 @@ bool PluginsManager::compareVersion(const QString &versionA,const QString &sign,
return defaultReturnValue;
}
-QList<PluginsAvailable> PluginsManager::getPluginsByCategory(const PluginType &category) const
+std::vector<PluginsAvailable> PluginsManager::getPluginsByCategory(const PluginType &category) const
{
- return pluginsListIndexed.values(category);
+ if(pluginsListIndexed.find(category)==pluginsListIndexed.cend())
+ return std::vector<PluginsAvailable>();
+ return pluginsListIndexed.at(category);
}
-QList<PluginsAvailable> PluginsManager::getPlugins(bool withError) const
+std::vector<PluginsAvailable> PluginsManager::getPlugins(bool withError) const
{
- QList<PluginsAvailable> list;
- int index=0;
+ std::vector<PluginsAvailable> list;
+ unsigned int index=0;
while(index<pluginsList.size())
{
- if(withError || pluginsList.at(index).errorString.isEmpty())
- list<<pluginsList.at(index);
+ if(withError || pluginsList.at(index).errorString.empty())
+ list.push_back(pluginsList.at(index));
index++;
}
return list;
}
/// \brief show the information
-void PluginsManager::showInformation(const QString &path)
+void PluginsManager::showInformation(const std::string &path)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginsList.size())
{
if(pluginsList.at(index).path==path)
@@ -643,7 +650,7 @@ void PluginsManager::showInformation(const QString &path)
}
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("item not selected"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"item not selected");
}
void PluginsManager::showInformationDoubleClick()
@@ -652,17 +659,17 @@ void PluginsManager::showInformationDoubleClick()
}
#ifdef ULTRACOPIER_PLUGIN_IMPORT_SUPPORT
-void PluginsManager::removeThePluginSelected(const QString &path)
+void PluginsManager::removeThePluginSelected(const std::string &path)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginsList.size())
{
if(pluginsList.at(index).path==path)
{
QMessageBox::StandardButton reply;
// if(pluginsList.at(index).internalVersionAlternative.isEmpty())
- reply = QMessageBox::question(NULL,tr("Remove %1").arg(pluginsList.at(index).name),tr("Are you sure about removing \"%1\" in version %2?").arg(pluginsList.at(index).name).arg(pluginsList.at(index).version),QMessageBox::Yes|QMessageBox::No,QMessageBox::No);
+ reply = QMessageBox::question(NULL,tr("Remove %1").arg(QString::fromStdString(pluginsList.at(index).name)),tr("Are you sure about removing \"%1\" in version %2?").arg(QString::fromStdString(pluginsList.at(index).name)).arg(QString::fromStdString(pluginsList.at(index).version)),QMessageBox::Yes|QMessageBox::No,QMessageBox::No);
// else
// reply = QMessageBox::question(NULL,tr("Remove %1").arg(getTranslatedText(pluginsList.at(index),"name",mainShortName)),tr("Are you sure to wish remove \"%1\" in version %2 for the internal version %3?").arg(getTranslatedText(pluginsList.at(index),"name",mainShortName)).arg(pluginsList.at(index).version).arg(pluginsList.at(index).internalVersionAlternative),QMessageBox::Yes|QMessageBox::No,QMessageBox::No);
if(reply==QMessageBox::Yes)
@@ -673,17 +680,17 @@ void PluginsManager::removeThePluginSelected(const QString &path)
if(!ResourcesManager::removeFolder(pluginsList.at(index).path))
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to remove the plugin");
- QMessageBox::critical(NULL,tr("Error"),tr("Error while the removing plugin, please check the rights on the folder: \n%1").arg(pluginsList.at(index).path));
+ QMessageBox::critical(NULL,tr("Error"),tr("Error while the removing plugin, please check the rights on the folder: \n%1").arg(QString::fromStdString(pluginsList.at(index).path)));
}
- pluginsListIndexed.remove(pluginsList.at(index).category,pluginsList.at(index));
- pluginsList.removeAt(index);
+ pluginsListIndexed.erase(pluginsListIndexed.find(pluginsList.at(index).category));
+ pluginsList.erase(pluginsList.begin()+index);
while(checkDependencies()!=0){};
}
return;
}
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("item not selected"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"item not selected");
}
void PluginsManager::addPlugin(const ImportBackend &backend)
@@ -694,20 +701,20 @@ void PluginsManager::addPlugin(const ImportBackend &backend)
void PluginsManager::executeTheFileBackendLoader()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(importingPlugin)
{
QMessageBox::information(NULL,tr("Information"),tr("Previous import is in progress..."));
return;
}
- QString fileName = QFileDialog::getOpenFileName(NULL,tr("Open Ultracopier plugin"),QString(),tr("Ultracopier plugin (*.urc)"));
+ std::string fileName = QFileDialog::getOpenFileName(NULL,tr("Open Ultracopier plugin"),QString(),tr("Ultracopier plugin (*.urc)")).toStdString();
if(fileName!="")
tryLoadPlugin(fileName);
}
-void PluginsManager::tryLoadPlugin(const QString &file)
+void PluginsManager::tryLoadPlugin(const std::string &file)
{
- QFile temp(file);
+ QFile temp(QString::fromStdString(file));
if(temp.open(QIODevice::ReadOnly))
{
importingPlugin=true;
@@ -716,32 +723,32 @@ void PluginsManager::tryLoadPlugin(const QString &file)
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unable to open the file: "+temp.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unable to open the file: "+temp.errorString().toStdString());
QMessageBox::critical(NULL,tr("Plugin loader"),tr("Unable to open the plugin: %1").arg(temp.errorString()));
}
}
void PluginsManager::lunchDecodeThread(const QByteArray &data)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
decodeThread.setData(data);
decodeThread.start(QThread::LowestPriority);
}
void PluginsManager::decodingFinished()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(!decodeThread.errorFound())
{
QByteArray data=decodeThread.decodedData();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data.size(): "+QString::number(data.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"data.size(): "+std::to_string(data.size()));
QTarDecode tarFile;
std::vector<char> cppdata;
cppdata.resize(data.size());
memcpy(cppdata.data(),data.data(),data.size());
if(!tarFile.decodeData(cppdata))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"tarFile.errorString(): "+QString::fromStdString(tarFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"tarFile.errorString(): "+tarFile.errorString());
QMessageBox::critical(NULL,tr("Plugin loader"),tr("Unable to load the plugin content, please check it: %1").arg(QString::fromStdString(tarFile.errorString())));
}
else
@@ -750,16 +757,16 @@ void PluginsManager::decodingFinished()
std::vector<std::vector<char> > dataList = tarFile.getDataList();
if(fileList.size()>1)
{
- QString basePluginArchive=QStringLiteral("");
+ std::string basePluginArchive="";
/* block use less for tar?
if(fileList.at(0).contains(QRegularExpression("[\\/]")))
{
bool folderFoundEveryWhere=true;
basePluginArchive=fileList.at(0);
- basePluginArchive.remove(QRegularExpression("[\\/].*$"));
+ basePluginArchive=std::regex_replace(basePluginArchive, std::regex("[\\/].*$"), "");
for (int i = 0; i < list.size(); ++i)
{
- if(!fileList.at(i).startsWith(basePluginArchive))
+ if(!stringStartWith(fileList.at(i),basePluginArchive))
{
folderFoundEveryWhere=false;
break;
@@ -768,17 +775,17 @@ void PluginsManager::decodingFinished()
if(folderFoundEveryWhere)
{
for (int i = 0; i < fileList.size(); ++i)
- fileList[i].remove(0,basePluginArchive.size());
+ fileList[i].substr(basePluginArchive.size());
}
else
basePluginArchive="";
}*/
PluginsAvailable tempPlugin;
- QString categoryFinal=QStringLiteral("");
+ std::string categoryFinal="";
for (unsigned int i = 0; i < fileList.size(); ++i)
if(fileList.at(i)=="informations.xml")
{
- loadPluginXml(&tempPlugin,QByteArray(dataList.at(i).data(),dataList.at(i).size()));
+ loadPluginXml(&tempPlugin,QByteArray(dataList.at(i).data(),static_cast<int>(dataList.at(i).size())));
break;
}
if(tempPlugin.errorString=="")
@@ -786,43 +793,43 @@ void PluginsManager::decodingFinished()
categoryFinal=categoryToString(tempPlugin.category);
if(categoryFinal!="")
{
- QString writablePath=ResourcesManager::resourcesManager->getWritablePath();
+ std::string writablePath=ResourcesManager::resourcesManager->getWritablePath();
if(writablePath!="")
{
QDir dir;
- QString finalPluginPath=writablePath+categoryFinal+QDir::separator()+tempPlugin.name+QDir::separator();
+ std::string finalPluginPath=writablePath+categoryFinal+FacilityEngine::separator()+tempPlugin.name+FacilityEngine::separator();
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"writablePath: \""+writablePath+"\"");
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"basePluginArchive: \""+basePluginArchive+"\"");
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"categoryFinal: \""+categoryFinal+"\"");
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"finalPluginPath: \""+finalPluginPath+"\"");
- if(!dir.exists(finalPluginPath))
+ if(!dir.exists(QString::fromStdString(finalPluginPath)))
{
bool errorFound=false;
for (unsigned int i = 0; i < fileList.size(); ++i)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"file "+QString::number(i)+": "+finalPluginPath+QString::fromStdString(fileList.at(i)));
- QString fileListEntry=QString::fromStdString(fileList[i]);
- fileListEntry.remove(QRegularExpression("^(..?[\\/])+"));
- QFile currentFile(finalPluginPath+fileListEntry);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"file "+std::to_string(i)+": "+finalPluginPath+fileList.at(i));
+ std::string fileListEntry=fileList[i];
+ fileListEntry=std::regex_replace(fileListEntry, std::regex("^(..?[\\/])+"), "");
+ QFile currentFile(QString::fromStdString(finalPluginPath+fileListEntry));
QFileInfo info(currentFile);
if(!dir.exists(info.absolutePath()))
if(!dir.mkpath(info.absolutePath()))
{
ResourcesManager::resourcesManager->disableWritablePath();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Unable to make the path: "+info.absolutePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Unable to make the path: "+info.absolutePath().toStdString());
QMessageBox::critical(NULL,tr("Plugin loader"),tr("Unable to create a folder to install the plugin:\n%1").arg(info.absolutePath()));
errorFound=true;
break;
}
if(currentFile.open(QIODevice::ReadWrite))
{
- currentFile.write(QByteArray(dataList.at(i).data(),dataList.at(i).size()));
+ currentFile.write(QByteArray(dataList.at(i).data(),static_cast<int>(dataList.at(i).size())));
currentFile.close();
}
else
{
ResourcesManager::resourcesManager->disableWritablePath();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Unable to make the file: "+info.absolutePath()+", error:"+currentFile.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Unable to make the file: "+info.absolutePath().toStdString()+", error:"+currentFile.errorString().toStdString());
QMessageBox::critical(NULL,tr("Plugin loader"),tr("Unable to create a file to install the plugin:\n%1\nsince:%2").arg(info.absolutePath()).arg(currentFile.errorString()));
errorFound=true;
break;
@@ -842,7 +849,7 @@ void PluginsManager::decodingFinished()
else
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Folder with same name is present, skip the plugin installation: "+finalPluginPath);
- QMessageBox::critical(NULL,tr("Plugin loader"),tr("Folder with same name is present, skip the plugin installation:\n%1").arg(finalPluginPath));
+ QMessageBox::critical(NULL,tr("Plugin loader"),tr("Folder with same name is present, skip the plugin installation:\n%1").arg(QString::fromStdString(finalPluginPath)));
}
}
else
@@ -860,7 +867,7 @@ void PluginsManager::decodingFinished()
else
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error in the xml: "+tempPlugin.errorString);
- QMessageBox::critical(NULL,tr("Plugin loader"),tr("Unable to load the plugin content, please check it: %1").arg(tempPlugin.errorString));
+ QMessageBox::critical(NULL,tr("Plugin loader"),tr("Unable to load the plugin content, please check it: %1").arg(QString::fromStdString(tempPlugin.errorString)));
}
}
else
@@ -872,7 +879,7 @@ void PluginsManager::decodingFinished()
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"decodeThread.errorFound(), error: "+decodeThread.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"decodeThread.errorFound(), error: "+decodeThread.errorString().toStdString());
QMessageBox::critical(NULL,tr("Plugin loader"),tr("Unable to load the plugin content, please check it: %1").arg(decodeThread.errorString()));
}
importingPlugin=false;
@@ -880,10 +887,10 @@ void PluginsManager::decodingFinished()
#endif
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
-void PluginsManager::newAuthPath(const QString &path)
+void PluginsManager::newAuthPath(const std::string &path)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginsList.size())
{
if(pluginsList.at(index).path==path)
@@ -898,21 +905,21 @@ void PluginsManager::newAuthPath(const QString &path)
#endif
/// \brief transfor short plugin name into file name
-QString PluginsManager::getResolvedPluginName(const QString &name)
+std::string PluginsManager::getResolvedPluginName(const std::string &name)
{
- #if defined(Q_OS_LINUX)
- return QStringLiteral("lib")+name+QStringLiteral(".so");
+ #if defined(Q_OS_LINUX) || defined(Q_OS_HURD)
+ return "lib"+name+".so";
#elif defined(Q_OS_MAC)
#if defined(QT_DEBUG)
- return QStringLiteral("lib")+name+QStringLiteral("_debug.dylib");
+ return "lib"+name+"_debug.dylib";
#else
- return QStringLiteral("lib")+name+QStringLiteral(".dylib");
+ return "lib"+name+".dylib";
#endif
#elif defined(Q_OS_WIN32)
#if defined(QT_DEBUG)
- return name+QStringLiteral("d.dll");
+ return name+"d.dll";
#else
- return name+QStringLiteral(".dll");
+ return name+".dll";
#endif
#else
#error "Platform not supported"
diff --git a/PluginsManager.h b/PluginsManager.h
index 9b3ecc9..4e24839 100644
--- a/PluginsManager.h
+++ b/PluginsManager.h
@@ -21,6 +21,8 @@
#include <QSemaphore>
#include <QRegularExpression>
#include <QThread>
+#include <map>
+#include <regex>
#include "Environment.h"
#include "OptionEngine.h"
@@ -43,23 +45,23 @@ class PluginsManager : public QThread
Q_OBJECT
public:
/// \brief to get plugins of type specific
- QList<PluginsAvailable> getPluginsByCategory(const PluginType &type) const;
+ std::vector<PluginsAvailable> getPluginsByCategory(const PluginType &type) const;
/** \brief to get plugins */
- QList<PluginsAvailable> getPlugins(bool withError=false) const;
+ std::vector<PluginsAvailable> getPlugins(bool withError=false) const;
/// \brief get translated text
//QString getTranslatedText(PluginsAvailable plugin,QString informationName,QString mainShortName);
//QString getTranslatedText(PluginsAvailable plugin,QString informationName);
/// \brief transform short plugin name into file name
- static QString getResolvedPluginName(const QString &name);
+ static std::string getResolvedPluginName(const std::string &name);
static bool isSamePlugin(const PluginsAvailable &pluginA,const PluginsAvailable &pluginB);
void lockPluginListEdition();
void unlockPluginListEdition();
bool allPluginHaveBeenLoaded() const;
/// \brief to load the get dom specific
- QString getDomSpecific(const QDomElement &root,const QString &name,const QList<QPair<QString,QString> > &listChildAttribute) const;
- QString getDomSpecific(const QDomElement &root,const QString &name) const;
+ std::string getDomSpecific(const QDomElement &root,const std::string &name,const std::vector<std::pair<std::string,std::string> > &listChildAttribute) const;
+ std::string getDomSpecific(const QDomElement &root,const std::string &name) const;
/// \brief set current language
- void setLanguage(const QString &language);
+ void setLanguage(const std::string &language);
/// \brief Enumeration of plugin add backend
enum ImportBackend
{
@@ -71,22 +73,22 @@ class PluginsManager : public QThread
PluginsManager();
/// \brief Destroy the language manager
~PluginsManager();
- /// \brief To compare version
- static bool compareVersion(const QString &versionA,const QString &sign,const QString &versionB);
+ /// \brief To compare version, \return true is case of error
+ static bool compareVersion(const std::string &versionA,const std::string &sign,const std::string &versionB);
private:
/// \brief List of plugins
- QList<PluginsAvailable> pluginsList;
- QMultiMap<PluginType,PluginsAvailable> pluginsListIndexed;
+ std::vector<PluginsAvailable> pluginsList;
+ std::map<PluginType,std::vector<PluginsAvailable> > pluginsListIndexed;
/// \brief to load the multi-language balise
- void loadBalise(const QDomElement &root,const QString &name,QList<QStringList> *informations,QString *errorString,bool needHaveOneEntryMinimum=true,bool multiLanguage=false,bool englishNeedBeFound=false);
+ void loadBalise(const QDomElement &root,const std::string &name,std::vector<std::vector<std::string> > *informations,std::string *errorString,bool needHaveOneEntryMinimum=true,bool multiLanguage=false,bool englishNeedBeFound=false);
/// \brief get the version
- QString getPluginVersion(const QString &pluginName) const;
+ std::string getPluginVersion(const std::string &pluginName) const;
/// \brief list of cat plugin type
//QStringList catPlugin;
- QStringList englishPluginType;
- QList<QTreeWidgetItem *> catItemList;
+ std::vector<std::string> englishPluginType;
+ std::vector<QTreeWidgetItem *> catItemList;
/// \brief store the current mainShortName
- QString mainShortName;
+ std::string mainShortName;
/// \brief load the plugin list
void loadPluginList();
#ifdef ULTRACOPIER_PLUGIN_IMPORT_SUPPORT
@@ -98,19 +100,19 @@ class PluginsManager : public QThread
#endif
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
/// \brief check the dependencies, return number of error
- quint32 checkDependencies();
+ uint32_t checkDependencies();
#endif
void loadPluginXml(PluginsAvailable * thePlugin,const QByteArray &xml);
- QStringList readPluginPath;
- bool loadPluginInformation(const QString &path);
+ std::vector<std::string> readPluginPath;
+ bool loadPluginInformation(const std::string &path);
QSemaphore editionSemList;
bool stopIt;
bool pluginLoaded;
- QString language;
- QString categoryToString(const PluginType &category) const;
- QString categoryToTranslation(const PluginType &category);
- QRegularExpression regexp_to_clean_1,regexp_to_clean_2,regexp_to_clean_3,regexp_to_clean_4,regexp_to_clean_5;
- QRegularExpression regexp_to_dep_1,regexp_to_dep_2,regexp_to_dep_3,regexp_to_dep_4,regexp_to_dep_5,regexp_to_dep_6;
+ std::string language;
+ std::string categoryToString(const PluginType &category) const;
+ std::string categoryToTranslation(const PluginType &category);
+ std::regex regexp_to_clean_1,regexp_to_clean_2,regexp_to_clean_3,regexp_to_clean_4,regexp_to_clean_5;
+ std::regex regexp_to_dep_1,regexp_to_dep_2,regexp_to_dep_3,regexp_to_dep_4,regexp_to_dep_5,regexp_to_dep_6;
PluginInformation *pluginInformation;
private slots:
/// \brief show the information
@@ -119,7 +121,7 @@ class PluginsManager : public QThread
void decodingFinished();
#endif
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
- void newAuthPath(const QString &path);
+ void newAuthPath(const std::string &path);
#endif
void post_operation();
/* public slots:
@@ -141,11 +143,11 @@ class PluginsManager : public QThread
protected:
void run();
public slots: //do gui action
- void showInformation(const QString &path);
+ void showInformation(const std::string &path);
#ifdef ULTRACOPIER_PLUGIN_IMPORT_SUPPORT
- void removeThePluginSelected(const QString &path);
+ void removeThePluginSelected(const std::string &path);
void addPlugin(const ImportBackend &backend);
- void tryLoadPlugin(const QString &file);
+ void tryLoadPlugin(const std::string &file);
#endif
};
diff --git a/README b/README
index 1cbe24e..8f15a2e 100644
--- a/README
+++ b/README
@@ -2,8 +2,8 @@
Description ===========================================
=======================================================
-Ultracopier (http://ultracopier.first-world.info/) is free and open
-source software licensed under GPL3 that acts as a replacement for
+Ultracopier (https://ultracopier.first-world.info/) is free and open
+source software licensed under GPLv3 that acts as a replacement for
files copy dialogs.
Main features include:
@@ -16,13 +16,13 @@ Main features include:
Changelog =============================================
=======================================================
You can have the changelog at this url (or search on the forum):
-http://forum-ultracopier.first-world.info/the-announces/changelog-for-ultracopier-1-0-x-x-supercopier-4-0-x-x-t406.html
+https://forum-ultracopier.first-world.info/the-announces/changelog-for-ultracopier-1-0-x-x-supercopier-4-0-x-x-t406.html
=======================================================
License ===============================================
=======================================================
Ultracopier is licensed under the GNU General Public License version 3.
-The text of the GNU General Public License can be viewed at http://www.gnu.org/licenses/gpl.html
+The text of the GNU General Public License can be viewed at https://www.gnu.org/licenses/gpl.html
See COPYING file.
=======================================================
@@ -30,17 +30,17 @@ Core Developers =======================================
=======================================================
BRULE Herman or alpha_one_x86 <ultracopier@first-world.info>
- Original author, API, kio_slaves, source
-See the Development team section of http://ultracopier.first-world.info/contact.html for an updated list of Ultracopier team!
+See the Development team section of https://ultracopier.first-world.info/contact.html for an updated list of Ultracopier team!
=======================================================
Building and documentation ============================
=======================================================
-See the wiki for the general documentation and how to for building: http://ultracopier-wiki.first-world.info/
-For the code documentation: http://doc-ultracopier.first-world.info/ (generated by doxygen)
+See the wiki for the general documentation and how to for building: https://ultracopier-wiki.first-world.info/
+For the code documentation: https://doc-ultracopier.first-world.info/ (generated by doxygen)
The source proposed on the site is reconstritued source from: https://github.com/alphaonex86/Ultracopier to facilitate contribute effort.
-Prefer ultracopier-all-in-one-direct.pro to have easy and NO modular software. This is more oriented to Linux and Mac.
+Prefer ultracopier-all-in-one-direct.pro to have easy and NO modular software. This is more oriented to GNU/Linux and macOS.
======================================================
Warranty =============================================
======================================================
-Ultracopier in all version is shipped without warranty (0% of warranty). Only the stable version have warranty of be tested in lot of case. But in any case have warranty about data security, or other way of warranty. \ No newline at end of file
+Ultracopier in all version is shipped without warranty (0% of warranty). Only the stable version have warranty of be tested in lot of case. But in any case have warranty about data security, or other way of warranty.
diff --git a/ResourcesManager.cpp b/ResourcesManager.cpp
index 96fb894..32106a8 100644
--- a/ResourcesManager.cpp
+++ b/ResourcesManager.cpp
@@ -8,18 +8,19 @@
#include <QApplication>
#include <QFileInfo>
-
+#include "cpp11addition.h"
#include "ResourcesManager.h"
+#include "FacilityEngine.h"
-QRegularExpression ResourcesManager::slashEnd;
+std::regex ResourcesManager::slashEnd;
/// \brief Create the manager and load the defaults variables
ResourcesManager::ResourcesManager()
{
- slashEnd=QRegularExpression(QStringLiteral("[/\\\\]$"));
+ slashEnd=std::regex("[/\\\\]$");
//load the internal path
- searchPath<<QString(QStringLiteral(":/"));
+ searchPath.push_back(":/");
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
//load the user path but only if exists and writable
//load the ultracopier path
@@ -31,15 +32,15 @@ ResourcesManager::ResourcesManager()
dir.cdUp();
dir.cdUp();
dir.cd(QStringLiteral("Data");
- searchPath<<ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
- writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
+ searchPath.push_back(ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString()));
+ writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString());
#else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Ultracopier is compiled with the flag: ULTRACOPIER_VERSION_PORTABLE");
//load the ultracopier path
QDir dir(QApplication::applicationDirPath());
dir.cd(QStringLiteral("Data"));
- searchPath<<ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
- writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
+ searchPath.push_back(ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString()));
+ writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString());
#endif
#else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Ultracopier is compiled as user privacy mode");
@@ -51,41 +52,40 @@ ResourcesManager::ResourcesManager()
#ifdef Q_OS_LINUX
QDir linuxArchIndepDir(QStringLiteral("/usr/share/ultracopier/"));
if(linuxArchIndepDir.exists())
- searchPath<<ResourcesManager::AddSlashIfNeeded(linuxArchIndepDir.absolutePath());
+ searchPath.push_back(ResourcesManager::AddSlashIfNeeded(linuxArchIndepDir.absolutePath().toStdString()));
QDir linuxPluginsDir(QStringLiteral("/usr/lib/ultracopier/"));
if(linuxPluginsDir.exists())
- searchPath<<ResourcesManager::AddSlashIfNeeded(linuxPluginsDir.absolutePath());
+ searchPath.push_back(ResourcesManager::AddSlashIfNeeded(linuxPluginsDir.absolutePath().toStdString()));
#endif
//load the user path but only if exists and writable
QDir dir(QDir::homePath()+EXTRA_HOME_PATH);
if(dir.exists())
{
- writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
- searchPath<<ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
+ writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString());
+ searchPath.push_back(ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString()));
} //if not exists try to create it
else if(dir.mkpath(dir.absolutePath()))
{
//if created, then have write permissions
- writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
- searchPath<<ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
+ writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString());
+ searchPath.push_back(ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString()));
}
//load the ultracopier path
- searchPath<<ResourcesManager::AddSlashIfNeeded(QApplication::applicationDirPath());
+ searchPath.push_back(ResourcesManager::AddSlashIfNeeded(QApplication::applicationDirPath().toStdString()));
#endif
#else
QDir dir(QApplication::applicationDirPath());
- writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
+ writablePath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString());
#endif
- searchPath.removeDuplicates();
+ vectorRemoveDuplicatesForSmallList(searchPath);
#ifdef ULTRACOPIER_DEBUG
- int index=0;
- const int &loop_size=searchPath.size();
- while(index<loop_size) //look at each val
+ unsigned int index=0;
+ while(index<searchPath.size()) //look at each val
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("searchPath.at(")+QString::number(index)+QStringLiteral("): ")+searchPath.at(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"searchPath.at("+std::to_string(index)+"): "+searchPath.at(index));
index++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("writablePath: ")+writablePath);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"writablePath: "+writablePath);
#endif // ULTRACOPIER_DEBUG
}
@@ -95,47 +95,44 @@ ResourcesManager::~ResourcesManager()
}
/// \brief Get folder presence and the path
-QString ResourcesManager::getFolderReadPath(const QString &path) const
+std::string ResourcesManager::getFolderReadPath(const std::string &path) const
{
- int index=0;
- const int &loop_size=searchPath.size();
- while(index<loop_size) //look at each val
+ unsigned int index=0;
+ while(index<searchPath.size()) //look at each val
{
- QDir dir(searchPath.at(index)+path);
+ QDir dir(QString::fromStdString(searchPath.at(index)+path));
if(dir.exists()) // if the path have been found, then return the full path
- return ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
+ return ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString());
index++;
}
- return QStringLiteral("");
+ return std::string();
}
/// \brief Get folder presence, the path and check in the folder and sub-folder the file presence
-QString ResourcesManager::getFolderReadPathMultiple(const QString &path,const QStringList &fileToCheck) const
+std::string ResourcesManager::getFolderReadPathMultiple(const std::string &path,const std::vector<std::string> &fileToCheck) const
{
- int index=0;
- const int &loop_size=searchPath.size();
- while(index<loop_size) //look at each val
+ unsigned int index=0;
+ while(index<searchPath.size()) //look at each val
{
- QDir dir(searchPath.at(index)+path);
- if(checkFolderContent(dir.absolutePath(),fileToCheck))
- return dir.absolutePath()+QDir::separator();
+ QDir dir(QString::fromStdString(searchPath.at(index)+path));
+ if(checkFolderContent(dir.absolutePath().toStdString(),fileToCheck))
+ return dir.absolutePath().toStdString()+FacilityEngine::separator();
index++;
}
- return QStringLiteral("");
+ return std::string();
}
-bool ResourcesManager::checkFolderContent(const QString &path,const QStringList &fileToCheck) const
+bool ResourcesManager::checkFolderContent(const std::string &path,const std::vector<std::string> &fileToCheck) const
{
- QDir dir(path);
+ QDir dir(QString::fromStdString(path));
if(dir.exists()) // if the path have been found, then return the full path
{
bool allFileToCheckIsFound=true;
- int index=0;
- const int &loop_size=fileToCheck.size();
- QString partialPath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath());
- while(index<loop_size) //look at each val
+ unsigned int index=0;
+ std::string partialPath=ResourcesManager::AddSlashIfNeeded(dir.absolutePath().toStdString());
+ while(index<fileToCheck.size()) //look at each val
{
- if(!QFile::exists(partialPath+fileToCheck.at(index))) //if a file have been not found, consider the folder as not suitable
+ if(!QFile::exists(QString::fromStdString(partialPath+fileToCheck.at(index)))) //if a file have been not found, consider the folder as not suitable
{
allFileToCheckIsFound=false;
break;
@@ -149,16 +146,18 @@ bool ResourcesManager::checkFolderContent(const QString &path,const QStringList
}
/// \brief add / or \ in function of the platform at the end of path if both / and \ are not found
-QString ResourcesManager::AddSlashIfNeeded(const QString &path)
+std::string ResourcesManager::AddSlashIfNeeded(const std::string &path)
{
- if(path.contains(slashEnd))
+ if(path.empty())
+ return "/";
+ if(path.at(path.size()-1)=='/')
return path;
else
- return path+QDir::separator();
+ return path+FacilityEngine::separator();
}
/// \brief get the writable path
-QString ResourcesManager::getWritablePath() const
+const std::string &ResourcesManager::getWritablePath() const
{
return writablePath;
}
@@ -167,25 +166,25 @@ QString ResourcesManager::getWritablePath() const
bool ResourcesManager::disableWritablePath()
{
bool returnVal=true;
- if(writablePath.isEmpty())
+ if(writablePath.empty())
returnVal=false;
else
- writablePath=QStringLiteral("");
+ writablePath.clear();
return returnVal;
}
/// \brief get the read path
-QStringList ResourcesManager::getReadPath() const
+const std::vector<std::string> &ResourcesManager::getReadPath() const
{
return searchPath;
}
/// \brief remove folder
-bool ResourcesManager::removeFolder(const QString &dir)
+bool ResourcesManager::removeFolder(const std::string &dir)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"folder to remove: "+dir);
bool errorFound=false;
- QDir currentDir(dir);
+ QDir currentDir(QString::fromStdString(dir));
QFileInfoList files = currentDir.entryInfoList(QDir::AllEntries | QDir::NoDotAndDotDot);
int index=0;
const int &loop_size=files.size();
@@ -197,18 +196,18 @@ bool ResourcesManager::removeFolder(const QString &dir)
if(!file.remove())
{
errorFound=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"remove file failed: "+file.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"remove file failed: "+file.errorString().toStdString());
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file removed: "+file.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file removed: "+file.fileName().toStdString());
}
else if(files.at(index).isDir())
- removeFolder(files.at(index).absoluteFilePath());
+ removeFolder(files.at(index).absoluteFilePath().toStdString());
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unknow file type for: "+files.at(index).absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unknow file type for: "+files.at(index).absoluteFilePath().toStdString());
index++;
}
- if(!currentDir.rmpath(dir))
+ if(!currentDir.rmpath(QString::fromStdString(dir)))
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"remove path failed, check right and if is empty: "+dir);
errorFound=true;
diff --git a/ResourcesManager.h b/ResourcesManager.h
index 7704d47..fec25da 100644
--- a/ResourcesManager.h
+++ b/ResourcesManager.h
@@ -9,7 +9,7 @@
#include <QStringList>
#include <QString>
#include <QObject>
-#include <QRegularExpression>
+#include <regex>
#include "Environment.h"
@@ -27,28 +27,28 @@ class ResourcesManager : public QObject
static ResourcesManager *resourcesManager;
/** \brief Get folder presence and the path
\return Empty QString if not found */
- QString getFolderReadPath(const QString &path) const;
+ std::string getFolderReadPath(const std::string &path) const;
/** \brief Get folder presence, the path and check in the folder and sub-folder the file presence
\return Empty QString if not found */
- QString getFolderReadPathMultiple(const QString &path,const QStringList &fileToCheck) const;
- bool checkFolderContent(const QString &path,const QStringList &fileToCheck) const;
+ std::string getFolderReadPathMultiple(const std::string &path,const std::vector<std::string> &fileToCheck) const;
+ bool checkFolderContent(const std::string &path,const std::vector<std::string> &fileToCheck) const;
/// \brief add / or \ in function of the platform at the end of path if both / and \ are not found
- static QString AddSlashIfNeeded(const QString &path);
+ static std::string AddSlashIfNeeded(const std::string &path);
/// \brief get the writable path
- QString getWritablePath() const;
+ const std::string &getWritablePath() const;
/// \brief disable the writable path, if ultracopier is unable to write into
bool disableWritablePath();
/// \brief get the read path
- QStringList getReadPath() const;
+ const std::vector<std::string> &getReadPath() const;
/// \brief remove folder
- static bool removeFolder(const QString &dir);
+ static bool removeFolder(const std::string &dir);
private:
/// \brief List of the path to read only access
- QStringList searchPath;
+ std::vector<std::string> searchPath;
/// \brief The writable path, empty if not found
- QString writablePath;
+ std::string writablePath;
/// \brief match with slash end
- static QRegularExpression slashEnd;
+ static std::regex slashEnd;
};
#endif // RESOURCES_MANAGER_H
diff --git a/SessionLoader.cpp b/SessionLoader.cpp
index 21cca9b..1266e2f 100644
--- a/SessionLoader.cpp
+++ b/SessionLoader.cpp
@@ -5,11 +5,12 @@
#include "SessionLoader.h"
#include "LanguagesManager.h"
+#include "cpp11addition.h"
#ifndef ULTRACOPIER_VERSION_PORTABLE
SessionLoader::SessionLoader(OptionDialog *optionDialog)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
this->optionDialog=optionDialog;
//load the options
connect(OptionEngine::optionEngine,&OptionEngine::newOptionValue, this, &SessionLoader::newOptionValue,Qt::QueuedConnection);
@@ -20,26 +21,25 @@ SessionLoader::SessionLoader(OptionDialog *optionDialog)
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
connect(PluginsManager::pluginsManager,&PluginsManager::onePluginWillBeRemoved, this,&SessionLoader::onePluginWillBeRemoved,Qt::DirectConnection);
#endif
- QList<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_SessionLoader);
+ std::vector<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_SessionLoader);
foreach(PluginsAvailable currentPlugin,list)
emit previouslyPluginAdded(currentPlugin);
PluginsManager::pluginsManager->unlockPluginListEdition();
- shouldEnabled=OptionEngine::optionEngine->getOptionValue(QStringLiteral("SessionLoader"),QStringLiteral("LoadAtSessionStarting")).toBool();
+ shouldEnabled=stringtobool(OptionEngine::optionEngine->getOptionValue("SessionLoader","LoadAtSessionStarting"));
}
SessionLoader::~SessionLoader()
{
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
- int index=0;
- const int &loop_size=pluginList.size();
- while(index<loop_size)
+ unsigned int index=0;
+ while(index<pluginList.size())
{
if(pluginList.at(index).pluginLoader!=NULL)
{
if(!pluginList.at(index).pluginLoader->isLoaded() || pluginList.at(index).pluginLoader->unload())
{
delete pluginList.at(index).options;
- pluginList.removeAt(index);
+ pluginList.erase(pluginList.begin()+index);
}
}
index++;
@@ -52,10 +52,10 @@ void SessionLoader::onePluginAdded(const PluginsAvailable &plugin)
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
if(plugin.category!=PluginType_SessionLoader)
return;
- int index=0;
+ unsigned int index=0;
LocalPlugin newEntry;
- QString pluginPath=plugin.path+PluginsManager::getResolvedPluginName(QStringLiteral("sessionLoader"));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("try load: ")+pluginPath);
+ std::string pluginPath=plugin.path+PluginsManager::getResolvedPluginName("sessionLoader");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"try load: "+pluginPath);
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
PluginInterface_SessionLoader *sessionLoader;
@@ -72,23 +72,23 @@ void SessionLoader::onePluginAdded(const PluginsAvailable &plugin)
}
if(index==objectList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("static session loader not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"static session loader not found");
return;
}
newEntry.pluginLoader=NULL;
#else
- QPluginLoader *pluginLoader= new QPluginLoader(pluginPath);
+ QPluginLoader *pluginLoader= new QPluginLoader(QString::fromStdString(pluginPath));
newEntry.pluginLoader=pluginLoader;
QObject *pluginInstance = pluginLoader->instance();
if(!pluginInstance)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to load the plugin: ")+pluginLoader->errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to load the plugin: "+pluginLoader->errorString().toStdString());
return;
}
PluginInterface_SessionLoader *sessionLoader = qobject_cast<PluginInterface_SessionLoader *>(pluginInstance);
if(!sessionLoader)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to cast the plugin: ")+pluginLoader->errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to cast the plugin: "+pluginLoader->errorString().toStdString());
return;
}
//check if found
@@ -97,7 +97,7 @@ void SessionLoader::onePluginAdded(const PluginsAvailable &plugin)
{
if(pluginList.at(index).sessionLoaderInterface==sessionLoader)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Plugin already found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Plugin already found");
pluginLoader->unload();
return;
}
@@ -107,14 +107,14 @@ void SessionLoader::onePluginAdded(const PluginsAvailable &plugin)
#ifdef ULTRACOPIER_DEBUG
connect(sessionLoader,&PluginInterface_SessionLoader::debugInformation,this,&SessionLoader::debugInformation);
#endif // ULTRACOPIER_DEBUG
- newEntry.options=new LocalPluginOptions(QStringLiteral("SessionLoader-")+plugin.name);
+ newEntry.options=new LocalPluginOptions("SessionLoader-"+plugin.name);
newEntry.sessionLoaderInterface=sessionLoader;
newEntry.path=plugin.path;
newEntry.sessionLoaderInterface->setResources(newEntry.options,plugin.writablePath,plugin.path,ULTRACOPIER_VERSION_PORTABLE_BOOL);
newEntry.sessionLoaderInterface->setEnabled(shouldEnabled);
optionDialog->addPluginOptionWidget(PluginType_SessionLoader,plugin.name,newEntry.sessionLoaderInterface->options());
connect(LanguagesManager::languagesManager,&LanguagesManager::newLanguageLoaded,newEntry.sessionLoaderInterface,&PluginInterface_SessionLoader::newLanguageLoaded);
- pluginList << newEntry;
+ pluginList.push_back(newEntry);
#else
Q_UNUSED(plugin);
return;
@@ -126,8 +126,8 @@ void SessionLoader::onePluginWillBeRemoved(const PluginsAvailable &plugin)
{
if(plugin.category!=PluginType_SessionLoader)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<pluginList.size())
{
if(plugin.path==pluginList.at(index).path)
@@ -137,7 +137,7 @@ void SessionLoader::onePluginWillBeRemoved(const PluginsAvailable &plugin)
if(!pluginList.at(index).pluginLoader->isLoaded() || pluginList.at(index).pluginLoader->unload())
{
delete pluginList.at(index).options;
- pluginList.removeAt(index);
+ pluginList.erase(pluginList.begin()+index);
}
}
break;
@@ -147,13 +147,13 @@ void SessionLoader::onePluginWillBeRemoved(const PluginsAvailable &plugin)
}
#endif
-void SessionLoader::newOptionValue(const QString &groupName,const QString &variableName,const QVariant &value)
+void SessionLoader::newOptionValue(const std::string &groupName,const std::string &variableName,const std::string &value)
{
- if(groupName==QStringLiteral("SessionLoader") && variableName==QStringLiteral("LoadAtSessionStarting"))
+ if(groupName=="SessionLoader" && variableName=="LoadAtSessionStarting")
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, value: %1").arg(value.toBool()));
- shouldEnabled=value.toBool();
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, value: "+value);
+ shouldEnabled=stringtobool(value);
+ unsigned int index=0;
while(index<pluginList.size())
{
pluginList.at(index).sessionLoaderInterface->setEnabled(shouldEnabled);
@@ -163,9 +163,9 @@ void SessionLoader::newOptionValue(const QString &groupName,const QString &varia
}
#ifdef ULTRACOPIER_DEBUG
-void SessionLoader::debugInformation(const Ultracopier::DebugLevel &level,const QString& fonction,const QString& text,const QString& file,const int& ligne)
+void SessionLoader::debugInformation(const Ultracopier::DebugLevel &level,const std::string& fonction,const std::string& text,const std::string& file,const int& ligne)
{
- DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,QStringLiteral("Session loader plugin"));
+ DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,"Session loader plugin");
}
#endif // ULTRACOPIER_DEBUG
#endif // !defined(ULTRACOPIER_PLUGIN_ALL_IN_ONE) || !defined(ULTRACOPIER_VERSION_PORTABLE)
diff --git a/SessionLoader.h b/SessionLoader.h
index c14f0f5..7889284 100644
--- a/SessionLoader.h
+++ b/SessionLoader.h
@@ -35,9 +35,9 @@ class SessionLoader : public QObject
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
void onePluginWillBeRemoved(const PluginsAvailable &plugin);
#endif
- void newOptionValue(const QString &groupName,const QString &variableName,const QVariant &value);
+ void newOptionValue(const std::string &groupName,const std::string &variableName,const std::string &value);
#ifdef ULTRACOPIER_DEBUG
- void debugInformation(const Ultracopier::DebugLevel &level,const QString& fonction,const QString& text,const QString& file,const int& ligne);
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string& fonction,const std::string& text,const std::string& file,const int& ligne);
#endif // ULTRACOPIER_DEBUG
private:
//variable
@@ -47,10 +47,10 @@ class SessionLoader : public QObject
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
QPluginLoader * pluginLoader;
#endif
- QString path;
+ std::string path;
LocalPluginOptions *options;
};
- QList<LocalPlugin> pluginList;
+ std::vector<LocalPlugin> pluginList;
bool shouldEnabled;
OptionDialog *optionDialog;
signals:
diff --git a/StructEnumDefinition.h b/StructEnumDefinition.h
index 0d3eb68..e8f8de2 100644
--- a/StructEnumDefinition.h
+++ b/StructEnumDefinition.h
@@ -3,9 +3,8 @@
\author alpha_one_x86
\licence GPL3, see the file COPYING */
-#include <QVariant>
-#include <QString>
-#include <QList>
+#include <string>
+#include <stdint.h>
#ifndef STRUCTDEF_H
#define STRUCTDEF_H
@@ -89,9 +88,9 @@ enum SizeUnit
/// \brief structure for decompossed time
struct TimeDecomposition
{
- quint16 second;
- quint16 minute;
- quint16 hour;
+ uint16_t second;
+ uint16_t minute;
+ uint16_t hour;
};
//////////////////////////// Return list //////////////////////////////
@@ -111,23 +110,23 @@ enum ActionTypeCopyList
/// \brief structure for progression item
struct ProgressionItem
{
- quint64 id;
- quint64 currentRead;
- quint64 currentWrite;
- quint64 total;
+ uint64_t id;
+ uint64_t currentRead;
+ uint64_t currentWrite;
+ uint64_t total;
};
/// \brief item to insert item in the interface
struct ItemOfCopyList
{
- quint64 id;
+ uint64_t id;
// if type == CustomOperation, then is the translated name of the operation
- QString sourceFullPath;///< full path with file name: /foo/foo.txt
- QString sourceFileName;///< full path with file name: foo.txt
- QString destinationFullPath;///< full path with file name: /foo/foo.txt
- QString destinationFileName;///< full path with file name: foo.txt
+ std::string sourceFullPath;///< full path with file name: /foo/foo.txt
+ std::string sourceFileName;///< full path with file name: foo.txt
+ std::string destinationFullPath;///< full path with file name: /foo/foo.txt
+ std::string destinationFileName;///< full path with file name: foo.txt
// if type == CustomOperation, then 0 = without progression, 1 = with progression
- quint64 size;
+ uint64_t size;
CopyMode mode;
};
diff --git a/StructEnumDefinition_UltracopierSpecific.h b/StructEnumDefinition_UltracopierSpecific.h
index 4f4fd89..480b7cb 100644
--- a/StructEnumDefinition_UltracopierSpecific.h
+++ b/StructEnumDefinition_UltracopierSpecific.h
@@ -3,53 +3,53 @@
\author alpha_one_x86
\licence GPL3, see the file COPYING */
-#include <QString>
-#include <QList>
+#include <string>
+#include <vector>
#include <QDomElement>
#ifndef STRUCTDEF_ULTRACOPIERSPECIFIC_H
#define STRUCTDEF_ULTRACOPIERSPECIFIC_H
-enum PluginType
+enum PluginType : uint8_t
{
- PluginType_Unknow,
- PluginType_CopyEngine,
- PluginType_Languages,
- PluginType_Listener,
- PluginType_PluginLoader,
- PluginType_SessionLoader,
- PluginType_Themes
+ PluginType_Unknow=0,
+ PluginType_CopyEngine=1,
+ PluginType_Languages=2,
+ PluginType_Listener=3,
+ PluginType_PluginLoader=4,
+ PluginType_SessionLoader=5,
+ PluginType_Themes=6
};
/// \brief structure to store the general plugin related information
struct PluginsAvailable
{
- PluginType category;
- QString path;
- QString name;
- QString writablePath;
- QDomElement categorySpecific;
- QString version;
- QList<QStringList> informations;
- QString errorString;
- bool isWritable;
- bool isAuth;
+ PluginType category;
+ std::string path;
+ std::string name;
+ std::string writablePath;
+ QDomElement categorySpecific;
+ std::string version;
+ std::vector<std::vector<std::string> > informations;
+ std::string errorString;
+ bool isWritable;
+ bool isAuth;
};
-enum DebugLevel_custom
+enum DebugLevel_custom : uint8_t
{
- DebugLevel_custom_Information,
- DebugLevel_custom_Critical,
- DebugLevel_custom_Warning,
- DebugLevel_custom_Notice,
- DebugLevel_custom_UserNote
+ DebugLevel_custom_Information=0,
+ DebugLevel_custom_Critical=1,
+ DebugLevel_custom_Warning=2,
+ DebugLevel_custom_Notice=3,
+ DebugLevel_custom_UserNote=4
};
-enum ActionOnManualOpen
+enum ActionOnManualOpen : uint8_t
{
- ActionOnManualOpen_Nothing=0x00,
- ActionOnManualOpen_Folder=0x01,
- ActionOnManualOpen_Files=0x02
+ ActionOnManualOpen_Nothing=0x00,
+ ActionOnManualOpen_Folder=0x01,
+ ActionOnManualOpen_Files=0x02
};
#endif // STRUCTDEF_ULTRACOPIERSPECIFIC_H
diff --git a/SystrayIcon.cpp b/SystrayIcon.cpp
index 6fe9b60..ab3c3e0 100644
--- a/SystrayIcon.cpp
+++ b/SystrayIcon.cpp
@@ -21,7 +21,7 @@
SystrayIcon::SystrayIcon(QObject * parent) :
QSystemTrayIcon(parent)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//setup the systray icon
haveListenerInfo = false;
@@ -43,10 +43,10 @@ SystrayIcon::SystrayIcon(QObject * parent) :
setContextMenu(systrayMenu);
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
- setToolTip(QStringLiteral("Supercopier"));
- #else
- setToolTip(QStringLiteral("Ultracopier"));
- #endif
+ setToolTip(QStringLiteral("Supercopier"));
+ #else
+ setToolTip(QStringLiteral("Ultracopier"));
+ #endif
#ifdef Q_OS_WIN32
setIcon(QIcon(QStringLiteral(":/systray_Uncaught_Windows.png")));
#else
@@ -138,7 +138,7 @@ void SystrayIcon::checkSetTooltip()
void SystrayIcon::listenerReady(const Ultracopier::ListeningState &state,const bool &havePlugin,const bool &someAreInWaitOfReply)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("state: %1, havePlugin: %2, someAreInWaitOfReply: %3").arg(state).arg(havePlugin).arg(someAreInWaitOfReply));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"state: "+std::to_string((int)state)+", havePlugin: "+std::to_string((int)havePlugin)+", someAreInWaitOfReply: "+std::to_string((int)someAreInWaitOfReply));
Q_UNUSED(someAreInWaitOfReply);
stateListener=state;
haveListenerInfo=true;
@@ -150,7 +150,7 @@ void SystrayIcon::listenerReady(const Ultracopier::ListeningState &state,const b
void SystrayIcon::pluginLoaderReady(const Ultracopier::CatchState &state,const bool &havePlugin,const bool &someAreInWaitOfReply)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("state: %1, havePlugin: %2, someAreInWaitOfReply: %3").arg(state).arg(havePlugin).arg(someAreInWaitOfReply));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"state: "+std::to_string((int)state)+", havePlugin: "+std::to_string((int)havePlugin)+", someAreInWaitOfReply: "+std::to_string((int)someAreInWaitOfReply));
Q_UNUSED(someAreInWaitOfReply);
statePluginLoader=state;
havePluginLoaderInfo=true;
@@ -160,32 +160,32 @@ void SystrayIcon::pluginLoaderReady(const Ultracopier::CatchState &state,const b
void SystrayIcon::showTryCatchMessageWithNoListener()
{
- showSystrayMessage(tr("No copy listener found. Do the copy manually by right click one the system tray icon."));
+ showSystrayMessage(tr("No copy listener found. Do the copy manually by right click one the system tray icon.").toStdString());
}
/// \brief To show a message linked to the systray icon
-void SystrayIcon::showSystrayMessage(const QString& text)
+void SystrayIcon::showSystrayMessage(const std::string& text)
{
- showMessage(tr("Information"),text,QSystemTrayIcon::Information,0);
+ showMessage(tr("Information"),QString::fromStdString(text),QSystemTrayIcon::Information,0);
}
#ifdef ULTRACOPIER_INTERNET_SUPPORT
void SystrayIcon::messageClicked()
{
- QDesktopServices::openUrl(HelpDialog::getUpdateUrl());
+ QDesktopServices::openUrl(QString::fromStdString(HelpDialog::getUpdateUrl()));
}
#endif
/// \brief To update the systray icon
void SystrayIcon::updateSystrayIcon()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, haveListenerInfo %1, havePluginLoaderInfo: %2").arg(haveListenerInfo).arg(havePluginLoaderInfo));
- QString toolTip=QStringLiteral("???");
- QString icon;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, haveListenerInfo "+std::to_string((int)haveListenerInfo)+", havePluginLoaderInfo: "+std::to_string((int)havePluginLoaderInfo));
+ std::string toolTip="???";
+ std::string icon;
if(!haveListenerInfo || !havePluginLoaderInfo)
{
- toolTip=tr("Searching information...");
- icon=QStringLiteral("Uncaught");
+ toolTip=tr("Searching information...").toStdString();
+ icon="Uncaught";
}
else
{
@@ -197,58 +197,58 @@ void SystrayIcon::updateSystrayIcon()
{
if(stateListener==Ultracopier::NotListening)
{
- toolTip=tr("Do not replace the explorer copy/move");
- icon=QStringLiteral("Uncaught");
+ toolTip=tr("Do not replace the explorer copy/move").toStdString();
+ icon="Uncaught";
}
else if(stateListener==Ultracopier::SemiListening)
{
- toolTip=tr("Semi replace the explorer copy/move");
- icon=QStringLiteral("Semiuncaught");
+ toolTip=tr("Semi replace the explorer copy/move").toStdString();
+ icon="Semiuncaught";
}
else
{
- toolTip=tr("Replace the explorer copy/move");
- icon=QStringLiteral("Caught");
+ toolTip=tr("Replace the explorer copy/move").toStdString();
+ icon="Caught";
}
}
else
{
- icon=QStringLiteral("Semiuncaught");
- QString first_part;
- QString second_part;
+ icon="Semiuncaught";
+ std::string first_part;
+ std::string second_part;
if(stateListener==Ultracopier::NotListening)
- first_part=QStringLiteral("No listening");
+ first_part="No listening";
else if(stateListener==Ultracopier::SemiListening)
- first_part=QStringLiteral("Semi listening");
+ first_part="Semi listening";
else if(stateListener==Ultracopier::FullListening)
- first_part=QStringLiteral("Full listening");
+ first_part="Full listening";
else
- first_part=QStringLiteral("Unknow listening");
+ first_part="Unknow listening";
if(statePluginLoader==Ultracopier::Uncaught)
- second_part=QStringLiteral("No replace");
+ second_part="No replace";
else if(statePluginLoader==Ultracopier::Semiuncaught)
- second_part=QStringLiteral("Semi replace");
+ second_part="Semi replace";
else if(statePluginLoader==Ultracopier::Caught)
- second_part=QStringLiteral("Full replace");
+ second_part="Full replace";
else
- second_part=QStringLiteral("Unknow replace");
- toolTip=first_part+QStringLiteral("/")+second_part;
+ second_part="Unknow replace";
+ toolTip=first_part+"/"+second_part;
}
}
QIcon theNewSystrayIcon;
#ifdef Q_OS_WIN32
- theNewSystrayIcon=ThemesManager::themesManager->loadIcon(QStringLiteral("SystemTrayIcon/systray_")+icon+QStringLiteral("_Windows.png"));
+ theNewSystrayIcon=ThemesManager::themesManager->loadIcon("SystemTrayIcon/systray_"+icon+"_Windows.png");
#else
- theNewSystrayIcon=ThemesManager::themesManager->loadIcon(QStringLiteral("SystemTrayIcon/systray_")+icon+QStringLiteral("_Unix.png"));
+ theNewSystrayIcon=ThemesManager::themesManager->loadIcon("SystemTrayIcon/systray_"+icon+"_Unix.png");
#endif
if(theNewSystrayIcon.isNull())
{
#ifdef Q_OS_WIN32
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"use the default systray icon: :/systray_"+icon+"_Windows.png");
- theNewSystrayIcon=QIcon(QStringLiteral(":/systray_")+icon+QStringLiteral("_Windows.png"));
+ theNewSystrayIcon=QIcon(QString::fromStdString(":/systray_"+icon+"_Windows.png"));
#else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"use the default systray icon: :/systray_"+icon+"_Unix.png");
- theNewSystrayIcon=QIcon(QStringLiteral(":/systray_")+icon+QStringLiteral("_Unix.png"));
+ theNewSystrayIcon=QIcon(QString::fromStdString(":/systray_"+icon+"_Unix.png"));
#endif
}
else
@@ -263,9 +263,9 @@ void SystrayIcon::updateSystrayIcon()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"All the icon include the default icon remain null");
setIcon(theNewSystrayIcon);
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
- setToolTip(QStringLiteral("Supercopier - ")+toolTip);
+ setToolTip(QString::fromStdString("Supercopier - "+toolTip));
#else
- setToolTip(QStringLiteral("Ultracopier - ")+toolTip);
+ setToolTip(QString::fromStdString("Ultracopier - "+toolTip));
#endif
}
@@ -283,8 +283,15 @@ void SystrayIcon::dropEvent(QDropEvent *event)
if(mimeData->hasUrls())
{
//impossible with Qt on systray
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"mimeData->urls().size()"+QString::number(mimeData->urls().size()));
- emit urlDropped(mimeData->urls());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"mimeData->urls().size()"+std::to_string(mimeData->urls().size()));
+ std::vector<std::string> urls;
+ unsigned int index=0;
+ while(index<(unsigned int)mimeData->urls().size())
+ {
+ urls.push_back(mimeData->urls().at(static_cast<int>(index)).toString().toStdString());
+ index++;
+ }
+ emit urlDropped(urls);
event->acceptProposedAction();
}
}
@@ -310,40 +317,40 @@ void SystrayIcon::dragLeaveEvent(QDragLeaveEvent* event)
/// \brief To update the current themes
void SystrayIcon::updateCurrentTheme()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("icon: start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"icon: start");
//load the systray menu item
QIcon tempIcon;
- tempIcon=ThemesManager::themesManager->loadIcon(QStringLiteral("SystemTrayIcon/exit.png"));
+ tempIcon=ThemesManager::themesManager->loadIcon("SystemTrayIcon/exit.png");
if(!tempIcon.isNull())
IconQuit=QIcon(tempIcon);
else
- IconQuit=QIcon(QStringLiteral(""));
+ IconQuit=QIcon("");
actionMenuQuit->setIcon(IconQuit);
#ifdef ULTRACOPIER_DEBUG
actionSaveBugReport->setIcon(QIcon(":/warning.png"));
#endif
- tempIcon=ThemesManager::themesManager->loadIcon(QStringLiteral("SystemTrayIcon/informations.png"));
+ tempIcon=ThemesManager::themesManager->loadIcon("SystemTrayIcon/informations.png");
if(!tempIcon.isNull())
IconInfo=QIcon(tempIcon);
else
- IconInfo=QIcon(QStringLiteral(""));
+ IconInfo=QIcon("");
actionMenuAbout->setIcon(IconInfo);
- tempIcon=ThemesManager::themesManager->loadIcon(QStringLiteral("SystemTrayIcon/options.png"));
+ tempIcon=ThemesManager::themesManager->loadIcon("SystemTrayIcon/options.png");
if(!tempIcon.isNull())
IconOptions=QIcon(tempIcon);
else
- IconOptions=QIcon(QStringLiteral(""));
+ IconOptions=QIcon("");
actionOptions->setIcon(IconOptions);
- tempIcon=ThemesManager::themesManager->loadIcon(QStringLiteral("SystemTrayIcon/add.png"));
+ tempIcon=ThemesManager::themesManager->loadIcon("SystemTrayIcon/add.png");
if(!tempIcon.isNull())
IconAdd=QIcon(tempIcon);
else
- IconAdd=QIcon(QStringLiteral(""));
+ IconAdd=QIcon("");
//update the systray icon
updateSystrayIcon();
@@ -370,10 +377,10 @@ void SystrayIcon::CatchAction(QSystemTrayIcon::ActivationReason reason)
}
}
else if(reason==QSystemTrayIcon::Context)//do nothing on right click to show as auto the menu
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("The action on the systray icon is unknown: %1").arg(reason));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"The action on the systray icon is unknown: "+std::to_string((int)reason));
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The action on the systray icon is unknown: %1").arg(reason));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The action on the systray icon is unknown: "+std::to_string((int)reason));
QMessageBox::warning(NULL,tr("Warning"),tr("The action on the systray icon is unknown!"));
}
}
@@ -387,8 +394,8 @@ void SystrayIcon::CatchCopyQuery()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action not found");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentAction->data().toString());
- emit addWindowCopyMove(Ultracopier::Copy,currentAction->data().toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentAction->data().toString().toStdString());
+ emit addWindowCopyMove(Ultracopier::Copy,currentAction->data().toString().toStdString());
}
/// \brief To catch move menu action
@@ -400,8 +407,8 @@ void SystrayIcon::CatchMoveQuery()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action not found");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentAction->data().toString());
- emit addWindowCopyMove(Ultracopier::Move,currentAction->data().toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentAction->data().toString().toStdString());
+ emit addWindowCopyMove(Ultracopier::Move,currentAction->data().toString().toStdString());
}
/// \brief To catch transfer menu action
@@ -413,8 +420,8 @@ void SystrayIcon::CatchTransferQuery()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action not found");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentAction->data().toString());
- emit addWindowTransfer(currentAction->data().toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+currentAction->data().toString().toStdString());
+ emit addWindowTransfer(currentAction->data().toString().toStdString());
}
/// \brief to retranslate the ui
@@ -435,26 +442,26 @@ void SystrayIcon::retranslateTheUI()
updateSystrayIcon();
}
-void SystrayIcon::addCopyEngine(const QString &name,const bool &canDoOnlyCopy)
+void SystrayIcon::addCopyEngine(const std::string &name,const bool &canDoOnlyCopy)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
EngineEntry entry;
entry.name=name;
entry.canDoOnlyCopy=canDoOnlyCopy;
- engineEntryList << entry;
+ engineEntryList.push_back(entry);
if(PluginsManager::pluginsManager->allPluginHaveBeenLoaded())
reloadEngineList();
}
-void SystrayIcon::removeCopyEngine(const QString &name)
+void SystrayIcon::removeCopyEngine(const std::string &name)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
+ unsigned int index=0;
while(index<engineEntryList.size())
{
if(engineEntryList.at(index).name==name)
{
- engineEntryList.removeAt(index);
+ engineEntryList.erase(engineEntryList.cbegin()+index);
break;
}
index++;
@@ -463,18 +470,31 @@ void SystrayIcon::removeCopyEngine(const QString &name)
}
#ifdef ULTRACOPIER_INTERNET_SUPPORT
-void SystrayIcon::newUpdate(const QString &version)
+void SystrayIcon::newUpdate(const std::string &version)
{
/*if(version==lastVersion)
return;*/
lastVersion=version;
- showSystrayMessage(tr("New version: %1").arg(version)+"\n"+tr("Click here to go on download page"));
+ showSystrayMessage((tr("New version: %1").arg(QString::fromStdString(version))+"\n"+tr("Click here to go on download page")).toStdString());
}
#endif
+void SystrayIcon::addEngineAction(const QString &name, const QIcon &icon, const QString &label, QMenu *menu, void (SystrayIcon::*query)())
+{
+ QAction *copy = new QAction(icon, label, menu);
+ connect(copy,&QAction::triggered, this, query);
+ copy->setData(name);
+ #if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
+ copyMenu->addAction(copy);
+ #else
+ actions.push_back(copy);
+ systrayMenu->insertAction(actionOptions, copy);
+ #endif
+}
+
void SystrayIcon::reloadEngineList()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
#if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
if(copyMenu!=NULL)
{
@@ -493,11 +513,9 @@ void SystrayIcon::reloadEngineList()
}
#else
{
- int index=0;
- while(index<actions.size())
+ for(unsigned int index=0; index<actions.size(); index++)
{
delete actions.at(index);
- index++;
}
actions.clear();
}
@@ -505,92 +523,37 @@ void SystrayIcon::reloadEngineList()
if(engineEntryList.size()==0)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"engineEntryList.size(): "+QString::number(engineEntryList.size()));
- if(engineEntryList.size()==1)
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"engineEntryList.size(): "+std::to_string(engineEntryList.size()));
+ for(unsigned int index=0; index<engineEntryList.size(); index++)
{
- QAction *copy=new QAction(IconAdd,tr("&Copy"),nullptr);
- connect(copy,&QAction::triggered,this,&SystrayIcon::CatchCopyQuery);
- copy->setData(engineEntryList.first().name);
+ const EngineEntry &engineEntry = engineEntryList.at(index);
+ const QString &name = QString::fromStdString(engineEntry.name);
+ QString labelCopy = tr("Add &copy");
+ QString labelTransfer = tr("Add &transfer");
+ QString labelMove = tr("Add &move");
+ QMenu *menu = nullptr;
#if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
- copyMenu->addAction(copy);
- #else
- actions << copy;
- systrayMenu->insertAction(actionOptions,copy);
- #endif
- #if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
- if(!engineEntryList.first().canDoOnlyCopy)
- {
- connect(copyMenu,&QMenu::triggered,this,&SystrayIcon::CatchTransferQuery);
-
- QAction *transfer=new QAction(IconAdd,tr("&Transfer"),copyMenu);
- connect(transfer,&QAction::triggered,this,&SystrayIcon::CatchTransferQuery);
- transfer->setData(engineEntryList.first().name);
- copyMenu->addAction(transfer);
- QAction *move=new QAction(IconAdd,tr("&Move"),copyMenu);
- connect(move,&QAction::triggered,this,&SystrayIcon::CatchMoveQuery);
- move->setData(engineEntryList.first().name);
- copyMenu->addAction(move);
- }
+ if(engineEntryList.size()==1)
+ menu = copyMenu;
else
- connect(copyMenu,&QMenu::triggered,this,&SystrayIcon::CatchCopyQuery);
+ menu = new QMenu(name);
#else
- if(!engineEntryList.first().canDoOnlyCopy)
- {
- QAction *transfer=new QAction(IconAdd,tr("&Transfer"),nullptr);
- connect(transfer,&QAction::triggered,this,&SystrayIcon::CatchTransferQuery);
- transfer->setData(engineEntryList.first().name);
- systrayMenu->insertAction(actionOptions,transfer);
- QAction *move=new QAction(IconAdd,tr("&Move"),nullptr);
- connect(move,&QAction::triggered,this,&SystrayIcon::CatchMoveQuery);
- move->setData(engineEntryList.first().name);
- systrayMenu->insertAction(actionOptions,move);
+ if(engineEntryList.size()!=1) {
+ labelCopy += " ("+name+")";
+ labelTransfer += " ("+name+")";
+ labelMove += " ("+name+")";
}
#endif
-
- }
- else
- {
- int index=0;
- while(index<engineEntryList.size())
+ addEngineAction(name, IconAdd, labelCopy, menu, &SystrayIcon::CatchCopyQuery);
+ if(!engineEntry.canDoOnlyCopy)
{
- const EngineEntry &engineEntry=engineEntryList.at(index);
- const QString &name=engineEntry.name;
- #if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
- QMenu * menu=new QMenu(name);
- QAction *copy=new QAction(IconAdd,tr("Add &copy"),menu);
- connect(copy,&QAction::triggered,this,&SystrayIcon::CatchCopyQuery);
- copy->setData(name);
- menu->addAction(copy);
- if(!engineEntry.canDoOnlyCopy)
- {
- QAction *transfer=new QAction(IconAdd,tr("Add &transfer"),menu);
- connect(transfer,&QAction::triggered,this,&SystrayIcon::CatchTransferQuery);
- transfer->setData(name);
- menu->addAction(transfer);
- QAction *move=new QAction(IconAdd,tr("Add &move"),menu);
- connect(move,&QAction::triggered,this,&SystrayIcon::CatchMoveQuery);
- move->setData(name);
- menu->addAction(move);
- }
- copyMenu->addMenu(menu);
- #else
- QAction *copy=new QAction(IconAdd,tr("Add &copy")+" ("+name+")",nullptr);
- connect(copy,&QAction::triggered,this,&SystrayIcon::CatchCopyQuery);
- copy->setData(name);
- systrayMenu->insertAction(actionOptions,copy);
- if(!engineEntry.canDoOnlyCopy)
- {
- QAction *transfer=new QAction(IconAdd,tr("Add &transfer")+" ("+name+")",nullptr);
- connect(transfer,&QAction::triggered,this,&SystrayIcon::CatchTransferQuery);
- transfer->setData(name);
- systrayMenu->insertAction(actionOptions,transfer);
- QAction *move=new QAction(IconAdd,tr("Add &move")+" ("+name+")",nullptr);
- connect(move,&QAction::triggered,this,&SystrayIcon::CatchMoveQuery);
- move->setData(name);
- systrayMenu->insertAction(actionOptions,move);
- }
- #endif
- index++;
+ addEngineAction(name, IconAdd, labelTransfer, menu, &SystrayIcon::CatchTransferQuery);
+ addEngineAction(name, IconAdd, labelMove, menu, &SystrayIcon::CatchMoveQuery);
}
+ #if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
+ if(engineEntryList.size()!=1)
+ copyMenu->addMenu(menu);
+ #endif
}
+ setContextMenu(systrayMenu);
}
diff --git a/SystrayIcon.h b/SystrayIcon.h
index bb7922c..5db5b4f 100644
--- a/SystrayIcon.h
+++ b/SystrayIcon.h
@@ -30,7 +30,7 @@ class SystrayIcon : public QSystemTrayIcon
~SystrayIcon();
public slots:
/// \brief For show a message linked to the systray icon
- void showSystrayMessage(const QString& text);
+ void showSystrayMessage(const std::string& text);
/** \brief Send that's caught state have changed for CatchedState::Uncatched or CatchedState::Semicatched or CatchedState::Catched
\see CatchState
\see tryCatchCopy()
@@ -38,20 +38,20 @@ class SystrayIcon : public QSystemTrayIcon
\param state is the new state */
void listenerReady(const Ultracopier::ListeningState &state,const bool &havePlugin,const bool &someAreInWaitOfReply);
void pluginLoaderReady(const Ultracopier::CatchState &state,const bool &havePlugin,const bool &someAreInWaitOfReply);
- void addCopyEngine(const QString &name,const bool &canDoOnlyCopy);
- void removeCopyEngine(const QString &name);
+ void addCopyEngine(const std::string &name,const bool &canDoOnlyCopy);
+ void removeCopyEngine(const std::string &name);
#ifdef ULTRACOPIER_INTERNET_SUPPORT
- void newUpdate(const QString &version);
+ void newUpdate(const std::string &version);
#endif
private:
#ifdef ULTRACOPIER_INTERNET_SUPPORT
- QString lastVersion;
+ std::string lastVersion;
#endif
QMenu* systrayMenu; ///< Pointer on the menu
#if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
QMenu* copyMenu; ///< Pointer on the copy menu (move or copy)
#else
- QList<QAction*> actions;
+ std::vector<QAction*> actions;
#endif
QAction* actionMenuQuit; ///< Pointer on the Quit action
#ifdef ULTRACOPIER_DEBUG
@@ -72,15 +72,18 @@ class SystrayIcon : public QSystemTrayIcon
struct EngineEntry
{
bool canDoOnlyCopy;
- QString name;
+ std::string name;
};
- QList<EngineEntry> engineEntryList;
+ std::vector<EngineEntry> engineEntryList;
// To store the current catch state
Ultracopier::ListeningState stateListener;
Ultracopier::CatchState statePluginLoader;
bool haveListenerInfo,havePluginLoaderInfo;
bool haveListener,havePluginLoader;
QTimer timerCheckSetTooltip;
+
+ void addEngineAction(const QString &name, const QIcon &icon, const QString &label, QMenu *menu, void (SystrayIcon::*query)());
+
/** \brief drag event processing (impossible with Qt on systray)
need setAcceptDrops(true); into the constructor
@@ -132,11 +135,10 @@ class SystrayIcon : public QSystemTrayIcon
/** \brief Add window copy or window move
\param mode Can be CopyMode::Copy or CopyMode::Move
\return The core object of the new window created */
- void addWindowCopyMove(Ultracopier::CopyMode mode,QString name) const;
- void addWindowTransfer(QString name) const;
- void urlDropped(QList<QUrl> urls) const;
+ void addWindowCopyMove(Ultracopier::CopyMode mode,std::string name) const;
+ void addWindowTransfer(std::string name) const;
+ void urlDropped(std::vector<std::string> urls) const;
void saveBugReport() const;
};
#endif // SYSTRAY_ICON_H
-
diff --git a/ThemesManager.cpp b/ThemesManager.cpp
index c47d0e0..ab61e44 100644
--- a/ThemesManager.cpp
+++ b/ThemesManager.cpp
@@ -12,12 +12,8 @@
#include "LanguagesManager.h"
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
-#ifdef ULTRACOPIER_MODE_SUPERCOPIER
-#error, not done
-#else
#include "plugins/Themes/Oxygen/ThemesFactory.h"
#endif
-#endif
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
#define ULTRACOPIER_DEFAULT_STYLE "Supercopier"
@@ -44,19 +40,19 @@ ThemesManager::ThemesManager()
connect(PluginsManager::pluginsManager,&PluginsManager::onePluginWillBeUnloaded, this,&ThemesManager::onePluginWillBeRemoved,Qt::DirectConnection);
#endif
connect(PluginsManager::pluginsManager,&PluginsManager::pluginListingIsfinish, this,&ThemesManager::allPluginIsLoaded,Qt::QueuedConnection);
- QList<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_Themes);
+ std::vector<PluginsAvailable> list=PluginsManager::pluginsManager->getPluginsByCategory(PluginType_Themes);
foreach(PluginsAvailable currentPlugin,list)
emit previouslyPluginAdded(currentPlugin);
PluginsManager::pluginsManager->unlockPluginListEdition();
//do the options
- QList<QPair<QString, QVariant> > KeysList;
- KeysList.append(qMakePair(QStringLiteral("Ultracopier_current_theme"),QVariant(ULTRACOPIER_DEFAULT_STYLE)));
- OptionEngine::optionEngine->addOptionGroup(QStringLiteral("Themes"),KeysList);
+ std::vector<std::pair<std::string, std::string> > KeysList;
+ KeysList.push_back(std::pair<std::string, std::string>("Ultracopier_current_theme",ULTRACOPIER_DEFAULT_STYLE));
+ OptionEngine::optionEngine->addOptionGroup("Themes",KeysList);
//load the default and current themes path
- defaultStylePath=QStringLiteral(":/Themes/")+QStringLiteral(ULTRACOPIER_DEFAULT_STYLE)+QStringLiteral("/");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Default style: ")+defaultStylePath);
+ defaultStylePath=std::string(":/Themes/")+ULTRACOPIER_DEFAULT_STYLE+"/";
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Default style: "+defaultStylePath);
currentStylePath=defaultStylePath;
connect(OptionEngine::optionEngine, &OptionEngine::newOptionValue, this, &ThemesManager::newOptionValue,Qt::QueuedConnection);
}
@@ -90,7 +86,7 @@ void ThemesManager::onePluginAdded(const PluginsAvailable &plugin)
}
if(index==objectList.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("static themes not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"static themes not found");
emit newThemeOptions(newPlugin.plugin.name,NULL,false,true);
emit theThemeIsReloaded();
return;
@@ -100,11 +96,11 @@ void ThemesManager::onePluginAdded(const PluginsAvailable &plugin)
factory=new ThemesFactory();
#endif
#else
- QPluginLoader *pluginLoader=new QPluginLoader(newPlugin.plugin.path+QDir::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface"));
+ QPluginLoader *pluginLoader=new QPluginLoader(QString::fromStdString(newPlugin.plugin.path+FacilityEngine::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface")));
QObject *pluginInstance = pluginLoader->instance();
if(pluginInstance==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("unable to load the plugin %1: %2").arg(newPlugin.plugin.path+QDir::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface")).arg(pluginLoader->errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to load the plugin "+newPlugin.plugin.path+FacilityEngine::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface")+": "+pluginLoader->errorString().toStdString());
pluginLoader->unload();
emit newThemeOptions(newPlugin.plugin.name,NULL,false,true);
emit theThemeIsReloaded();
@@ -113,23 +109,19 @@ void ThemesManager::onePluginAdded(const PluginsAvailable &plugin)
PluginInterface_ThemesFactory *factory = qobject_cast<PluginInterface_ThemesFactory *>(pluginInstance);
if(factory==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("unable to cast the plugin: %1").arg(pluginLoader->errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to cast the plugin: "+pluginLoader->errorString().toStdString());
pluginLoader->unload();
emit newThemeOptions(newPlugin.plugin.name,NULL,false,true);
emit theThemeIsReloaded();
return;
}
//check if found
- int indexTemp=0;
+ unsigned int indexTemp=0;
while(indexTemp<pluginList.size())
{
if(pluginList.at(indexTemp).factory==factory)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QString("Plugin already found, current: %1, conflit plugin: %2, name: %3")
- .arg(newPlugin.plugin.path+QDir::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface"))
- .arg(pluginList.at(indexTemp).plugin.path+QDir::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface"))
- .arg(newPlugin.plugin.name)
- );
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Plugin already found, current: "+newPlugin.plugin.path+FacilityEngine::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface")+", conflit plugin: "+pluginList.at(indexTemp).plugin.path+FacilityEngine::separator()+PluginsManager::pluginsManager->getResolvedPluginName("interface")+", name: "+newPlugin.plugin.name);
pluginLoader->unload();
emit newThemeOptions(newPlugin.plugin.name,NULL,false,true);
emit theThemeIsReloaded();
@@ -139,17 +131,17 @@ void ThemesManager::onePluginAdded(const PluginsAvailable &plugin)
}
newPlugin.pluginLoader=pluginLoader;
#endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QString("preload: %1, at the index: %2").arg(newPlugin.plugin.name).arg(QString::number(pluginList.size())));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"preload: "+newPlugin.plugin.name+", at the index: "+std::to_string(pluginList.size()));
#ifdef ULTRACOPIER_DEBUG
connect(factory,&PluginInterface_ThemesFactory::debugInformation,this,&ThemesManager::debugInformation,Qt::QueuedConnection);
#endif // ULTRACOPIER_DEBUG
connect(LanguagesManager::languagesManager,&LanguagesManager::newLanguageLoaded,factory,&PluginInterface_ThemesFactory::newLanguageLoaded);
newPlugin.factory=factory;
- newPlugin.options=new LocalPluginOptions(QStringLiteral("Themes-")+newPlugin.plugin.name);
+ newPlugin.options=new LocalPluginOptions("Themes-"+newPlugin.plugin.name);
newPlugin.factory->setResources(newPlugin.options,newPlugin.plugin.writablePath,newPlugin.plugin.path,&FacilityEngine::facilityEngine,ULTRACOPIER_VERSION_PORTABLE_BOOL);
currentStylePath=newPlugin.plugin.path;
- pluginList << newPlugin;
+ pluginList.push_back(newPlugin);
if(PluginsManager::pluginsManager->allPluginHaveBeenLoaded())
allPluginIsLoaded();
emit newThemeOptions(newPlugin.plugin.name,newPlugin.factory->options(),true,true);
@@ -165,7 +157,7 @@ void ThemesManager::onePluginWillBeRemoved(const PluginsAvailable &plugin)
if(plugin.category!=PluginType_Themes)
return;
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+plugin.name);
- int index=0;
+ unsigned int index=0;
while(index<pluginList.size())
{
if(pluginList.at(index).plugin==plugin)
@@ -177,12 +169,12 @@ void ThemesManager::onePluginWillBeRemoved(const PluginsAvailable &plugin)
pluginList.at(index).pluginLoader->unload();
delete pluginList.at(index).pluginLoader;
}
- if(currentPluginIndex==index)
+ if(currentPluginIndex==static_cast<int>(index))
currentPluginIndex=-1;
- if(index<currentPluginIndex)
+ if(static_cast<int>(index)<currentPluginIndex)
currentPluginIndex--;
- pluginList.removeAt(index);
- if(currentPluginIndex>=pluginList.size())
+ pluginList.erase(pluginList.begin()+index);
+ if(static_cast<unsigned int>(currentPluginIndex)>=pluginList.size())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"plugin is out of inder!");
currentPluginIndex=-1;
@@ -198,34 +190,34 @@ void ThemesManager::onePluginWillBeRemoved(const PluginsAvailable &plugin)
/** \brief To get image into the current themes, or default if not found
\param filePath The file path to search, like toto.png resolved with the root of the current themes
\see currentStylePath */
-QIcon ThemesManager::loadIcon(const QString &fileName)
+QIcon ThemesManager::loadIcon(const std::string &fileName)
{
if(currentPluginIndex==-1)
return QIcon();
- if(pluginList.at(currentPluginIndex).factory==NULL)
+ if(pluginList.at(static_cast<unsigned int>(currentPluginIndex)).factory==NULL)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Try get icon when the factory is not loaded");
return QIcon();
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Send interface pixmap: "+fileName);
- return pluginList.at(currentPluginIndex).factory->getIcon(fileName);
+ return pluginList.at(static_cast<unsigned int>(currentPluginIndex)).factory->getIcon(fileName);
}
void ThemesManager::allPluginIsLoaded()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(pluginList.size()==0)
{
emit theThemeIsReloaded();
return;
}
- QString name=OptionEngine::optionEngine->getOptionValue("Themes","Ultracopier_current_theme").toString();
- int index=0;
+ std::string name=OptionEngine::optionEngine->getOptionValue("Themes","Ultracopier_current_theme");
+ unsigned int index=0;
while(index<pluginList.size())
{
if(pluginList.at(index).plugin.name==name)
{
- currentPluginIndex=index;
+ currentPluginIndex=static_cast<int>(index);
emit theThemeIsReloaded();
return;
}
@@ -243,38 +235,38 @@ PluginInterface_Themes * ThemesManager::getThemesInstance()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to load the interface, copy aborted");
return NULL;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Send interface: "+pluginList.at(currentPluginIndex).plugin.name);
- if(currentPluginIndex>=pluginList.size())
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Send interface: "+pluginList.at(static_cast<unsigned int>(currentPluginIndex)).plugin.name);
+ if(static_cast<unsigned int>(currentPluginIndex)>=pluginList.size())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to load the interface, internal selection bug");
return NULL;
}
- if(pluginList.at(currentPluginIndex).factory==NULL)
+ if(pluginList.at(static_cast<unsigned int>(currentPluginIndex)).factory==NULL)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"No plugin factory loaded to get an instance");
return NULL;
}
- return pluginList.at(currentPluginIndex).factory->getInstance();
+ return pluginList.at(static_cast<unsigned int>(currentPluginIndex)).factory->getInstance();
}
#ifdef ULTRACOPIER_DEBUG
-void ThemesManager::debugInformation(const Ultracopier::DebugLevel &level,const QString& fonction,const QString& text,const QString& file,const int& ligne)
+void ThemesManager::debugInformation(const Ultracopier::DebugLevel &level,const std::string& fonction,const std::string& text,const std::string& file,const int& ligne)
{
- DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,QStringLiteral("Theme plugin"));
+ DebugEngine::addDebugInformationStatic(level,fonction,text,file,ligne,"Theme plugin");
}
#endif // ULTRACOPIER_DEBUG
-void ThemesManager::newOptionValue(const QString &group,const QString &name,const QVariant &value)
+void ThemesManager::newOptionValue(const std::string &group,const std::string &name,const std::string &value)
{
- if(group==QStringLiteral("Themes") && name==QStringLiteral("Ultracopier_current_theme"))
+ if(group=="Themes" && name=="Ultracopier_current_theme")
{
if(!PluginsManager::pluginsManager->allPluginHaveBeenLoaded())
return;
- if(currentPluginIndex!=-1 && value.toString()!=pluginList.at(currentPluginIndex).plugin.name)
+ if(currentPluginIndex!=-1 && value!=pluginList.at(static_cast<unsigned int>(currentPluginIndex)).plugin.name)
{
//int tempCurrentPluginIndex=currentPluginIndex;
emit theThemeNeedBeUnloaded();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QString("unload the themes: %1 (%2)").arg(pluginList.at(currentPluginIndex).plugin.name).arg(currentPluginIndex));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unload the themes: "+pluginList.at(static_cast<unsigned int>(currentPluginIndex)).plugin.name+" ("+std::to_string(currentPluginIndex)+")");
/* Themes remain loaded for the options
*if(pluginList.at(tempCurrentPluginIndex).options!=NULL)
{
diff --git a/ThemesManager.h b/ThemesManager.h
index 1f8096d..9e83af8 100644
--- a/ThemesManager.h
+++ b/ThemesManager.h
@@ -37,7 +37,7 @@ class ThemesManager : public QObject
/** \brief To get image into the current themes, or default if not found
\param filePath The file path to search, like toto.png resolved with the root of the current themes
\see currentStylePath */
- QIcon loadIcon(const QString &fileName);
+ QIcon loadIcon(const std::string &fileName);
/** \brief To get if one themes instance
\see Core() */
PluginInterface_Themes * getThemesInstance();
@@ -49,9 +49,9 @@ class ThemesManager : public QObject
~ThemesManager();
private:
/// \brief The default themes path where it has theme's files
- QString defaultStylePath;
+ std::string defaultStylePath;
/// \brief The current themes path loaded by ultracopier
- QString currentStylePath;
+ std::string currentStylePath;
/// \brief OptionEngineGroupKey then: Group -> Key
struct PluginsAvailableThemes
{
@@ -62,14 +62,14 @@ class ThemesManager : public QObject
#endif
LocalPluginOptions *options;
};
- QList<PluginsAvailableThemes> pluginList;
- int currentPluginIndex;
+ std::vector<PluginsAvailableThemes> pluginList;
+ int currentPluginIndex;//can bne -1
bool stopIt;
signals:
/// \brief send this signal when the themes have changed
void theThemeNeedBeUnloaded() const;
void theThemeIsReloaded() const;
- void newThemeOptions(const QString &name,QWidget *,const bool &isLoaded,const bool &havePlugin) const;
+ void newThemeOptions(const std::string &name,QWidget *,const bool &isLoaded,const bool &havePlugin) const;
void previouslyPluginAdded(PluginsAvailable) const;
private slots:
/// \brief reload the themes
@@ -78,9 +78,9 @@ class ThemesManager : public QObject
void onePluginWillBeRemoved(const PluginsAvailable &plugin);
#endif
void allPluginIsLoaded();
- void newOptionValue(const QString &group,const QString &name,const QVariant &value);
+ void newOptionValue(const std::string &group,const std::string &name,const std::string &value);
#ifdef ULTRACOPIER_DEBUG
- void debugInformation(const Ultracopier::DebugLevel &level, const QString& fonction, const QString& text, const QString& file, const int& ligne);
+ void debugInformation(const Ultracopier::DebugLevel &level, const std::string& fonction, const std::string& text, const std::string& file, const int& ligne);
#endif // ULTRACOPIER_DEBUG
};
diff --git a/Variable.h b/Variable.h
index 3ccb5c1..b3d2649 100644
--- a/Variable.h
+++ b/Variable.h
@@ -12,16 +12,15 @@
#define ULTRACOPIER_DEBUG_MAX_ALL_SIZE 128 ///< \brief Max size (in MB) after the console/file output is dropped
#define ULTRACOPIER_DEBUG_MAX_IMPORTANT_SIZE 150 ///< \brief Max size (in MB) after the console/file important output is dropped
/// \brief the version
-#define ULTRACOPIER_VERSION "1.2.3.6"
+#define ULTRACOPIER_VERSION "1.4.0.3"
/// \brief the windows version
-#define ULTRACOPIER_WINDOWS_VERSION 1,2,3,6
+#define ULTRACOPIER_WINDOWS_VERSION 1,4,0,3
// define if the version is portable or not
////#define ULTRACOPIER_VERSION_PORTABLE
////#define ULTRACOPIER_VERSION_PORTABLEAPPS
// define if the version is ultimate, need change only the name in the code
//#define ULTRACOPIER_VERSION_ULTIMATE
//#define ULTRACOPIER_PLUGIN_ALL_IN_ONE
-//#define ULTRACOPIER_CGMINER
//#define ULTRACOPIER_ILLEGAL
//#define ULTRACOPIER_MODE_SUPERCOPIER
/// \brief define time to update the speed detection update ont the interface (in ms)
diff --git a/cpp11addition.cpp b/cpp11addition.cpp
new file mode 100644
index 0000000..7da2205
--- /dev/null
+++ b/cpp11addition.cpp
@@ -0,0 +1,531 @@
+#include "cpp11addition.h"
+#include <sstream>
+#include <cassert>
+#include <stdlib.h>
+#include <limits.h>
+#include <stdlib.h>
+#include <iostream>
+#include <chrono>
+
+/// \todo, check number validity by http://en.cppreference.com/w/c/string/byte/strtol
+/* to check: bool my_strtol(const std::string &str, long &v) {
+char *end = nullptr;
+v = strtol(str.c_str(), &end, 10);
+return end != nullptr;
+}*/
+
+static const std::regex ishexa("^([0-9a-fA-F][0-9a-fA-F])+$",std::regex::optimize);
+#if defined(_WIN32) || defined(CATCHCHALLENGER_EXTRA_CHECK)
+static const std::regex regexseparators("[/\\\\]+",std::regex::optimize);
+#endif
+
+static const std::string base64_chars =
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ "abcdefghijklmnopqrstuvwxyz"
+ "0123456789+/";
+
+static inline bool is_base64(unsigned char c) {
+ return (isalnum(c) || (c == '+') || (c == '/'));
+}
+
+static const char* const lut = "0123456789ABCDEF";
+
+std::size_t pairhash::operator()(const std::pair<uint8_t, uint8_t> &x) const
+{
+ return (x.first << 8) + x.second;
+}
+
+std::size_t pairhash::operator()(const std::pair<uint16_t, uint16_t> &x) const
+{
+ return (x.first << 16) + x.second;
+}
+
+std::string ltrim(const std::string& str)
+{
+ return std::regex_replace(str, std::regex("^ +"), "");
+}
+std::string rtrim(const std::string& str)
+{
+ return std::regex_replace(str, std::regex(" +$"), "");
+}
+std::string trim(const std::string& str)
+{
+ return std::regex_replace(str, std::regex("^ +| +$"), "");
+}
+
+bool stringreplaceOne(std::string& str, const std::string& from, const std::string& to)
+{
+ const size_t start_pos = str.find(from);
+ if(start_pos == std::string::npos)
+ return false;
+ str.replace(start_pos, from.length(), to);
+ return true;
+}
+
+uint8_t stringreplaceAll(std::string& str, const std::string& from, const std::string& to)
+{
+ if(from.empty())
+ return 0;
+ size_t start_pos = 0;
+ uint8_t count=0;
+ while((start_pos = str.find(from, start_pos)) != std::string::npos) {
+ str.replace(start_pos, from.length(), to);
+ start_pos += to.length(); // In case 'to' contains 'from', like replacing 'x' with 'yx'
+ count++;
+ }
+ return count;
+}
+
+std::vector<std::string> stringregexsplit(const std::string& input, const std::regex& regex)
+{
+ // passing -1 as the submatch index parameter performs splitting
+ std::sregex_token_iterator
+ first{input.begin(), input.end(), regex, -1},
+ last;
+ return {first, last};
+}
+
+std::vector<std::string> stringsplit(const std::string &s, char delim)
+{
+ std::vector<std::string> elems;
+
+ std::string::size_type i = 0;
+ std::string::size_type j = s.find(delim);
+
+ if(j == std::string::npos)
+ {
+ if(!s.empty())
+ elems.push_back(s);
+ return elems;
+ }
+ else
+ {
+ while (j != std::string::npos) {
+ elems.push_back(s.substr(i, j-i));
+ i = ++j;
+ j = s.find(delim, j);
+
+ if (j == std::string::npos)
+ elems.push_back(s.substr(i, s.length()));
+ }
+ return elems;
+ }
+}
+
+bool stringEndsWith(std::string const &fullString, std::string const &ending)
+{
+ if (fullString.length() >= ending.length()) {
+ return (0 == fullString.compare (fullString.length() - ending.length(), ending.length(), ending));
+ } else {
+ return false;
+ }
+}
+
+bool stringEndsWith(std::string const &fullString, char const &ending)
+{
+ if (fullString.length()>0) {
+ return fullString[fullString.size()-1]==ending;
+ } else {
+ return false;
+ }
+}
+
+bool stringStartWith(std::string const &fullString, std::string const &starting)
+{
+ if (fullString.length() >= starting.length()) {
+ return (fullString.substr(0,starting.length())==starting);
+ } else {
+ return false;
+ }
+}
+
+bool stringStartWith(std::string const &fullString, char const &starting)
+{
+ if (fullString.length()>0) {
+ return fullString[0]==starting;
+ } else {
+ return false;
+ }
+}
+
+std::string& stringimplode(const std::vector<std::string>& elems, char delim, std::string& s)
+{
+ for (std::vector<std::string>::const_iterator ii = elems.begin(); ii != elems.cend(); ++ii)
+ {
+ s += (*ii);
+ if ( ii + 1 != elems.end() ) {
+ s += delim;
+ }
+ }
+
+ return s;
+}
+
+std::string stringimplode(const std::vector<std::string>& elems, char delim)
+{
+ std::string s;
+ return stringimplode(elems, delim, s);
+}
+
+std::string stringimplode(const std::queue<std::string>& elems, char delim)
+{
+ std::string newString;
+ std::queue<std::string> copy=elems;
+ unsigned int count=0;
+ while(!copy.empty())
+ {
+ if(count>0)
+ newString+=delim;
+ newString+=copy.front();
+ copy.pop();
+ ++count;
+ }
+
+ return newString;
+}
+
+std::string stringimplode(const std::vector<std::string>& elems, const std::string &delim)
+{
+ std::string newString;
+ for (std::vector<std::string>::const_iterator ii = elems.begin(); ii != elems.cend(); ++ii)
+ {
+ newString += (*ii);
+ if ( ii + 1 != elems.end() ) {
+ newString += delim;
+ }
+ }
+ return newString;
+}
+
+std::string binarytoHexa(const std::vector<char> &data, bool *ok)
+{
+ if(ok!=NULL)
+ *ok=true;
+ std::string output;
+ output.reserve(2*data.size());
+ for(size_t i=0;i<data.size();++i)
+ {
+ const unsigned char c = data[i];
+ output.push_back(lut[c >> 4]);
+ output.push_back(lut[c & 15]);
+ }
+ return output;
+}
+
+std::string binarytoHexa(const unsigned char * const data, const uint32_t &size, bool *ok)
+{
+ return binarytoHexa(reinterpret_cast<const char * const>(data),size,ok);
+}
+
+std::string binarytoHexa(const char * const data, const uint32_t &size, bool *ok)
+{
+ if(size==0)
+ return std::string();
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ if(__builtin_expect((size>100000000),0))
+ {
+ std::cerr << "cpp11addition binarytoHexa() size>100000000, seam be a bug, dropped to empty string" << std::endl;
+ return std::string();
+ }
+ #endif
+ if(ok!=NULL)
+ *ok=true;
+ std::string output;
+ output.reserve(2*size);
+ for(size_t i=0;i<size;++i)
+ {
+ const unsigned char c = data[i];
+ output.push_back(lut[c >> 4]);
+ output.push_back(lut[c & 15]);
+ }
+ return output;
+}
+
+uint8_t hexToDecUnit(const std::string& data, bool *ok)
+{
+ auto fromHex = [](char c, bool *ok)
+ {
+ if(ok!=NULL)
+ *ok=true;
+ if (isdigit(c)) return c - '0';
+ switch(c)
+ {
+ case '0':
+ return 0;
+ case '1':
+ return 1;
+ case '2':
+ return 2;
+ case '3':
+ return 3;
+ case '4':
+ return 4;
+ case '5':
+ return 5;
+ case '6':
+ return 6;
+ case '7':
+ return 7;
+ case '8':
+ return 8;
+ case '9':
+ return 9;
+
+ case 'a':
+ case 'A':
+ return 10;
+ case 'b':
+ case 'B':
+ return 11;
+ case 'c':
+ case 'C':
+ return 12;
+ case 'd':
+ case 'D':
+ return 13;
+ case 'e':
+ case 'E':
+ return 14;
+ case 'f':
+ case 'F':
+ return 15;
+ }
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ };
+ return fromHex(data[0],ok) << 4 | fromHex(data[1],ok);
+}
+
+std::vector<char> hexatoBinary(const std::string &data,bool *ok)
+{
+ if(data.size()%2!=0)
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return std::vector<char>();
+ }
+ if(Q_LIKELY(std::regex_match(data,ishexa)))
+ {
+ bool ok2;
+ std::vector<char> out;
+ out.reserve(data.length()/2);
+ for(size_t i=0;i<data.length();i+=2)
+ {
+ const std::string &partpfchain=data.substr(i,2);
+ const uint8_t &x=hexToDecUnit(partpfchain,&ok2);
+ if(!ok2)
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return std::vector<char>();
+ }
+ out.push_back(x);
+ }
+ if(ok!=NULL)
+ *ok=true;
+ return out;
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return std::vector<char>();
+ }
+}
+
+void binaryAppend(std::vector<char> &data,const std::vector<char> &add)
+{
+ if(add.empty())
+ return;
+ if(data.empty())
+ {
+ data=add;
+ return;
+ }
+ const int oldsize=data.size();
+ data.resize(oldsize+add.size());
+ memcpy(data.data()+oldsize,add.data(),add.size());
+}
+
+void binaryAppend(std::vector<char> &data,const char * const add,const uint32_t &addSize)
+{
+ if(addSize==0)
+ return;
+ if(data.empty())
+ {
+ data.resize(addSize);
+ memcpy(data.data(),add,addSize);
+ return;
+ }
+ const int oldsize=data.size();
+ data.resize(oldsize+addSize);
+ memcpy(data.data()+oldsize,add,addSize);
+}
+
+std::vector<char> base64toBinary(const std::string &string)
+{
+ int index=0;
+ int sub_index=0;
+ int encoded_string_remaining=string.size();
+ int encoded_string_pos=0;
+ unsigned char char_array_4[4], char_array_3[3];
+ std::vector<char> ret;
+
+ while(encoded_string_remaining-- && (string[encoded_string_pos]!='=') && is_base64(string[encoded_string_pos]))
+ {
+ char_array_4[index++]=string[encoded_string_pos];
+ encoded_string_pos++;
+ if(index==4)
+ {
+ for(index=0;index<4;index++)
+ char_array_4[index]=base64_chars.find(char_array_4[index]);
+
+ char_array_3[0]=(char_array_4[0]<<2) + ((char_array_4[1]&0x30)>>4);
+ char_array_3[1]=((char_array_4[1]&0xf)<<4) + ((char_array_4[2]&0x3c)>>2);
+ char_array_3[2]=((char_array_4[2]&0x3)<<6) + char_array_4[3];
+
+ for(index=0;(index<3);index++)
+ ret.push_back(char_array_3[index]);
+
+ index=0;
+ }
+ }
+
+ if(index)
+ {
+ for(sub_index=index;sub_index<4;sub_index++)
+ char_array_4[sub_index]=0;
+
+ for(sub_index=0;sub_index<4;sub_index++)
+ char_array_4[sub_index]=base64_chars.find(char_array_4[sub_index]);
+
+ char_array_3[0]=(char_array_4[0]<<2) + ((char_array_4[1]&0x30)>>4);
+ char_array_3[1]=((char_array_4[1]&0xf)<<4) + ((char_array_4[2]&0x3c)>>2);
+ char_array_3[2]=((char_array_4[2]&0x3)<<6) + char_array_4[3];
+
+ for (sub_index=0;(sub_index<index-1);sub_index++)
+ ret.push_back(char_array_3[sub_index]);
+ }
+
+ return ret;
+}
+
+
+std::string FSabsoluteFilePath(const std::string &string)
+{
+ std::string newstring=string;
+ stringreplaceAll(newstring,"//","/");
+ #ifdef _WIN32
+ stringreplaceAll(newstring,"\\\\","\\");
+ std::vector<std::string> parts=stringregexsplit(newstring,regexseparators);
+ #else
+ std::vector<std::string> parts=stringsplit(newstring,'/');
+ #endif
+
+ #ifndef _WIN32
+ unsigned int index=1;
+ #else
+ unsigned int index=2;
+ #endif
+ while(index<parts.size())
+ {
+ if(parts.at(index)=="..")
+ {
+ parts.erase(parts.begin()+index);
+ #ifndef _WIN32
+ if(index>0 && (index>1 || !parts.at(index-1).empty()))
+ #else
+ if(index>1)
+ #endif
+ {
+ parts.erase(parts.begin()+index-1);
+ index--;
+ }
+ }
+ else
+ index++;
+ }
+
+ #ifndef _WIN32
+ if(parts.empty() || (parts.size()==1 && parts.at(0).empty()))
+ return "/";
+ #endif
+ return stringimplode(parts,'/');
+}
+
+std::string FSabsolutePath(const std::string &string)
+{
+ const std::string &tempFile=FSabsoluteFilePath(string);
+ const std::size_t &found=tempFile.find_last_of("/\\");
+ if(found!=std::string::npos)
+ return tempFile.substr(0,found)+'/';
+ else
+ return tempFile;
+}
+
+uint64_t msFrom1970()
+{
+ return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
+}
+
+uint64_t sFrom1970()
+{
+ return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count()/1000;
+}
+
+std::string booltostring(const bool &value)
+{
+ if(value)
+ return "true";
+ else
+ return "false";
+}
+
+std::vector<std::string> stringtostringlist(const std::string &string)
+{
+ if(string.empty())
+ return std::vector<std::string>();
+ std::vector<std::string> returnedVar;
+ size_t start_pos = 0;
+ size_t firstChar = 0;
+ while((start_pos = string.find(',', start_pos)) != std::string::npos) {
+ if(start_pos==0 || string.at(start_pos-1)!=',')
+ {
+ std::string tempString=string.substr(firstChar,start_pos-1);
+ stringreplaceAll(tempString,",,",",");
+ returnedVar.push_back(tempString);
+ start_pos++;
+ firstChar=start_pos;
+ }
+ }
+ return returnedVar;
+}
+
+std::string stringlisttostring(const std::vector<std::string> &stringlist)
+{
+ std::string returnedString;
+ unsigned int index=0;
+ while(index<stringlist.size())
+ {
+ if(!returnedString.empty())
+ returnedString+=',';
+ std::string tempString=stringlist.at(index);
+ stringreplaceAll(tempString,",",",,");
+ returnedString+=tempString;
+ index++;
+ }
+ return returnedString;
+}
diff --git a/cpp11addition.h b/cpp11addition.h
new file mode 100644
index 0000000..db78b22
--- /dev/null
+++ b/cpp11addition.h
@@ -0,0 +1,203 @@
+#ifndef CATCHCHALLENGER_CPP11ADDITION_H
+#define CATCHCHALLENGER_CPP11ADDITION_H
+
+#include <vector>
+#include <queue>
+#include <string>
+#include <regex>
+#include <unordered_map>
+#include <unordered_set>
+
+#if ! defined(Q_LIKELY)
+ #if defined(__GNUC__)
+ # define Q_LIKELY(expr) __builtin_expect(!!(expr), true)
+ # define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false)
+ #else
+ # define Q_LIKELY(x) (x)
+ #endif
+#endif
+
+struct pairhash {
+public:
+ std::size_t operator()(const std::pair<uint8_t, uint8_t> &x) const;
+ std::size_t operator()(const std::pair<uint16_t, uint16_t> &x) const;
+};
+
+std::string ltrim(const std::string& str);
+std::string rtrim(const std::string& str);
+std::string trim(const std::string& str);
+bool stringreplaceOne(std::string& str, const std::string& from, const std::string& to);
+uint8_t stringreplaceAll(std::string& str, const std::string& from, const std::string& to);
+std::vector<std::string> stringregexsplit(const std::string& input, const std::regex& regex);
+std::vector<std::string> stringsplit(const std::string &s, char delim);
+bool stringEndsWith(std::string const &fullString, std::string const &ending);
+bool stringEndsWith(std::string const &fullString, char const &ending);
+bool stringStartWith(std::string const &fullString, std::string const &starting);
+bool stringStartWith(std::string const &fullString, char const &starting);
+std::string& stringimplode(const std::vector<std::string>& elems, char delim, std::string& s);
+std::string stringimplode(const std::vector<std::string>& elems, char delim);
+std::string stringimplode(const std::queue<std::string>& elems, char delim);
+std::string stringimplode(const std::vector<std::string>& elems, const std::string &delim);
+
+uint8_t stringtouint8(const std::string &string,bool *ok=NULL);
+uint16_t stringtouint16(const std::string &string,bool *ok=NULL);
+uint32_t stringtouint32(const std::string &string,bool *ok=NULL);
+bool stringtobool(const std::string &string,bool *ok=NULL);
+uint64_t stringtouint64(const std::string &string,bool *ok=NULL);
+int8_t stringtoint8(const std::string &string,bool *ok=NULL);
+int16_t stringtoint16(const std::string &string,bool *ok=NULL);
+int32_t stringtoint32(const std::string &string,bool *ok=NULL);
+int64_t stringtoint64(const std::string &string,bool *ok=NULL);
+float stringtofloat(const std::string &string,bool *ok=NULL);
+double stringtodouble(const std::string &string,bool *ok=NULL);
+std::string booltostring(const bool &value);
+
+std::vector<std::string> stringtostringlist(const std::string &string);
+std::string stringlisttostring(const std::vector<std::string> &stringlist);
+
+std::string binarytoHexa(const std::vector<char> &data,bool *ok=NULL);
+std::string binarytoHexa(const char * const data,const uint32_t &size,bool *ok=NULL);
+std::string binarytoHexa(const unsigned char * const data,const uint32_t &size,bool *ok=NULL);
+uint8_t hexToDecUnit(const std::string& data,bool *ok=NULL);
+std::vector<char> hexatoBinary(const std::string &data,bool *ok=NULL);
+void binaryAppend(std::vector<char> &data,const std::vector<char> &add);
+void binaryAppend(std::vector<char> &data, const char * const add, const uint32_t &addSize);
+std::vector<char> base64toBinary(const std::string &string);
+std::string FSabsoluteFilePath(const std::string &string);
+std::string FSabsolutePath(const std::string &string);
+uint64_t msFrom1970();
+uint64_t sFrom1970();
+
+template <class T>
+int vectorindexOf(const std::vector<T> &list,const T &item)
+{
+ const auto &r=std::find(list.cbegin(),list.cend(),item);
+ if(r==list.cend())
+ return -1;
+ else
+ return std::distance(list.cbegin(),r);
+}
+
+template <class T>
+bool vectorremoveOne(std::vector<T> &list,const T &item)
+{
+ const auto &r=std::find(list.cbegin(),list.cend(),item);
+ if(r==list.cend())
+ {
+ return false;
+ }
+ else
+ {
+ list.erase(r);
+ return true;
+ }
+}
+
+template <class T>
+bool vectorcontainsAtLeastOne(const std::vector<T> &list,const T &item)
+{
+ const auto &r=std::find(list.cbegin(),list.cend(),item);
+ if(r==list.cend())
+ return false;
+ else
+ return true;
+}
+
+template <class T>
+unsigned int vectorcontainsCount(const std::vector<T> &list,const T &item)
+{
+ return std::count(list.cbegin(), list.cend(), item);
+}
+
+template <class T, class U>
+std::vector<T> unordered_map_keys_vector(const std::unordered_map<T,U> &unordered_map_var)
+{
+ std::vector<T> keyList;
+ keyList.reserve(unordered_map_var.size());
+ for ( auto it = unordered_map_var.cbegin(); it != unordered_map_var.cend(); ++it )
+ keyList.push_back(it->first);
+ return keyList;
+}
+
+template <class T>
+unsigned int vectorRemoveEmpty(std::vector<T> &list)
+{
+ unsigned int removedEntryNumber=0;
+ for(auto it = list.begin();it != list.cend();)
+ if((*it).empty())
+ {
+ list.erase(it);
+ ++removedEntryNumber;
+ }
+ else
+ ++it;
+ return removedEntryNumber;
+}
+
+template <class T>
+size_t vectorRemoveDuplicatesForSmallList(std::vector<T> &list)
+{
+ /*unsigned int removedEntryNumber=0;
+ for(auto it = list.begin();it < list.cend()-1;)
+ {
+ const auto indexOf=std::find(it+1,list.cend(),*it);
+ if(indexOf!=list.end())
+ {
+ list.erase(indexOf);
+ ++removedEntryNumber;
+ }
+ else
+ ++it;
+ }
+ return removedEntryNumber;*/
+
+ std::unordered_set<T> s(list.cbegin(),list.cend());
+ const size_t removedEntryNumber=list.size()-s.size();
+ list=std::vector<T>(s.cbegin(),s.cend());
+ return removedEntryNumber;
+}
+
+template <class T>
+unsigned int vectorRemoveDuplicatesForBigList(std::vector<T> &list)
+{
+ std::unordered_set<T> s(list.cbegin(),list.cend());
+ const unsigned int removedEntryNumber=list.size()-s.size();
+ list=std::vector<T>(s.cbegin(),s.cend());
+ return removedEntryNumber;
+}
+
+template <class T>
+unsigned int vectorRemoveAll(std::vector<T> &list,const T &item)
+{
+ unsigned int removedEntryNumber=0;
+ unsigned int index=0;
+ while(index<list.size())
+ {
+ if(list.at(index)==item)
+ {
+ removedEntryNumber++;
+ list.erase(list.cbegin()+index);
+ }
+ else
+ index++;
+ }
+ return removedEntryNumber;
+}
+
+template <class T>
+bool vectorHaveDuplicatesForSmallList(const std::vector<T> &list)
+{
+ std::unordered_set<T> s;
+ unsigned int index=0;
+ while(index<list.size())
+ {
+ if(s.find(list.at(index))==s.cend())
+ s.insert(list.at(index));
+ else
+ return true;
+ index++;
+ }
+ return false;
+}
+
+#endif
diff --git a/cpp11additionstringtointcpp.cpp b/cpp11additionstringtointcpp.cpp
new file mode 100644
index 0000000..50a9d17
--- /dev/null
+++ b/cpp11additionstringtointcpp.cpp
@@ -0,0 +1,485 @@
+#include "cpp11addition.h"
+#include <cstdio>
+#include <stdexcept>
+
+/// \todo, check number validity by http://en.cppreference.com/w/c/string/byte/strtol
+/* to check: bool my_strtol(const std::string &str, long &v) {
+char *end = nullptr;
+v = strtol(str.c_str(), &end, 10);
+return end != nullptr;
+}*/
+
+static const std::regex isaunsignednumber("^[0-9]+$",std::regex::optimize);
+static const std::regex isasignednumber("^-?[0-9]+$",std::regex::optimize);
+static const std::regex isadouble("^-?[0-9]+(\\.[0-9]+)?$",std::regex::optimize);
+
+uint8_t stringtouint8(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ unsigned int tempValue;
+ try {
+ tempValue = std::stoul(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(tempValue<=0xFF))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #else
+ if(Q_LIKELY(std::regex_match(string,isaunsignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ const unsigned int &tempValue=std::stoul(string);
+ if(Q_LIKELY(tempValue<=0xFF))
+ return tempValue;
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+uint16_t stringtouint16(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ unsigned int tempValue;
+ try {
+ tempValue = std::stoul(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(tempValue<=0xFFFF))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #else
+ if(Q_LIKELY(std::regex_match(string,isaunsignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ const unsigned int &tempValue=std::stoul(string);
+ if(Q_LIKELY(tempValue<=0xFFFF))
+ return tempValue;
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+uint32_t stringtouint32(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ uint32_t tempValue;
+ try {
+ tempValue = std::stoul(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ #else
+ if(Q_LIKELY(std::regex_match(string,isaunsignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ const unsigned int &tempValue=std::stoull(string);
+ if(Q_LIKELY(tempValue<=0xFFFFFFFF))
+ return tempValue;
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+bool stringtobool(const std::string &string,bool *ok)
+{
+ if(string=="1")
+ {
+ if(ok!=NULL)
+ *ok=true;
+ return true;
+ }
+ if(string=="0")
+ {
+ if(ok!=NULL)
+ *ok=true;
+ return false;
+ }
+ if(string=="true" || string=="t" /*postgresql*/ || string=="TRUE")
+ {
+ if(ok!=NULL)
+ *ok=true;
+ return true;
+ }
+ if(string=="false" || string=="f" /*postgresql*/ || string=="FALSE")
+ {
+ if(ok!=NULL)
+ *ok=true;
+ return false;
+ }
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return false;
+}
+
+uint64_t stringtouint64(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ uint64_t tempValue;
+ try {
+ tempValue = std::stoull(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ #else
+ if(Q_LIKELY(std::regex_match(string,isaunsignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return std::stoull(string);
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+int8_t stringtoint8(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ int tempValue;
+ try {
+ tempValue = std::stol(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(tempValue<=0x7F && tempValue>=-0x7F))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #else
+ if(Q_LIKELY(std::regex_match(string,isasignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ const unsigned int &tempValue=std::stoi(string);
+ if(Q_LIKELY(tempValue<=0x7F))
+ return tempValue;
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+int16_t stringtoint16(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ int tempValue;
+ try {
+ tempValue = std::stol(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(tempValue<=0x7FFF && tempValue>=-0x7FFF))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #else
+ if(Q_LIKELY(std::regex_match(string,isasignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ const unsigned int &tempValue=std::stoi(string);
+ if(Q_LIKELY(tempValue<=0x7FFF))
+ return tempValue;
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+int32_t stringtoint32(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ int32_t tempValue;
+ try {
+ tempValue = std::stol(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ #else
+ if(Q_LIKELY(std::regex_match(string,isasignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return std::stoi(string);
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+int64_t stringtoint64(const std::string &string,bool *ok)
+{
+ #ifdef __EXCEPTIONS
+ int64_t tempValue;
+ try {
+ tempValue = std::stoll(string);
+ }
+ catch(...) {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(Q_LIKELY(ok!=NULL))
+ *ok=false;
+ return 0;
+ }
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return tempValue;
+ #else
+ if(Q_LIKELY(std::regex_match(string,isasignednumber)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return std::stoll(string);
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+ #endif
+}
+
+float stringtofloat(const std::string &string,bool *ok)
+{
+ if(Q_LIKELY(std::regex_match(string,isadouble)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return std::stof(string);
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+}
+
+double stringtodouble(const std::string &string,bool *ok)
+{
+ if(Q_LIKELY(std::regex_match(string,isadouble)))
+ {
+ if(Q_LIKELY(ok!=NULL))
+ *ok=true;
+ return std::stod(string);
+ }
+ else
+ {
+ #ifdef CATCHCHALLENGER_EXTRA_CHECK
+ std::cerr << "Convertion failed and repported at " << __FILE__ << ":" << __LINE__ << std::endl;
+ #endif
+ if(ok!=NULL)
+ *ok=false;
+ return 0;
+ }
+}
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 023600d..ff915c1 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,7 +1,7 @@
# see git-dpm(1) from git-dpm package
-73de37793cc6f9268ad3334c5ff049b0b7bce5ed
-73de37793cc6f9268ad3334c5ff049b0b7bce5ed
-b3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc
+b00b0c864574c3842effe1705b66066fa228f950
+b00b0c864574c3842effe1705b66066fa228f950
+bd56579c7d9de94c17287adefa118290e6b7ba33
bd56579c7d9de94c17287adefa118290e6b7ba33
ultracopier_1.4.0.3.orig.tar.xz
b70fb394a8b3f085ddd72cdb525d1e3c7c763d7a
diff --git a/debian/patches/0001-Disable-ultimate-build.patch b/debian/patches/0001-Disable-ultimate-build.patch
index 1c5f298..7fec183 100644
--- a/debian/patches/0001-Disable-ultimate-build.patch
+++ b/debian/patches/0001-Disable-ultimate-build.patch
@@ -1,4 +1,4 @@
-From 73de37793cc6f9268ad3334c5ff049b0b7bce5ed Mon Sep 17 00:00:00 2001
+From 59774a195bc6b530ccbd9c174e20602451ac1084 Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <robotux@celest.fr>
Date: Fri, 16 Feb 2018 23:09:42 +0000
Subject: Disable ultimate build
@@ -12,23 +12,9 @@ Author: Thomas Preud'homme <robotux@debian.org>
Forwarded: mailed to ultracopier@first-world.info
Last-Update: 2018-02-19
---
- Variable.h | 2 +-
plugins/Themes/Oxygen/Variable.h | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
+ 1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/Variable.h b/Variable.h
-index 66a41c2..3ccb5c1 100644
---- a/Variable.h
-+++ b/Variable.h
-@@ -19,7 +19,7 @@
- ////#define ULTRACOPIER_VERSION_PORTABLE
- ////#define ULTRACOPIER_VERSION_PORTABLEAPPS
- // define if the version is ultimate, need change only the name in the code
--#define ULTRACOPIER_VERSION_ULTIMATE
-+//#define ULTRACOPIER_VERSION_ULTIMATE
- //#define ULTRACOPIER_PLUGIN_ALL_IN_ONE
- //#define ULTRACOPIER_CGMINER
- //#define ULTRACOPIER_ILLEGAL
diff --git a/plugins/Themes/Oxygen/Variable.h b/plugins/Themes/Oxygen/Variable.h
index 8b6119b..660346f 100644
--- a/plugins/Themes/Oxygen/Variable.h
diff --git a/debian/patches/0002-Recognize-Hurd-platform.patch b/debian/patches/0002-Recognize-Hurd-platform.patch
new file mode 100644
index 0000000..c19213d
--- /dev/null
+++ b/debian/patches/0002-Recognize-Hurd-platform.patch
@@ -0,0 +1,31 @@
+From b00b0c864574c3842effe1705b66066fa228f950 Mon Sep 17 00:00:00 2001
+From: Thomas Preud'homme <robotux@celest.fr>
+Date: Fri, 16 Feb 2018 23:09:42 +0000
+Subject: Recognize Hurd platform
+
+Building ultracopier on Hurd fails because PluginsManager.cpp checks for
+various supported host platform (Linux, Mac OS X, Windows) and default
+to giving an error. Given the code guarded by the Linux check, Hurd
+should work as well. This patch thus changes the guard for that code to
+also support Hurd.
+
+Author: Thomas Preud'homme <robotux@debian.org>
+Forwarded: no
+Last-Update: 2018-02-24
+---
+ PluginsManager.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/PluginsManager.cpp b/PluginsManager.cpp
+index 95c158d..269e837 100644
+--- a/PluginsManager.cpp
++++ b/PluginsManager.cpp
+@@ -907,7 +907,7 @@ void PluginsManager::newAuthPath(const std::string &path)
+ /// \brief transfor short plugin name into file name
+ std::string PluginsManager::getResolvedPluginName(const std::string &name)
+ {
+- #if defined(Q_OS_LINUX)
++ #if defined(Q_OS_LINUX) || defined(Q_OS_HURD)
+ return "lib"+name+".so";
+ #elif defined(Q_OS_MAC)
+ #if defined(QT_DEBUG)
diff --git a/debian/patches/series b/debian/patches/series
index 2b952f0..e14b4f0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Disable-ultimate-build.patch
+0002-Recognize-Hurd-platform.patch
diff --git a/interface/FacilityInterface.h b/interface/FacilityInterface.h
index 1893349..f9b000d 100644
--- a/interface/FacilityInterface.h
+++ b/interface/FacilityInterface.h
@@ -6,9 +6,9 @@
#ifndef FACILITY_INTERFACE_H
#define FACILITY_INTERFACE_H
-#include <QVariant>
-#include <QString>
-#include <QStringList>
+#include <string>
+#include <vector>
+#include <QObject>
#include "../StructEnumDefinition.h"
@@ -20,25 +20,25 @@ class FacilityInterface : public QObject
/// \brief To force the text re-translation
virtual void retranslate() = 0;
/// \brief convert size in Byte to String
- virtual QString sizeToString(const double &size) const = 0;
+ virtual std::string sizeToString(const double &size) const = 0;
/// \brief convert size unit to String
- virtual QString sizeUnitToString(const Ultracopier::SizeUnit &sizeUnit) const = 0;
+ virtual std::string sizeUnitToString(const Ultracopier::SizeUnit &sizeUnit) const = 0;
/// \brief translate the text
- virtual QString translateText(const QString &text) const = 0;
+ virtual std::string translateText(const std::string &text) const = 0;
/// \brief speed to string in byte per seconds
- virtual QString speedToString(const double &speed) const = 0;
+ virtual std::string speedToString(const double &speed) const = 0;
/// \brief Decompose the time in second
- virtual Ultracopier::TimeDecomposition secondsToTimeDecomposition(const quint32 &seconds) const = 0;
+ virtual Ultracopier::TimeDecomposition secondsToTimeDecomposition(const uint32_t &seconds) const = 0;
/// \brief have the fonctionnality
- virtual bool haveFunctionality(const QString &fonctionnality) const = 0;
+ virtual bool haveFunctionality(const std::string &fonctionnality) const = 0;
/// \brief call the fonctionnality
- virtual QVariant callFunctionality(const QString &fonctionnality,const QStringList &args=QStringList()) = 0;
+ virtual std::string callFunctionality(const std::string &fonctionnality,const std::vector<std::string> &args=std::vector<std::string>()) = 0;
/// \brief Do the simplified time
- virtual QString simplifiedRemainingTime(const quint32 &seconds) const = 0;
+ virtual std::string simplifiedRemainingTime(const uint32_t &seconds) const = 0;
/// \brief Do the simplified time
- virtual QString ultimateUrl() const = 0;
+ virtual std::string ultimateUrl() const = 0;
/// \brief Return the software name
- virtual QString softwareName() const = 0;
+ virtual std::string softwareName() const = 0;
};
#endif // FACILITY_INTERFACE_H
diff --git a/interface/OptionInterface.h b/interface/OptionInterface.h
index 9638170..034b49d 100644
--- a/interface/OptionInterface.h
+++ b/interface/OptionInterface.h
@@ -6,10 +6,10 @@
#ifndef OPTION_INTERFACE_H
#define OPTION_INTERFACE_H
-#include <QString>
-#include <QList>
-#include <QVariant>
-#include <QPair>
+#include <string>
+#include <vector>
+#include <utility>
+#include <QObject>
#include "../StructEnumDefinition.h"
@@ -21,15 +21,15 @@ class OptionInterface : public QObject
Q_OBJECT
public:
/// \brief To add option group to options
- virtual bool addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList) = 0;
+ virtual bool addOptionGroup(const std::vector<std::pair<std::string, std::string> > &KeysList) = 0;
/*/// \brief To remove option group to options, removed to the load plugin
virtual bool removeOptionGroup() = 0;*/
/// \brief To get option value
- virtual QVariant getOptionValue(const QString &variableName) const = 0;
+ virtual std::string getOptionValue(const std::string &variableName) const = 0;
/// \brief To set option value
- virtual void setOptionValue(const QString &variableName,const QVariant &value) = 0;
+ virtual void setOptionValue(const std::string &variableName,const std::string &value) = 0;
signals:
- //void newOptionValue(QString,QVariant);-> disabled because the value will not externally changed, then useless notification
+ //void newOptionValue(std::string,std::string);-> disabled because the value will not externally changed, then useless notification
void resetOptions() const;
};
diff --git a/interface/PluginInterface_CopyEngine.h b/interface/PluginInterface_CopyEngine.h
index c41be7b..eb5b6bc 100644
--- a/interface/PluginInterface_CopyEngine.h
+++ b/interface/PluginInterface_CopyEngine.h
@@ -6,13 +6,10 @@
#ifndef PLUGININTERFACE_COPYENGINE_H
#define PLUGININTERFACE_COPYENGINE_H
-#include <QStringList>
-#include <QString>
#include <QObject>
-#include <QList>
-#include <QPair>
#include <QWidget>
-#include <QDateTime>
+#include <string>
+#include <vector>
#include "OptionInterface.h"
#include "FacilityInterface.h"
@@ -43,40 +40,40 @@ class PluginInterface_CopyEngine : public QObject
/** \brief compare the current sources of the copy, with the passed arguments
* \param sources the sources list to compares with the current sources list
* \return true if have same sources, else false (or empty) */
- virtual bool haveSameSource(const QStringList &sources) = 0;
+ virtual bool haveSameSource(const std::vector<std::string> &sources) = 0;
/** \brief compare the current destination of the copy, with the passed arguments
* \param destination the destination to compares with the current destination
* \return true if have same destination, else false (or empty) */
- virtual bool haveSameDestination(const QString &destination) = 0;
+ virtual bool haveSameDestination(const std::string &destination) = 0;
//external soft like file browser have send copy/move list to do
/** \brief send copy without destination, ask the destination
* \param sources the sources list to copy
* \return true if the copy have been accepted */
- virtual bool newCopy(const QStringList &sources) = 0;
+ virtual bool newCopy(const std::vector<std::string> &sources) = 0;
/** \brief send copy with destination
* \param sources the sources list to copy
* \param destination the destination to copy
* \return true if the copy have been accepted */
- virtual bool newCopy(const QStringList &sources,const QString &destination) = 0;
+ virtual bool newCopy(const std::vector<std::string> &sources,const std::string &destination) = 0;
/** \brief send move without destination, ask the destination
* \param sources the sources list to move
* \return true if the move have been accepted */
- virtual bool newMove(const QStringList &sources) = 0;
+ virtual bool newMove(const std::vector<std::string> &sources) = 0;
/** \brief send move without destination, ask the destination
* \param sources the sources list to move
* \param destination the destination to move
* \return true if the move have been accepted */
- virtual bool newMove(const QStringList &sources,const QString &destination) = 0;
+ virtual bool newMove(const std::vector<std::string> &sources,const std::string &destination) = 0;
/** \brief send the new transfer list
* \param file the transfer list */
- virtual void newTransferList(const QString &file) = 0;
+ virtual void newTransferList(const std::string &file) = 0;
/** \brief to get byte read, use by Ultracopier for the speed calculation
* real size transfered to right speed calculation */
- virtual quint64 realByteTransfered() = 0;
+ virtual uint64_t realByteTransfered() = 0;
/** \brief support speed limitation */
@@ -103,7 +100,7 @@ class PluginInterface_CopyEngine : public QObject
virtual void resume() = 0;
/** \brief skip one transfer entry
* \param id id of the file to remove */
- virtual void skip(const quint64 &id) = 0;
+ virtual void skip(const uint64_t &id) = 0;
/// \brief cancel all the transfer
virtual void cancel() = 0;
@@ -111,19 +108,19 @@ class PluginInterface_CopyEngine : public QObject
//edit the transfer list
/** \brief remove the selected item
* \param ids ids is the id list of the selected items */
- virtual void removeItems(const QList<int> &ids) = 0;
+ virtual void removeItems(const std::vector<uint64_t> &ids) = 0;
/** \brief move on top of the list the selected item
* \param ids ids is the id list of the selected items */
- virtual void moveItemsOnTop(const QList<int> &ids) = 0;
+ virtual void moveItemsOnTop(const std::vector<uint64_t> &ids) = 0;
/** \brief move up the list the selected item
* \param ids ids is the id list of the selected items */
- virtual void moveItemsUp(const QList<int> &ids) = 0;
+ virtual void moveItemsUp(const std::vector<uint64_t> &ids) = 0;
/** \brief move down the list the selected item
* \param ids ids is the id list of the selected items */
- virtual void moveItemsDown(const QList<int> &ids) = 0;
+ virtual void moveItemsDown(const std::vector<uint64_t> &ids) = 0;
/** \brief move on bottom of the list the selected item
* \param ids ids is the id list of the selected items */
- virtual void moveItemsOnBottom(const QList<int> &ids) = 0;
+ virtual void moveItemsOnBottom(const std::vector<uint64_t> &ids) = 0;
/** \brief give the forced mode, to export/import transfer list */
@@ -138,27 +135,27 @@ class PluginInterface_CopyEngine : public QObject
/** \brief to set the speed limitation
* -1 if not able, 0 if disabled */
- virtual bool setSpeedLimitation(const qint64 &speedLimitation) = 0;
+ virtual bool setSpeedLimitation(const int64_t &speedLimitation) = 0;
// signal to implement
signals:
//send information about the copy
void actionInProgess(const Ultracopier::EngineActionInProgress &engineActionInProgress) const; //should update interface information on this event
- void newFolderListing(const QString &path) const;
+ void newFolderListing(const std::string &path) const;
void isInPause(const bool &isInPause) const;
- void newActionOnList(const QList<Ultracopier::ReturnActionOnCopyList>&) const;///very important, need be temporized to group the modification to do and not flood the interface
- void doneTime(const QList<QPair<quint64,quint32> >&) const;
+ void newActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList>&) const;///very important, need be temporized to group the modification to do and not flood the interface
+ void doneTime(const std::vector<std::pair<uint64_t,uint32_t> >&) const;
void syncReady() const;
/** \brief to get the progression for a specific file
* \param id the id of the transfer, id send during population the transfer list
* first = current transfered byte, second = byte to transfer */
- void pushFileProgression(const QList<Ultracopier::ProgressionItem> &progressionList) const;
+ void pushFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList) const;
//get information about the copy
/** \brief to get the general progression
* first = current transfered byte, second = byte to transfer */
- void pushGeneralProgression(const quint64 &,const quint64 &) const;
+ void pushGeneralProgression(const uint64_t &,const uint64_t &) const;
//when the cancel is clicked on copy engine dialog
void cancelAll() const;
@@ -167,11 +164,11 @@ class PluginInterface_CopyEngine : public QObject
void canBeDeleted() const;
//send error occurred
- void error(const QString &path,const quint64 &size,const QDateTime &mtime,const QString &error) const;
- void errorToRetry(const QString &source,const QString &destination,const QString &error) const;
+ void error(const std::string &path,const uint64_t &size,const uint64_t &mtime,const std::string &error) const;
+ void errorToRetry(const std::string &source,const std::string &destination,const std::string &error) const;
//for the extra logging
- void rmPath(const QString &path) const;
- void mkPath(const QString &path) const;
+ void rmPath(const std::string &path) const;
+ void mkPath(const std::string &path) const;
};
/// \brief To define the interface for the factory to do copy engine instance
@@ -182,7 +179,7 @@ class PluginInterface_CopyEngineFactory : public QObject
/// \brief to get one instance
virtual PluginInterface_CopyEngine * getInstance() = 0;
/// \brief to set resources, writePath can be empty if read only mode
- virtual void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion) = 0;
+ virtual void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion) = 0;
//get mode allowed
/// \brief define if can copy file, folder or both
virtual Ultracopier::CopyType getCopyType() = 0;
@@ -191,9 +188,9 @@ class PluginInterface_CopyEngineFactory : public QObject
/// \brief define if can only copy, or copy and move
virtual bool canDoOnlyCopy() const = 0;
/// \brief to get the supported protocols for the source
- virtual QStringList supportedProtocolsForTheSource() const = 0;
+ virtual std::vector<std::string> supportedProtocolsForTheSource() const = 0;
/// \brief to get the supported protocols for the destination
- virtual QStringList supportedProtocolsForTheDestination() const = 0;
+ virtual std::vector<std::string> supportedProtocolsForTheDestination() const = 0;
/// \brief to get the options of the copy engine
virtual QWidget * options() = 0;
public slots:
@@ -203,9 +200,9 @@ class PluginInterface_CopyEngineFactory : public QObject
virtual void newLanguageLoaded() = 0;
signals:
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
};
-Q_DECLARE_INTERFACE(PluginInterface_CopyEngineFactory,"first-world.info.ultracopier.PluginInterface.CopyEngineFactory/1.2.0.0");
+Q_DECLARE_INTERFACE(PluginInterface_CopyEngineFactory,"first-world.info.ultracopier.PluginInterface.CopyEngineFactory/1.2.4.0");
#endif // PLUGININTERFACE_COPYENGINE_H
diff --git a/interface/PluginInterface_Listener.h b/interface/PluginInterface_Listener.h
index 2fbe95b..61acb2f 100644
--- a/interface/PluginInterface_Listener.h
+++ b/interface/PluginInterface_Listener.h
@@ -7,8 +7,8 @@
#define PLUGININTERFACE_LISTENER_H
#include <QObject>
-#include <QString>
-#include <QStringList>
+#include <string>
+#include <vector>
#include "OptionInterface.h"
@@ -25,32 +25,32 @@ class PluginInterface_Listener : public QObject
/// \brief put close the listen
virtual void close() = 0;
/// \brief to get the error string
- virtual const QString errorString() const = 0;
+ virtual const std::string errorString() const = 0;
/// \brief set the resources for the plugin
- virtual void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion) = 0;
+ virtual void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion) = 0;
/// \brief to get the options widget, NULL if not have
virtual QWidget * options() = 0;
/// \brief to get a client list
- virtual QStringList clientsList() const = 0;
+ virtual std::vector<std::string> clientsList() const = 0;
public slots:
/// \brief send when copy is finished
- virtual void transferFinished(const quint32 &orderId,const bool &withError) = 0;
+ virtual void transferFinished(const uint32_t &orderId,const bool &withError) = 0;
/// \brief send when copy is canceled
- virtual void transferCanceled(const quint32 &orderId) = 0;
+ virtual void transferCanceled(const uint32_t &orderId) = 0;
/// \brief to reload the translation, because the new language have been loaded
virtual void newLanguageLoaded() = 0;
signals:
void newState(const Ultracopier::ListeningState &state) const;
- void newCopyWithoutDestination(const quint32 &orderId,const QStringList &sources) const;
- void newCopy(const quint32 &orderId,const QStringList &sources,const QString &destination) const;
- void newMoveWithoutDestination(const quint32 &orderId,const QStringList &sources) const;
- void newMove(const quint32 &orderId,const QStringList &sources,const QString &destination) const;
- void error(const QString &error) const;
+ void newCopyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources) const;
+ void newCopy(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination) const;
+ void newMoveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources) const;
+ void newMove(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination) const;
+ void error(const std::string &error) const;
void newClientList() const;
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
};
-Q_DECLARE_INTERFACE(PluginInterface_Listener,"first-world.info.ultracopier.PluginInterface.Listener/1.0.0.0");
+Q_DECLARE_INTERFACE(PluginInterface_Listener,"first-world.info.ultracopier.PluginInterface.Listener/1.2.4.0");
#endif // PLUGININTERFACE_LISTENER_H
diff --git a/interface/PluginInterface_PluginLoader.h b/interface/PluginInterface_PluginLoader.h
index 71d5935..c702003 100644
--- a/interface/PluginInterface_PluginLoader.h
+++ b/interface/PluginInterface_PluginLoader.h
@@ -6,7 +6,7 @@
#ifndef PLUGININTERFACE_PLUGINLOADER_H
#define PLUGININTERFACE_PLUGINLOADER_H
-#include <QString>
+#include <string>
#include "OptionInterface.h"
@@ -21,7 +21,7 @@ class PluginInterface_PluginLoader : public QObject
/// \brief try enable/disable the catching
virtual void setEnabled(const bool &enabled) = 0;
/// \brief to set resources, writePath can be empty if read only mode
- virtual void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion) = 0;
+ virtual void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion) = 0;
/// \brief to get the options widget, NULL if not have
virtual QWidget * options() = 0;
public slots:
@@ -31,9 +31,9 @@ class PluginInterface_PluginLoader : public QObject
signals:
void newState(const Ultracopier::CatchState &catchstate) const;
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
};
-Q_DECLARE_INTERFACE(PluginInterface_PluginLoader,"first-world.info.ultracopier.PluginInterface.PluginLoader/1.0.0.0");
+Q_DECLARE_INTERFACE(PluginInterface_PluginLoader,"first-world.info.ultracopier.PluginInterface.PluginLoader/1.2.4.0");
#endif // PLUGININTERFACE_PLUGINLOADER_H
diff --git a/interface/PluginInterface_SessionLoader.h b/interface/PluginInterface_SessionLoader.h
index 85b9b22..d0cd366 100644
--- a/interface/PluginInterface_SessionLoader.h
+++ b/interface/PluginInterface_SessionLoader.h
@@ -6,7 +6,7 @@
#ifndef PLUGININTERFACE_SESSIONLOADER_H
#define PLUGININTERFACE_SESSIONLOADER_H
-#include <QString>
+#include <string>
#include "OptionInterface.h"
@@ -23,7 +23,7 @@ class PluginInterface_SessionLoader : public QObject
/// \brief get if is enabled
virtual bool getEnabled() const = 0;
/// \brief set the resources
- virtual void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion) = 0;
+ virtual void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion) = 0;
/// \brief to get the options widget, NULL if not have
virtual QWidget * options() = 0;
public slots:
@@ -31,9 +31,9 @@ class PluginInterface_SessionLoader : public QObject
virtual void newLanguageLoaded() = 0;
signals:
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
};
-Q_DECLARE_INTERFACE(PluginInterface_SessionLoader,"first-world.info.ultracopier.PluginInterface.SessionLoader/1.0.0.0");
+Q_DECLARE_INTERFACE(PluginInterface_SessionLoader,"first-world.info.ultracopier.PluginInterface.SessionLoader/1.2.4.0");
#endif // PLUGININTERFACE_SESSIONLOADER_H
diff --git a/interface/PluginInterface_Themes.h b/interface/PluginInterface_Themes.h
index 7d8c3f6..7272c79 100644
--- a/interface/PluginInterface_Themes.h
+++ b/interface/PluginInterface_Themes.h
@@ -6,13 +6,11 @@
#ifndef PLUGININTERFACE_THEMES_H
#define PLUGININTERFACE_THEMES_H
-#include <QStringList>
-#include <QString>
+#include <vector>
+#include <string>
#include <QObject>
#include <QWidget>
-#include <QList>
-#include <QPair>
-#include <QUrl>
+#include <utility>
#include <QIcon>
#include "OptionInterface.h"
@@ -30,25 +28,25 @@ class PluginInterface_Themes : public QWidget
virtual void actionInProgess(const Ultracopier::EngineActionInProgress&) = 0;
/// \brief the new folder is listing
- virtual void newFolderListing(const QString &path) = 0;
+ virtual void newFolderListing(const std::string &path) = 0;
/** \brief show the detected speed
* in byte per seconds */
- virtual void detectedSpeed(const quint64 &speed) = 0;
+ virtual void detectedSpeed(const uint64_t &speed) = 0;
/** \brief show the remaining time
* time in seconds */
virtual void remainingTime(const int &remainingSeconds) = 0;
/// \brief set one error is detected
virtual void errorDetected() = 0;
/// \brief new error
- virtual void errorToRetry(const QString &source,const QString &destination,const QString &error) = 0;
+ virtual void errorToRetry(const std::string &source,const std::string &destination,const std::string &error) = 0;
/** \brief support speed limitation */
virtual void setSupportSpeedLimitation(const bool &supportSpeedLimitationBool) = 0;
/// \brief get action on the transfer list (add/move/remove)
- virtual void getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &returnActions) = 0;
+ virtual void getActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &returnActions) = 0;
/// \brief show the general progression
- virtual void setGeneralProgression(const quint64 &current,const quint64 &total) = 0;
+ virtual void setGeneralProgression(const uint64_t &current,const uint64_t &total) = 0;
/// \brief show the file progression
- virtual void setFileProgression(const QList<Ultracopier::ProgressionItem> &progressionList) = 0;
+ virtual void setFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList) = 0;
public:
/// \brief get the widget for the copy engine
virtual QWidget * getOptionsEngineWidget() = 0;
@@ -68,25 +66,25 @@ class PluginInterface_Themes : public QWidget
// signal to implement
signals:
//set the transfer list
- void removeItems(const QList<int> &ids) const;
- void moveItemsOnTop(const QList<int> &ids) const;
- void moveItemsUp(const QList<int> &ids) const;
- void moveItemsDown(const QList<int> &ids) const;
- void moveItemsOnBottom(const QList<int> &ids) const;
+ void removeItems(const std::vector<uint64_t> &ids) const;
+ void moveItemsOnTop(const std::vector<uint64_t> &ids) const;
+ void moveItemsUp(const std::vector<uint64_t> &ids) const;
+ void moveItemsDown(const std::vector<uint64_t> &ids) const;
+ void moveItemsOnBottom(const std::vector<uint64_t> &ids) const;
void exportTransferList() const;
void importTransferList() const;
void exportErrorIntoTransferList() const;
//user ask ask to add folder (add it with interface ask source/destination)
void userAddFolder(const Ultracopier::CopyMode &mode) const;
void userAddFile(const Ultracopier::CopyMode &mode) const;
- void urlDropped(const QList<QUrl> &urls) const;
+ void urlDropped(const std::vector<std::string> &urls) const;
//action on the copy
void pause() const;
void resume() const;
- void skip(const quint64 &id) const;
+ void skip(const uint64_t &id) const;
void cancel() const;
//edit the action
- void newSpeedLimitation(const qint64 &speedLimitation) const;///< -1 if not able, 0 if disabled
+ void newSpeedLimitation(const uint64_t &speedLimitation) const;///< -1 if not able, 0 if disabled
};
/// \brief To define the interface for the factory to do themes instance
@@ -97,11 +95,11 @@ class PluginInterface_ThemesFactory : public QObject
/// \brief to get one instance
virtual PluginInterface_Themes * getInstance() = 0;
/// \brief to set resources, writePath can be empty if read only mode
- virtual void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion) = 0;
+ virtual void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion) = 0;
/// \brief to get the default options widget
virtual QWidget * options() = 0;
/// \brief to get a resource icon
- virtual QIcon getIcon(const QString &fileName) const = 0;
+ virtual QIcon getIcon(const std::string &fileName) const = 0;
public slots:
/// \brief to reset as default the local options
virtual void resetOptions() = 0;
@@ -109,9 +107,9 @@ class PluginInterface_ThemesFactory : public QObject
virtual void newLanguageLoaded() = 0;
signals:
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
};
-Q_DECLARE_INTERFACE(PluginInterface_ThemesFactory,"first-world.info.ultracopier.PluginInterface.ThemesFactory/1.0.1.0");
+Q_DECLARE_INTERFACE(PluginInterface_ThemesFactory,"first-world.info.ultracopier.PluginInterface.ThemesFactory/1.2.4.0");
#endif // PLUGININTERFACE_THEMES_H
diff --git a/lib/qt-tar-xz/QTarDecode.cpp b/lib/qt-tar-xz/QTarDecode.cpp
index e1d9bce..10c38ca 100644
--- a/lib/qt-tar-xz/QTarDecode.cpp
+++ b/lib/qt-tar-xz/QTarDecode.cpp
@@ -12,7 +12,7 @@
static const std::regex isaunsignednumber("^[0-9]+$",std::regex::optimize);
static const std::regex isaunoctalnumber("^[0-7]+$",std::regex::optimize);
-static const char* const lut = "0123456789ABCDEF";
+//static const char* const lut = "0123456789ABCDEF";
QTarDecode::QTarDecode()
{
diff --git a/lib/qt-tar-xz/QXzDecode.cpp b/lib/qt-tar-xz/QXzDecode.cpp
index 2cf1209..005ce10 100644
--- a/lib/qt-tar-xz/QXzDecode.cpp
+++ b/lib/qt-tar-xz/QXzDecode.cpp
@@ -14,133 +14,133 @@ static uint8_t out[BUFSIZ];
QXzDecode::QXzDecode(QByteArray data,quint64 maxSize)
{
- error="Unknow error";
- this->data=data;
- this->maxSize=maxSize;
- isDecoded=false;
+ error="Unknow error";
+ this->data=data;
+ this->maxSize=maxSize;
+ isDecoded=false;
}
bool QXzDecode::decodeStream(QDataStream *stream_xz_decode_in,QDataStream *stream_xz_decode_out)
{
- isDecoded=false;
- struct xz_buf b;
- struct xz_dec *s;
- enum xz_ret ret;
-
- xz_crc32_init();
-
- /*
- * Support up to 64 MiB dictionary. The actually needed memory
- * is allocated once the headers have been parsed.
- */
- s = xz_dec_init(XZ_DYNALLOC, 1 << 26);
- if (s == NULL) {
- error=tr("Memory allocation failed");
- xz_dec_end(s);
- return isDecoded;
- }
-
- b.in = in;
- b.in_pos = 0;
- b.in_size = 0;
- b.out = out;
- b.out_pos = 0;
- b.out_size = BUFSIZ;
-
- while (true) {
- //input of data
- if (b.in_pos == b.in_size) {
- b.in_size = stream_xz_decode_in->readRawData((char *)in,sizeof(in));
- b.in_pos = 0;
- }
-
- ret = xz_dec_run(s, &b);
-
- //output of data
- if (b.out_pos == sizeof(out))
- {
- if (stream_xz_decode_out->writeRawData((char *)out,b.out_pos) != (int)b.out_pos)
- {
- error=tr("Write error");
- xz_dec_end(s);
- return isDecoded;
- }
- b.out_pos = 0;
- }
-
- if (ret == XZ_OK)
- continue;
+ isDecoded=false;
+ struct xz_buf b;
+ struct xz_dec *s;
+ enum xz_ret ret;
+
+ xz_crc32_init();
+
+ /*
+ * Support up to 64 MiB dictionary. The actually needed memory
+ * is allocated once the headers have been parsed.
+ */
+ s = xz_dec_init(XZ_DYNALLOC, 1 << 26);
+ if (s == NULL) {
+ error=tr("Memory allocation failed");
+ xz_dec_end(s);
+ return isDecoded;
+ }
+
+ b.in = in;
+ b.in_pos = 0;
+ b.in_size = 0;
+ b.out = out;
+ b.out_pos = 0;
+ b.out_size = BUFSIZ;
+
+ while (true) {
+ //input of data
+ if (b.in_pos == b.in_size) {
+ b.in_size = stream_xz_decode_in->readRawData((char *)in,sizeof(in));
+ b.in_pos = 0;
+ }
+
+ ret = xz_dec_run(s, &b);
+
+ //output of data
+ if (b.out_pos == sizeof(out))
+ {
+ if (static_cast<size_t>(stream_xz_decode_out->writeRawData((char *)out,static_cast<int>(b.out_pos))) != b.out_pos)
+ {
+ error=tr("Write error");
+ xz_dec_end(s);
+ return isDecoded;
+ }
+ b.out_pos = 0;
+ }
+
+ if (ret == XZ_OK)
+ continue;
#ifdef XZ_DEC_ANY_CHECK
- if (ret == XZ_UNSUPPORTED_CHECK) {
- continue;
- }
+ if (ret == XZ_UNSUPPORTED_CHECK) {
+ continue;
+ }
#endif
- if (stream_xz_decode_out->writeRawData((char *)out,b.out_pos) != (int)b.out_pos)
- {
- error=tr("Write error");
- xz_dec_end(s);
- return isDecoded;
- }
-
- switch (ret) {
- case XZ_STREAM_END:
- xz_dec_end(s);
- isDecoded=true;
- return isDecoded;
- case XZ_MEM_ERROR:
- error=tr("Memory allocation failed");
- xz_dec_end(s);
- return isDecoded;
- case XZ_MEMLIMIT_ERROR:
- error=tr("Memory usage limit reached");
- xz_dec_end(s);
- return isDecoded;
- case XZ_FORMAT_ERROR:
- error=tr("Not a .xz file");
- xz_dec_end(s);
- return isDecoded;
- case XZ_OPTIONS_ERROR:
- error=tr("Unsupported options in the .xz headers");
- xz_dec_end(s);
- return isDecoded;
- case XZ_DATA_ERROR:
- case XZ_BUF_ERROR:
- error=tr("The file is corrupted");
- xz_dec_end(s);
- return isDecoded;
- default:
- error=tr("Bug!");
- xz_dec_end(s);
- return isDecoded;
- }
- }
+ if (static_cast<size_t>(stream_xz_decode_out->writeRawData((char *)out,static_cast<int>(b.out_pos))) != b.out_pos)
+ {
+ error=tr("Write error");
+ xz_dec_end(s);
+ return isDecoded;
+ }
+
+ switch (ret) {
+ case XZ_STREAM_END:
+ xz_dec_end(s);
+ isDecoded=true;
+ return isDecoded;
+ case XZ_MEM_ERROR:
+ error=tr("Memory allocation failed");
+ xz_dec_end(s);
+ return isDecoded;
+ case XZ_MEMLIMIT_ERROR:
+ error=tr("Memory usage limit reached");
+ xz_dec_end(s);
+ return isDecoded;
+ case XZ_FORMAT_ERROR:
+ error=tr("Not a .xz file");
+ xz_dec_end(s);
+ return isDecoded;
+ case XZ_OPTIONS_ERROR:
+ error=tr("Unsupported options in the .xz headers");
+ xz_dec_end(s);
+ return isDecoded;
+ case XZ_DATA_ERROR:
+ case XZ_BUF_ERROR:
+ error=tr("The file is corrupted");
+ xz_dec_end(s);
+ return isDecoded;
+ default:
+ error=tr("Bug!");
+ xz_dec_end(s);
+ return isDecoded;
+ }
+ }
}
bool QXzDecode::decode()
{
- if(data.size() < 32) // check the minimal size
- error=tr("The input data is too short");
- QByteArray outputData;
- QDataStream stream_xz_decode_in(&data,QIODevice::ReadOnly);
- QDataStream stream_xz_decode_out(&outputData,QIODevice::WriteOnly);
- int returnVal=decodeStream(&stream_xz_decode_in,&stream_xz_decode_out);
- data=outputData;
- return returnVal;
+ if(data.size() < 32) // check the minimal size
+ error=tr("The input data is too short");
+ QByteArray outputData;
+ QDataStream stream_xz_decode_in(&data,QIODevice::ReadOnly);
+ QDataStream stream_xz_decode_out(&outputData,QIODevice::WriteOnly);
+ int returnVal=decodeStream(&stream_xz_decode_in,&stream_xz_decode_out);
+ data=outputData;
+ return returnVal;
}
QByteArray QXzDecode::decodedData()
{
- if(isDecoded)
- return data;
- else
- return QByteArray();
+ if(isDecoded)
+ return data;
+ else
+ return QByteArray();
}
QString QXzDecode::errorString()
{
- return error;
+ return error;
}
diff --git a/main.cpp b/main.cpp
index 8aca198..4c45d04 100644
--- a/main.cpp
+++ b/main.cpp
@@ -45,55 +45,55 @@ void registerTheOptions()
//register the var
//add the options to use
- QList<QPair<QString, QVariant> > KeysList;
+ std::vector<std::pair<std::string, std::string> > KeysList;
//add the options hidden, will not show in options pannel
KeysList.clear();
- KeysList.append(qMakePair(QStringLiteral("Last_version_used"),QVariant("na")));
+ KeysList.push_back(std::pair<std::string, std::string>("Last_version_used","na"));
#ifdef ULTRACOPIER_VERSION_ULTIMATE
- KeysList.append(qMakePair(QStringLiteral("key"),QStringLiteral("")));
+ KeysList.push_back(std::pair<std::string, std::string>("key",""));
#endif
- KeysList.append(qMakePair(QStringLiteral("ActionOnManualOpen"),QVariant(1)));
- KeysList.append(qMakePair(QStringLiteral("GroupWindowWhen"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("displayOSSpecific"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("confirmToGroupWindows"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("giveGPUTime"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("remainingTimeAlgorithm"),QVariant(0)));
+ KeysList.push_back(std::pair<std::string, std::string>("ActionOnManualOpen","1"));
+ KeysList.push_back(std::pair<std::string, std::string>("GroupWindowWhen","0"));
+ KeysList.push_back(std::pair<std::string, std::string>("displayOSSpecific","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("confirmToGroupWindows","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("giveGPUTime","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("remainingTimeAlgorithm","0"));
#ifdef ULTRACOPIER_INTERNET_SUPPORT
#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
- KeysList.append(qMakePair(QStringLiteral("checkTheUpdate"),QVariant(true)));
+ KeysList.push_back(std::pair<std::string, std::string>("checkTheUpdate","true"));
#else
- KeysList.append(qMakePair(QStringLiteral("checkTheUpdate"),QVariant(false)));
+ KeysList.push_back(std::pair<std::string, std::string>("checkTheUpdate","false"));
#endif
#endif
OptionEngine::optionEngine->addOptionGroup("Ultracopier",KeysList);
KeysList.clear();
- KeysList.append(qMakePair(QStringLiteral("List"),QVariant(QStringList() << QStringLiteral("Ultracopier"))));
- OptionEngine::optionEngine->addOptionGroup(QStringLiteral("CopyEngine"),KeysList);
+ KeysList.push_back(std::pair<std::string, std::string>("List","Ultracopier"));
+ OptionEngine::optionEngine->addOptionGroup("CopyEngine",KeysList);
//load the GUI option
- QString defaultLogFile="";
+ std::string defaultLogFile;
if(ResourcesManager::resourcesManager->getWritablePath()!="")
defaultLogFile=ResourcesManager::resourcesManager->getWritablePath()+"ultracopier-files.log";
KeysList.clear();
- KeysList.append(qMakePair(QStringLiteral("enabled"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("file"),QVariant(defaultLogFile)));
- KeysList.append(qMakePair(QStringLiteral("transfer"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("error"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("folder"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("sync"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("transfer_format"),QVariant("[%time%] %source% (%size%) %destination%")));
- KeysList.append(qMakePair(QStringLiteral("error_format"),QVariant("[%time%] %path%, %error%")));
- KeysList.append(qMakePair(QStringLiteral("folder_format"),QVariant("[%time%] %operation% %path%")));
- OptionEngine::optionEngine->addOptionGroup(QStringLiteral("Write_log"),KeysList);
+ KeysList.push_back(std::pair<std::string, std::string>("enabled","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("file",defaultLogFile));
+ KeysList.push_back(std::pair<std::string, std::string>("transfer","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("error","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("folder","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("sync","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("transfer_format","[%time%] %source% (%size%) %destination%"));
+ KeysList.push_back(std::pair<std::string, std::string>("error_format","[%time%] %path%, %error%"));
+ KeysList.push_back(std::pair<std::string, std::string>("folder_format","[%time%] %operation% %path%"));
+ OptionEngine::optionEngine->addOptionGroup("Write_log",KeysList);
KeysList.clear();
- KeysList.append(qMakePair(QStringLiteral("CatchCopyAsDefault"),QVariant(true)));
- OptionEngine::optionEngine->addOptionGroup(QStringLiteral("CopyListener"),KeysList);
+ KeysList.push_back(std::pair<std::string, std::string>("CatchCopyAsDefault","true"));
+ OptionEngine::optionEngine->addOptionGroup("CopyListener",KeysList);
KeysList.clear();
- KeysList.append(qMakePair(QStringLiteral("LoadAtSessionStarting"),QVariant(true)));
- OptionEngine::optionEngine->addOptionGroup(QStringLiteral("SessionLoader"),KeysList);
+ KeysList.push_back(std::pair<std::string, std::string>("LoadAtSessionStarting","true"));
+ OptionEngine::optionEngine->addOptionGroup("SessionLoader",KeysList);
}
/// \brief Define the main() for the point entry
diff --git a/other-pro/static.pro b/other-pro/static.pro
new file mode 100644
index 0000000..318df94
--- /dev/null
+++ b/other-pro/static.pro
@@ -0,0 +1,33 @@
+DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
+
+include(ultracopier-core.pro)
+
+RESOURCES += $$PWD/../plugins/static-plugins.qrc \
+ $$PWD/../plugins/CopyEngine/Ultracopier/copyEngineResources.qrc
+
+win32:RESOURCES += $$PWD/../plugins/static-plugins-windows.qrc
+
+LIBS = -Lplugins -lcopyEngine -linterface -llistener
+win32:LIBS += -lpluginLoader -lsessionLoader
+
+build_pass:CONFIG(debug, debug|release) {
+LIBS = -Lplugins -lcopyEngined -linterfaced -llistenerd
+win32:LIBS += -lpluginLoaderd -lsessionLoaderd
+}
+
+HEADERS -= $$PWD/../lib/qt-tar-xz/xz.h \
+ $$PWD/../lib/qt-tar-xz/QXzDecodeThread.h \
+ $$PWD/../lib/qt-tar-xz/QXzDecode.h \
+ $$PWD/../lib/qt-tar-xz/QTarDecode.h \
+ $$PWD/../AuthPlugin.h
+SOURCES -= $$PWD/../lib/qt-tar-xz/QXzDecodeThread.cpp \
+ $$PWD/../lib/qt-tar-xz/QXzDecode.cpp \
+ $$PWD/../lib/qt-tar-xz/QTarDecode.cpp \
+ $$PWD/../lib/qt-tar-xz/xz_crc32.c \
+ $$PWD/../lib/qt-tar-xz/xz_dec_stream.c \
+ $$PWD/../lib/qt-tar-xz/xz_dec_lzma2.c \
+ $$PWD/../lib/qt-tar-xz/xz_dec_bcj.c \
+ $$PWD/../AuthPlugin.cpp
+INCLUDEPATH -= $$PWD/../lib/qt-tar-xz/
+
+RESOURCES -= $$PWD/../resources/resources-windows-qt-plugin.qrc
diff --git a/other-pro/supercopier-core.pro b/other-pro/supercopier-core.pro
new file mode 100644
index 0000000..eb6d143
--- /dev/null
+++ b/other-pro/supercopier-core.pro
@@ -0,0 +1,3 @@
+#DEFINES += ULTRACOPIER_MODE_SUPERCOPIER done via .sh and Variable.h
+
+include(ultracopier-core.pro)
diff --git a/other-pro/ultracopier-core.pro b/other-pro/ultracopier-core.pro
new file mode 100644
index 0000000..24931f0
--- /dev/null
+++ b/other-pro/ultracopier-core.pro
@@ -0,0 +1,131 @@
+CONFIG += c++11
+QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
+mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
+#QMAKE_CXXFLAGS+="-Wall -Wextra -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-unused-macros -Wno-newline-eof -Wno-exit-time-destructors -Wno-global-constructors -Wno-gnu-zero-variadic-macro-arguments -Wno-documentation -Wno-shadow -Wno-missing-prototypes -Wno-padded -Wno-covered-switch-default -Wno-old-style-cast -Wno-documentation-unknown-command -Wno-switch-enum -Wno-undefined-reinterpret-cast -Wno-unreachable-code-break -Wno-sign-conversion -Wno-float-conversion"
+
+TEMPLATE = app
+QT += network xml widgets
+TRANSLATIONS += $$PWD/../plugins/Languages/ar/translation.ts \
+ $$PWD/../plugins/Languages/de/translation.ts \
+ $$PWD/../plugins/Languages/el/translation.ts \
+ $$PWD/../resources/Languages/en/translation.ts \
+ $$PWD/../plugins/Languages/es/translation.ts \
+ $$PWD/../plugins/Languages/fr/translation.ts \
+ $$PWD/../plugins/Languages/hi/translation.ts \
+ $$PWD/../plugins/Languages/hu/translation.ts \
+ $$PWD/../plugins/Languages/id/translation.ts \
+ $$PWD/../plugins/Languages/it/translation.ts \
+ $$PWD/../plugins/Languages/ja/translation.ts \
+ $$PWD/../plugins/Languages/ko/translation.ts \
+ $$PWD/../plugins/Languages/nl/translation.ts \
+ $$PWD/../plugins/Languages/no/translation.ts \
+ $$PWD/../plugins/Languages/pl/translation.ts \
+ $$PWD/../plugins/Languages/pt/translation.ts \
+ $$PWD/../plugins/Languages/ru/translation.ts \
+ $$PWD/../plugins/Languages/th/translation.ts \
+ $$PWD/../plugins/Languages/tr/translation.ts \
+ $$PWD/../plugins/Languages/zh/translation.ts \
+ $$PWD/../plugins/Languages/zh_TW/translation.ts
+
+TARGET = ultracopier
+macx {
+ ICON = $$PWD/../resources/ultracopier.icns
+ #QT += macextras
+}
+FORMS += $$PWD/../HelpDialog.ui \
+ $$PWD/../PluginInformation.ui \
+ $$PWD/../OptionDialog.ui \
+ $$PWD/../OSSpecific.ui
+RESOURCES += \
+ $$PWD/../resources/ultracopier-resources.qrc \
+ $$PWD/../resources/ultracopier-resources_unix.qrc \
+ $$PWD/../resources/ultracopier-resources_windows.qrc
+win32 {
+ RESOURCES += $$PWD/../resources/resources-windows-qt-plugin.qrc
+ RC_FILE += $$PWD/../resources/resources-windows.rc
+ #LIBS += -lpdh
+ LIBS += -ladvapi32
+}
+
+HEADERS += $$PWD/../ResourcesManager.h \
+ $$PWD/../ThemesManager.h \
+ $$PWD/../SystrayIcon.h \
+ $$PWD/../StructEnumDefinition.h \
+ $$PWD/../EventDispatcher.h \
+ $$PWD/../Environment.h \
+ $$PWD/../DebugEngine.h \
+ $$PWD/../Core.h \
+ $$PWD/../OptionEngine.h \
+ $$PWD/../HelpDialog.h \
+ $$PWD/../PluginsManager.h \
+ $$PWD/../LanguagesManager.h \
+ $$PWD/../DebugEngineMacro.h \
+ $$PWD/../PluginInformation.h \
+ $$PWD/../lib/qt-tar-xz/xz.h \
+ $$PWD/../lib/qt-tar-xz/QXzDecodeThread.h \
+ $$PWD/../lib/qt-tar-xz/QXzDecode.h \
+ $$PWD/../lib/qt-tar-xz/QTarDecode.h \
+ $$PWD/../SessionLoader.h \
+ $$PWD/../ExtraSocket.h \
+ $$PWD/../CopyListener.h \
+ $$PWD/../CopyEngineManager.h \
+ $$PWD/../PlatformMacro.h \
+ $$PWD/../interface/PluginInterface_Themes.h \
+ $$PWD/../interface/PluginInterface_SessionLoader.h \
+ $$PWD/../interface/PluginInterface_Listener.h \
+ $$PWD/../interface/PluginInterface_CopyEngine.h \
+ $$PWD/../interface/OptionInterface.h \
+ $$PWD/../Variable.h \
+ $$PWD/../PluginLoader.h \
+ $$PWD/../interface/PluginInterface_PluginLoader.h \
+ $$PWD/../OptionDialog.h \
+ $$PWD/../LocalPluginOptions.h \
+ $$PWD/../LocalListener.h \
+ $$PWD/../CliParser.h \
+ $$PWD/../interface/FacilityInterface.h \
+ $$PWD/../FacilityEngine.h \
+ $$PWD/../LogThread.h \
+ $$PWD/../CompilerInfo.h \
+ $$PWD/../StructEnumDefinition_UltracopierSpecific.h \
+ $$PWD/../OSSpecific.h \
+ $$PWD/../cpp11addition.h \
+ $$PWD/../InternetUpdater.h
+SOURCES += $$PWD/../ThemesManager.cpp \
+ $$PWD/../ResourcesManager.cpp \
+ $$PWD/../main.cpp \
+ $$PWD/../EventDispatcher.cpp \
+ $$PWD/../SystrayIcon.cpp \
+ $$PWD/../DebugEngine.cpp \
+ $$PWD/../OptionEngine.cpp \
+ $$PWD/../HelpDialog.cpp \
+ $$PWD/../PluginsManager.cpp \
+ $$PWD/../LanguagesManager.cpp \
+ $$PWD/../PluginInformation.cpp \
+ $$PWD/../lib/qt-tar-xz/QXzDecodeThread.cpp \
+ $$PWD/../lib/qt-tar-xz/QXzDecode.cpp \
+ $$PWD/../lib/qt-tar-xz/QTarDecode.cpp \
+ $$PWD/../lib/qt-tar-xz/xz_crc32.c \
+ $$PWD/../lib/qt-tar-xz/xz_dec_stream.c \
+ $$PWD/../lib/qt-tar-xz/xz_dec_lzma2.c \
+ $$PWD/../lib/qt-tar-xz/xz_dec_bcj.c \
+ $$PWD/../SessionLoader.cpp \
+ $$PWD/../ExtraSocket.cpp \
+ $$PWD/../CopyListener.cpp \
+ $$PWD/../CopyEngineManager.cpp \
+ $$PWD/../Core.cpp \
+ $$PWD/../PluginLoader.cpp \
+ $$PWD/../OptionDialog.cpp \
+ $$PWD/../LocalPluginOptions.cpp \
+ $$PWD/../LocalListener.cpp \
+ $$PWD/../CliParser.cpp \
+ $$PWD/../FacilityEngine.cpp \
+ $$PWD/../LogThread.cpp \
+ $$PWD/../OSSpecific.cpp \
+ $$PWD/../cpp11addition.cpp \
+ $$PWD/../DebugModel.cpp \
+ $$PWD/../InternetUpdater.cpp \
+ $$PWD/../cpp11additionstringtointcpp.cpp
+INCLUDEPATH += \
+ $$PWD/../lib/qt-tar-xz/
+
+OTHER_FILES += $$PWD/../resources/resources-windows.rc
diff --git a/other-pro/ultracopier-static.pro b/other-pro/ultracopier-static.pro
new file mode 100644
index 0000000..48a5cad
--- /dev/null
+++ b/other-pro/ultracopier-static.pro
@@ -0,0 +1,6 @@
+include(static.pro)
+
+RESOURCES += $$PWD/../plugins/static-plugins-oxygen.qrc \
+ $$PWD/../plugins/Themes/Oxygen/interfaceResources_windows.qrc \
+ $$PWD/../plugins/Themes/Oxygen/interfaceResources_unix.qrc \
+ $$PWD/../plugins/Themes/Oxygen/interfaceResources.qrc
diff --git a/plugins/Listener/dbus/Catchcopy.cpp b/plugins-alternative/Listener/dbus/Catchcopy.cpp
index 6c46af2..6c46af2 100644
--- a/plugins/Listener/dbus/Catchcopy.cpp
+++ b/plugins-alternative/Listener/dbus/Catchcopy.cpp
diff --git a/plugins/Listener/dbus/Catchcopy.h b/plugins-alternative/Listener/dbus/Catchcopy.h
index d28a253..d28a253 100644
--- a/plugins/Listener/dbus/Catchcopy.h
+++ b/plugins-alternative/Listener/dbus/Catchcopy.h
diff --git a/plugins-alternative/Themes/Supercopier/DebugEngineMacro.h b/plugins-alternative/Listener/dbus/DebugEngineMacro.h
index 4582010..4582010 100644
--- a/plugins-alternative/Themes/Supercopier/DebugEngineMacro.h
+++ b/plugins-alternative/Listener/dbus/DebugEngineMacro.h
diff --git a/plugins-alternative/Themes/Supercopier/Environment.h b/plugins-alternative/Listener/dbus/Environment.h
index 265a5a6..265a5a6 100644
--- a/plugins-alternative/Themes/Supercopier/Environment.h
+++ b/plugins-alternative/Listener/dbus/Environment.h
diff --git a/plugins-alternative/Themes/Supercopier/StructEnumDefinition.h b/plugins-alternative/Listener/dbus/StructEnumDefinition.h
index c1758f4..c1758f4 100644
--- a/plugins-alternative/Themes/Supercopier/StructEnumDefinition.h
+++ b/plugins-alternative/Listener/dbus/StructEnumDefinition.h
diff --git a/plugins-alternative/Themes/Supercopier/Variable.h b/plugins-alternative/Listener/dbus/Variable.h
index 963d0c8..963d0c8 100644
--- a/plugins-alternative/Themes/Supercopier/Variable.h
+++ b/plugins-alternative/Listener/dbus/Variable.h
diff --git a/plugins/Listener/dbus/documentation.dox b/plugins-alternative/Listener/dbus/documentation.dox
index 3cda8ec..2eb3c87 100644
--- a/plugins/Listener/dbus/documentation.dox
+++ b/plugins-alternative/Listener/dbus/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Dbus method
@@ -34,4 +34,3 @@
The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4.
*/
-
diff --git a/plugins/Listener/dbus/informations.xml b/plugins-alternative/Listener/dbus/informations.xml
index 0b836ed..77cba57 100644
--- a/plugins/Listener/dbus/informations.xml
+++ b/plugins-alternative/Listener/dbus/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Listener for catchcopy in dbus. Allow to receive copy list from plugin/explorer compatible with catchcopy.]]></description>
<description xml:lang="fr"><![CDATA[Écouteur pour catchcopy en dbus. Permet de recevoir un liste de copie venant d'un plugin/explorateur avec catchcopy.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>dbus</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Listener/dbus/listener.cpp b/plugins-alternative/Listener/dbus/listener.cpp
index 50ed196..50ed196 100644
--- a/plugins/Listener/dbus/listener.cpp
+++ b/plugins-alternative/Listener/dbus/listener.cpp
diff --git a/plugins/Listener/dbus/listener.h b/plugins-alternative/Listener/dbus/listener.h
index fcb95cd..fcb95cd 100644
--- a/plugins/Listener/dbus/listener.h
+++ b/plugins-alternative/Listener/dbus/listener.h
diff --git a/plugins-alternative/Listener/dbus/listener.pro b/plugins-alternative/Listener/dbus/listener.pro
new file mode 100644
index 0000000..16cd3d3
--- /dev/null
+++ b/plugins-alternative/Listener/dbus/listener.pro
@@ -0,0 +1,19 @@
+CONFIG += c++11
+QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
+mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
+
+TEMPLATE = lib
+CONFIG += plugin
+QT += network dbus
+HEADERS = \
+ $$PWD/listener.h \
+ $$PWD/Environment.h \
+ $$PWD/Variable.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/../../../interface/PluginInterface_Listener.h \
+ $$PWD/Catchcopy.h
+SOURCES = \
+ $$PWD/listener.cpp \
+ $$PWD/Catchcopy.cpp
+TARGET = $$qtLibraryTarget(listener)
diff --git a/plugins-alternative/Themes/Supercopier/plugin.json b/plugins-alternative/Listener/dbus/plugin.json
index 9e26dfe..9e26dfe 100644
--- a/plugins-alternative/Themes/Supercopier/plugin.json
+++ b/plugins-alternative/Listener/dbus/plugin.json
diff --git a/plugins-alternative/PluginLoader/keybinding/documentation.dox b/plugins-alternative/PluginLoader/keybinding/documentation.dox
index 08ccc4a..b9c9d13 100644
--- a/plugins-alternative/PluginLoader/keybinding/documentation.dox
+++ b/plugins-alternative/PluginLoader/keybinding/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Requirements
@@ -31,4 +31,3 @@
The code source is under GPL3.
*/
-
diff --git a/plugins-alternative/PluginLoader/keybinding/informations.xml b/plugins-alternative/PluginLoader/keybinding/informations.xml
index 142e9a5..2caf359 100644
--- a/plugins-alternative/PluginLoader/keybinding/informations.xml
+++ b/plugins-alternative/PluginLoader/keybinding/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Plugin loader for catchcopy v0002. Allow to receive copy list from plugin/explorer compatible with catchcopy.]]></description>
<description xml:lang="fr"><![CDATA[Chargeur de plugin pour catchcopy v0002. Permet de recevoir un liste de copie venant d'un plugin/explorateur avec catchcopy.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>keybinding</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins-alternative/PluginLoader/keybinding/pluginLoader.pro.user.3.3-pre1 b/plugins-alternative/PluginLoader/keybinding/pluginLoader.pro.user.3.3-pre1
deleted file mode 100644
index c45904e..0000000
--- a/plugins-alternative/PluginLoader/keybinding/pluginLoader.pro.user.3.3-pre1
+++ /dev/null
@@ -1,266 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 3.2.2, 2015-04-28T09:04:56. -->
-<qtcreator>
- <data>
- <variable>EnvironmentId</variable>
- <value type="QByteArray">{74ab603f-f657-4135-92cf-c93af71b2f91}</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.ActiveTarget</variable>
- <value type="int">0</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.EditorSettings</variable>
- <valuemap type="QVariantMap">
- <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
- <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
- <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
- <value type="QString" key="language">Cpp</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
- </valuemap>
- </valuemap>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
- <value type="QString" key="language">QmlJS</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
- </valuemap>
- </valuemap>
- <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
- <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
- <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
- <value type="int" key="EditorConfiguration.IndentSize">4</value>
- <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
- <value type="int" key="EditorConfiguration.MarginColumn">80</value>
- <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
- <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
- <value type="int" key="EditorConfiguration.PaddingMode">1</value>
- <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
- <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
- <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
- <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
- <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
- <value type="int" key="EditorConfiguration.TabSize">8</value>
- <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
- <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
- <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
- <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
- <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
- <value type="bool" key="EditorConfiguration.inEntireDocument">true</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.PluginSettings</variable>
- <valuemap type="QVariantMap"/>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Target.0</variable>
- <valuemap type="QVariantMap">
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt5 5.4</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Qt5 5.4</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{f6cc43bb-0436-4d0e-8325-897ff43ef853}</value>
- <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/user/Desktop/ultracopier/sources/plugins-alternative/PluginLoader/build-pluginLoader-Qt5_5_2-Debug</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/user/Desktop/ultracopier/sources/plugins-alternative/PluginLoader/build-pluginLoader-Qt5_5_2-Release</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
- <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">true</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
- <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
- <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
- <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
- <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
- <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
- <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
- <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
- <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
- <value type="int">0</value>
- <value type="int">1</value>
- <value type="int">2</value>
- <value type="int">3</value>
- <value type="int">4</value>
- <value type="int">5</value>
- <value type="int">6</value>
- <value type="int">7</value>
- <value type="int">8</value>
- <value type="int">9</value>
- <value type="int">10</value>
- <value type="int">11</value>
- <value type="int">12</value>
- <value type="int">13</value>
- <value type="int">14</value>
- </valuelist>
- <value type="int" key="PE.EnvironmentAspect.Base">2</value>
- <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
- <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
- <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
- <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
- <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.TargetCount</variable>
- <value type="int">1</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
- <value type="int">16</value>
- </data>
- <data>
- <variable>Version</variable>
- <value type="int">16</value>
- </data>
-</qtcreator>
diff --git a/plugins/Listener/dbus/DebugEngineMacro.h b/plugins-alternative/SessionLoader/KDE4/DebugEngineMacro.h
index 4582010..4582010 100644
--- a/plugins/Listener/dbus/DebugEngineMacro.h
+++ b/plugins-alternative/SessionLoader/KDE4/DebugEngineMacro.h
diff --git a/plugins/Listener/dbus/Environment.h b/plugins-alternative/SessionLoader/KDE4/Environment.h
index 265a5a6..265a5a6 100644
--- a/plugins/Listener/dbus/Environment.h
+++ b/plugins-alternative/SessionLoader/KDE4/Environment.h
diff --git a/plugins/Listener/dbus/StructEnumDefinition.h b/plugins-alternative/SessionLoader/KDE4/StructEnumDefinition.h
index c1758f4..c1758f4 100644
--- a/plugins/Listener/dbus/StructEnumDefinition.h
+++ b/plugins-alternative/SessionLoader/KDE4/StructEnumDefinition.h
diff --git a/plugins/Listener/dbus/Variable.h b/plugins-alternative/SessionLoader/KDE4/Variable.h
index 963d0c8..963d0c8 100644
--- a/plugins/Listener/dbus/Variable.h
+++ b/plugins-alternative/SessionLoader/KDE4/Variable.h
diff --git a/plugins/SessionLoader/KDE4/documentation.dox b/plugins-alternative/SessionLoader/KDE4/documentation.dox
index 98ed23f..cf5f3e4 100644
--- a/plugins/SessionLoader/KDE4/documentation.dox
+++ b/plugins-alternative/SessionLoader/KDE4/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Method
@@ -30,4 +30,3 @@
The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4.
*/
-
diff --git a/plugins/SessionLoader/KDE4/informations.xml b/plugins-alternative/SessionLoader/KDE4/informations.xml
index 2178b0e..33d260f 100644
--- a/plugins/SessionLoader/KDE4/informations.xml
+++ b/plugins-alternative/SessionLoader/KDE4/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Test plugin to show how create SessionLoader plugin]]></description>
<description xml:lang="fr"><![CDATA[Plugin de test pour monter comment créer un plugin SessionLoader]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>KDE4</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Listener/dbus/plugin.json b/plugins-alternative/SessionLoader/KDE4/plugin.json
index 9e26dfe..9e26dfe 100644
--- a/plugins/Listener/dbus/plugin.json
+++ b/plugins-alternative/SessionLoader/KDE4/plugin.json
diff --git a/plugins/SessionLoader/KDE4/sessionLoader.cpp b/plugins-alternative/SessionLoader/KDE4/sessionLoader.cpp
index 8024264..8024264 100644
--- a/plugins/SessionLoader/KDE4/sessionLoader.cpp
+++ b/plugins-alternative/SessionLoader/KDE4/sessionLoader.cpp
diff --git a/plugins/SessionLoader/KDE4/sessionLoader.h b/plugins-alternative/SessionLoader/KDE4/sessionLoader.h
index b037da7..b037da7 100644
--- a/plugins/SessionLoader/KDE4/sessionLoader.h
+++ b/plugins-alternative/SessionLoader/KDE4/sessionLoader.h
diff --git a/plugins/SessionLoader/KDE4/sessionLoader.pro b/plugins-alternative/SessionLoader/KDE4/sessionLoader.pro
index 4398dfe..4ac69b4 100644
--- a/plugins/SessionLoader/KDE4/sessionLoader.pro
+++ b/plugins-alternative/SessionLoader/KDE4/sessionLoader.pro
@@ -4,11 +4,12 @@ mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
TEMPLATE = lib
CONFIG += plugin
-HEADERS = sessionLoader.h \
- StructEnumDefinition.h \
- Variable.h \
- Environment.h \
- DebugEngineMacro.h \
- ../../../interface/PluginInterface_SessionLoader.h
+HEADERS = \
+ $$PWD/sessionLoader.h \
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/Variable.h \
+ $$PWD/Environment.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/../../../interface/PluginInterface_SessionLoader.h
SOURCES = sessionLoader.cpp
TARGET = $$qtLibraryTarget(sessionLoader)
diff --git a/plugins-alternative/Themes/Clean/Languages/es/translation.ts b/plugins-alternative/Themes/Clean/Languages/es/translation.ts
index 8c54e8a..87f57c8 100644
--- a/plugins-alternative/Themes/Clean/Languages/es/translation.ts
+++ b/plugins-alternative/Themes/Clean/Languages/es/translation.ts
@@ -17,10 +17,6 @@
<translation>Acción:</translation>
</message>
<message>
- <source>In wait</source>
- <translation type="obsolete">En espera</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="44"/>
<source>Waiting</source>
<translation type="unfinished"></translation>
diff --git a/plugins-alternative/Themes/Clean/Languages/fr/translation.ts b/plugins-alternative/Themes/Clean/Languages/fr/translation.ts
index bdc0621..79f32d5 100644
--- a/plugins-alternative/Themes/Clean/Languages/fr/translation.ts
+++ b/plugins-alternative/Themes/Clean/Languages/fr/translation.ts
@@ -17,10 +17,6 @@
<translation>Action:</translation>
</message>
<message>
- <source>In wait</source>
- <translation type="obsolete">En attente</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="96"/>
<source>Move file(s)</source>
<translation>Déplacer des fichiers</translation>
diff --git a/plugins-alternative/Themes/Clean/Languages/it/translation.ts b/plugins-alternative/Themes/Clean/Languages/it/translation.ts
index b94ac7b..3237bd6 100644
--- a/plugins-alternative/Themes/Clean/Languages/it/translation.ts
+++ b/plugins-alternative/Themes/Clean/Languages/it/translation.ts
@@ -17,10 +17,6 @@
<translation>Azione:</translation>
</message>
<message>
- <source>In wait</source>
- <translation type="obsolete">In attesa</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="44"/>
<source>Waiting</source>
<translation type="unfinished"></translation>
diff --git a/plugins-alternative/Themes/Clean/Languages/ko/translation.ts b/plugins-alternative/Themes/Clean/Languages/ko/translation.ts
index 95d2138..9e05f0f 100644
--- a/plugins-alternative/Themes/Clean/Languages/ko/translation.ts
+++ b/plugins-alternative/Themes/Clean/Languages/ko/translation.ts
@@ -17,10 +17,6 @@
<translation type="unfinished">실행:</translation>
</message>
<message>
- <source>In wait</source>
- <translation type="obsolete">대기중</translation>
- </message>
- <message>
<location line="+12"/>
<source>Waiting</source>
<translation type="unfinished"></translation>
diff --git a/plugins-alternative/Themes/Clean/Languages/ru/translation.ts b/plugins-alternative/Themes/Clean/Languages/ru/translation.ts
index 36798e7..ece0e7b 100644
--- a/plugins-alternative/Themes/Clean/Languages/ru/translation.ts
+++ b/plugins-alternative/Themes/Clean/Languages/ru/translation.ts
@@ -17,10 +17,6 @@
<translation>Действие:</translation>
</message>
<message>
- <source>In wait</source>
- <translation type="obsolete">В ожидании</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="44"/>
<source>Waiting</source>
<translation type="unfinished"></translation>
diff --git a/plugins-alternative/Themes/Clean/documentation.dox b/plugins-alternative/Themes/Clean/documentation.dox
index 3f7bc88..589d9c7 100644
--- a/plugins-alternative/Themes/Clean/documentation.dox
+++ b/plugins-alternative/Themes/Clean/documentation.dox
@@ -20,10 +20,9 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section 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/informations.xml b/plugins-alternative/Themes/Clean/informations.xml
index 3b49a98..6e5a8fb 100644
--- a/plugins-alternative/Themes/Clean/informations.xml
+++ b/plugins-alternative/Themes/Clean/informations.xml
@@ -17,7 +17,7 @@
<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>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>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. -->
diff --git a/plugins-alternative/Themes/Supercopier/Languages/ar/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/ar/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/ar/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/de/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/de/translation.ts
deleted file mode 100644
index c1177e9..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/de/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="de" sourcelanguage="en">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation>Kaufen Sie die Ultimate-Version um die Entwicklung zu unterstützen</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation>Datei %1/%2, Größe:%3/%4</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation>Zu kopierende Dateien</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation>Zu verschiebende Dateien</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Bei Fehler nicht</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation>Nie</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation>Immer</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation>Dateiname, 0KB</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation>Farbe auswählen</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation>%1 %2 von %3</translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Nicht schließen, wenn Fehler aufgetreten sind</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation>Niemals schließen</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation>Immer schließen</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation>Wählen Sie eine Farbe</translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation>Von:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation>Nach:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation>Am Ende des Transfers schließen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation>&amp;Mehr</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation>&amp;Pause</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation>Über&amp;springen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation>Abbrechen (&amp;C)</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation>Dateiliste</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation>Ausgewählte Einträge löschen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation>Dateiliste exportieren</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation>Dateiliste importieren</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation>Vorherige</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation>Nächste</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation>Darstellungsoptionen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation>Ausgewählte Einträge an den Listenanfang verschieben</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation>Begrenze Kopiergeschwindigkeit auf:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation>Ausgewählte Einträge einen Platz nach oben verschieben</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation>Ausgewählte Einträge einen Platz nach unten verschieben</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation>Ausgewählte Einträge an das Listenende verschieben</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation>Datei/Ordner hinzufügen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation>In Dateiliste suchen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation>Fehlerprotokoll</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation>Fehler in Transferliste exportieren</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation>Quelle</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation>Ziel</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation>Datei hinzufügen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation>Ordner hinzufügen</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation>Datei(en) verschieben</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation>Ordner verschieben</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation>Datei(en) kopieren</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation>Verzeichnis kopieren</translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation>Zweifachen Fortschritt anzeigen</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation>Geschwindigkeitsbegrenzungs Schieberegler anzeigen</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation>Benutzung</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation>Standardmäßig &quot;Mehr&quot; Informationen anzeigen</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation>Beim Schließen ins Systray minimieren</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation>Fenster am Ende des Vorgangs schließen</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation>Begrenze Übertragungsgeschwindigkeit auf</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation>Zum Bearbeiten der Farbe klicken</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation> KB/s</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation>Informationen</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation>Anzeige</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation>Geschwindigkeit als Fortschrittsbalken anzeigen</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation>Farbe des Fortschrittsbalken</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation>Fortschritt im Fenstertitel zeigen</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation>Fenster immer im Vordergrund</translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/el/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/el/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/el/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/en/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/en/translation.ts
deleted file mode 100644
index 9275b19..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/en/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="en">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/es/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/es/translation.ts
deleted file mode 100644
index c407b34..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/es/translation.ts
+++ /dev/null
@@ -1,340 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="es" sourcelanguage="en">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation>Comprar la versión Ultimate para financiar el desarrollo</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation>El archivo %1/%2, el tamaño: %3/%4</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation>Lista de copia</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation>Lista de movimiento</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>No cierre si se encuentran errores</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation>Nunca cierre</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation>Siempre cerrar</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation>Nombre de archivo, 0KB</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation>Seleccione un color</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>No cierre si se encuentran errores</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation>Nunca cierre</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation>Siempre cerrar</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation>Seleccione un color</translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation>De:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation>Para:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation>Cerca al final de las transferencias</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation>&amp;Más</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation>&amp;Pausa</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation>&amp;Omitir</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation>&amp;Cancelar</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limitar la velocidad de copia en:</translation>
- </message>
- <message>
- <source>Close on transfer completion</source>
- <translation type="obsolete">Cerca de finalización de transferencia</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation>Limitar la velocidad de copia en:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation>Lista de transferencia</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation>Mueve los elementos seleccionados a la parte superior</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation>Mueva los elementos seleccionados</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation>Bajar los elementos seleccionados</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation>Mueve los elementos seleccionados a la parte inferior</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation>Agregar archivo/carpeta</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation>Eliminar los elementos seleccionados</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation>Buscar</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation>Exportar la lista de transferencias</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation>Importe la lista de transferencias</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation>Anterior</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation>Próximo</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation>Error</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation>Exportar los errores en la lista de transferencias</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation>Fuente</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation>Destino</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation>Interfaz</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation>Añadir archivo</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation>Añadir carpeta</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation>Mover archivo(s)</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation>Mueva la carpeta</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation>Copia el archivo(s)</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation>Copia la carpeta</translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation>Mostrar progresión dual</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation>Mostrar la velocidad como principales informaciones</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation>Uso</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation>Comience con el &quot;botón más&quot; empujada</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation>Minimizar en cerca de la bandeja del sistema</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation>Al final de la copia</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation>Limitar la velocidad de copia de</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation>Haga clic para editar el color</translation>
- </message>
- <message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">Al final de la copia: </translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limitar la velocidad de copia en:</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation> KB/s</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation>Informations</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation>Visualización</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation>Velocidad con barra de progreso</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation>Progresión de color</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation>Mostrar progresión en el título</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation>Siempre visible</translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/fr/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/fr/translation.ts
deleted file mode 100644
index 49112ee..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/fr/translation.ts
+++ /dev/null
@@ -1,344 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="fr" sourcelanguage="en">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="+180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation>Achetez la version Ultimate pour financer le développement</translation>
- </message>
- <message>
- <location line="+82"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation>Fichier %1/%2, taille: %3/%4</translation>
- </message>
- <message>
- <location line="+214"/>
- <source>Copy list</source>
- <translation>Liste de copies</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Move list</source>
- <translation>Liste de déplacements</translation>
- </message>
- <message>
- <location line="+421"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Garder ouvert s&apos;il y a des erreurs</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Never close</source>
- <translation>Ne jamais fermer</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Always close</source>
- <translation>Toujours fermer</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>File Name, 0KB</source>
- <translation>Nom de fichier, 0Ko</translation>
- </message>
- <message>
- <location line="+183"/>
- <location line="+12"/>
- <location line="+12"/>
- <source>Select a color</source>
- <translation>Selectionner une coleur</translation>
- </message>
- <message>
- <location line="+75"/>
- <location line="+4"/>
- <location line="+2"/>
- <source>%1 %2% of %3</source>
- <translation>%1 de %2% de %3</translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="+197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Garder ouvert s&apos;il y a des erreurs</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Never close</source>
- <translation>Ne jamais fermer</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Always close</source>
- <translation>Toujours fermer</translation>
- </message>
- <message>
- <location line="+187"/>
- <location line="+15"/>
- <location line="+15"/>
- <source>Select a color</source>
- <translation>Selectionner une coleur</translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="+35"/>
- <source>From:</source>
- <translation>Depuis:</translation>
- </message>
- <message>
- <location line="+37"/>
- <source>To:</source>
- <translation>Vers:</translation>
- </message>
- <message>
- <location line="+53"/>
- <source>Close at the end of the transfers</source>
- <translation>Fermer à la fin des transferts</translation>
- </message>
- <message>
- <location line="+98"/>
- <source>&amp;More</source>
- <translation>Pl&amp;us</translation>
- </message>
- <message>
- <location line="+20"/>
- <source>&amp;Pause</source>
- <translation>&amp;Pause</translation>
- </message>
- <message>
- <location line="+14"/>
- <source>&amp;Skip</source>
- <translation>&amp;Passer</translation>
- </message>
- <message>
- <location line="+11"/>
- <source>&amp;Cancel</source>
- <translation>&amp;Annuler</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limiter la vitesse de copie à:</translation>
- </message>
- <message>
- <source>Close on transfer completion</source>
- <translation type="obsolete">Fermer à la fin des transferts</translation>
- </message>
- <message>
- <location line="+15"/>
- <source>Limit copy speed to:</source>
- <translation>Limiter la vitesse de copie à:</translation>
- </message>
- <message>
- <location line="+43"/>
- <source>Transfer list</source>
- <translation>Liste de transferts</translation>
- </message>
- <message>
- <location line="+23"/>
- <source>Move the selected items to the top</source>
- <translation>Déplacer l&apos;item selectionné au debut</translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Move up the selected items</source>
- <translation>Déplacer l&apos;item selectionné vers le haut</translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Move down the selected items</source>
- <translation>Déplacer l&apos;item selectionné vers le bas</translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Move the selected items to the bottom</source>
- <translation>Déplacer l&apos;item selectionné à la fin</translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Add file/folder</source>
- <translation>Ajouter fichier/dossier</translation>
- </message>
- <message>
- <location line="+29"/>
- <source>Delete the selected items</source>
- <translation>Supprimer les items sélectionnés</translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Search</source>
- <translation>Rechercher</translation>
- </message>
- <message>
- <location line="+29"/>
- <source>Export the transfer list</source>
- <translation>Exporter la liste de transfert</translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Import the transfer list</source>
- <translation>Importer la liste de transfert</translation>
- </message>
- <message>
- <location line="+55"/>
- <source>Previous</source>
- <translation>Précédent</translation>
- </message>
- <message>
- <location line="+7"/>
- <source>Next</source>
- <translation>Suivant</translation>
- </message>
- <message>
- <location line="+35"/>
- <location line="+69"/>
- <source>Error</source>
- <translation>Erreur</translation>
- </message>
- <message>
- <location line="-49"/>
- <source>Export the errors into transfer list</source>
- <translation>Exporter les erreurs dans une liste de transfert</translation>
- </message>
- <message>
- <location line="+39"/>
- <source>Source</source>
- <translation>Source</translation>
- </message>
- <message>
- <location line="+5"/>
- <source>Destination</source>
- <translation>Destination</translation>
- </message>
- <message>
- <location line="+14"/>
- <source>Interface</source>
- <translation>Interface</translation>
- </message>
- <message>
- <location line="+37"/>
- <source>Add file</source>
- <translation>Ajouter un fichier</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Add folder</source>
- <translation>Ajouter un répertoire</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Move file(s)</source>
- <translation>Déplacer le(s) fichier(s)</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Move folder</source>
- <translation>Déplacer un répertoire</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Copy file(s)</source>
- <translation>Copier le(s) fichier(s)</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Copy folder</source>
- <translation>Copier un répertoire</translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="+230"/>
- <source>Show dual progression</source>
- <translation>Afficher une double progression</translation>
- </message>
- <message>
- <location line="-58"/>
- <source>Show speed as main information</source>
- <translation>Afficher la vitesse comme information principale</translation>
- </message>
- <message>
- <location line="-137"/>
- <source>Use</source>
- <translation>Utilisation</translation>
- </message>
- <message>
- <location line="+6"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation>Déplier automatiquement les détails</translation>
- </message>
- <message>
- <location line="+20"/>
- <source>Minimize on close to systray</source>
- <translation>Minimiser à la fermeture dans le systray</translation>
- </message>
- <message>
- <location line="+10"/>
- <source>At the end of the copy</source>
- <translation>À la fin de la copie</translation>
- </message>
- <message>
- <location line="+26"/>
- <location line="+24"/>
- <source>Limit copy speed to</source>
- <translation>Limiter la vitesse de copie à</translation>
- </message>
- <message>
- <location line="+138"/>
- <source>Click to edit the color</source>
- <translation>Cliquer pour édité la couleur</translation>
- </message>
- <message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">À la fin de la copie:</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limiter la vitesse de copie à:</translation>
- </message>
- <message>
- <source>Limit copy speed to:</source>
- <translation type="obsolete">Limiter la vitesse de copie à:</translation>
- </message>
- <message>
- <location line="-128"/>
- <source> KB/s</source>
- <translation> Ko/s</translation>
- </message>
- <message>
- <location line="+35"/>
- <source>Informations</source>
- <translation>Informations</translation>
- </message>
- <message>
- <location line="+38"/>
- <source>Display</source>
- <translation>Affichage</translation>
- </message>
- <message>
- <location line="+6"/>
- <source>Speed with progress bar</source>
- <translation>Vitesse avec barre de progression</translation>
- </message>
- <message>
- <location line="+30"/>
- <source>Progression color</source>
- <translation>Couleur de progression</translation>
- </message>
- <message>
- <location line="-20"/>
- <source>Show progression in the title</source>
- <translation>Afficher la progression dans le titre</translation>
- </message>
- <message>
- <location line="-169"/>
- <source>Always on top</source>
- <translation>Toujours au 1er plan</translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/hi/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/hi/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/hi/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/hu/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/hu/translation.ts
deleted file mode 100644
index bc36d92..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/hu/translation.ts
+++ /dev/null
@@ -1,328 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="hu">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation>Vásárold meg az Ultimate verziót a fejlesztés támogatásához</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation>Fájl %1/%2, méret: %3/%4</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation>Lista másolása</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation>Lista mozgatása</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Ne zárja be, ha hiba történik</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation>Sose zárja be</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation>Mindig zárja be</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation>Fájlnév, 0KB</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation>Válassz egy színt</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Ne zárja be, ha hiba történik</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation>Sose zárja be</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation>Mindig zárja be</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation>Válassz egy színt</translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation>Forrás:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation>Cél:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation>&amp;Több</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation>&amp;Szünet</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation>&amp;Kihagy</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation>&amp;Mégse</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation>Átviteli lista</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation>Előző</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation>Következő</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation>Kezelőfelület</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation>Kijelölések elemek mozgatása legfelülre</translation>
- </message>
- <message>
- <source>Close on transfer completion</source>
- <translation type="obsolete">Átvitel végeztével zárja be</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation>Másolási sebesség korlátozása:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation>Kijelölt elemek mozgatása fel</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation>Kijelölt elemek mozgatása le</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation>Kijelölések elemek mozgatása legalulra</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation>Fájl/mappa hozzáadása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation>Kijelölt elemek törlése</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation>Keresés</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation>Átviteli lista exportálása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation>Átviteli lista importálása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation>Hiba</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation>Hibák exportálása az átviteli listába</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation>Forrás</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation>Cél</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation>Fájl hozzáadása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation>Mappa hozzáadása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation>Fájl(ok) mozgatása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation>Mappa mozgatása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation>Fájl(ok) másolása</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation>Mappa másolása</translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation>Páros folyamat mutatása</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation>Sebesség mutatása, mint fő információ</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation>Használ</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation>Indítás a &quot;több gomb&quot; lenyomásával</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation>Bezáráskor minimalizálás a tálcára</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation>A másolás befejezésekor</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation>Másolási sebesség korlátozása</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation>Kattints a szín szerkesztéséhez</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation> KB/s</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation>Információk</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation>Megjelenítés</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation>Sebesség folyamatsávval</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation>Folyamat színe</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation>Folyamat mutatása a címsorban</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation>Mindig legfelül</translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/id/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/id/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/id/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/it/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/it/translation.ts
deleted file mode 100644
index 255c3b1..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/it/translation.ts
+++ /dev/null
@@ -1,336 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="it" sourcelanguage="en">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation>File %1/%2, dimensione: %3/%4</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation>Lista della copia</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation>Lista dello spostamento</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Non chiudere se vengono rilevati errori</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation>Non chiudere mai</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation>Chiudere sempre</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation>Nome del file, 0KB</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation>Scegliere un colore</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation>Non chiudere se vengono rilevati errori</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation>Non chiudere mai</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation>Chiudere sempre</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation>Scegliere un colore</translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation>Da:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation>a:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished">Chiudi alla fine dei trasferimenti</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation>Altr&amp;o</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation>&amp;Pausa</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation>&amp;Salta</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation>&amp;Annulla</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Ridurre la velocità di copia a:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation>Lista dei trasferimenti</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation>Sposta in cima gli elementi selezionati</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation>Sposta sopra gli elementi selezionati</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation>Sposta sotto gli elementi selezionati</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation>Sposta in coda gli elementi selezionati</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation>Aggiungi file/cartelle</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation>Elimina gli elementi selezionati</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation>Cerca</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation>Esporta la lista dei trasferimenti</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation>Importa la lista dei trasferimenti</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation>Precedente</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation>Successivo</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation>Interfaccia</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation>Aggiungi file</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation>Aggiungi cartella</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation>Sposta file</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation>Sposta la cartella</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation>Copia file</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation>Copia la cartella</translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation>Mostrare la doppia progressione</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation>Mostrare la velocità come principale informazione</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation>Iniziare col pulsante &quot;Altro&quot; attivo</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">Alla fine della copia: </translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Ridurre la velocità di copia a:</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation> KB/s</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation>Velocità nella barra di progresso</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation>Colore della progressione</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation>Mostrare la percentuale di progresso sul titolo</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation>Sempre in primo piano</translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/ja/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/ja/translation.ts
deleted file mode 100644
index 6ba3c00..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/ja/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/ko/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/ko/translation.ts
deleted file mode 100644
index 4354bd2..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/ko/translation.ts
+++ /dev/null
@@ -1,336 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="ko_KR">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="+180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+82"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished">파일 %1/%2, 크기: %3/%4</translation>
- </message>
- <message>
- <location line="+214"/>
- <source>Copy list</source>
- <translation type="unfinished">복사 목록</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+421"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished">오류 발견시 종료 안함</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Never close</source>
- <translation type="unfinished">절대 종료 안함</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Always close</source>
- <translation type="unfinished">항상 종료</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished">파일명, 0KB</translation>
- </message>
- <message>
- <location line="+183"/>
- <location line="+12"/>
- <location line="+12"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+75"/>
- <location line="+4"/>
- <location line="+2"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="+197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished">오류 발견시 종료 안함</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Never close</source>
- <translation type="unfinished">절대 종료 안함</translation>
- </message>
- <message>
- <location line="+1"/>
- <source>Always close</source>
- <translation type="unfinished">항상 종료</translation>
- </message>
- <message>
- <location line="+187"/>
- <location line="+15"/>
- <location line="+15"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="+35"/>
- <source>From:</source>
- <translation type="unfinished">원본:</translation>
- </message>
- <message>
- <location line="+37"/>
- <source>To:</source>
- <translation type="unfinished">대상:</translation>
- </message>
- <message>
- <location line="+53"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+98"/>
- <source>&amp;More</source>
- <translation type="unfinished">&amp;자세히</translation>
- </message>
- <message>
- <location line="+20"/>
- <source>&amp;Pause</source>
- <translation type="unfinished">&amp;일시 정지</translation>
- </message>
- <message>
- <location line="+14"/>
- <source>&amp;Skip</source>
- <translation type="unfinished">&amp;건너뛰기</translation>
- </message>
- <message>
- <location line="+11"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished">&amp;취소</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">복사 속도 제한:</translation>
- </message>
- <message>
- <location line="+58"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+156"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+55"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+55"/>
- <source>Previous</source>
- <translation type="unfinished">이전</translation>
- </message>
- <message>
- <location line="+7"/>
- <source>Next</source>
- <translation type="unfinished">다음</translation>
- </message>
- <message>
- <location line="+113"/>
- <source>Interface</source>
- <translation type="unfinished">인터페이스</translation>
- </message>
- <message>
- <location line="-389"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="-66"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+92"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+26"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+55"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+152"/>
- <location line="+69"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="-49"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+39"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+5"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+51"/>
- <source>Add file</source>
- <translation type="unfinished">파일 추가</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Add folder</source>
- <translation type="unfinished">폴더 추가</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Move file(s)</source>
- <translation type="unfinished">파일 이동</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Move folder</source>
- <translation type="unfinished">폴더 이동</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Copy file(s)</source>
- <translation type="unfinished">파일 복사</translation>
- </message>
- <message>
- <location line="+9"/>
- <source>Copy folder</source>
- <translation type="unfinished">폴더 복사</translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="+230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="-58"/>
- <source>Show speed as main information</source>
- <translation type="unfinished">메인 정보에 속도 표시</translation>
- </message>
- <message>
- <location line="-137"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+6"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+20"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+10"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+26"/>
- <location line="+24"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+138"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">복사 종료시:</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">복사 속도 제한:</translation>
- </message>
- <message>
- <location line="-128"/>
- <source> KB/s</source>
- <translation type="unfinished"> KB/초</translation>
- </message>
- <message>
- <location line="+35"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+38"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+6"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+30"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="-20"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="-169"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/nl/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/nl/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/nl/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/no/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/no/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/no/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/pl/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/pl/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/pl/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/pt/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/pt/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/pt/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/ru/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/ru/translation.ts
deleted file mode 100644
index a5a373b..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/ru/translation.ts
+++ /dev/null
@@ -1,336 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="ru" sourcelanguage="en">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation>Файл %1/%2, размер: %3/%4</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished">Копировать список</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished">Не закрывать, если найдены ошибки</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished">Никогда не закрывать</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished">Всегда закрывайте</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation>Имя файла, 0KB</translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished">Не закрывать, если найдены ошибки</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished">Никогда не закрывать</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished">Всегда закрывайте</translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation>С:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation>к:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation>больше</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation>пауза</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation>пропускать</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation>отменить</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Предельная скорость копирования по адресу:</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation>предыдущий</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation>следующий</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation>интерфейс</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation>Добавить файл</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation>Добавить папку</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation>Перемещение файла(ов)</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation>Перемещение папки</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation>Копировать файл (ы)</translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation>Копировать папку</translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished">Показать скорости в качестве основной информации</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">В конце копии: </translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Предельная скорость копирования по адресу:</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"> Кб/с</translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/th/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/th/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/th/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/tr/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/tr/translation.ts
deleted file mode 100644
index 78e326c..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/tr/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/Languages/zh/translation.ts b/plugins-alternative/Themes/Supercopier/Languages/zh/translation.ts
deleted file mode 100644
index 6ba3c00..0000000
--- a/plugins-alternative/Themes/Supercopier/Languages/zh/translation.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>Themes</name>
- <message>
- <location filename="../../interface.cpp" line="180"/>
- <source>Buy the Ultimate version to fund development</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="262"/>
- <source>File %1/%2, size: %3/%4</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="476"/>
- <source>Copy list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="478"/>
- <source>Move list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="899"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="900"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="901"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="903"/>
- <source>File Name, 0KB</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1086"/>
- <location filename="../../interface.cpp" line="1098"/>
- <location filename="../../interface.cpp" line="1110"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.cpp" line="1185"/>
- <location filename="../../interface.cpp" line="1189"/>
- <location filename="../../interface.cpp" line="1191"/>
- <source>%1 %2% of %3</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>ThemesFactory</name>
- <message>
- <location filename="../../factory.cpp" line="197"/>
- <source>Don&apos;t close if errors are found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="198"/>
- <source>Never close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="199"/>
- <source>Always close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../factory.cpp" line="386"/>
- <location filename="../../factory.cpp" line="401"/>
- <location filename="../../factory.cpp" line="416"/>
- <source>Select a color</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>interfaceCopy</name>
- <message>
- <location filename="../../interface.ui" line="35"/>
- <source>From:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="72"/>
- <source>To:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="125"/>
- <source>Close at the end of the transfers</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="223"/>
- <source>&amp;More</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="243"/>
- <source>&amp;Pause</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="257"/>
- <source>&amp;Skip</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="268"/>
- <source>&amp;Cancel</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="326"/>
- <source>Transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="482"/>
- <source>Delete the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="537"/>
- <source>Export the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="563"/>
- <source>Import the transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="618"/>
- <source>Previous</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="625"/>
- <source>Next</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="738"/>
- <source>Interface</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="349"/>
- <source>Move the selected items to the top</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="283"/>
- <source>Limit copy speed to:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="375"/>
- <source>Move up the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="401"/>
- <source>Move down the selected items</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="427"/>
- <source>Move the selected items to the bottom</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="453"/>
- <source>Add file/folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="508"/>
- <source>Search</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="660"/>
- <location filename="../../interface.ui" line="729"/>
- <source>Error</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="680"/>
- <source>Export the errors into transfer list</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="719"/>
- <source>Source</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="724"/>
- <source>Destination</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="775"/>
- <source>Add file</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="784"/>
- <source>Add folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="793"/>
- <source>Move file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="802"/>
- <source>Move folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="811"/>
- <source>Copy file(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../interface.ui" line="820"/>
- <source>Copy folder</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>themesOptions</name>
- <message>
- <location filename="../../themesOptions.ui" line="230"/>
- <source>Show dual progression</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="172"/>
- <source>Show speed as main information</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="35"/>
- <source>Use</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="41"/>
- <source>Start with the &quot;more button&quot; pushed</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="61"/>
- <source>Minimize on close to systray</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="71"/>
- <source>At the end of the copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="97"/>
- <location filename="../../themesOptions.ui" line="121"/>
- <source>Limit copy speed to</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="131"/>
- <source> KB/s</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="166"/>
- <source>Informations</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="204"/>
- <source>Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="210"/>
- <source>Speed with progress bar</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="240"/>
- <source>Progression color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="259"/>
- <source>Click to edit the color</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="220"/>
- <source>Show progression in the title</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../themesOptions.ui" line="51"/>
- <source>Always on top</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/plugins-alternative/Themes/Supercopier/TransferModel.cpp b/plugins-alternative/Themes/Supercopier/TransferModel.cpp
deleted file mode 100644
index 6ce9b92..0000000
--- a/plugins-alternative/Themes/Supercopier/TransferModel.cpp
+++ /dev/null
@@ -1,569 +0,0 @@
-#include "TransferModel.h"
-
-#define COLUMN_COUNT 3
-
-QIcon *TransferModel::start=NULL;
-QIcon *TransferModel::stop=NULL;
-
-TransferModel::TransferModel()
-{
- /// \warning to prevent Must construct a QGuiApplication before QPixmap IN STATIC WINDOWS VERSION ONLY
- if(TransferModel::start==NULL)
- TransferModel::start=new QIcon(QStringLiteral(":/resources/player_play.png"));
- if(TransferModel::stop==NULL)
- TransferModel::stop=new QIcon(QStringLiteral(":/resources/player_pause.png"));
- currentIndexSearch=0;
- haveSearchItem=false;
- facilityEngine=NULL;
-}
-
-int TransferModel::columnCount( const QModelIndex& parent ) const
-{
- return parent == QModelIndex() ? COLUMN_COUNT : 0;
-}
-
-QVariant TransferModel::data( const QModelIndex& index, int role ) const
-{
- int row,column;
- row=index.row();
- column=index.column();
- if(index.parent()!=QModelIndex() || row < 0 || row >= transfertItemList.count() || column < 0 || column >= COLUMN_COUNT)
- return QVariant();
-
- const TransfertItem& item = transfertItemList.at(row);
- if(role==Qt::UserRole)
- return item.id;
- else if(role==Qt::DisplayRole)
- {
- switch(column)
- {
- case 0:
- return item.source;
- break;
- case 1:
- return item.size;
- break;
- case 2:
- return item.destination;
- break;
- default:
- return QVariant();
- }
- }
- else if(role==Qt::DecorationRole)
- {
- switch(column)
- {
- case 0:
- if(stopId.contains(item.id))
- return *stop;
- else if(startId.contains(item.id))
- return *start;
- else
- return QVariant();
- break;
- default:
- return QVariant();
- }
- }
- else if(role==Qt::BackgroundRole)
- {
- if(!search_text.isEmpty() && (item.source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || item.destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1))
- {
- if(haveSearchItem && searchId==item.id)
- return QColor(255,150,150,100);
- else
- return QColor(255,255,0,100);
- }
- else
- return QVariant();
- }
- return QVariant();
-}
-
-int TransferModel::rowCount( const QModelIndex& parent ) const
-{
- return parent == QModelIndex() ? transfertItemList.count() : 0;
-}
-
-quint64 TransferModel::firstId() const
-{
- if(transfertItemList.count()>0)
- return transfertItemList.first().id;
- else
- return 0;
-}
-
-QVariant TransferModel::headerData( int section, Qt::Orientation orientation, int role ) const
-{
- if ( role == Qt::DisplayRole && orientation == Qt::Horizontal && section >= 0 && section < COLUMN_COUNT ) {
- switch ( section ) {
- case 0:
- return facilityEngine->translateText(QStringLiteral("Source"));
- case 1:
- return facilityEngine->translateText(QStringLiteral("Size"));
- case 2:
- return facilityEngine->translateText(QStringLiteral("Destination"));
- }
- }
-
- return QAbstractTableModel::headerData( section, orientation, role );
-}
-
-bool TransferModel::setData( const QModelIndex& index, const QVariant& value, int role )
-{
- row=index.row();
- column=index.column();
- if(index.parent()!=QModelIndex() || row < 0 || row >= transfertItemList.count() || column < 0 || column >= COLUMN_COUNT)
- return false;
-
- TransfertItem& item = transfertItemList[row];
- if(role==Qt::UserRole)
- {
- item.id=value.toULongLong();
- return true;
- }
- else if(role==Qt::DisplayRole)
- {
- switch(column)
- {
- case 0:
- item.source=value.toString();
- emit dataChanged(index,index);
- return true;
- break;
- case 1:
- item.size=value.toString();
- emit dataChanged(index,index);
- return true;
- break;
- case 2:
- item.destination=value.toString();
- emit dataChanged(index,index);
- return true;
- break;
- default:
- return false;
- }
- }
- return false;
-}
-
-/*
- Return[0]: totalFile
- Return[1]: totalSize
- Return[2]: currentFile
- */
-QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnActionOnCopyList>& returnActions)
-{
- loop_size=returnActions.size();
- index_for_loop=0;
- quint64 totalFile=0,totalSize=0,currentFile=0;
- totalFile=0;
- totalSize=0;
- currentFile=0;
-
- emit layoutAboutToBeChanged();
- const QModelIndexList oldIndexes = persistentIndexList();
- QModelIndexList newIndexes = oldIndexes;
- QMap<int, quint64> oldMapping; // model index row in model before update, item id
- QMap<quint64, int> newMapping; // item id, model index row in model after update
-
- for ( int i = 0; i < oldIndexes.count(); i++ ) {
- const QModelIndex& index = oldIndexes.at(i);
- oldMapping[ index.row() ] = index.data( Qt::UserRole ).value<quint64>();
- }
-
- while(index_for_loop<loop_size)
- {
- const Ultracopier::ReturnActionOnCopyList& action=returnActions.at(index_for_loop);
- switch(action.type)
- {
- case Ultracopier::AddingItem:
- {
- TransfertItem newItem;
- newItem.id=action.addAction.id;
- newItem.source=action.addAction.sourceFullPath;
- newItem.size=facilityEngine->sizeToString(action.addAction.size);
- newItem.destination=action.addAction.destinationFullPath;
- transfertItemList<<newItem;
- totalFile++;
- totalSize+=action.addAction.size;
- }
- break;
- case Ultracopier::MoveItem:
- {
- //bool current_entry=
- if(action.userAction.position<0)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
- break;
- }
- if(action.userAction.position>(transfertItemList.size()-1))
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
- break;
- }
- if(action.userAction.moveAt<0)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
- break;
- }
- if(action.userAction.moveAt>(transfertItemList.size()-1))
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
- break;
- }
- if(action.userAction.position==action.userAction.moveAt)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, move at same position: %2").arg(action.addAction.id).arg(action.userAction.position));
- break;
- }
- transfertItemList.move(action.userAction.position,action.userAction.moveAt);
- //newIndexes.move(action.userAction.position,action.userAction.moveAt);
- }
- break;
- case Ultracopier::RemoveItem:
- {
- if(currentIndexSearch>0 && action.userAction.position<=currentIndexSearch)
- currentIndexSearch--;
- if(action.userAction.position<0)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position));
- break;
- }
- if(action.userAction.position>(transfertItemList.size()-1))
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position));
- break;
- }
- transfertItemList.removeAt(action.userAction.position);
- currentFile++;
- startId.remove(action.addAction.id);
- stopId.remove(action.addAction.id);
- internalRunningOperation.remove(action.addAction.id);
- //newIndexes.remove(action.userAction.moveAt);
- }
- break;
- case Ultracopier::PreOperation:
- {
- ItemOfCopyListWithMoreInformations tempItem;
- tempItem.currentReadProgression=0;
- tempItem.currentWriteProgression=0;
- tempItem.generalData=action.addAction;
- tempItem.actionType=action.type;
- internalRunningOperation[action.addAction.id]=tempItem;
- }
- break;
- case Ultracopier::Transfer:
- {
- if(!startId.contains(action.addAction.id))
- startId << action.addAction.id;
- stopId.remove(action.addAction.id);
- if(internalRunningOperation.contains(action.addAction.id))
- internalRunningOperation[action.addAction.id].actionType=action.type;
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to found entry for file %1: actionType: Transfer").arg(action.addAction.id));
- }
- break;
- case Ultracopier::PostOperation:
- {
- if(!stopId.contains(action.addAction.id))
- stopId << action.addAction.id;
- startId.remove(action.addAction.id);
- }
- break;
- case Ultracopier::CustomOperation:
- {
- bool custom_with_progression=(action.addAction.size==1);
- //without progression
- if(custom_with_progression)
- {
- if(startId.remove(action.addAction.id))
- if(!stopId.contains(action.addAction.id))
- stopId << action.addAction.id;
- }
- //with progression
- else
- {
- stopId.remove(action.addAction.id);
- if(!startId.contains(action.addAction.id))
- startId << action.addAction.id;
- }
- if(internalRunningOperation.contains(action.addAction.id))
- {
- ItemOfCopyListWithMoreInformations &item=internalRunningOperation[action.addAction.id];
- item.actionType=action.type;
- item.custom_with_progression=custom_with_progression;
- item.currentReadProgression=0;
- item.currentWriteProgression=0;
- }
- }
- break;
- default:
- //unknow code, ignore it
- break;
- }
- index_for_loop++;
- }
-
- if(!oldIndexes.isEmpty())
- {
- const QSet<quint64> ids = oldMapping.values().toSet();
-
- for ( int i = 0; i < transfertItemList.count(); i++ ) {
- const TransferModel::TransfertItem& item = transfertItemList.at(i);
-
- if ( ids.contains( item.id ) ) {
- newMapping[ item.id ] = i;
- }
- }
-
- for ( int i = 0; i < oldIndexes.count(); i++ ) {
- const QModelIndex& index = oldIndexes.at(i);
- const int newRow = newMapping.value( oldMapping.value(index.row()), -1 );
- newIndexes[ i ] = newRow == -1 ? QModelIndex() : QAbstractTableModel::index( newRow, index.column(), index.parent() );
- }
- }
-
- changePersistentIndexList( oldIndexes, newIndexes );
- emit layoutChanged();
- return QList<quint64>() << totalFile << totalSize << currentFile;
-}
-
-void TransferModel::setFacilityEngine(FacilityInterface *facilityEngine)
-{
- this->facilityEngine=facilityEngine;
-}
-
-int TransferModel::search(const QString &text,bool searchNext)
-{
- emit layoutAboutToBeChanged();
- search_text=text;
- emit layoutChanged();
- if(transfertItemList.size()==0)
- return -1;
- if(text.isEmpty())
- return -1;
- if(searchNext)
- {
- currentIndexSearch++;
- if(currentIndexSearch>=loop_size)
- currentIndexSearch=0;
- }
- index_for_loop=0;
- loop_size=transfertItemList.size();
- while(index_for_loop<loop_size)
- {
- if(transfertItemList.at(currentIndexSearch).source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || transfertItemList.at(currentIndexSearch).destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1)
- {
- haveSearchItem=true;
- searchId=transfertItemList.at(currentIndexSearch).id;
- return currentIndexSearch;
- }
- currentIndexSearch++;
- if(currentIndexSearch>=loop_size)
- currentIndexSearch=0;
- index_for_loop++;
- }
- haveSearchItem=false;
- return -1;
-}
-
-int TransferModel::searchPrev(const QString &text)
-{
- emit layoutAboutToBeChanged();
- search_text=text;
- emit layoutChanged();
- if(transfertItemList.size()==0)
- return -1;
- if(text.isEmpty())
- return -1;
- if(currentIndexSearch==0)
- currentIndexSearch=loop_size-1;
- else
- currentIndexSearch--;
- index_for_loop=0;
- loop_size=transfertItemList.size();
- while(index_for_loop<loop_size)
- {
- if(transfertItemList.at(currentIndexSearch).source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || transfertItemList.at(currentIndexSearch).destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1)
- {
- haveSearchItem=true;
- searchId=transfertItemList.at(currentIndexSearch).id;
- return currentIndexSearch;
- }
- if(currentIndexSearch==0)
- currentIndexSearch=loop_size-1;
- else
- currentIndexSearch--;
- index_for_loop++;
- }
- haveSearchItem=false;
- return -1;
-}
-
-void TransferModel::setFileProgression(
- #ifndef ULTRACOPIER_PLUGIN_DEBUG
- const
- #endif
- QList<Ultracopier::ProgressionItem> &progressionList)
-{
- loop_size=progressionList.size();
- index_for_loop=0;
- while(index_for_loop<loop_size)
- {
- if(internalRunningOperation.contains(progressionList.at(index_for_loop).id))
- {
- internalRunningOperation[progressionList.at(index_for_loop).id].generalData.size=progressionList.at(index_for_loop).total;
- internalRunningOperation[progressionList.at(index_for_loop).id].currentReadProgression=progressionList.at(index_for_loop).currentRead;
- internalRunningOperation[progressionList.at(index_for_loop).id].currentWriteProgression=progressionList.at(index_for_loop).currentWrite;
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- progressionList.removeAt(index_for_loop);
- index_for_loop--;
- loop_size--;
- #endif
- }
- index_for_loop++;
- }
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- if(progressionList.size()>0)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("progression remaning items"));
- #endif
-}
-
-TransferModel::currentTransfertItem TransferModel::getCurrentTransfertItem() const
-{
- currentTransfertItem returnItem;
- returnItem.progressBar_read=-1;
- returnItem.progressBar_write=0;
- returnItem.haveItem=startId.size()>0;
- if(returnItem.haveItem)
- {
- if(!internalRunningOperation.contains(*startId.constBegin()))
- {
- returnItem.haveItem=false;
- return returnItem;
- }
- const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.value(*startId.constBegin());
- returnItem.from=itemTransfer.generalData.sourceFullPath;
- returnItem.to=itemTransfer.generalData.destinationFullPath;
- returnItem.current_file=itemTransfer.generalData.destinationFileName+QStringLiteral(", ")+facilityEngine->sizeToString(itemTransfer.generalData.size);
- returnItem.id=itemTransfer.generalData.id;
- switch(itemTransfer.actionType)
- {
- case Ultracopier::CustomOperation:
- if(!itemTransfer.custom_with_progression)
- returnItem.progressBar_read=-1;
- else
- {
- if(itemTransfer.generalData.size>0)
- {
- returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535;
- returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535;
- }
- else
- returnItem.progressBar_read=-1;
- }
- break;
- case Ultracopier::Transfer:
- if(itemTransfer.generalData.size>0)
- {
- returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535;
- returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535;
- }
- else
- {
- returnItem.progressBar_read=0;
- returnItem.progressBar_write=0;
- }
- break;
- //should never pass here
- case Ultracopier::PostOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
- returnItem.progressBar_read=65535;
- returnItem.progressBar_write=65535;
- break;
- //should never pass here
- case Ultracopier::PreOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
- returnItem.progressBar_read=0;
- returnItem.progressBar_write=0;
- break;
- default:
- returnItem.progressBar_read=0;
- returnItem.progressBar_write=0;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
- break;
- }
- }
- else
- {
- returnItem.haveItem=stopId.size()>0;
- if(returnItem.haveItem)
- {
- if(!internalRunningOperation.contains(*stopId.constBegin()))
- {
- returnItem.haveItem=false;
- return returnItem;
- }
- const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.value(*stopId.constBegin());
- returnItem.from=itemTransfer.generalData.sourceFullPath;
- returnItem.to=itemTransfer.generalData.destinationFullPath;
- returnItem.current_file=itemTransfer.generalData.destinationFileName+QStringLiteral(", ")+facilityEngine->sizeToString(itemTransfer.generalData.size);
- returnItem.id=itemTransfer.generalData.id;
- switch(itemTransfer.actionType)
- {
- case Ultracopier::CustomOperation:
- if(!itemTransfer.custom_with_progression)
- returnItem.progressBar_read=-1;
- else
- {
- if(itemTransfer.generalData.size>0)
- {
- returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535;
- returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535;
- }
- else
- returnItem.progressBar_read=-1;
- }
- break;
- case Ultracopier::Transfer:
- if(itemTransfer.generalData.size>0)
- {
- returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535;
- returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535;
- }
- else
- {
- returnItem.progressBar_read=0;
- returnItem.progressBar_write=0;
- }
- break;
- case Ultracopier::PostOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
- returnItem.progressBar_read=65535;
- returnItem.progressBar_write=65535;
- break;
- //should never pass here
- case Ultracopier::PreOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
- returnItem.progressBar_read=0;
- returnItem.progressBar_write=0;
- break;
- default:
- returnItem.progressBar_read=65535;
- returnItem.progressBar_write=65535;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
- break;
- }
- }
- }
- if(returnItem.haveItem && returnItem.progressBar_read!=-1 && returnItem.progressBar_write>returnItem.progressBar_read)
- {
- int tempVar=returnItem.progressBar_write;
- returnItem.progressBar_write=returnItem.progressBar_read;
- returnItem.progressBar_read=tempVar;
- }
- return returnItem;
-}
diff --git a/plugins-alternative/Themes/Supercopier/TransferModel.h b/plugins-alternative/Themes/Supercopier/TransferModel.h
deleted file mode 100644
index dd8b45a..0000000
--- a/plugins-alternative/Themes/Supercopier/TransferModel.h
+++ /dev/null
@@ -1,96 +0,0 @@
-#ifndef TRANSFERMODEL_H
-#define TRANSFERMODEL_H
-
-#include <QAbstractTableModel>
-#include <QItemSelectionModel>
-#include <QModelIndex>
-#include <QVariant>
-#include <QList>
-#include <QSet>
-#include <QIcon>
-#include <QString>
-
-#include "StructEnumDefinition.h"
-#include "Environment.h"
-
-#include "../../../interface/FacilityInterface.h"
-
-/// \brief model to store the transfer list
-class TransferModel : public QAbstractTableModel
-{
- Q_OBJECT
-public:
- /// \brief the transfer item displayed
- struct TransfertItem
- {
- quint64 id;
- QString source;
- QString size;
- QString destination;
- };
- /// \brief the transfer item with progression
- struct ItemOfCopyListWithMoreInformations
- {
- quint64 currentReadProgression,currentWriteProgression;
- Ultracopier::ItemOfCopyList generalData;
- Ultracopier::ActionTypeCopyList actionType;
- bool custom_with_progression;
- };
- /// \brief returned first transfer item
- struct currentTransfertItem
- {
- quint64 id;
- bool haveItem;
- QString from;
- QString to;
- QString current_file;
- int progressBar_read,progressBar_write;
- };
-
- TransferModel();
-
- virtual int columnCount(const QModelIndex& parent = QModelIndex()) const;
- virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
- virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;
- virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
- virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
-
- QList<quint64> synchronizeItems(const QList<Ultracopier::ReturnActionOnCopyList>& returnActions);
- void setFacilityEngine(FacilityInterface * facilityEngine);
-
- int search(const QString &text,bool searchNext);
- int searchPrev(const QString &text);
-
- void setFileProgression(
- #ifndef ULTRACOPIER_PLUGIN_DEBUG
- const
- #endif
- QList<Ultracopier::ProgressionItem> &progressionList);
-
- currentTransfertItem getCurrentTransfertItem() const;
-
- quint64 firstId() const;
-protected:
- QList<TransfertItem> transfertItemList;///< To have a transfer list for the user
- QSet<quint64> startId,stopId;///< To show what is started, what is stopped
- QHash<quint64,ItemOfCopyListWithMoreInformations> internalRunningOperation;///< to have progression and stat
-private:
- int loop_size,index_for_loop;
- int sub_loop_size,sub_index_for_loop;
- int row,column;
- FacilityInterface * facilityEngine;
- QString search_text;
- /// \brief index from start the search, decresed by remove before it
- int currentIndexSearch;
- bool haveSearchItem;
- quint64 searchId;
- static QIcon *start;
- static QIcon *stop;
-signals:
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- /// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,QString fonction,QString text,QString file,int ligne) const;
- #endif
-};
-
-#endif // TRANSFERMODEL_H
diff --git a/plugins-alternative/Themes/Supercopier/documentation.dox b/plugins-alternative/Themes/Supercopier/documentation.dox
deleted file mode 100644
index 9357109..0000000
--- a/plugins-alternative/Themes/Supercopier/documentation.dox
+++ /dev/null
@@ -1,33 +0,0 @@
-/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/
-
-/*
- This file contains NO source code, just some documentation for doxygen to
- parse.
-*/
-
-/*!
- \mainpage Oxygen
-
- \section mainpage_overview Overview
-
- It's interface like Supercopier, see Tal Sella http://www.virtualplastic.net/scrow/ (icons) for the icons and icon license.\n
- More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>.
-
- \section mainpage_platforms Platforms
-
- Ultracopier might be usable in all environments where you find Qt 5.\n
- Ultracopier requires Qt 5.0 or newer. Tested on Qt 5.0.
-
- \section mainpage_downloads Downloads
-
- You can 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.\n
- See Tal Sella http://www.virtualplastic.net/scrow/ (icons) for the icons and icon license.\n
- resources/export-transfer-list.png and resources/import-transfer-list.png done by png manipulation of KDE's oxygen icon pack (16x16/actions/format-indent-more.png + 16x16/actions/format-list-unordered.png), document-save.png -> all SystemTrayIcon/systray_* (color alteration).\n
- From 16x16/actions/: list-add.png -> add.png and SystemTrayIcon/add.png, process-stop.png -> remove.png, document-save.png -> main.png and, arrow-down.png -> moveDown.png, arrow-up.png -> moveUp.png, system-shutdown.png -> cancel.png and SystemTrayIcon/exit.png, arrow-down-double.png -> putOnBottom.png, arrow-up-double.png -> putOnTop.png, media-skip-forward.png -> player_end.png, media-playback-pause.png -> player_pause.png, media-playback-start.png -> player_play.png, document-preview.png -> search.png, help-about.png -> SystemTrayIcon/informations.png \n
- And 16x16/categories/applications-development.png -> SystemTrayIcon/options.png
-
-*/
-
diff --git a/plugins-alternative/Themes/Supercopier/factory.cpp b/plugins-alternative/Themes/Supercopier/factory.cpp
deleted file mode 100644
index ce3fe15..0000000
--- a/plugins-alternative/Themes/Supercopier/factory.cpp
+++ /dev/null
@@ -1,441 +0,0 @@
-/** \file factory.cpp
-\brief Define the factory core
-\author alpha_one_x86
-*/
-
-#include <QColorDialog>
-
-#include "factory.h"
-
-ThemesFactory::ThemesFactory()
-{
- optionsEngine=NULL;
- tempWidget=new QWidget();
- ui=new Ui::themesOptions();
- ui->setupUi(tempWidget);
- ui->toolBox->setCurrentIndex(0);
- currentSpeed = 0;
- updateSpeed();
- ui->labelDualProgression->hide();
- ui->showDualProgression->hide();
-
- qRegisterMetaType<QList<QPersistentModelIndex> >("QList<QPersistentModelIndex>");
-}
-
-ThemesFactory::~ThemesFactory()
-{
-}
-
-PluginInterface_Themes * ThemesFactory::getInstance()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, currentSpeed: %1").arg(currentSpeed));
-
- Themes * newInterface=new Themes(
- ui->alwaysOnTop->isChecked(),
- ui->showProgressionInTheTitle->isChecked(),
- progressColorWrite,progressColorRead,progressColorRemaining,
- ui->showDualProgression->isChecked(),
- ui->comboBox_copyEnd->currentIndex(),
- ui->speedWithProgressBar->isChecked(),
- currentSpeed,
- ui->checkBoxShowSpeed->isChecked(),
- facilityEngine,
- ui->checkBoxStartWithMoreButtonPushed->isChecked(),
- ui->minimizeToSystray->isChecked()
- );
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- connect(newInterface,&Themes::debugInformation,this,&PluginInterface_ThemesFactory::debugInformation);
- #endif
- connect(this,&ThemesFactory::reloadLanguage,newInterface,&Themes::newLanguageLoaded);
- return newInterface;
-}
-
-void ThemesFactory::setResources(OptionInterface * optionsEngine,const QString &
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- writePath
- #endif
- ,const QString &
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- pluginPath
- #endif
- ,FacilityInterface * facilityEngine,const bool &)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, writePath: "+writePath+", pluginPath: "+pluginPath);
- this->facilityEngine=facilityEngine;
- if(optionsEngine!=NULL)
- {
- this->optionsEngine=optionsEngine;
- //load the options
- QList<QPair<QString, QVariant> > KeysList;
- KeysList.append(qMakePair(QStringLiteral("checkBoxShowSpeed"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("moreButtonPushed"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("speedWithProgressBar"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("currentSpeed"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("comboBox_copyEnd"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("showDualProgression"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("showProgressionInTheTitle"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("progressColorWrite"),QVariant(QApplication::palette().color(QPalette::Highlight))));
- KeysList.append(qMakePair(QStringLiteral("progressColorRead"),QVariant(QApplication::palette().color(QPalette::AlternateBase))));
- KeysList.append(qMakePair(QStringLiteral("progressColorRemaining"),QVariant(QApplication::palette().color(QPalette::Base))));
- KeysList.append(qMakePair(QStringLiteral("alwaysOnTop"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("minimizeToSystray"),QVariant(false)));
- optionsEngine->addOptionGroup(KeysList);
- connect(optionsEngine,&OptionInterface::resetOptions,this,&ThemesFactory::resetOptions);
- updateSpeed();
- }
- #ifndef __GNUC__
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"__GNUC__ is not set");
- #else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"__GNUC__ is set");
- #endif
-}
-
-QWidget * ThemesFactory::options()
-{
- if(optionsEngine!=NULL)
- {
- bool ok;
- currentSpeed=optionsEngine->getOptionValue("currentSpeed").toUInt(&ok);
- if(!ok)
- currentSpeed=0;
- ui->comboBox_copyEnd->setCurrentIndex(optionsEngine->getOptionValue(QStringLiteral("comboBox_copyEnd")).toUInt());
- ui->speedWithProgressBar->setChecked(optionsEngine->getOptionValue(QStringLiteral("speedWithProgressBar")).toBool());
- ui->checkBoxShowSpeed->setChecked(optionsEngine->getOptionValue(QStringLiteral("checkBoxShowSpeed")).toBool());
- ui->checkBoxStartWithMoreButtonPushed->setChecked(optionsEngine->getOptionValue(QStringLiteral("moreButtonPushed")).toBool());
- ui->showDualProgression->setChecked(optionsEngine->getOptionValue(QStringLiteral("showDualProgression")).toBool());
- ui->showProgressionInTheTitle->setChecked(optionsEngine->getOptionValue(QStringLiteral("showProgressionInTheTitle")).toBool());
- ui->alwaysOnTop->setChecked(optionsEngine->getOptionValue(QStringLiteral("alwaysOnTop")).toBool());
- ui->minimizeToSystray->setChecked(optionsEngine->getOptionValue(QStringLiteral("minimizeToSystray")).toBool());
-
- progressColorWrite=optionsEngine->getOptionValue(QStringLiteral("progressColorWrite")).value<QColor>();
- progressColorRead=optionsEngine->getOptionValue(QStringLiteral("progressColorRead")).value<QColor>();
- progressColorRemaining=optionsEngine->getOptionValue(QStringLiteral("progressColorRemaining")).value<QColor>();
-
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorWrite);
- ui->progressColorWrite->setIcon(pixmap);
- pixmap.fill(progressColorRead);
- ui->progressColorRead->setIcon(pixmap);
- pixmap.fill(progressColorRemaining);
- ui->progressColorRemaining->setIcon(pixmap);
- updateSpeed();
- updateProgressionColorBar();
-
- connect(ui->alwaysOnTop,&QCheckBox::stateChanged,this,&ThemesFactory::alwaysOnTop);
- connect(ui->checkBoxShowSpeed,&QCheckBox::stateChanged,this,&ThemesFactory::checkBoxShowSpeed);
- connect(ui->minimizeToSystray,&QCheckBox::stateChanged,this,&ThemesFactory::minimizeToSystray);
- connect(ui->checkBox_limitSpeed,&QCheckBox::stateChanged,this,&ThemesFactory::uiUpdateSpeed);
- connect(ui->SliderSpeed,&QAbstractSlider::valueChanged,this,&ThemesFactory::on_SliderSpeed_valueChanged);
- connect(ui->limitSpeed,static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &ThemesFactory::uiUpdateSpeed);
- connect(ui->checkBoxShowSpeed,&QAbstractButton::toggled,this,&ThemesFactory::checkBoxShowSpeedHaveChanged);
- connect(ui->checkBoxStartWithMoreButtonPushed,&QAbstractButton::toggled,this,&ThemesFactory::checkBoxStartWithMoreButtonPushedHaveChanged);
- connect(ui->speedWithProgressBar,&QAbstractButton::toggled,this,&ThemesFactory::speedWithProgressBar);
- connect(ui->comboBox_copyEnd, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&ThemesFactory::comboBox_copyEnd);
- connect(ui->showDualProgression,&QCheckBox::stateChanged,this,&ThemesFactory::showDualProgression);
- connect(ui->showDualProgression,&QCheckBox::stateChanged,this,&ThemesFactory::updateProgressionColorBar);
- connect(ui->showProgressionInTheTitle,&QCheckBox::stateChanged,this,&ThemesFactory::setShowProgressionInTheTitle);
- connect(ui->progressColorWrite,&QAbstractButton::clicked,this,&ThemesFactory::progressColorWrite_clicked);
- connect(ui->progressColorRead, &QAbstractButton::clicked,this,&ThemesFactory::progressColorRead_clicked);
- connect(ui->progressColorRemaining,&QAbstractButton::clicked,this,&ThemesFactory::progressColorRemaining_clicked);
- }
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"return the options");
- return tempWidget;
-}
-
-QIcon ThemesFactory::getIcon(const QString &fileName) const
-{
- return QIcon(QStringLiteral(":/Themes/Supercopier/resources/")+fileName);
-}
-
-void ThemesFactory::resetOptions()
-{
- ui->checkBoxShowSpeed->setChecked(true);
- ui->checkBoxStartWithMoreButtonPushed->setChecked(false);
-}
-
-void ThemesFactory::checkBoxShowSpeedHaveChanged(bool toggled)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("checkBoxShowSpeed"),toggled);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::checkBoxStartWithMoreButtonPushedHaveChanged(bool toggled)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("moreButtonPushed"),toggled);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::comboBox_copyEnd(int value)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("comboBox_copyEnd"),value);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::speedWithProgressBar(bool toggled)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("speedWithProgressBar"),toggled);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::newLanguageLoaded()
-{
- ui->retranslateUi(tempWidget);
- ui->comboBox_copyEnd->setItemText(0,tr("Don't close if errors are found"));
- ui->comboBox_copyEnd->setItemText(1,tr("Never close"));
- ui->comboBox_copyEnd->setItemText(2,tr("Always close"));
- emit reloadLanguage();
-}
-
-void ThemesFactory::checkBoxShowSpeed(bool checked)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- Q_UNUSED(checked);
- updateSpeed();
-}
-
-void ThemesFactory::minimizeToSystray(bool checked)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("minimizeToSystray"),checked);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::alwaysOnTop(bool checked)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("alwaysOnTop"),checked);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::showDualProgression(bool checked)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("showDualProgression"),checked);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::on_SliderSpeed_valueChanged(int value)
-{
- if(optionsEngine==NULL)
- return;
- if(!ui->checkBoxShowSpeed->isChecked())
- return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("value: %1").arg(value));
- switch(value)
- {
- case 0:
- currentSpeed=0;
- break;
- case 1:
- currentSpeed=1024;
- break;
- case 2:
- currentSpeed=1024*4;
- break;
- case 3:
- currentSpeed=1024*16;
- break;
- case 4:
- currentSpeed=1024*64;
- break;
- case 5:
- currentSpeed=1024*128;
- break;
- }
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
- updateSpeed();
-}
-
-void ThemesFactory::uiUpdateSpeed()
-{
- if(optionsEngine==NULL)
- return;
- if(ui->checkBoxShowSpeed->isChecked())
- return;
- if(!ui->checkBox_limitSpeed->isChecked())
- currentSpeed=0;
- else
- currentSpeed=ui->limitSpeed->value();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("emit newSpeedLimitation(%1)").arg(currentSpeed));
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::updateSpeed()
-{
- if(optionsEngine==NULL)
- return;
- ui->label_Slider_speed->setVisible(ui->checkBoxShowSpeed->isChecked());
- ui->SliderSpeed->setVisible(ui->checkBoxShowSpeed->isChecked());
- ui->label_SpeedMaxValue->setVisible(ui->checkBoxShowSpeed->isChecked());
- ui->limitSpeed->setVisible(!ui->checkBoxShowSpeed->isChecked());
- ui->checkBox_limitSpeed->setVisible(!ui->checkBoxShowSpeed->isChecked());
-
- if(ui->checkBoxShowSpeed->isChecked())
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("checked, currentSpeed: %1").arg(currentSpeed));
- ui->limitSpeed->setEnabled(false);
- if(currentSpeed==0)
- {
- ui->SliderSpeed->setValue(0);
- ui->label_SpeedMaxValue->setText(facilityEngine->translateText("Unlimited"));
- }
- else if(currentSpeed<=1024)
- {
- if(currentSpeed!=1024)
- {
- currentSpeed=1024;
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
- }
- ui->SliderSpeed->setValue(1);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*1));
- }
- else if(currentSpeed<=1024*4)
- {
- if(currentSpeed!=1024*4)
- {
- currentSpeed=1024*4;
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
- }
- ui->SliderSpeed->setValue(2);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*4));
- }
- else if(currentSpeed<=1024*16)
- {
- if(currentSpeed!=1024*16)
- {
- currentSpeed=1024*16;
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
- }
- ui->SliderSpeed->setValue(3);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*16));
- }
- else if(currentSpeed<=1024*64)
- {
- if(currentSpeed!=1024*64)
- {
- currentSpeed=1024*64;
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
- }
- ui->SliderSpeed->setValue(4);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*64));
- }
- else
- {
- if(currentSpeed!=1024*128)
- {
- currentSpeed=1024*128;
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
- }
- ui->SliderSpeed->setValue(5);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*128));
- }
- }
- else
- {
- ui->checkBox_limitSpeed->setChecked(currentSpeed>0);
- if(currentSpeed>0)
- ui->limitSpeed->setValue(currentSpeed);
- ui->checkBox_limitSpeed->setEnabled(currentSpeed!=-1);
- ui->limitSpeed->setEnabled(ui->checkBox_limitSpeed->isChecked());
- }
-}
-
-void ThemesFactory::progressColorWrite_clicked()
-{
- QColor color=QColorDialog::getColor(progressColorWrite,NULL,tr("Select a color"));
- if(!color.isValid())
- return;
- progressColorWrite=color;
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorWrite);
- ui->progressColorWrite->setIcon(pixmap);
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("progressColorWrite"),progressColorWrite);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::progressColorRead_clicked()
-{
- QColor color=QColorDialog::getColor(progressColorRead,NULL,tr("Select a color"));
- if(!color.isValid())
- return;
- progressColorRead=color;
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorRead);
- ui->progressColorRead->setIcon(pixmap);
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("progressColorRead"),progressColorRead);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::progressColorRemaining_clicked()
-{
- QColor color=QColorDialog::getColor(progressColorRemaining,NULL,tr("Select a color"));
- if(!color.isValid())
- return;
- progressColorRemaining=color;
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorRemaining);
- ui->progressColorRemaining->setIcon(pixmap);
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("progressColorRemaining"),progressColorRemaining);
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
-
-void ThemesFactory::updateProgressionColorBar()
-{
- ui->labelProgressionColor->setVisible(ui->showDualProgression->isChecked());
- ui->frameProgressionColor->setVisible(ui->showDualProgression->isChecked());
-}
-
-void ThemesFactory::setShowProgressionInTheTitle()
-{
- if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("showProgressionInTheTitle"),ui->showProgressionInTheTitle->isChecked());
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
-}
diff --git a/plugins-alternative/Themes/Supercopier/factory.h b/plugins-alternative/Themes/Supercopier/factory.h
deleted file mode 100644
index 11607d2..0000000
--- a/plugins-alternative/Themes/Supercopier/factory.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/** \file factory.h
-\brief Define the factory, to create instance of the interface
-\author alpha_one_x86
-\licence GPL3, see the file COPYING */
-
-#ifndef FACTORY_H
-#define FACTORY_H
-
-#include <QObject>
-#include <QWidget>
-#include <QMenu>
-#include <QCloseEvent>
-#include <QFile>
-#include <QIcon>
-#include <QColor>
-#include <QPixmap>
-
-#include "../../../interface/PluginInterface_Themes.h"
-#include "ui_themesOptions.h"
-#include "interface.h"
-#include "Environment.h"
-
-namespace Ui {
- class themesOptions;
-}
-
-/// \brief Define the factory, to create instance of the interface
-class ThemesFactory : public PluginInterface_ThemesFactory
-{
- Q_OBJECT
- Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.ThemesFactory/1.0.1.0" FILE "plugin.json")
- Q_INTERFACES(PluginInterface_ThemesFactory)
-public:
- ThemesFactory();
- ~ThemesFactory();
- /// \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 &
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- writePath
- #endif
- ,const QString &
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- pluginPath
- #endif
- ,FacilityInterface * facilityEngine,const bool &portableVersion);
- /// \brief to get the default options widget
- QWidget * options();
- /// \brief to get a resource icon
- QIcon getIcon(const QString &fileName) const;
-private slots:
- void checkBoxShowSpeedHaveChanged(bool toggled);
- void checkBoxStartWithMoreButtonPushedHaveChanged(bool toggled);
- void comboBox_copyEnd(int value);
- void speedWithProgressBar(bool toggled);
- void checkBoxShowSpeed(bool checked);
- void minimizeToSystray(bool checked);
- void alwaysOnTop(bool checked);
- void showDualProgression(bool checked);
- void on_SliderSpeed_valueChanged(int value);
- void uiUpdateSpeed();
- void updateSpeed();
- void progressColorWrite_clicked();
- void progressColorRead_clicked();
- void progressColorRemaining_clicked();
- void updateProgressionColorBar();
- void setShowProgressionInTheTitle();
-public slots:
- void resetOptions();
- void newLanguageLoaded();
-private:
- OptionInterface * optionsEngine;
- Ui::themesOptions *ui;
- QWidget *tempWidget;
- FacilityInterface * facilityEngine;
- qint32 currentSpeed;///< in KB/s, assume as 0KB/s as default like every where
- QColor progressColorWrite,progressColorRead,progressColorRemaining;
-signals:
- void reloadLanguage() const;
-};
-
-#endif // FACTORY_H
diff --git a/plugins-alternative/Themes/Supercopier/interface.cpp b/plugins-alternative/Themes/Supercopier/interface.cpp
deleted file mode 100644
index 7af05e8..0000000
--- a/plugins-alternative/Themes/Supercopier/interface.cpp
+++ /dev/null
@@ -1,1332 +0,0 @@
-/** \file interface.cpp
-\brief Define the interface core
-\author alpha_one_x86
-*/
-
-#include <QMessageBox>
-#include <QMimeData>
-#include <QScrollArea>
-#include <QColorDialog>
-#include <QRect>
-#include <QPainter>
-#include <cmath>
-#ifdef Q_OS_WIN
- #ifndef NOMINMAX
- #define NOMINMAX
- #endif
- #include <windows.h>
-#endif
-
-#include "interface.h"
-#include "ui_interface.h"
-#include "factory.h"
-
-// The cmath header from MSVC does not contain round()
-#if (defined(_WIN64) || defined(_WIN32)) && defined(_MSC_VER)
-inline double round(double d) {
- return floor( d + 0.5 );
-}
-#endif
-
-QIcon Themes::player_pause=QIcon(QStringLiteral(":/Themes/Supercopier/resources/player_pause.png"));
-QIcon Themes::player_play=QIcon(QStringLiteral(":/Themes/Supercopier/resources/player_play.png"));
-
-Themes::Themes(const bool &alwaysOnTop,
- const bool &showProgressionInTheTitle,
- const QColor &progressColorWrite,
- const QColor &progressColorRead,
- const QColor &progressColorRemaining,
- const bool &showDualProgression,
- const quint8 &comboBox_copyEnd,
- const bool &speedWithProgressBar,
- const qint32 &currentSpeed,
- const bool &checkBoxShowSpeed,
- FacilityInterface * facilityEngine,
- const bool &moreButtonPushed,
- const bool &minimizeToSystray) :
- ui(new Ui::interfaceCopy()),
- uiOptions(new Ui::themesOptions())
-{
- this->facilityEngine=facilityEngine;
- ui->setupUi(this);
- uiOptions->setupUi(ui->optionsTab);
-
- currentFile = 0;
- totalFile = 0;
- currentSize = 0;
- totalSize = 0;
- getOldProgression = 200;
- haveError = false;
- stat = status_never_started;
- modeIsForced = false;
- haveStarted = false;
- storeIsInPause = false;
- durationStarted = false;
-
- this->progressColorWrite = progressColorWrite;
- this->progressColorRead = progressColorRead;
- this->progressColorRemaining= progressColorRemaining;
- this->currentSpeed = currentSpeed;
- uiOptions->showProgressionInTheTitle->setChecked(showProgressionInTheTitle);
- uiOptions->speedWithProgressBar->setChecked(speedWithProgressBar);
- uiOptions->showDualProgression->setChecked(showDualProgression);
- uiOptions->alwaysOnTop->setChecked(alwaysOnTop);
- uiOptions->minimizeToSystray->setChecked(minimizeToSystray);
- //uiOptions->setupUi(ui->tabWidget->widget(ui->tabWidget->count()-1));
- uiOptions->labelStartWithMoreButtonPushed->setVisible(false);
- uiOptions->checkBoxStartWithMoreButtonPushed->setVisible(false);
- uiOptions->label_Slider_speed->setVisible(false);
- uiOptions->SliderSpeed->setVisible(false);
- uiOptions->label_SpeedMaxValue->setVisible(false);
- uiOptions->comboBox_copyEnd->setCurrentIndex(comboBox_copyEnd);
- speedWithProgressBar_toggled(speedWithProgressBar);
- showDualProgression_toggled(showDualProgression);
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorWrite);
- uiOptions->progressColorWrite->setIcon(pixmap);
- pixmap.fill(progressColorRead);
- uiOptions->progressColorRead->setIcon(pixmap);
- pixmap.fill(progressColorRemaining);
- uiOptions->progressColorRemaining->setIcon(pixmap);
-
- transferModel.setFacilityEngine(facilityEngine);
- ui->TransferList->setModel(&transferModel);
- ui->tabWidget->setCurrentIndex(0);
- uiOptions->toolBox->setCurrentIndex(0);
- uiOptions->checkBoxShowSpeed->setChecked(checkBoxShowSpeed);
- menu=new QMenu(this);
- ui->add->setMenu(menu);
-
- #ifdef Q_OS_WIN32
- pixmapTop=QPixmap(":/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Windows.png");
- pixmapBottom=QPixmap(":/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Windows.png");
- #else
- pixmapTop=QPixmap(":/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Unix.png");
- pixmapBottom=QPixmap(":/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Unix.png");
- #endif
-
- //connect the options
- checkBoxShowSpeed_toggled(uiOptions->checkBoxShowSpeed->isChecked());
- connect(uiOptions->checkBoxShowSpeed,&QCheckBox::stateChanged,this,&Themes::checkBoxShowSpeed_toggled);
- connect(uiOptions->speedWithProgressBar,&QCheckBox::stateChanged,this,&Themes::speedWithProgressBar_toggled);
- connect(uiOptions->showProgressionInTheTitle,&QCheckBox::stateChanged,this,&Themes::updateTitle);
- connect(uiOptions->showDualProgression,&QCheckBox::stateChanged,this,&Themes::showDualProgression_toggled);
- connect(uiOptions->progressColorWrite,&QAbstractButton::clicked,this,&Themes::progressColorWrite_clicked);
- connect(uiOptions->progressColorRead, &QAbstractButton::clicked,this,&Themes::progressColorRead_clicked);
- connect(uiOptions->progressColorRemaining,&QAbstractButton::clicked,this,&Themes::progressColorRemaining_clicked);
- connect(uiOptions->alwaysOnTop,&QAbstractButton::clicked,this,&Themes::alwaysOnTop_clickedSlot);
-
- isInPause(false);
-
- connect(uiOptions->limitSpeed, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &Themes::uiUpdateSpeed);
- connect(uiOptions->checkBox_limitSpeed,&QAbstractButton::toggled, this, &Themes::uiUpdateSpeed);
-
- connect(ui->actionAddFile,&QAction::triggered,this,&Themes::forcedModeAddFile);
- connect(ui->actionAddFileToCopy,&QAction::triggered,this,&Themes::forcedModeAddFileToCopy);
- connect(ui->actionAddFileToMove,&QAction::triggered,this,&Themes::forcedModeAddFileToMove);
- connect(ui->actionAddFolderToCopy,&QAction::triggered,this,&Themes::forcedModeAddFolderToCopy);
- connect(ui->actionAddFolderToMove,&QAction::triggered,this,&Themes::forcedModeAddFolderToMove);
- connect(ui->actionAddFolder,&QAction::triggered,this,&Themes::forcedModeAddFolder);
- connect(ui->exportErrorToTransferList,&QToolButton::triggered,this,&Themes::exportErrorIntoTransferList);
-
- //setup the search part
- closeTheSearchBox();
- TimerForSearch = new QTimer(this);
- TimerForSearch->setInterval(500);
- TimerForSearch->setSingleShot(true);
- searchShortcut = new QShortcut(QKeySequence(QKeySequence::Find),this);
- searchShortcut2 = new QShortcut(QKeySequence(QKeySequence::FindNext),this);
- searchShortcut3 = new QShortcut(QKeySequence(Qt::Key_Escape),this);
-
- //connect the search part
- connect(TimerForSearch, &QTimer::timeout, this, &Themes::hilightTheSearchSlot);
- connect(searchShortcut, &QShortcut::activated, this, &Themes::searchBoxShortcut);
- connect(searchShortcut2, &QShortcut::activated, this, &Themes::on_pushButtonSearchNext_clicked);
- connect(ui->pushButtonCloseSearch, &QPushButton::clicked, this, &Themes::closeTheSearchBox);
- connect(searchShortcut3, &QShortcut::activated, this, &Themes::closeTheSearchBox);
-
- //reload directly untranslatable text
- newLanguageLoaded();
-
- //unpush the more button
- ui->moreButton->setChecked(moreButtonPushed);
- on_moreButton_toggled(moreButtonPushed);
-
- /// \note important for drag and drop, \see dropEvent()
- setAcceptDrops(true);
-
- shutdown=facilityEngine->haveFunctionality(QStringLiteral("shutdown"));
- ui->shutdown->setVisible(shutdown);
-
- selectionModel=ui->TransferList->selectionModel();
-
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- connect(&transferModel,&TransferModel::debugInformation,this,&Themes::debugInformation);
- #endif
-
- updateSpeed();
- alwaysOnTop_clicked(false);
- /*#ifdef Q_OS_WIN32
- uiOptions->labelAlwaysOnTop->hide();
- uiOptions->alwaysOnTop->hide();
- #endif*/
- #ifdef ULTRACOPIER_VERSION_ULTIMATE
- ui->ad_ultimate->hide();
- #else
- QString ultimateUrl=facilityEngine->ultimateUrl();
- if(ultimateUrl.isEmpty())
- ui->ad_ultimate->hide();
- else
- ui->ad_ultimate->setText(QStringLiteral("<a href=\"%1\">%2</a>").arg(ultimateUrl).arg(tr("Buy the Ultimate version to fund development")));
- #endif
-
- uiOptions->labelDualProgression->hide();
- uiOptions->showDualProgression->hide();
- ui->progressBar_all->setMaximumHeight(17);
- ui->progressBar_file->setMaximumHeight(17);
- ui->progressBarCurrentSpeed->setMaximumHeight(17);
- ui->progressBar_all->setMinimumHeight(17);
- ui->progressBar_file->setMinimumHeight(17);
- ui->progressBarCurrentSpeed->setMinimumHeight(17);
- ui->progressBar_all->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}"));
- ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}"));
- ui->progressBarCurrentSpeed->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}"));
-
- show();
-
- sysTrayIcon = new QSystemTrayIcon(this);
- connect(sysTrayIcon,&QSystemTrayIcon::activated,this,&Themes::catchAction);
-}
-
-Themes::~Themes()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- //disconnect(ui->actionAddFile);
- //disconnect(ui->actionAddFolder);
- delete selectionModel;
- delete menu;
- delete sysTrayIcon;
-}
-
-QWidget * Themes::getOptionsEngineWidget()
-{
- return &optionEngineWidget;
-}
-
-void Themes::getOptionsEngineEnabled(const bool &isEnabled)
-{
- if(isEnabled)
- {
- QScrollArea *scrollArea=new QScrollArea(ui->tabWidget);
- scrollArea->setWidgetResizable(true);
- scrollArea->setWidget(&optionEngineWidget);
- ui->tabWidget->addTab(scrollArea,facilityEngine->translateText(QStringLiteral("Copy engine")));
- }
-}
-
-void Themes::closeEvent(QCloseEvent *event)
-{
- event->ignore();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- this->hide();
- if(uiOptions->minimizeToSystray->isChecked())
- {
- updateSysTrayIcon();
- sysTrayIcon->show();
- }
- else
- emit cancel();
-}
-
-void Themes::updateSysTrayIcon()
-{
- if(totalSize==0)
- {
- sysTrayIcon->setIcon(dynaIcon(0,QStringLiteral("-")));
- return;
- }
- quint64 currentNew=currentSize*100;
- //update systray icon
- quint16 getVarProgression=currentNew/totalSize;
- if(getOldProgression!=getVarProgression)
- {
- getOldProgression=getVarProgression;
- sysTrayIcon->setIcon(dynaIcon(getVarProgression));
- }
-}
-
-void Themes::updateOverallInformation()
-{
- if(uiOptions->showProgressionInTheTitle->isChecked())
- updateTitle();
- ui->overall->setText(tr("File %1/%2, size: %3/%4").arg(currentFile).arg(totalFile).arg(facilityEngine->sizeToString(currentSize)).arg(facilityEngine->sizeToString(totalSize)));
-}
-
-void Themes::actionInProgess(const Ultracopier::EngineActionInProgress &action)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("start: ")+QString::number(action));
- this->action=action;
- switch(action)
- {
- case Ultracopier::Copying:
- case Ultracopier::CopyingAndListing:
- ui->progressBar_all->setMaximum(65535);
- ui->progressBar_all->setMinimum(0);
- break;
- case Ultracopier::Listing:
- ui->progressBar_all->setMaximum(0);
- ui->progressBar_all->setMinimum(0);
- break;
- case Ultracopier::Idle:
- ui->progressBar_all->setMaximum(65535);
- ui->progressBar_all->setMinimum(0);
- if(haveStarted && transferModel.rowCount()<=0)
- {
- if(shutdown && ui->shutdown->isChecked())
- {
- facilityEngine->callFunctionality(QStringLiteral("shutdown"));
- return;
- }
- switch(uiOptions->comboBox_copyEnd->currentIndex())
- {
- case 2:
- emit cancel();
- break;
- case 0:
- if(!haveError)
- emit cancel();
- else
- ui->tabWidget->setCurrentWidget(ui->tab_error);
- break;
- default:
- break;
- }
- stat = status_stopped;
- if(durationStarted)
- {
- Ultracopier::TimeDecomposition time=facilityEngine->secondsToTimeDecomposition(duration.elapsed()/1000);
- ui->labelTimeRemaining->setText(QStringLiteral("<html><body style=\"white-space:nowrap;\">")+facilityEngine->translateText(QStringLiteral("Completed in %1")).arg(
- QString::number(time.hour)+QStringLiteral(":")+QString::number(time.minute).rightJustified(2,'0')+QStringLiteral(":")+QString::number(time.second).rightJustified(2,'0')
- )+QStringLiteral("</body></html>"));
- }
- }
- break;
- default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Very wrong switch case!");
- break;
- }
- switch(action)
- {
- case Ultracopier::Copying:
- case Ultracopier::CopyingAndListing:
- ui->pauseButton->setEnabled(true);
- if(!durationStarted)
- {
- duration.start();
- durationStarted=true;
- }
- haveStarted=true;
- ui->cancelButton->setText(facilityEngine->translateText(QStringLiteral("Quit")));
- updatePause();
- break;
- case Ultracopier::Listing:
- ui->pauseButton->setEnabled(false);
- haveStarted=true;//to close if skip at root folder collision
- break;
- case Ultracopier::Idle:
- ui->pauseButton->setEnabled(false);
- break;
- default:
- break;
- }
-}
-
-void Themes::newFolderListing(const QString &path)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- QString newPath=path;
- if(newPath.size()>(64+3))
- newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32);
- if(action==Ultracopier::Listing)
- ui->from->setText(newPath);
-}
-
-void Themes::detectedSpeed(const quint64 &speed)//in byte per seconds
-{
- if(uiOptions->speedWithProgressBar->isChecked())
- {
- quint64 tempSpeed=speed;
- if(tempSpeed>999999999)
- tempSpeed=999999999;
- if(tempSpeed>(quint64)ui->progressBarCurrentSpeed->maximum())
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("set max speed to: %1").arg(tempSpeed));
- ui->progressBarCurrentSpeed->setMaximum(tempSpeed);
- }
- ui->progressBarCurrentSpeed->setValue(tempSpeed);
- ui->progressBarCurrentSpeed->setFormat(facilityEngine->speedToString(speed));
- }
- else
- ui->currentSpeed->setText(facilityEngine->speedToString(speed));
-}
-
-void Themes::remainingTime(const int &remainingSeconds)
-{
- QString labelTimeRemaining(QStringLiteral("<html><body style=\"white-space:nowrap;\">")+facilityEngine->translateText(QStringLiteral("Time remaining:"))+QStringLiteral(" "));
- if(remainingSeconds==-1)
- labelTimeRemaining+=QStringLiteral("&#8734;");
- else
- {
- Ultracopier::TimeDecomposition time=facilityEngine->secondsToTimeDecomposition(remainingSeconds);
- labelTimeRemaining+=QString::number(time.hour)+QStringLiteral(":")+QString::number(time.minute).rightJustified(2,'0')+QStringLiteral(":")+QString::number(time.second).rightJustified(2,'0');
- }
- labelTimeRemaining+=QStringLiteral("</body></html>");
- ui->labelTimeRemaining->setText(labelTimeRemaining);
-}
-
-void Themes::errorDetected()
-{
- haveError=true;
-}
-
-/// \brief new error
-void Themes::errorToRetry(const QString &source,const QString &destination,const QString &error)
-{
- ui->errorList->addTopLevelItem(new QTreeWidgetItem(QStringList() << source << destination << error));
-}
-
-/** \brief support speed limitation */
-void Themes::setSupportSpeedLimitation(const bool &supportSpeedLimitationBool)
-{
- if(!supportSpeedLimitationBool)
- {
- ui->label_Slider_speed->setVisible(false);
- ui->SliderSpeed->setVisible(false);
- ui->label_SpeedMaxValue->setVisible(false);
- uiOptions->labelShowSpeedAsMain->setVisible(false);
- uiOptions->checkBoxShowSpeed->setVisible(false);
- }
- else
- emit newSpeedLimitation(currentSpeed);
-}
-
-//get information about the copy
-void Themes::setGeneralProgression(const quint64 &current,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);
- if(current>0)
- stat = status_started;
- updateOverallInformation();
- if(isHidden())
- updateSysTrayIcon();
-}
-
-void Themes::setFileProgression(const QList<Ultracopier::ProgressionItem> &progressionList)
-{
- QList<Ultracopier::ProgressionItem> progressionListBis=progressionList;
- transferModel.setFileProgression(progressionListBis);
- updateCurrentFileInformation();
-}
-
-//edit the transfer list
-/// \todo check and re-enable to selection
-void Themes::getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &returnActions)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, returnActions.size(): ")+QString::number(returnActions.size()));
- QList<quint64> returnValue=transferModel.synchronizeItems(returnActions);
- totalFile+=returnValue.first();
- totalSize+=returnValue.at(1);
- currentFile+=returnValue.last();
- if(transferModel.rowCount()==0)
- {
- ui->skipButton->setEnabled(false);
- ui->progressBar_all->setValue(65535);
- ui->progressBar_file->setValue(65535);
- currentSize=totalSize;
- if(isHidden())
- updateSysTrayIcon();
- }
- else
- ui->skipButton->setEnabled(true);
- updateOverallInformation();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("transferModel.rowCount(): ")+QString::number(transferModel.rowCount()));
-}
-
-void Themes::setCopyType(const Ultracopier::CopyType &type)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- this->type=type;
- updateModeAndType();
-}
-
-void Themes::forceCopyMode(const Ultracopier::CopyMode &mode)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- modeIsForced=true;
- this->mode=mode;
- if(mode==Ultracopier::Copy)
- ui->tabWidget->setTabText(0,tr("Copy list"));
- else
- ui->tabWidget->setTabText(0,tr("Move list"));
- updateModeAndType();
- updateTitle();
-}
-
-void Themes::setTransferListOperation(const Ultracopier::TransferListOperation &transferListOperation)
-{
- ui->exportTransferList->setVisible(transferListOperation & Ultracopier::TransferListOperation_Export);
- ui->importTransferList->setVisible(transferListOperation & Ultracopier::TransferListOperation_Import);
-}
-
-void Themes::haveExternalOrder()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
-// ui->moreButton->toggle();
-}
-
-void Themes::isInPause(const bool &isInPause)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("isInPause: ")+QString::number(isInPause));
- //resume in auto the pause
- storeIsInPause=isInPause;
- updatePause();
-}
-
-void Themes::updatePause()
-{
- if(storeIsInPause)
- {
- ui->pauseButton->setIcon(player_play);
- if(stat == status_started)
- ui->pauseButton->setText(facilityEngine->translateText(QStringLiteral("Resume")));
- else
- ui->pauseButton->setText(facilityEngine->translateText(QStringLiteral("Start")));
- }
- else
- {
- ui->pauseButton->setIcon(player_pause);
- ui->pauseButton->setText(facilityEngine->translateText(QStringLiteral("Pause")));
- }
-}
-
-void Themes::updateCurrentFileInformation()
-{
- TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem();
- if(transfertItem.haveItem)
- {
- QString newPath=transfertItem.from;
- if(newPath.size()>(64+3))
- newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32);
- ui->from->setText(newPath);
- newPath=transfertItem.to;
- if(newPath.size()>(64+3))
- newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32);
- ui->to->setText(newPath);
- ui->current_file->setText(transfertItem.current_file);
- if(transfertItem.progressBar_read!=-1)
- {
- ui->progressBar_file->setRange(0,65535);
- if(uiOptions->showDualProgression->isChecked())
- {
- if(transfertItem.progressBar_read!=transfertItem.progressBar_write)
- {
- float permilleread=round((float)transfertItem.progressBar_read/65535*1000)/1000;
- float permillewrite=permilleread-0.001;
- ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{border: 1px solid grey;text-align: center;background-color: qlineargradient(spread:pad, x1:%1, y1:0, x2:%2, y2:0, stop:0 %3, stop:1 %4);}QProgressBar::chunk{background-color:%5;}")
- .arg(permilleread)
- .arg(permillewrite)
- .arg(progressColorRemaining.name())
- .arg(progressColorRead.name())
- .arg(progressColorWrite.name())
- );
- }
- else
- ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}")
- .arg(progressColorRemaining.name())
- .arg(progressColorWrite.name())
- );
- ui->progressBar_file->setValue(transfertItem.progressBar_write);
- }
- else
- ui->progressBar_file->setValue((transfertItem.progressBar_read+transfertItem.progressBar_write)/2);
- }
- else
- ui->progressBar_file->setRange(0,0);
- }
- else
- {
- ui->from->setText(QStringLiteral(""));
- ui->to->setText(QStringLiteral(""));
- ui->current_file->setText(QStringLiteral("-"));
- if(haveStarted && transferModel.rowCount()==0)
- ui->progressBar_file->setValue(65535);
- else if(!haveStarted)
- ui->progressBar_file->setValue(0);
- }
-}
-
-
-void Themes::on_putOnTop_clicked()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- selectedItems=selectionModel->selectedRows();
- QList<int> ids;
- int index=0;
- const int &loop_size=selectedItems.size();
- while(index<loop_size)
- {
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
- index++;
- }
- if(ids.size()>0)
- emit moveItemsOnTop(ids);
-}
-
-void Themes::on_pushUp_clicked()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- selectedItems=selectionModel->selectedRows();
- QList<int> ids;
- int index=0;
- const int &loop_size=selectedItems.size();
- while(index<loop_size)
- {
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
- index++;
- }
- if(ids.size()>0)
- emit moveItemsUp(ids);
-}
-
-void Themes::on_pushDown_clicked()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- selectedItems=selectionModel->selectedRows();
- QList<int> ids;
- int index=0;
- const int &loop_size=selectedItems.size();
- while(index<loop_size)
- {
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
- index++;
- }
- if(ids.size()>0)
- emit moveItemsDown(ids);
-}
-
-void Themes::on_putOnBottom_clicked()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- selectedItems=selectionModel->selectedRows();
- QList<int> ids;
- int index=0;
- const int &loop_size=selectedItems.size();
- while(index<loop_size)
- {
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
- index++;
- }
- if(ids.size()>0)
- emit moveItemsOnBottom(ids);
-}
-
-void Themes::on_del_clicked()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- selectedItems=selectionModel->selectedRows();
- QList<int> ids;
- int index=0;
- const int &loop_size=selectedItems.size();
- while(index<loop_size)
- {
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
- index++;
- }
- if(ids.size()>0)
- emit removeItems(ids);
-}
-
-void Themes::on_cancelButton_clicked()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- this->hide();
- emit cancel();
-}
-
-
-void Themes::speedWithProgressBar_toggled(bool checked)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- ui->progressBarCurrentSpeed->setVisible(checked);
- ui->currentSpeed->setVisible(!checked);
-}
-
-void Themes::showDualProgression_toggled(bool checked)
-{
- Q_UNUSED(checked);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- updateProgressionColorBar();
-}
-
-void Themes::checkBoxShowSpeed_toggled(bool checked)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- Q_UNUSED(checked);
- updateSpeed();
-}
-
-void Themes::on_SliderSpeed_valueChanged(int value)
-{
- if(!uiOptions->checkBoxShowSpeed->isChecked())
- return;
- switch(value)
- {
- case 0:
- currentSpeed=0;
- break;
- case 1:
- currentSpeed=1024;
- break;
- case 2:
- currentSpeed=1024*4;
- break;
- case 3:
- currentSpeed=1024*16;
- break;
- case 4:
- currentSpeed=1024*64;
- break;
- case 5:
- currentSpeed=1024*128;
- break;
- }
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("value: %1").arg(value));
- emit newSpeedLimitation(currentSpeed);
- updateSpeed();
-}
-
-void Themes::uiUpdateSpeed()
-{
- if(uiOptions->checkBoxShowSpeed->isChecked())
- return;
- if(!uiOptions->checkBox_limitSpeed->isChecked())
- currentSpeed=0;
- else
- currentSpeed=uiOptions->limitSpeed->value();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("emit newSpeedLimitation(%1)").arg(currentSpeed));
- emit newSpeedLimitation(currentSpeed);
-}
-
-void Themes::updateSpeed()
-{
- ui->label_Slider_speed->setVisible(uiOptions->checkBoxShowSpeed->isChecked());
- ui->SliderSpeed->setVisible(uiOptions->checkBoxShowSpeed->isChecked());
- ui->label_SpeedMaxValue->setVisible(uiOptions->checkBoxShowSpeed->isChecked());
- uiOptions->limitSpeed->setVisible(!uiOptions->checkBoxShowSpeed->isChecked());
- uiOptions->checkBox_limitSpeed->setVisible(!uiOptions->checkBoxShowSpeed->isChecked());
-
- if(uiOptions->checkBoxShowSpeed->isChecked())
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("checked, currentSpeed: %1").arg(currentSpeed));
- uiOptions->limitSpeed->setEnabled(false);
- if(currentSpeed==0)
- {
- ui->SliderSpeed->setValue(0);
- ui->label_SpeedMaxValue->setText(facilityEngine->translateText(QStringLiteral("Unlimited")));
- }
- else if(currentSpeed<=1024)
- {
- if(currentSpeed!=1024)
- {
- currentSpeed=1024;
- emit newSpeedLimitation(currentSpeed);
- }
- ui->SliderSpeed->setValue(1);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*1));
- }
- else if(currentSpeed<=1024*4)
- {
- if(currentSpeed!=1024*4)
- {
- currentSpeed=1024*4;
- emit newSpeedLimitation(currentSpeed);
- }
- ui->SliderSpeed->setValue(2);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*4));
- }
- else if(currentSpeed<=1024*16)
- {
- if(currentSpeed!=1024*16)
- {
- currentSpeed=1024*16;
- emit newSpeedLimitation(currentSpeed);
- }
- ui->SliderSpeed->setValue(3);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*16));
- }
- else if(currentSpeed<=1024*64)
- {
- if(currentSpeed!=1024*64)
- {
- currentSpeed=1024*64;
- emit newSpeedLimitation(currentSpeed);
- }
- ui->SliderSpeed->setValue(4);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*64));
- }
- else
- {
- if(currentSpeed!=1024*128)
- {
- currentSpeed=1024*128;
- emit newSpeedLimitation(currentSpeed);
- }
- ui->SliderSpeed->setValue(5);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*128));
- }
- }
- else
- {
- uiOptions->checkBox_limitSpeed->setChecked(currentSpeed>0);
- if(currentSpeed>0)
- uiOptions->limitSpeed->setValue(currentSpeed);
- uiOptions->checkBox_limitSpeed->setEnabled(currentSpeed!=-1);
- uiOptions->limitSpeed->setEnabled(uiOptions->checkBox_limitSpeed->isChecked());
- }
-}
-
-void Themes::on_pauseButton_clicked()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- if(storeIsInPause)
- emit resume();
- else
- emit pause();
-}
-
-void Themes::on_skipButton_clicked()
-{
- TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem();
- if(transfertItem.haveItem)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("skip at running: %1").arg(transfertItem.id));
- emit skip(transfertItem.id);
- }
- else
- {
- if(transferModel.rowCount()>1)
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("skip at idle: %1").arg(transferModel.firstId()));
- emit skip(transferModel.firstId());
- }
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to skip the transfer, because no transfer running");
- }
-}
-
-void Themes::updateModeAndType()
-{
- menu->clear();
- if(modeIsForced)
- {
- menu->addAction(ui->actionAddFile);
- if(type==Ultracopier::FileAndFolder)
- menu->addAction(ui->actionAddFolder);
- }
- else
- {
- menu->addAction(ui->actionAddFileToCopy);
- menu->addAction(ui->actionAddFileToMove);
- if(type==Ultracopier::FileAndFolder)
- {
- menu->addAction(ui->actionAddFolderToCopy);
- menu->addAction(ui->actionAddFolderToMove);
- }
- }
-}
-
-void Themes::forcedModeAddFile()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit userAddFile(mode);
-}
-
-void Themes::forcedModeAddFolder()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit userAddFolder(mode);
-}
-
-void Themes::forcedModeAddFileToCopy()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit userAddFile(Ultracopier::Copy);
-}
-
-void Themes::forcedModeAddFolderToCopy()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit userAddFolder(Ultracopier::Copy);
-}
-
-void Themes::forcedModeAddFileToMove()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit userAddFile(Ultracopier::Move);
-}
-
-void Themes::forcedModeAddFolderToMove()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- emit userAddFolder(Ultracopier::Move);
-}
-
-void Themes::newLanguageLoaded()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- if(modeIsForced)
- forceCopyMode(mode);
- ui->retranslateUi(this);
- uiOptions->retranslateUi(this);
- uiOptions->comboBox_copyEnd->setItemText(0,tr("Don't close if errors are found"));
- uiOptions->comboBox_copyEnd->setItemText(1,tr("Never close"));
- uiOptions->comboBox_copyEnd->setItemText(2,tr("Always close"));
- if(!haveStarted)
- ui->current_file->setText(tr("File Name, 0KB"));
- else
- updateCurrentFileInformation();
- updateOverallInformation();
- updateSpeed();
- if(ui->tabWidget->count()>=4)
- ui->tabWidget->setTabText(ui->tabWidget->count()-1,facilityEngine->translateText(QStringLiteral("Copy engine")));
- on_moreButton_toggled(ui->moreButton->isChecked());
-}
-
-void Themes::on_pushButtonCloseSearch_clicked()
-{
- closeTheSearchBox();
-}
-
-//close the search box
-void Themes::closeTheSearchBox()
-{
- currentIndexSearch = -1;
- ui->lineEditSearch->clear();
- ui->lineEditSearch->hide();
- ui->pushButtonSearchPrev->hide();
- ui->pushButtonSearchNext->hide();
- ui->pushButtonCloseSearch->hide();
- ui->searchButton->setChecked(false);
- hilightTheSearch();
-}
-
-//search box shortcut
-void Themes::searchBoxShortcut()
-{
-/* if(ui->lineEditSearch->isHidden())
- {*/
- ui->lineEditSearch->show();
- ui->pushButtonSearchPrev->show();
- ui->pushButtonSearchNext->show();
- ui->pushButtonCloseSearch->show();
- ui->lineEditSearch->setFocus(Qt::ShortcutFocusReason);
- ui->searchButton->setChecked(true);
-/* }
- else
- closeTheSearchBox();*/
-}
-
-//hilight the search
-void Themes::hilightTheSearch(bool searchNext)
-{
- int result=transferModel.search(ui->lineEditSearch->text(),searchNext);
- if(ui->lineEditSearch->text().isEmpty())
- ui->lineEditSearch->setStyleSheet("");
- else
- {
- if(result==-1)
- ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(255, 150, 150);"));
- else
- {
- ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(193,255,176);"));
- ui->TransferList->scrollTo(transferModel.index(result,0));
- }
- }
-}
-
-void Themes::hilightTheSearchSlot()
-{
- hilightTheSearch();
-}
-
-void Themes::on_pushButtonSearchPrev_clicked()
-{
- int result=transferModel.searchPrev(ui->lineEditSearch->text());
- if(ui->lineEditSearch->text().isEmpty())
- ui->lineEditSearch->setStyleSheet("");
- else
- {
- if(result==-1)
- ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(255, 150, 150);"));
- else
- {
- ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(193,255,176);"));
- ui->TransferList->scrollTo(transferModel.index(result,0));
- }
- }
-}
-
-void Themes::on_pushButtonSearchNext_clicked()
-{
- hilightTheSearch(true);
-}
-
-void Themes::on_lineEditSearch_returnPressed()
-{
- hilightTheSearch();
-}
-
-void Themes::on_lineEditSearch_textChanged(QString text)
-{
- if(text=="")
- {
- TimerForSearch->stop();
- hilightTheSearch();
- }
- else
- TimerForSearch->start();
-}
-
-void Themes::on_moreButton_toggled(bool checked)
-{
- if(checked)
- this->setMaximumHeight(16777215);
- else
- this->setMaximumHeight(130);
- // usefull under windows
- this->updateGeometry();
- this->update();
- this->adjustSize();
-}
-
-/* drag event processing
-
-need setAcceptDrops(true); into the constructor
-need implementation to accept the drop:
-void dragEnterEvent(QDragEnterEvent* event);
-void dragMoveEvent(QDragMoveEvent* event);
-void dragLeaveEvent(QDragLeaveEvent* event);
-*/
-void Themes::dropEvent(QDropEvent *event)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- const QMimeData* mimeData = event->mimeData();
- if(mimeData->hasUrls())
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("hasUrls"));
- emit urlDropped(mimeData->urls());
- event->acceptProposedAction();
- }
-}
-
-void Themes::dragEnterEvent(QDragEnterEvent* event)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- // if some actions should not be usable, like move, this code must be adopted
- const QMimeData* mimeData = event->mimeData();
- if(mimeData->hasUrls())
- {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("hasUrls"));
- event->acceptProposedAction();
- }
-}
-
-void Themes::dragMoveEvent(QDragMoveEvent* event)
-{
- // if some actions should not be usable, like move, this code must be adopted
- const QMimeData* mimeData = event->mimeData();
- if(mimeData->hasUrls())
- event->acceptProposedAction();
-}
-
-void Themes::dragLeaveEvent(QDragLeaveEvent* event)
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
- event->accept();
-}
-
-void Themes::on_searchButton_toggled(bool checked)
-{
- if(checked)
- searchBoxShortcut();
- else
- closeTheSearchBox();
-}
-
-void Themes::on_exportTransferList_clicked()
-{
- emit exportTransferList();
-}
-
-void Themes::on_importTransferList_clicked()
-{
- emit importTransferList();
-}
-
-void Themes::progressColorWrite_clicked()
-{
- QColor color=QColorDialog::getColor(progressColorWrite,this,tr("Select a color"));
- if(!color.isValid())
- return;
- progressColorWrite=color;
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorWrite);
- uiOptions->progressColorWrite->setIcon(pixmap);
- updateProgressionColorBar();
-}
-
-void Themes::progressColorRead_clicked()
-{
- QColor color=QColorDialog::getColor(progressColorRead,this,tr("Select a color"));
- if(!color.isValid())
- return;
- progressColorRead=color;
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorRead);
- uiOptions->progressColorRead->setIcon(pixmap);
- updateProgressionColorBar();
-}
-
-void Themes::progressColorRemaining_clicked()
-{
- QColor color=QColorDialog::getColor(progressColorRemaining,this,tr("Select a color"));
- if(!color.isValid())
- return;
- progressColorRemaining=color;
- QPixmap pixmap(75,20);
- pixmap.fill(progressColorRemaining);
- uiOptions->progressColorRemaining->setIcon(pixmap);
- updateProgressionColorBar();
-}
-
-void Themes::alwaysOnTop_clicked(bool reshow)
-{
- Qt::WindowFlags flags = windowFlags();
- #ifdef Q_OS_WIN32
- if(uiOptions->alwaysOnTop->isChecked())
- SetWindowPos((HWND)this->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
- else
- SetWindowPos((HWND)this->winId(), HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
- #endif
- #ifdef Q_OS_LINUX
- if(uiOptions->alwaysOnTop->isChecked())
- flags=flags | Qt::X11BypassWindowManagerHint;
- else
- flags=flags & ~Qt::X11BypassWindowManagerHint;
- #endif
- if(uiOptions->alwaysOnTop->isChecked())
- flags=flags | Qt::WindowStaysOnTopHint;
- else
- flags=flags & ~Qt::WindowStaysOnTopHint;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"uiOptions->alwaysOnTop->isChecked(): "+QString::number(uiOptions->alwaysOnTop->isChecked())+", flags: "+QString::number(flags));
- setWindowFlags(flags);
- if(reshow)
- show();
-}
-
-void Themes::alwaysOnTop_clickedSlot()
-{
- alwaysOnTop_clicked(true);
-}
-
-void Themes::updateProgressionColorBar()
-{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- uiOptions->labelProgressionColor->setVisible(uiOptions->showDualProgression->isChecked());
- uiOptions->frameProgressionColor->setVisible(uiOptions->showDualProgression->isChecked());
- if(!uiOptions->showDualProgression->isChecked())
- {
- /*ui->progressBar_all->setStyleSheet("");
- ui->progressBar_file->setStyleSheet("");
- ui->progressBarCurrentSpeed->setStyleSheet("");*/
- }
- else
- {
- ui->progressBar_all->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}")
- .arg(progressColorRemaining.name())
- .arg(progressColorWrite.name())
- );
- ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}")
- .arg(progressColorRemaining.name())
- .arg(progressColorWrite.name())
- );
- ui->progressBarCurrentSpeed->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}")
- .arg(progressColorRemaining.name())
- .arg(progressColorWrite.name())
- );
- }
- if(stat==status_never_started)
- updateCurrentFileInformation();
-}
-
-void Themes::updateTitle()
-{
- if(uiOptions->showProgressionInTheTitle->isChecked() && totalSize>0)
- {
- if(!modeIsForced)
- this->setWindowTitle(tr("%1 %2% of %3").arg(facilityEngine->translateText("Transfer")).arg((currentSize*100)/totalSize).arg(facilityEngine->sizeToString(totalSize))+QStringLiteral(" - ")+facilityEngine->softwareName());
- else
- {
- if(mode==Ultracopier::Copy)
- this->setWindowTitle(tr("%1 %2% of %3").arg(facilityEngine->translateText("Copy")).arg((currentSize*100)/totalSize).arg(facilityEngine->sizeToString(totalSize))+QStringLiteral(" - ")+facilityEngine->softwareName());
- else
- this->setWindowTitle(tr("%1 %2% of %3").arg(facilityEngine->translateText("Move")).arg((currentSize*100)/totalSize).arg(facilityEngine->sizeToString(totalSize))+QStringLiteral(" - ")+facilityEngine->softwareName());
- }
- }
- else
- {
- if(!modeIsForced)
- this->setWindowTitle(QStringLiteral("%1").arg(facilityEngine->translateText("Transfer"))+QStringLiteral(" - ")+facilityEngine->softwareName());
- else
- {
- if(mode==Ultracopier::Copy)
- this->setWindowTitle(QStringLiteral("%1").arg(facilityEngine->translateText("Copy"))+QStringLiteral(" - ")+facilityEngine->softwareName());
- else
- this->setWindowTitle(QStringLiteral("%1").arg(facilityEngine->translateText("Move"))+QStringLiteral(" - ")+facilityEngine->softwareName());
- }
- }
-}
-
-/** \brief Create progessive icon
-
-Do QIcon with top and bottom image mixed and percent writed on it.
-The icon it be search in the style path.
-Do by mongaulois, remake by alpha_one_x86.
-\param percent indique how many percent need be showed, sould be between 0 and 100
-\param text The showed text if needed (optionnal)
-\return QIcon of the final image
-\note Can be used as it: dynaIcon(75,"...")
-*/
-QIcon Themes::dynaIcon(int percent,QString text) const
-{
- #ifdef ULTRACOPIER_PLUGIN_DEBUG
- if(pixmapTop.isNull() || pixmapBottom.isNull())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error loading the icons");
- #endif
- if(percent==-1)
- percent=getOldProgression;
- if(percent<0)
- percent=0;
- if(percent>100)
- percent=100;
- //pixmap avec un fond transparent
- #ifdef Q_OS_WIN32
- quint8 imageSize=16;
- #else
- quint8 imageSize=22;
- #endif
- QPixmap resultImage(imageSize,imageSize);
- resultImage.fill(Qt::transparent);
- {
- QPainter painter(&resultImage);
- #ifndef Q_OS_WIN32
- QFont font(QStringLiteral("Courier New"),9);
- font.setBold(true);
- font.setKerning(true);
- painter.setFont(font);
- #endif
- #ifdef Q_OS_WIN32
- QFont font(QStringLiteral("Courier New"),8);
- font.setBold(true);
- font.setKerning(true);
- painter.setFont(font);
- #endif
-
- //preprocessing the calcul
- quint8 bottomPixel=(percent*imageSize)/100;
- quint8 topPixel=imageSize-bottomPixel;
-
- //top image
- if(topPixel>0)
- {
- QRect target(0, 0, imageSize, topPixel);
- QRect source(0, 0, imageSize, topPixel);
- painter.drawPixmap(target, pixmapTop, source);
- }
-
- //bottom image
- if(bottomPixel>0)
- {
- QRect target2(0, topPixel, imageSize, bottomPixel);
- QRect source2(0, topPixel, imageSize, bottomPixel);
- painter.drawPixmap(target2, pixmapBottom, source2);
- }
-
- qint8 textxOffset=0;
- qint8 textyOffset=0;
- if(text.isEmpty())
- {
- if(percent!=100)
- text=QString::number(percent);
- else
- {
- text=QStringLiteral(":)");
- #ifdef Q_OS_WIN32
- textyOffset-=2;
- #else
- textyOffset-=1;
- #endif
- }
- }
- if(text.size()==1)
- {
- textxOffset+=3;
- #ifdef Q_OS_WIN32
- textxOffset-=1;
- #endif
- }
- else
- {
- #ifdef Q_OS_WIN32
- textxOffset-=1;
- #endif
- }
- #ifndef Q_OS_WIN32
- textxOffset+=2;
- textyOffset+=3;
- #endif
- painter.setPen(QPen(Qt::black));
- painter.drawText(3+textxOffset,13+textyOffset,text);
- painter.setPen(QPen(Qt::white));
- painter.drawText(2+textxOffset,12+textyOffset,text);
- }
- return QIcon(resultImage);
-}
-
-/** \brief For catch an action on the systray icon
-\param reason Why it activated
-*/
-void Themes::catchAction(QSystemTrayIcon::ActivationReason reason)
-{
- if(reason==QSystemTrayIcon::DoubleClick || reason==QSystemTrayIcon::Trigger)
- {
- sysTrayIcon->hide();
- this->show();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Double Click detected");
- }
- else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("reason: %1").arg(reason));
-}
-
-void Themes::on_exportErrorToTransferList_clicked()
-{
- emit exportErrorIntoTransferList();
-}
diff --git a/plugins-alternative/Themes/Supercopier/interface.h b/plugins-alternative/Themes/Supercopier/interface.h
deleted file mode 100644
index 6929f07..0000000
--- a/plugins-alternative/Themes/Supercopier/interface.h
+++ /dev/null
@@ -1,221 +0,0 @@
-/** \file interface.h
-\brief Define the interface
-\author alpha_one_x86
-\licence GPL3, see the file COPYING */
-
-#ifndef INTERFACE_H
-#define INTERFACE_H
-
-#include <QObject>
-#include <QWidget>
-#include <QMenu>
-#include <QCloseEvent>
-#include <QShortcut>
-#include <QItemSelectionModel>
-#include <QTimer>
-#include <QTime>
-#include <QSystemTrayIcon>
-#include <QPixmap>
-
-#include "../../../interface/PluginInterface_Themes.h"
-
-#include "ui_interface.h"
-#include "ui_themesOptions.h"
-#include "Environment.h"
-#include "TransferModel.h"
-
-// for windows progress bar
-#ifndef __GNUC__
-#include <shobjidl.h>
-#endif
-
-namespace Ui {
- class interfaceCopy;
- class themesOptions;
-}
-
-/// \brief Define the interface
-class Themes : public PluginInterface_Themes
-{
- Q_OBJECT
-public:
- Themes(const bool &alwaysOnTop,
- const bool &showProgressionInTheTitle,
- const QColor &progressColorWrite,
- const QColor &progressColorRead,
- const QColor &progressColorRemaining,
- const bool &showDualProgression,
- const quint8 &comboBox_copyEnd,
- const bool &speedWithProgressBar,
- const qint32 &currentSpeed,
- const bool &checkBoxShowSpeed,
- FacilityInterface * facilityEngine,
- const bool &moreButtonPushed,
- const bool &minimizeToSystray);
- ~Themes();
- //send information about the copy
- /// \brief to set the action in progress
- void actionInProgess(const Ultracopier::EngineActionInProgress &);
- /// \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();
- /// \brief new error
- void errorToRetry(const QString &source,const QString &destination,const QString &error);
- /** \brief support speed limitation */
- void setSupportSpeedLimitation(const bool &supportSpeedLimitationBool);
- //get information about the copy
- /// \brief show the general progression
- void setGeneralProgression(const quint64 &current,const quint64 &total);
- /// \brief show the file progression
- void setFileProgression(const QList<Ultracopier::ProgressionItem> &progressionList);
- /// \brief set the copyType -> file or folder
- void setCopyType(const Ultracopier::CopyType &);
- /// \brief set the copyMove -> copy or move, to force in copy or move, else support both
- void forceCopyMode(const Ultracopier::CopyMode &);
- /// \brief set if transfer list is exportable/importable
- void setTransferListOperation(const Ultracopier::TransferListOperation &transferListOperation);
- //edit the transfer list
- /// \brief get action on the transfer list (add/move/remove)
- void getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &returnActions);
- /** \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(const bool &);
- /// \brief get the widget for the copy engine
- QWidget * getOptionsEngineWidget();
- /// \brief to set if the copy engine is found
- void getOptionsEngineEnabled(const bool &isEnabled);
- enum status{status_never_started,status_started,status_stopped};
- status stat;
-public slots:
- /// \brief set the translate
- void newLanguageLoaded();
-private slots:
- void on_putOnTop_clicked();
- void on_pushUp_clicked();
- void on_pushDown_clicked();
- void on_putOnBottom_clicked();
- void on_del_clicked();
- void on_cancelButton_clicked();
- void speedWithProgressBar_toggled(bool checked);
- void showDualProgression_toggled(bool checked);
- void checkBoxShowSpeed_toggled(bool checked);
- void on_SliderSpeed_valueChanged(int value);
- void on_pauseButton_clicked();
- void on_skipButton_clicked();
- void forcedModeAddFile();
- void forcedModeAddFolder();
- void forcedModeAddFileToCopy();
- void forcedModeAddFolderToCopy();
- void forcedModeAddFileToMove();
- void forcedModeAddFolderToMove();
- void uiUpdateSpeed();
- void on_pushButtonCloseSearch_clicked();
- //close the search box
- void closeTheSearchBox();
- //search box shortcut
- void searchBoxShortcut();
- //hilight the search
- void hilightTheSearch(bool searchNext=false);
- void hilightTheSearchSlot();
- //auto connect
- void on_pushButtonSearchPrev_clicked();
- void on_pushButtonSearchNext_clicked();
- void on_lineEditSearch_returnPressed();
- void on_lineEditSearch_textChanged(QString text);
- void on_moreButton_toggled(bool checked);
- void on_searchButton_toggled(bool checked);
- void on_exportTransferList_clicked();
- void on_importTransferList_clicked();
- void progressColorWrite_clicked();
- void progressColorRead_clicked();
- void progressColorRemaining_clicked();
- void alwaysOnTop_clicked(bool reshow);
- void alwaysOnTop_clickedSlot();
- void updateProgressionColorBar();
- void updateTitle();
- void catchAction(QSystemTrayIcon::ActivationReason reason);
- void on_exportErrorToTransferList_clicked();
-
-private:
- QTime duration;
- bool durationStarted;
- QPixmap pixmapTop,pixmapBottom;
- QColor progressColorWrite,progressColorRead,progressColorRemaining;
- Ui::interfaceCopy *ui;
- Ui::themesOptions *uiOptions;
- quint64 currentFile;
- quint64 totalFile;
- quint64 currentSize;
- quint64 totalSize;
- quint8 getOldProgression;
- QSystemTrayIcon *sysTrayIcon;
- void updateOverallInformation();
- void updateCurrentFileInformation();
- QMenu *menu;
- Ultracopier::EngineActionInProgress action;
- void closeEvent(QCloseEvent *event);
- qint32 currentSpeed;///< in KB/s, assume as 0KB/s as default like every where
- void updateSpeed();
- bool storeIsInPause;
- bool modeIsForced;
- Ultracopier::CopyType type;
- Ultracopier::CopyMode mode;
- void updateModeAndType();
- bool haveStarted;
- bool haveError;
- QWidget optionEngineWidget;
- QShortcut *searchShortcut;
- QShortcut *searchShortcut2;
- QShortcut *searchShortcut3;
- QTimer *TimerForSearch;
- int currentIndexSearch; ///< Current index search in starting at the end
- FacilityInterface * facilityEngine;
- QItemSelectionModel *selectionModel;
- QModelIndexList selectedItems;
- /// \brief the custom transfer model
- TransferModel transferModel;
-
- static QIcon player_play,player_pause;
-
- /** \brief drag event processing
-
- need setAcceptDrops(true); into the constructor
- need implementation to accept the drop:
- void dragEnterEvent(QDragEnterEvent* event);
- void dragMoveEvent(QDragMoveEvent* event);
- void dragLeaveEvent(QDragLeaveEvent* event);
- */
- void dropEvent(QDropEvent *event);
- /** \brief accept all event to allow the drag and drop
- \see dropEvent() */
- void dragEnterEvent(QDragEnterEvent* event);
- /** \brief accept all event to allow the drag and drop
- \see dropEvent() */
- void dragMoveEvent(QDragMoveEvent* event);
- /** \brief accept all event to allow the drag and drop
- \see dropEvent() */
- void dragLeaveEvent(QDragLeaveEvent* event);
- //have functionality
- bool shutdown;
- void updatePause();
- QIcon dynaIcon(int percent,QString text="") const;
- void updateSysTrayIcon();
-signals:
- /// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
-};
-
-#endif // INTERFACE_H
diff --git a/plugins-alternative/Themes/Supercopier/interface.pro b/plugins-alternative/Themes/Supercopier/interface.pro
deleted file mode 100644
index 809a84c..0000000
--- a/plugins-alternative/Themes/Supercopier/interface.pro
+++ /dev/null
@@ -1,59 +0,0 @@
-CONFIG += c++11
-QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
-mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
-
-QT += widgets
-TEMPLATE = lib
-CONFIG += plugin
-HEADERS = interface.h \
- StructEnumDefinition.h \
- factory.h \
- DebugEngineMacro.h \
- Environment.h \
- Variable.h \
- ../../../interface/PluginInterface_Themes.h \
- ../../../interface/FacilityInterface.h \
- ../../../interface/OptionInterface.h \
- TransferModel.h
-SOURCES = interface.cpp \
- factory.cpp \
- TransferModel.cpp
-TARGET = $$qtLibraryTarget(interface)
-TRANSLATIONS += Languages/ar/translation.ts \
- Languages/de/translation.ts \
- Languages/el/translation.ts \
- Languages/en/translation.ts \
- Languages/es/translation.ts \
- Languages/fr/translation.ts \
- Languages/hi/translation.ts \
- Languages/hu/translation.ts \
- Languages/id/translation.ts \
- Languages/it/translation.ts \
- Languages/ja/translation.ts \
- Languages/ko/translation.ts \
- Languages/nl/translation.ts \
- Languages/no/translation.ts \
- Languages/pl/translation.ts \
- Languages/pt/translation.ts \
- Languages/ru/translation.ts \
- Languages/th/translation.ts \
- Languages/tr/translation.ts \
- Languages/zh/translation.ts
-
-win32 {
- RESOURCES +=
-}
-!win32 {
- RESOURCES +=
-}
-
-!CONFIG(static) {
-RESOURCES += \
- interfaceResources.qrc \
- interfaceResources_unix.qrc \
- interfaceResources_windows.qrc
-}
-
-FORMS += \
- interface.ui \
- themesOptions.ui
diff --git a/plugins-alternative/Themes/Supercopier/interface.ui b/plugins-alternative/Themes/Supercopier/interface.ui
deleted file mode 100644
index e5b84a5..0000000
--- a/plugins-alternative/Themes/Supercopier/interface.ui
+++ /dev/null
@@ -1,845 +0,0 @@
-<?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>508</width>
- <height>448</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string notr="true">Supercopier</string>
- </property>
- <property name="windowIcon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/main.png</normaloff>:/Themes/Supercopier/resources/main.png</iconset>
- </property>
- <layout class="QVBoxLayout">
- <property name="spacing">
- <number>2</number>
- </property>
- <property name="margin">
- <number>1</number>
- </property>
- <item>
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>2</number>
- </property>
- <item>
- <widget class="QLabel" name="from_label">
- <property name="text">
- <string>From:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="from">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="ad_ultimate">
- <property name="openExternalLinks">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>5</number>
- </property>
- <item>
- <widget class="QLabel" name="to_label">
- <property name="text">
- <string>To:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="to">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QLabel" name="overall">
- <property name="text">
- <string notr="true">File 0/0, Total: 0KB</string>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="labelTimeRemaining">
- <property name="textFormat">
- <enum>Qt::RichText</enum>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="shutdown">
- <property name="maximumSize">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Close at the end of the transfers</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/SystemTrayIcon/exit.png</normaloff>:/Themes/Supercopier/resources/SystemTrayIcon/exit.png</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </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>
- <widget class="QLabel" name="current_file">
- <property name="text">
- <string notr="true">File Name, 0KB</string>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </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">
- <property name="spacing">
- <number>4</number>
- </property>
- <item>
- <widget class="QLabel" name="currentSpeed">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>0</height>
- </size>
- </property>
- <property name="text">
- <string notr="true">0KB/sec</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QProgressBar" name="progressBarCurrentSpeed">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16</height>
- </size>
- </property>
- <property name="maximum">
- <number>1</number>
- </property>
- <property name="value">
- <number>0</number>
- </property>
- <property name="format">
- <string notr="true">0KB/sec</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="moreButton">
- <property name="text">
- <string>&amp;More</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/moveDown.png</normaloff>:/Themes/Supercopier/resources/moveDown.png</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pauseButton">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>&amp;Pause</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/player_pause.png</normaloff>:/Themes/Supercopier/resources/player_pause.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="skipButton">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>&amp;Skip</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/player_end.png</normaloff>:/Themes/Supercopier/resources/player_end.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton">
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/cancel.png</normaloff>:/Themes/Supercopier/resources/cancel.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="limitSpeedAsMain">
- <item>
- <widget class="QLabel" name="label_Slider_speed">
- <property name="text">
- <string>Limit copy speed to:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSlider" name="SliderSpeed">
- <property name="maximum">
- <number>5</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_SpeedMaxValue">
- <property name="text">
- <string notr="true">Unlimited</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>1</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QTabWidget" name="tabWidget">
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="tab_main">
- <attribute name="title">
- <string>Transfer list</string>
- </attribute>
- <layout class="QHBoxLayout">
- <item>
- <layout class="QVBoxLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- <item>
- <widget class="QToolButton" name="putOnTop">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Move the selected items to the top</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/putOnTop.png</normaloff>:/Themes/Supercopier/resources/putOnTop.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pushUp">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Move up the selected items</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/moveUp.png</normaloff>:/Themes/Supercopier/resources/moveUp.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pushDown">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Move down the selected items</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/moveDown.png</normaloff>:/Themes/Supercopier/resources/moveDown.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="putOnBottom">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Move the selected items to the bottom</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/putOnBottom.png</normaloff>:/Themes/Supercopier/resources/putOnBottom.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="add">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Add file/folder</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/add.png</normaloff>:/Themes/Supercopier/resources/add.png</iconset>
- </property>
- <property name="popupMode">
- <enum>QToolButton::InstantPopup</enum>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="del">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Delete the selected items</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/remove.png</normaloff>:/Themes/Supercopier/resources/remove.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="searchButton">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Search</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/search.png</normaloff>:/Themes/Supercopier/resources/search.png</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="exportTransferList">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Export the transfer list</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/export-transfer-list.png</normaloff>:/Themes/Supercopier/resources/export-transfer-list.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="importTransferList">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Import the transfer list</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/import-transfer-list.png</normaloff>:/Themes/Supercopier/resources/import-transfer-list.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <property name="spacing">
- <number>0</number>
- </property>
- <item>
- <widget class="QTreeView" name="TransferList">
- <property name="selectionMode">
- <enum>QAbstractItemView::ExtendedSelection</enum>
- </property>
- <property name="rootIsDecorated">
- <bool>false</bool>
- </property>
- <property name="uniformRowHeights">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayoutSearch">
- <property name="spacing">
- <number>0</number>
- </property>
- <item>
- <widget class="QLineEdit" name="lineEditSearch"/>
- </item>
- <item>
- <widget class="QPushButton" name="pushButtonSearchPrev">
- <property name="text">
- <string>Previous</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButtonSearchNext">
- <property name="text">
- <string>Next</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButtonCloseSearch">
- <property name="minimumSize">
- <size>
- <width>25</width>
- <height>25</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>25</width>
- <height>25</height>
- </size>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/remove.png</normaloff>:/Themes/Supercopier/resources/remove.png</iconset>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_error">
- <attribute name="title">
- <string>Error</string>
- </attribute>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QToolButton" name="exportErrorToTransferList">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Export the errors into transfer list</string>
- </property>
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/export-transfer-list.png</normaloff>:/Themes/Supercopier/resources/export-transfer-list.png</iconset>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QTreeWidget" name="errorList">
- <property name="selectionMode">
- <enum>QAbstractItemView::NoSelection</enum>
- </property>
- <property name="rootIsDecorated">
- <bool>false</bool>
- </property>
- <property name="uniformRowHeights">
- <bool>true</bool>
- </property>
- <column>
- <property name="text">
- <string>Source</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Destination</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Error</string>
- </property>
- </column>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_interface">
- <attribute name="title">
- <string>Interface</string>
- </attribute>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QScrollArea" name="optionsTab">
- <property name="widgetResizable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="scrollAreaWidgetContents">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>492</width>
- <height>243</height>
- </rect>
- </property>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- <action name="actionAddFile">
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/add.png</normaloff>:/Themes/Supercopier/resources/add.png</iconset>
- </property>
- <property name="text">
- <string>Add file</string>
- </property>
- </action>
- <action name="actionAddFolder">
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/add.png</normaloff>:/Themes/Supercopier/resources/add.png</iconset>
- </property>
- <property name="text">
- <string>Add folder</string>
- </property>
- </action>
- <action name="actionAddFileToMove">
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/add.png</normaloff>:/Themes/Supercopier/resources/add.png</iconset>
- </property>
- <property name="text">
- <string>Move file(s)</string>
- </property>
- </action>
- <action name="actionAddFolderToMove">
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/add.png</normaloff>:/Themes/Supercopier/resources/add.png</iconset>
- </property>
- <property name="text">
- <string>Move folder</string>
- </property>
- </action>
- <action name="actionAddFileToCopy">
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/add.png</normaloff>:/Themes/Supercopier/resources/add.png</iconset>
- </property>
- <property name="text">
- <string>Copy file(s)</string>
- </property>
- </action>
- <action name="actionAddFolderToCopy">
- <property name="icon">
- <iconset resource="interfaceResources.qrc">
- <normaloff>:/Themes/Supercopier/resources/add.png</normaloff>:/Themes/Supercopier/resources/add.png</iconset>
- </property>
- <property name="text">
- <string>Copy folder</string>
- </property>
- </action>
- </widget>
- <resources>
- <include location="interfaceResources.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>moreButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>tabWidget</receiver>
- <slot>setVisible(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>218</x>
- <y>144</y>
- </hint>
- <hint type="destinationlabel">
- <x>149</x>
- <y>305</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Unix.png b/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Unix.png
deleted file mode 100644
index 543aaf1..0000000
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Unix.png
+++ /dev/null
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Windows.png b/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Windows.png
deleted file mode 100644
index ff110d9..0000000
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Bottom_Progress_Windows.png
+++ /dev/null
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Unix.png b/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Unix.png
deleted file mode 100644
index 1d93cb1..0000000
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Unix.png
+++ /dev/null
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Windows.png b/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Windows.png
deleted file mode 100644
index 2074ee8..0000000
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Top_Progress_Windows.png
+++ /dev/null
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/themesOptions.ui b/plugins-alternative/Themes/Supercopier/themesOptions.ui
deleted file mode 100644
index 46c7f97..0000000
--- a/plugins-alternative/Themes/Supercopier/themesOptions.ui
+++ /dev/null
@@ -1,384 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>themesOptions</class>
- <widget class="QWidget" name="themesOptions">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>540</width>
- <height>325</height>
- </rect>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QToolBox" name="toolBox">
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="page">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>530</width>
- <height>237</height>
- </rect>
- </property>
- <attribute name="label">
- <string>Use</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0" colspan="2">
- <widget class="QLabel" name="labelStartWithMoreButtonPushed">
- <property name="text">
- <string>Start with the &quot;more button&quot; pushed</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QCheckBox" name="checkBoxStartWithMoreButtonPushed"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="labelAlwaysOnTop">
- <property name="text">
- <string>Always on top</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QCheckBox" name="alwaysOnTop"/>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Minimize on close to systray</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <widget class="QCheckBox" name="minimizeToSystray"/>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>At the end of the copy</string>
- </property>
- </widget>
- </item>
- <item row="3" column="2">
- <widget class="QComboBox" name="comboBox_copyEnd">
- <item>
- <property name="text">
- <string notr="true">Don't close if errors are found</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">Never close</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">Always close</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_Slider_speed">
- <property name="text">
- <string>Limit copy speed to</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QSlider" name="SliderSpeed">
- <property name="maximum">
- <number>5</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="4" column="2">
- <widget class="QLabel" name="label_SpeedMaxValue">
- <property name="text">
- <string notr="true">Unlimited</string>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QCheckBox" name="checkBox_limitSpeed">
- <property name="text">
- <string>Limit copy speed to</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="QSpinBox" name="limitSpeed">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="suffix">
- <string> KB/s</string>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>999999</number>
- </property>
- </widget>
- </item>
- <item row="6" column="2">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>71</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="page_3">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>241</width>
- <height>33</height>
- </rect>
- </property>
- <attribute name="label">
- <string>Informations</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QLabel" name="labelShowSpeedAsMain">
- <property name="text">
- <string>Show speed as main information</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QCheckBox" name="checkBoxShowSpeed"/>
- </item>
- <item row="1" column="1">
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>201</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="page_2">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>441</width>
- <height>107</height>
- </rect>
- </property>
- <attribute name="label">
- <string>Display</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
- <widget class="QLabel" name="labelSpeedWithProgressBar">
- <property name="text">
- <string>Speed with progress bar</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QCheckBox" name="speedWithProgressBar"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Show progression in the title</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QCheckBox" name="showProgressionInTheTitle"/>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="labelDualProgression">
- <property name="text">
- <string>Show dual progression</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <widget class="QCheckBox" name="showDualProgression"/>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="labelProgressionColor">
- <property name="text">
- <string>Progression color</string>
- </property>
- </widget>
- </item>
- <item row="3" column="2">
- <widget class="QFrame" name="frameProgressionColor">
- <property name="minimumSize">
- <size>
- <width>225</width>
- <height>20</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>225</width>
- <height>20</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Click to edit the color</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QPushButton" name="progressColorWrite">
- <property name="minimumSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="iconSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="progressColorRead">
- <property name="minimumSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="iconSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="progressColorRemaining">
- <property name="minimumSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="iconSize">
- <size>
- <width>75</width>
- <height>20</height>
- </size>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="4" column="1">
- <spacer name="verticalSpacer_3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>127</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>checkBox_limitSpeed</sender>
- <signal>clicked(bool)</signal>
- <receiver>limitSpeed</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>109</x>
- <y>144</y>
- </hint>
- <hint type="destinationlabel">
- <x>199</x>
- <y>144</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/plugins-alternative/Themes/Teracopy/documentation.dox b/plugins-alternative/Themes/Teracopy/documentation.dox
index c1720d2..ee76e20 100644
--- a/plugins-alternative/Themes/Teracopy/documentation.dox
+++ b/plugins-alternative/Themes/Teracopy/documentation.dox
@@ -20,10 +20,9 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section 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/informations.xml b/plugins-alternative/Themes/Teracopy/informations.xml
index 534db9a..0b3393e 100644
--- a/plugins-alternative/Themes/Teracopy/informations.xml
+++ b/plugins-alternative/Themes/Teracopy/informations.xml
@@ -17,7 +17,7 @@
<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>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>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. -->
diff --git a/plugins-alternative/Themes/Windows/documentation.dox b/plugins-alternative/Themes/Windows/documentation.dox
index df43161..6a5ad0e 100644
--- a/plugins-alternative/Themes/Windows/documentation.dox
+++ b/plugins-alternative/Themes/Windows/documentation.dox
@@ -20,10 +20,9 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section license GPL Version 3
The code source is under GPL3.
*/
-
diff --git a/plugins-alternative/Themes/Windows/informations.xml b/plugins-alternative/Themes/Windows/informations.xml
index b0d6f22..f97dce3 100644
--- a/plugins-alternative/Themes/Windows/informations.xml
+++ b/plugins-alternative/Themes/Windows/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Windows dialog for Ultracopier, to have same copy dialog than windows vista/7/8]]></description>
<description xml:lang="fr"><![CDATA[Dialogue de Windows pour Ultracopier, pour avoir une boite de dialogue pour la copie comme windows vista/7/8]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>Windows</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins-alternative/static-plugins-supercopier.qrc b/plugins-alternative/static-plugins-supercopier.qrc
deleted file mode 100644
index d3ae224..0000000
--- a/plugins-alternative/static-plugins-supercopier.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="/">
- <file>Themes/Supercopier/informations.xml</file>
- <file>Themes/Supercopier/Languages/fr/translation.qm</file>
- </qresource>
-</RCC>
diff --git a/plugins/CopyEngine/Rsync/Rsync.pro b/plugins/CopyEngine/Rsync/Rsync.pro
index 168fadd..e525f27 100644
--- a/plugins/CopyEngine/Rsync/Rsync.pro
+++ b/plugins/CopyEngine/Rsync/Rsync.pro
@@ -1,2 +1,2 @@
-include(../Ultracopier/CopyEngine.pro)
+include($$PWD/../Ultracopier/CopyEngine.pro)
DEFINES += ULTRACOPIER_PLUGIN_RSYNC
diff --git a/plugins/CopyEngine/Rsync/informations.xml b/plugins/CopyEngine/Rsync/informations.xml
new file mode 100644
index 0000000..46cbf7e
--- /dev/null
+++ b/plugins/CopyEngine/Rsync/informations.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package>
+ <title xml:lang="en"><![CDATA[Rsync copy engine]]></title><!-- english is required -->
+ <!-- What kind of plugin this is -->
+ <category>CopyEngine</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 -->
+ <!-- the date-time format should be in timestamps format -->
+ <pubDate>1287496800</pubDate>
+ <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source -->
+ <architecture>windows-x86</architecture>
+ <!-- Detailed description -->
+ <description xml:lang="en"><![CDATA[Copy engine of Ultracopier which uses rsync as backend]]></description>
+ <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
+ <version>1.4.0.3</version>
+ <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
+ <name>Rsync</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[
+ ]]></dependencies>
+</package>
diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp b/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp
index 5315c84..16c36ae 100644
--- a/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp
+++ b/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp
@@ -14,7 +14,7 @@ void CopyEngine::fileAlreadyExistsSlot(QFileInfo source,QFileInfo destination,bo
}
/// \note Can be call without queue because all call will be serialized
-void CopyEngine::errorOnFileSlot(QFileInfo fileInfo,QString errorString,TransferThread * thread,const ErrorType &errorType)
+void CopyEngine::errorOnFileSlot(QFileInfo fileInfo,std::string errorString,TransferThread * thread,const ErrorType &errorType)
{
errorOnFile(fileInfo,errorString,thread,errorType);
}
@@ -26,13 +26,13 @@ void CopyEngine::folderAlreadyExistsSlot(QFileInfo source,QFileInfo destination,
}
/// \note Can be call without queue because all call will be serialized
-void CopyEngine::errorOnFolderSlot(QFileInfo fileInfo,QString errorString,ScanFileOrFolder * thread,ErrorType errorType)
+void CopyEngine::errorOnFolderSlot(QFileInfo fileInfo,std::string errorString,ScanFileOrFolder * thread,ErrorType errorType)
{
errorOnFolder(fileInfo,errorString,thread,errorType);
}
//mkpath event
-void CopyEngine::mkPathErrorOnFolderSlot(QFileInfo folder,QString error,ErrorType errorType)
+void CopyEngine::mkPathErrorOnFolderSlot(QFileInfo folder,std::string error,ErrorType errorType)
{
mkPathErrorOnFolder(folder,error,errorType);
}
@@ -50,7 +50,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
//load the action
if(isSame)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file is same: "+source.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file is same: "+source.absoluteFilePath().toStdString());
FileExistsAction tempFileExistsAction=alwaysDoThisActionForFileExists;
if(tempFileExistsAction==FileExists_Overwrite || tempFileExistsAction==FileExists_OverwriteIfNewer || tempFileExistsAction==FileExists_OverwriteIfNotSame || tempFileExistsAction==FileExists_OverwriteIfOlder)
tempFileExistsAction=FileExists_NotSet;
@@ -69,7 +69,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
newItem.isSame=isSame;
newItem.transfer=thread;
newItem.scan=NULL;
- alreadyExistsQueue << newItem;
+ alreadyExistsQueue.push_back(newItem);
return;
}
dialogIsOpen=true;
@@ -79,7 +79,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
dialog.exec();/// \bug crash when external close
FileExistsAction newAction=dialog.getAction();
emit isInPause(false);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+QString::number(newAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction));
if(newAction==FileExists_Cancel)
{
emit cancelAll();
@@ -114,7 +114,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file already exists: "+source.absoluteFilePath()+", destination: "+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file already exists: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
FileExistsAction tempFileExistsAction=alwaysDoThisActionForFileExists;
switch(tempFileExistsAction)
{
@@ -124,7 +124,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
case FileExists_OverwriteIfNewer:
case FileExists_OverwriteIfOlder:
case FileExists_OverwriteIfNotSame:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"always do this action: "+QString::number(tempFileExistsAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"always do this action: "+std::to_string(tempFileExistsAction));
thread->setFileExistsAction(tempFileExistsAction);
break;
default:
@@ -133,6 +133,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("dialog open, put in queue: %1 %2")
.arg(source.absoluteFilePath())
.arg(destination.absoluteFilePath())
+ .toStdString()
);
alreadyExistsQueueItem newItem;
newItem.source=source;
@@ -140,7 +141,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
newItem.isSame=isSame;
newItem.transfer=thread;
newItem.scan=NULL;
- alreadyExistsQueue << newItem;
+ alreadyExistsQueue.push_back(newItem);
return;
}
dialogIsOpen=true;
@@ -150,7 +151,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
dialog.exec();/// \bug crash when external close
FileExistsAction newAction=dialog.getAction();
emit isInPause(false);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+QString::number(newAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction));
if(newAction==FileExists_Cancel)
{
emit cancelAll();
@@ -201,7 +202,7 @@ void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool i
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop");
}
-void CopyEngine::haveNeedPutAtBottom(bool needPutAtBottom, const QFileInfo &fileInfo, const QString &errorString,TransferThread *thread,const ErrorType &errorType)
+void CopyEngine::haveNeedPutAtBottom(bool needPutAtBottom, const QFileInfo &fileInfo, const std::string &errorString,TransferThread *thread,const ErrorType &errorType)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(!needPutAtBottom)
@@ -217,12 +218,12 @@ void CopyEngine::haveNeedPutAtBottom(bool needPutAtBottom, const QFileInfo &file
newItem.scan=NULL;
newItem.transfer=thread;
newItem.errorType=errorType;
- errorQueue << newItem;
+ errorQueue.push_back(newItem);
showOneNewDialog();
}
}
-void CopyEngine::missingDiskSpace(QList<Diskspace> list)
+void CopyEngine::missingDiskSpace(std::vector<Diskspace> list)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog");
DiskSpace dialog(facilityEngine,list,interface);
@@ -230,7 +231,7 @@ void CopyEngine::missingDiskSpace(QList<Diskspace> list)
dialog.exec();/// \bug crash when external close
bool ok=dialog.getAction();
emit isInPause(false);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"cancel: "+QString::number(ok));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"cancel: "+std::to_string(ok));
if(!ok)
emit cancelAll();
else
@@ -238,11 +239,11 @@ void CopyEngine::missingDiskSpace(QList<Diskspace> list)
}
/// \note Can be call without queue because all call will be serialized
-void CopyEngine::errorOnFile(QFileInfo fileInfo,QString errorString,TransferThread * thread,const ErrorType &errorType,bool isCalledByShowOneNewDialog)
+void CopyEngine::errorOnFile(QFileInfo fileInfo,std::string errorString,TransferThread * thread,const ErrorType &errorType,bool isCalledByShowOneNewDialog)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+fileInfo.absoluteFilePath()+", error: "+errorString);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+fileInfo.absoluteFilePath().toStdString()+", error: "+errorString);
if(thread==NULL)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to locate the thread");
@@ -274,18 +275,18 @@ void CopyEngine::errorOnFile(QFileInfo fileInfo,QString errorString,TransferThre
newItem.scan=NULL;
newItem.transfer=thread;
newItem.errorType=errorType;
- errorQueue << newItem;
+ errorQueue.push_back(newItem);
return;
}
dialogIsOpen=true;
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog");
- emit error(fileInfo.absoluteFilePath(),fileInfo.size(),fileInfo.lastModified(),errorString);
+ emit error(fileInfo.absoluteFilePath().toStdString(),fileInfo.size(),fileInfo.lastModified().toMSecsSinceEpoch()/1000,errorString);
FileErrorDialog dialog(interface,fileInfo,errorString,errorType);
emit isInPause(true);
dialog.exec();/// \bug crash when external close
FileErrorAction newAction=dialog.getAction();
emit isInPause(false);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+QString::number(newAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction));
if(newAction==FileError_Cancel)
{
emit cancelAll();
@@ -337,7 +338,7 @@ void CopyEngine::folderAlreadyExists(QFileInfo source,QFileInfo destination,bool
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"folder already exists: "+source.absoluteFilePath()+", destination: "+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"folder already exists: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
if(thread==NULL)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to locate the thread");
@@ -361,7 +362,7 @@ void CopyEngine::folderAlreadyExists(QFileInfo source,QFileInfo destination,bool
newItem.isSame=isSame;
newItem.transfer=NULL;
newItem.scan=thread;
- alreadyExistsQueue << newItem;
+ alreadyExistsQueue.push_back(newItem);
return;
}
dialogIsOpen=true;
@@ -369,7 +370,7 @@ void CopyEngine::folderAlreadyExists(QFileInfo source,QFileInfo destination,bool
FolderExistsDialog dialog(interface,source,isSame,destination,firstRenamingRule,otherRenamingRule);
dialog.exec();/// \bug crash when external close
FolderExistsAction newAction=dialog.getAction();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+QString::number(newAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction));
if(newAction==FolderExists_Cancel)
{
emit cancelAll();
@@ -391,11 +392,11 @@ void CopyEngine::folderAlreadyExists(QFileInfo source,QFileInfo destination,bool
/// \note Can be call without queue because all call will be serialized
/// \todo all this part
-void CopyEngine::errorOnFolder(QFileInfo fileInfo, QString errorString, ScanFileOrFolder * thread, ErrorType errorType, bool isCalledByShowOneNewDialog)
+void CopyEngine::errorOnFolder(QFileInfo fileInfo, std::string errorString, ScanFileOrFolder * thread, ErrorType errorType, bool isCalledByShowOneNewDialog)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+fileInfo.absoluteFilePath()+", error: "+errorString);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+fileInfo.absoluteFilePath().toStdString()+", error: "+errorString);
if(thread==NULL)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to locate the thread");
@@ -421,16 +422,16 @@ void CopyEngine::errorOnFolder(QFileInfo fileInfo, QString errorString, ScanFile
newItem.scan=thread;
newItem.transfer=NULL;
newItem.errorType=errorType;
- errorQueue << newItem;
+ errorQueue.push_back(newItem);
return;
}
dialogIsOpen=true;
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog");
- emit error(fileInfo.absoluteFilePath(),fileInfo.size(),fileInfo.lastModified(),errorString);
+ emit error(fileInfo.absoluteFilePath().toStdString(),fileInfo.size(),fileInfo.lastModified().toMSecsSinceEpoch()/1000,errorString);
FileErrorDialog dialog(interface,fileInfo,errorString,errorType);
dialog.exec();/// \bug crash when external close
FileErrorAction newAction=dialog.getAction();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+QString::number(newAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction));
if(newAction==FileError_Cancel)
{
emit cancelAll();
@@ -454,11 +455,11 @@ void CopyEngine::errorOnFolder(QFileInfo fileInfo, QString errorString, ScanFile
// -----------------------------------------------------
//mkpath event
-void CopyEngine::mkPathErrorOnFolder(QFileInfo folder,QString errorString,const ErrorType &errorType,bool isCalledByShowOneNewDialog)
+void CopyEngine::mkPathErrorOnFolder(QFileInfo folder,std::string errorString,const ErrorType &errorType,bool isCalledByShowOneNewDialog)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+folder.absoluteFilePath()+", error: "+errorString);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+folder.absoluteFilePath().toStdString()+", error: "+errorString);
//load the always action
FileErrorAction tempFileErrorAction=alwaysDoThisActionForFolderError;
switch(tempFileErrorAction)
@@ -480,16 +481,16 @@ void CopyEngine::mkPathErrorOnFolder(QFileInfo folder,QString errorString,const
newItem.scan=NULL;
newItem.transfer=NULL;
newItem.errorType=errorType;
- errorQueue << newItem;
+ errorQueue.push_back(newItem);
return;
}
dialogIsOpen=true;
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog");
- emit error(folder.absoluteFilePath(),folder.size(),folder.lastModified(),errorString);
+ emit error(folder.absoluteFilePath().toStdString(),folder.size(),folder.lastModified().toMSecsSinceEpoch()/1000,errorString);
FileErrorDialog dialog(interface,folder,errorString,errorType);
dialog.exec();/// \bug crash when external close
FileErrorAction newAction=dialog.getAction();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+QString::number(newAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction));
if(newAction==FileError_Cancel)
{
emit cancelAll();
@@ -510,7 +511,7 @@ void CopyEngine::mkPathErrorOnFolder(QFileInfo folder,QString errorString,const
listThread->mkPathQueue.retry();
break;
default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unknow switch case: "+QString::number(newAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unknow switch case: "+std::to_string(newAction));
break;
}
if(!isCalledByShowOneNewDialog)
@@ -526,42 +527,42 @@ void CopyEngine::showOneNewDialog()
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"alreadyExistsQueue.size(): "+QString::number(alreadyExistsQueue.size()));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"errorQueue.size(): "+QString::number(errorQueue.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"alreadyExistsQueue.size(): "+std::to_string(alreadyExistsQueue.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"errorQueue.size(): "+std::to_string(errorQueue.size()));
int loop_size=alreadyExistsQueue.size();
while(loop_size>0)
{
- if(alreadyExistsQueue.first().transfer!=NULL)
+ if(alreadyExistsQueue.front().transfer!=NULL)
{
- fileAlreadyExists(alreadyExistsQueue.first().source,
- alreadyExistsQueue.first().destination,
- alreadyExistsQueue.first().isSame,
- alreadyExistsQueue.first().transfer,
+ fileAlreadyExists(alreadyExistsQueue.front().source,
+ alreadyExistsQueue.front().destination,
+ alreadyExistsQueue.front().isSame,
+ alreadyExistsQueue.front().transfer,
true);
}
- else if(alreadyExistsQueue.first().scan!=NULL)
- folderAlreadyExists(alreadyExistsQueue.first().source,
- alreadyExistsQueue.first().destination,
- alreadyExistsQueue.first().isSame,
- alreadyExistsQueue.first().scan,
+ else if(alreadyExistsQueue.front().scan!=NULL)
+ folderAlreadyExists(alreadyExistsQueue.front().source,
+ alreadyExistsQueue.front().destination,
+ alreadyExistsQueue.front().isSame,
+ alreadyExistsQueue.front().scan,
true);
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"bug, no thread actived");
- alreadyExistsQueue.removeFirst();
+ alreadyExistsQueue.erase(alreadyExistsQueue.cbegin());
loop_size--;
}
loop_size=errorQueue.size();
while(errorQueue.size()>0 && loop_size>0)
{
- if(errorQueue.first().transfer!=NULL)
- errorOnFile(errorQueue.first().inode,errorQueue.first().errorString,errorQueue.first().transfer,errorQueue.first().errorType,true);
- else if(errorQueue.first().scan!=NULL)
- errorOnFolder(errorQueue.first().inode,errorQueue.first().errorString,errorQueue.first().scan,errorQueue.first().errorType,true);
- else if(errorQueue.first().mkPath)
- mkPathErrorOnFolder(errorQueue.first().inode,errorQueue.first().errorString,errorQueue.first().errorType,true);
+ if(errorQueue.front().transfer!=NULL)
+ errorOnFile(errorQueue.front().inode,errorQueue.front().errorString,errorQueue.front().transfer,errorQueue.front().errorType,true);
+ else if(errorQueue.front().scan!=NULL)
+ errorOnFolder(errorQueue.front().inode,errorQueue.front().errorString,errorQueue.front().scan,errorQueue.front().errorType,true);
+ else if(errorQueue.front().mkPath)
+ mkPathErrorOnFolder(errorQueue.front().inode,errorQueue.front().errorString,errorQueue.front().errorType,true);
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"bug, no thread actived");
- errorQueue.removeFirst();
+ errorQueue.erase(errorQueue.cbegin());
loop_size--;
}
}
diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine.cpp b/plugins/CopyEngine/Ultracopier/CopyEngine.cpp
index f9e16f4..f3d6e04 100644
--- a/plugins/CopyEngine/Ultracopier/CopyEngine.cpp
+++ b/plugins/CopyEngine/Ultracopier/CopyEngine.cpp
@@ -208,7 +208,7 @@ void CopyEngine::connectTheSignalsSlots()
}
#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW
-void CopyEngine::updateTheDebugInfo(const QStringList &newList, const QStringList &newList2, const int &numberOfInodeOperation)
+void CopyEngine::updateTheDebugInfo(const std::vector<std::string> &newList, const std::vector<std::string> &newList2, const int &numberOfInodeOperation)
{
debugDialogWindow.setTransferThreadList(newList);
debugDialogWindow.setTransferList(newList2);
@@ -333,7 +333,7 @@ bool CopyEngine::getOptionsEngine(QWidget * tempWidget)
ui->comboBoxFolderError->setCurrentIndex(1);
break;
default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored: "+QString::number(alwaysDoThisActionForFolderError));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored: "+std::to_string(alwaysDoThisActionForFolderError));
ui->comboBoxFolderError->setCurrentIndex(0);
break;
}
@@ -411,31 +411,31 @@ void CopyEngine::setInterfacePointer(QWidget * interface)
emit send_sendNewRenamingRules(firstRenamingRule,otherRenamingRule);
}
-bool CopyEngine::haveSameSource(const QStringList &sources)
+bool CopyEngine::haveSameSource(const std::vector<std::string> &sources)
{
return listThread->haveSameSource(sources);
}
-bool CopyEngine::haveSameDestination(const QString &destination)
+bool CopyEngine::haveSameDestination(const std::string &destination)
{
return listThread->haveSameDestination(destination);
}
-bool CopyEngine::newCopy(const QStringList &sources)
+bool CopyEngine::newCopy(const std::vector<std::string> &sources)
{
if(forcedMode && mode!=Ultracopier::Copy)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to move, you can't copy with it");
- QMessageBox::critical(NULL,facilityEngine->translateText(QStringLiteral("Internal error")),tr("The engine is forced to move, you can't copy with it"));
+ QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to move, you can't copy with it"));
return false;
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- QString destination;
- if(!defaultDestinationFolder.isEmpty() && QDir(defaultDestinationFolder).exists())
+ std::string destination;
+ if(!defaultDestinationFolder.empty() && QDir(QString::fromStdString(defaultDestinationFolder)).exists())
destination = defaultDestinationFolder;
else
destination = askDestination();
- if(destination.isEmpty())
+ if(destination.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user");
return false;
@@ -443,32 +443,32 @@ bool CopyEngine::newCopy(const QStringList &sources)
return listThread->newCopy(sources,destination);
}
-bool CopyEngine::newCopy(const QStringList &sources,const QString &destination)
+bool CopyEngine::newCopy(const std::vector<std::string> &sources,const std::string &destination)
{
if(forcedMode && mode!=Ultracopier::Copy)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to move, you can't copy with it");
- QMessageBox::critical(NULL,facilityEngine->translateText(QStringLiteral("Internal error")),tr("The engine is forced to move, you can't copy with it"));
+ QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to move, you can't copy with it"));
return false;
}
return listThread->newCopy(sources,destination);
}
-bool CopyEngine::newMove(const QStringList &sources)
+bool CopyEngine::newMove(const std::vector<std::string> &sources)
{
if(forcedMode && mode!=Ultracopier::Move)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to copy, you can't move with it");
- QMessageBox::critical(NULL,facilityEngine->translateText(QStringLiteral("Internal error")),tr("The engine is forced to copy, you can't move with it"));
+ QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to copy, you can't move with it"));
return false;
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- QString destination;
+ std::string destination;
if(!ui->defaultDestinationFolder->text().isEmpty() && QDir(ui->defaultDestinationFolder->text()).exists())
- destination = ui->defaultDestinationFolder->text();
+ destination = ui->defaultDestinationFolder->text().toStdString();
else
destination = askDestination();
- if(destination.isEmpty())
+ if(destination.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user");
return false;
@@ -476,12 +476,12 @@ bool CopyEngine::newMove(const QStringList &sources)
return listThread->newMove(sources,destination);
}
-bool CopyEngine::newMove(const QStringList &sources,const QString &destination)
+bool CopyEngine::newMove(const std::vector<std::string> &sources,const std::string &destination)
{
if(forcedMode && mode!=Ultracopier::Move)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to copy, you can't move with it");
- QMessageBox::critical(NULL,facilityEngine->translateText(QStringLiteral("Internal error")),tr("The engine is forced to copy, you can't move with it"));
+ QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to copy, you can't move with it"));
return false;
}
return listThread->newMove(sources,destination);
@@ -489,37 +489,39 @@ bool CopyEngine::newMove(const QStringList &sources,const QString &destination)
void CopyEngine::defaultDestinationFolderBrowse()
{
- QString destination = askDestination();
- if(destination.isEmpty())
+ std::string destination = askDestination();
+ if(destination.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user");
return;
}
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(uiIsInstalled)
- ui->defaultDestinationFolder->setText(destination);
+ ui->defaultDestinationFolder->setText(QString::fromStdString(destination));
}
-QString CopyEngine::askDestination()
+std::string CopyEngine::askDestination()
{
- QString destination = listThread->getUniqueDestinationFolder();
- if(!destination.isEmpty())
+ std::string destination = listThread->getUniqueDestinationFolder();
+ if(!destination.empty())
{
- QMessageBox::StandardButton button=QMessageBox::question(interface,tr("Destination"),tr("Use the actual destination \"%1\"?").arg(destination),QMessageBox::Yes | QMessageBox::No,QMessageBox::Yes);
+ QMessageBox::StandardButton button=QMessageBox::question(interface,tr("Destination"),tr("Use the actual destination \"%1\"?")
+ .arg(QString::fromStdString(destination)),
+ QMessageBox::Yes | QMessageBox::No,QMessageBox::Yes);
if(button==QMessageBox::Yes)
return destination;
}
- destination=QFileDialog::getExistingDirectory(interface,facilityEngine->translateText(QStringLiteral("Select destination directory")),QStringLiteral(""),QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
+ destination=QFileDialog::getExistingDirectory(interface,QString::fromStdString(facilityEngine->translateText("Select destination directory")),QStringLiteral(""),QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks).toStdString();
return destination;
}
-void CopyEngine::newTransferList(const QString &file)
+void CopyEngine::newTransferList(const std::string &file)
{
emit signal_importTransferList(file);
}
//because direct access to list thread into the main thread can't be do
-quint64 CopyEngine::realByteTransfered()
+uint64_t CopyEngine::realByteTransfered()
{
return size_for_speed;
}
@@ -605,7 +607,7 @@ void CopyEngine::updateBufferCheckbox()
ui->osBufferLimit->setEnabled(ui->osBuffer->isChecked() && ui->osBufferLimited->isChecked());
}
-void CopyEngine::set_setFilters(QStringList includeStrings,QStringList includeOptions,QStringList excludeStrings,QStringList excludeOptions)
+void CopyEngine::set_setFilters(std::vector<std::string> includeStrings,std::vector<std::string> includeOptions,std::vector<std::string> excludeStrings,std::vector<std::string> excludeOptions)
{
if(filters!=NULL)
{
@@ -618,20 +620,24 @@ void CopyEngine::set_setFilters(QStringList includeStrings,QStringList includeOp
this->excludeOptions=excludeOptions;
}
-void CopyEngine::setRenamingRules(QString firstRenamingRule,QString otherRenamingRule)
+void CopyEngine::setRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule)
{
sendNewRenamingRules(firstRenamingRule,otherRenamingRule);
}
bool CopyEngine::userAddFolder(const Ultracopier::CopyMode &mode)
{
- QString source = QFileDialog::getExistingDirectory(interface,facilityEngine->translateText(QStringLiteral("Select source directory")),QStringLiteral(""),QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
- if(source.isEmpty() || source.isNull() || source=="")
+ std::string source = QFileDialog::getExistingDirectory(interface,QString::fromStdString(facilityEngine->translateText("Select source directory")),
+ QStringLiteral(""),
+ QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks).toStdString();
+ if(source.empty() || source=="")
return false;
+ std::vector<std::string> sources;
+ sources.push_back(source);
if(mode==Ultracopier::Copy)
- return newCopy(QStringList() << source);
+ return newCopy(sources);
else
- return newMove(QStringList() << source);
+ return newMove(sources);
}
bool CopyEngine::userAddFile(const Ultracopier::CopyMode &mode)
@@ -639,15 +645,24 @@ bool CopyEngine::userAddFile(const Ultracopier::CopyMode &mode)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
QStringList sources = QFileDialog::getOpenFileNames(
interface,
- facilityEngine->translateText(QStringLiteral("Select one or more files to open")),
+ QString::fromStdString(facilityEngine->translateText("Select one or more files to open")),
QStringLiteral(""),
- facilityEngine->translateText(QStringLiteral("All files"))+QStringLiteral(" (*)"));
- if(sources.isEmpty())
+ QString::fromStdString(facilityEngine->translateText("All files"))+QStringLiteral(" (*)"));
+
+ std::vector<std::string> sourcesstd;
+ unsigned int index=0;
+ while(index<(unsigned int)sources.size())
+ {
+ sourcesstd.push_back(sources.at(index).toStdString());
+ index++;
+ }
+
+ if(sourcesstd.empty())
return false;
if(mode==Ultracopier::Copy)
- return newCopy(sources);
+ return newCopy(sourcesstd);
else
- return newMove(sources);
+ return newMove(sourcesstd);
}
void CopyEngine::pause()
@@ -660,7 +675,7 @@ void CopyEngine::resume()
emit signal_resume();
}
-void CopyEngine::skip(const quint64 &id)
+void CopyEngine::skip(const uint64_t &id)
{
emit signal_skip(id);
}
@@ -674,27 +689,27 @@ void CopyEngine::cancel()
emit tryCancel();
}
-void CopyEngine::removeItems(const QList<int> &ids)
+void CopyEngine::removeItems(const std::vector<uint64_t> &ids)
{
emit signal_removeItems(ids);
}
-void CopyEngine::moveItemsOnTop(const QList<int> &ids)
+void CopyEngine::moveItemsOnTop(const std::vector<uint64_t> &ids)
{
emit signal_moveItemsOnTop(ids);
}
-void CopyEngine::moveItemsUp(const QList<int> &ids)
+void CopyEngine::moveItemsUp(const std::vector<uint64_t> &ids)
{
emit signal_moveItemsUp(ids);
}
-void CopyEngine::moveItemsDown(const QList<int> &ids)
+void CopyEngine::moveItemsDown(const std::vector<uint64_t> &ids)
{
emit signal_moveItemsDown(ids);
}
-void CopyEngine::moveItemsOnBottom(const QList<int> &ids)
+void CopyEngine::moveItemsOnBottom(const std::vector<uint64_t> &ids)
{
emit signal_moveItemsOnBottom(ids);
}
@@ -713,8 +728,8 @@ void CopyEngine::forceMode(const Ultracopier::CopyMode &mode)
#endif
if(forcedMode)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Mode forced previously"));
- QMessageBox::critical(NULL,facilityEngine->translateText(QStringLiteral("Internal error")),tr("The mode has been forced previously. This is an internal error, please report it"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Mode forced previously");
+ QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The mode has been forced previously. This is an internal error, please report it"));
return;
}
#ifdef ULTRACOPIER_PLUGIN_RSYNC
@@ -722,9 +737,9 @@ void CopyEngine::forceMode(const Ultracopier::CopyMode &mode)
rsync=false;
#endif
if(mode==Ultracopier::Copy)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Force mode to copy"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to copy");
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Force mode to move"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to move");
#ifdef ULTRACOPIER_PLUGIN_RSYNC
if(uiIsInstalled)
ui->rsync->setEnabled(mode==Ultracopier::Copy);
@@ -736,33 +751,33 @@ void CopyEngine::forceMode(const Ultracopier::CopyMode &mode)
void CopyEngine::exportTransferList()
{
- QString fileName = QFileDialog::getSaveFileName(interface,facilityEngine->translateText(QStringLiteral("Save transfer list")),QStringLiteral("transfer-list.lst"),facilityEngine->translateText(QStringLiteral("Transfer list"))+QStringLiteral(" (*.lst)"));
- if(fileName.isEmpty())
+ std::string fileName = QFileDialog::getSaveFileName(interface,QString::fromStdString(facilityEngine->translateText("Save transfer list")),QStringLiteral("transfer-list.lst"),QString::fromStdString(facilityEngine->translateText("Transfer list"))+QStringLiteral(" (*.lst)")).toStdString();
+ if(fileName.empty())
return;
emit signal_exportTransferList(fileName);
}
void CopyEngine::importTransferList()
{
- QString fileName = QFileDialog::getOpenFileName(interface,facilityEngine->translateText(QStringLiteral("Open transfer list")),QStringLiteral("transfer-list.lst"),facilityEngine->translateText(QStringLiteral("Transfer list"))+QStringLiteral(" (*.lst)"));
- if(fileName.isEmpty())
+ std::string fileName = QFileDialog::getOpenFileName(interface,QString::fromStdString(facilityEngine->translateText("Open transfer list")),QStringLiteral("transfer-list.lst"),QString::fromStdString(facilityEngine->translateText("Transfer list"))+QStringLiteral(" (*.lst)")).toStdString();
+ if(fileName.empty())
return;
emit signal_importTransferList(fileName);
}
-void CopyEngine::warningTransferList(const QString &warning)
+void CopyEngine::warningTransferList(const std::string &warning)
{
- QMessageBox::warning(interface,facilityEngine->translateText(QStringLiteral("Error")),warning);
+ QMessageBox::warning(interface,QString::fromStdString(facilityEngine->translateText("Error")),QString::fromStdString(warning));
}
-void CopyEngine::errorTransferList(const QString &error)
+void CopyEngine::errorTransferList(const std::string &error)
{
- QMessageBox::critical(interface,facilityEngine->translateText(QStringLiteral("Error")),error);
+ QMessageBox::critical(interface,QString::fromStdString(facilityEngine->translateText("Error")),QString::fromStdString(error));
}
-bool CopyEngine::setSpeedLimitation(const qint64 &speedLimitation)
+bool CopyEngine::setSpeedLimitation(const int64_t &speedLimitation)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"maxSpeed: "+QString::number(speedLimitation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"maxSpeed: "+std::to_string(speedLimitation));
maxSpeed=speedLimitation;
emit send_speedLimitation(speedLimitation);
return true;
@@ -770,7 +785,7 @@ bool CopyEngine::setSpeedLimitation(const qint64 &speedLimitation)
void CopyEngine::setFileCollision(int index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("action index: %1").arg(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index));
if(uiIsInstalled)
if(index!=ui->comboBoxFileCollision->currentIndex())
ui->comboBoxFileCollision->setCurrentIndex(index);
@@ -807,7 +822,7 @@ void CopyEngine::setFileCollision(int index)
void CopyEngine::setFileError(int index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("action index: %1").arg(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index));
if(uiIsInstalled)
if(index!=ui->comboBoxFileError->currentIndex())
ui->comboBoxFileError->setCurrentIndex(index);
@@ -832,7 +847,7 @@ void CopyEngine::setFileError(int index)
void CopyEngine::setTransferAlgorithm(int index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("action index: %1").arg(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index));
if(uiIsInstalled)
if(index!=ui->transferAlgorithm->currentIndex())
ui->transferAlgorithm->setCurrentIndex(index);
@@ -977,7 +992,7 @@ void CopyEngine::setAutoStart(const bool autoStart)
/// \brief set rsync
void CopyEngine::setRsync(const bool rsync)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+QString::number(rsync));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+std::to_string(rsync));
this->rsync=rsync;
if(uiIsInstalled)
{
@@ -1155,9 +1170,9 @@ void CopyEngine::sendNewFilters()
emit send_setFilters(filters->getInclude(),filters->getExclude());
}
-void CopyEngine::sendNewRenamingRules(QString firstRenamingRule,QString otherRenamingRule)
+void CopyEngine::sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("new filter"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"new filter");
this->firstRenamingRule=firstRenamingRule;
this->otherRenamingRule=otherRenamingRule;
emit send_sendNewRenamingRules(firstRenamingRule,otherRenamingRule);
@@ -1216,11 +1231,11 @@ void CopyEngine::setCheckDiskSpace(const bool &checkDiskSpace)
listThread->setCheckDiskSpace(checkDiskSpace);
}
-void CopyEngine::setDefaultDestinationFolder(const QString &defaultDestinationFolder)
+void CopyEngine::setDefaultDestinationFolder(const std::string &defaultDestinationFolder)
{
this->defaultDestinationFolder=defaultDestinationFolder;
if(uiIsInstalled)
- ui->defaultDestinationFolder->setText(defaultDestinationFolder);
+ ui->defaultDestinationFolder->setText(QString::fromStdString(defaultDestinationFolder));
}
void CopyEngine::setCopyListOrder(const bool &order)
@@ -1231,8 +1246,8 @@ void CopyEngine::setCopyListOrder(const bool &order)
void CopyEngine::exportErrorIntoTransferList()
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"exportErrorIntoTransferList");
- QString fileName = QFileDialog::getSaveFileName(interface,facilityEngine->translateText(QStringLiteral("Save transfer list")),QStringLiteral("transfer-list.lst"),facilityEngine->translateText(QStringLiteral("Transfer list"))+QStringLiteral(" (*.lst)"));
- if(fileName.isEmpty())
+ std::string fileName = QFileDialog::getSaveFileName(interface,QString::fromStdString(facilityEngine->translateText("Save transfer list")),QStringLiteral("transfer-list.lst"),QString::fromStdString(facilityEngine->translateText("Transfer list"))+QStringLiteral(" (*.lst)")).toStdString();
+ if(fileName.empty())
return;
emit signal_exportErrorIntoTransferList(fileName);
}
diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine.h b/plugins/CopyEngine/Ultracopier/CopyEngine.h
index d38fd4e..e5311d8 100644
--- a/plugins/CopyEngine/Ultracopier/CopyEngine.h
+++ b/plugins/CopyEngine/Ultracopier/CopyEngine.h
@@ -6,7 +6,8 @@
#include <QWidget>
#include <QObject>
#include <QList>
-#include <QStringList>
+#include <vector>
+#include <string>
#include <QFileInfo>
#include <QFile>
#include <QFileDialog>
@@ -55,7 +56,7 @@ private:
Filters * filters;
RenamingRules * renamingRules;
FacilityInterface * facilityEngine;
- quint32 maxSpeed;
+ uint32_t maxSpeed;
bool doRightTransfer;
bool keepDate;
int blockSize;
@@ -79,7 +80,7 @@ private:
TransferAlgorithm transferAlgorithm;
bool dialogIsOpen;
volatile bool stopIt;
- QString defaultDestinationFolder;
+ std::string defaultDestinationFolder;
/// \brief error queue
struct errorQueueItem
{
@@ -88,10 +89,10 @@ private:
bool mkPath;
bool rmPath;
QFileInfo inode;
- QString errorString;
+ std::string errorString;
ErrorType errorType;
};
- QList<errorQueueItem> errorQueue;
+ std::vector<errorQueueItem> errorQueue;
/// \brief already exists queue
struct alreadyExistsQueueItem
{
@@ -101,8 +102,8 @@ private:
QFileInfo destination;
bool isSame;
};
- QList<alreadyExistsQueueItem> alreadyExistsQueue;
- quint64 size_for_speed;//because direct access to list thread into the main thread can't be do
+ std::vector<alreadyExistsQueueItem> alreadyExistsQueue;
+ uint64_t size_for_speed;//because direct access to list thread into the main thread can't be do
Ultracopier::CopyMode mode;
bool forcedMode;
@@ -113,9 +114,9 @@ private:
bool osBufferLimited;
bool checkDiskSpace;
unsigned int osBufferLimit;
- QStringList includeStrings,includeOptions,excludeStrings,excludeOptions;
- QString firstRenamingRule;
- QString otherRenamingRule;
+ std::vector<std::string> includeStrings,includeOptions,excludeStrings,excludeOptions;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
//send action done timer
QTimer timerActionDone;
@@ -126,7 +127,7 @@ private:
int putAtBottom;//to keep how many automatic put at bottom have been used
private slots:
#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW
- void updateTheDebugInfo(const QStringList &newList, const QStringList &newList2, const int &numberOfInodeOperation);
+ void updateTheDebugInfo(const std::vector<std::string> &newList, const std::vector<std::string> &newList2, const int &numberOfInodeOperation);
#endif
/************* External call ********************/
@@ -134,25 +135,25 @@ private slots:
/// \note Can be call without queue because all call will be serialized
void fileAlreadyExistsSlot(QFileInfo source,QFileInfo destination,bool isSame,TransferThread * thread);
/// \note Can be call without queue because all call will be serialized
- void errorOnFileSlot(QFileInfo fileInfo, QString errorString, TransferThread * thread, const ErrorType &errorType);
+ void errorOnFileSlot(QFileInfo fileInfo, std::string errorString, TransferThread * thread, const ErrorType &errorType);
/// \note Can be call without queue because all call will be serialized
void folderAlreadyExistsSlot(QFileInfo source,QFileInfo destination,bool isSame,ScanFileOrFolder * thread);
/// \note Can be call without queue because all call will be serialized
- void errorOnFolderSlot(QFileInfo fileInfo, QString errorString, ScanFileOrFolder * thread, ErrorType errorType);
+ void errorOnFolderSlot(QFileInfo fileInfo, std::string errorString, ScanFileOrFolder * thread, ErrorType errorType);
//mkpath event
- void mkPathErrorOnFolderSlot(QFileInfo, QString, ErrorType errorType);
+ void mkPathErrorOnFolderSlot(QFileInfo, std::string, ErrorType errorType);
//dialog message
/// \note Can be call without queue because all call will be serialized
void fileAlreadyExists(QFileInfo source,QFileInfo destination,bool isSame,TransferThread * thread,bool isCalledByShowOneNewDialog=false);
/// \note Can be call without queue because all call will be serialized
- void errorOnFile(QFileInfo fileInfo, QString errorString, TransferThread * thread, const ErrorType &errorType, bool isCalledByShowOneNewDialog=false);
+ void errorOnFile(QFileInfo fileInfo, std::string errorString, TransferThread * thread, const ErrorType &errorType, bool isCalledByShowOneNewDialog=false);
/// \note Can be call without queue because all call will be serialized
void folderAlreadyExists(QFileInfo source,QFileInfo destination,bool isSame,ScanFileOrFolder * thread,bool isCalledByShowOneNewDialog=false);
/// \note Can be call without queue because all call will be serialized
- void errorOnFolder(QFileInfo fileInfo,QString errorString,ScanFileOrFolder * thread, ErrorType errorType,bool isCalledByShowOneNewDialog=false);
+ void errorOnFolder(QFileInfo fileInfo, std::string errorString, ScanFileOrFolder * thread, ErrorType errorType, bool isCalledByShowOneNewDialog=false);
//mkpath event
- void mkPathErrorOnFolder(QFileInfo, QString, const ErrorType &errorType, bool isCalledByShowOneNewDialog=false);
+ void mkPathErrorOnFolder(QFileInfo, std::string, const ErrorType &errorType, bool isCalledByShowOneNewDialog=false);
//show one new dialog if needed
void showOneNewDialog();
@@ -165,14 +166,14 @@ private slots:
void osBufferLimited_toggled(bool);
void osBufferLimit_editingFinished();
void showFilterDialog();
- void sendNewRenamingRules(QString firstRenamingRule,QString otherRenamingRule);
+ void sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule);
void showRenamingRules();
void get_realBytesTransfered(quint64 realBytesTransfered);
void newActionInProgess(Ultracopier::EngineActionInProgress);
void updatedBlockSize();
void updateBufferCheckbox();
- void haveNeedPutAtBottom(bool needPutAtBottom, const QFileInfo &fileInfo, const QString &errorString, TransferThread *thread, const ErrorType &errorType);
- void missingDiskSpace(QList<Diskspace> list);
+ void haveNeedPutAtBottom(bool needPutAtBottom, const QFileInfo &fileInfo, const std::string &errorString, TransferThread *thread, const ErrorType &errorType);
+ void missingDiskSpace(std::vector<Diskspace> list);
void exportErrorIntoTransferList();
public:
/** \brief to send the options panel
@@ -186,37 +187,37 @@ public:
/** \brief compare the current sources of the copy, with the passed arguments
* \param sources the sources list to compares with the current sources list
* \return true if have same sources, else false (or empty) */
- bool haveSameSource(const QStringList &sources);
+ bool haveSameSource(const std::vector<std::string> &sources);
/** \brief compare the current destination of the copy, with the passed arguments
* \param destination the destination to compares with the current destination
* \return true if have same destination, else false (or empty) */
- bool haveSameDestination(const QString &destination);
+ bool haveSameDestination(const std::string &destination);
//external soft like file browser have send copy/move list to do
/** \brief send copy without destination, ask the destination
* \param sources the sources list to copy
* \return true if the copy have been accepted */
- bool newCopy(const QStringList &sources);
+ bool newCopy(const std::vector<std::string> &sources);
/** \brief send copy with destination
* \param sources the sources list to copy
* \param destination the destination to copy
* \return true if the copy have been accepted */
- bool newCopy(const QStringList &sources,const QString &destination);
+ bool newCopy(const std::vector<std::string> &sources,const std::string &destination);
/** \brief send move without destination, ask the destination
* \param sources the sources list to move
* \return true if the move have been accepted */
- bool newMove(const QStringList &sources);
+ bool newMove(const std::vector<std::string> &sources);
/** \brief send move without destination, ask the destination
* \param sources the sources list to move
* \param destination the destination to move
* \return true if the move have been accepted */
- bool newMove(const QStringList &sources,const QString &destination);
+ bool newMove(const std::vector<std::string> &sources,const std::string &destination);
/** \brief send the new transfer list
* \param file the transfer list */
- void newTransferList(const QString &file);
+ void newTransferList(const std::string &file);
/** \brief to get byte read, use by Ultracopier for the speed calculation
* real size transfered to right speed calculation */
- quint64 realByteTransfered();
+ uint64_t realByteTransfered();
/** \brief support speed limitation */
bool supportSpeedLimitation() const;
@@ -233,16 +234,16 @@ public:
void set_osBuffer(bool osBuffer);
void set_osBufferLimited(bool osBufferLimited);
void set_osBufferLimit(unsigned int osBufferLimit);
- void set_setFilters(QStringList includeStrings,QStringList includeOptions,QStringList excludeStrings,QStringList excludeOptions);
- void setRenamingRules(QString firstRenamingRule,QString otherRenamingRule);
+ void set_setFilters(std::vector<std::string> includeStrings,std::vector<std::string> includeOptions,std::vector<std::string> excludeStrings,std::vector<std::string> excludeOptions);
+ void setRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule);
#ifdef ULTRACOPIER_PLUGIN_RSYNC
void setRsync(const bool rsync);
#endif
void setCheckDiskSpace(const bool &checkDiskSpace);
- void setDefaultDestinationFolder(const QString &defaultDestinationFolder);
+ void setDefaultDestinationFolder(const std::string &defaultDestinationFolder);
void setCopyListOrder(const bool &order);
void defaultDestinationFolderBrowse();
- QString askDestination();
+ std::string askDestination();
public slots:
//user ask ask to add folder (add it with interface ask source/destination)
/** \brief add folder called on the interface
@@ -258,25 +259,25 @@ public slots:
void resume();
/** \brief skip one transfer entry
* \param id id of the file to remove */
- void skip(const quint64 &id);
+ void skip(const uint64_t &id);
/// \brief cancel all the transfer
void cancel();
//edit the transfer list
/** \brief remove the selected item
* \param ids ids is the id list of the selected items */
- void removeItems(const QList<int> &ids);
+ void removeItems(const std::vector<uint64_t> &ids);
/** \brief move on top of the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsOnTop(const QList<int> &ids);
+ void moveItemsOnTop(const std::vector<uint64_t> &ids);
/** \brief move up the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsUp(const QList<int> &ids);
+ void moveItemsUp(const std::vector<uint64_t> &ids);
/** \brief move down the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsDown(const QList<int> &ids);
+ void moveItemsDown(const std::vector<uint64_t> &ids);
/** \brief move on bottom of the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsOnBottom(const QList<int> &ids);
+ void moveItemsOnBottom(const std::vector<uint64_t> &ids);
/** \brief give the forced mode, to export/import transfer list */
void forceMode(const Ultracopier::CopyMode &mode);
@@ -287,7 +288,7 @@ public slots:
/** \brief to set the speed limitation
* -1 if not able, 0 if disabled */
- bool setSpeedLimitation(const qint64 &speedLimitation);
+ bool setSpeedLimitation(const int64_t &speedLimitation);
// specific to this copy engine
@@ -325,25 +326,25 @@ public slots:
private slots:
void setComboBoxFolderCollision(FolderExistsAction action,bool changeComboBox=true);
void setComboBoxFolderError(FileErrorAction action,bool changeComboBox=true);
- void warningTransferList(const QString &warning);
- void errorTransferList(const QString &error);
+ void warningTransferList(const std::string &warning);
+ void errorTransferList(const std::string &error);
signals:
//action on the copy
void signal_pause() const;
void signal_resume() const;
- void signal_skip(const quint64 &id) const;
+ void signal_skip(const uint64_t &id) const;
//edit the transfer list
- void signal_removeItems(const QList<int> &ids) const;
- void signal_moveItemsOnTop(const QList<int> &ids) const;
- void signal_moveItemsUp(const QList<int> &ids) const;
- void signal_moveItemsDown(const QList<int> &ids) const;
- void signal_moveItemsOnBottom(const QList<int> &ids) const;
+ void signal_removeItems(const std::vector<uint64_t> &ids) const;
+ void signal_moveItemsOnTop(const std::vector<uint64_t> &ids) const;
+ void signal_moveItemsUp(const std::vector<uint64_t> &ids) const;
+ void signal_moveItemsDown(const std::vector<uint64_t> &ids) const;
+ void signal_moveItemsOnBottom(const std::vector<uint64_t> &ids) const;
void signal_forceMode(const Ultracopier::CopyMode &mode) const;
- void signal_exportTransferList(const QString &fileName) const;
- void signal_importTransferList(const QString &fileName) const;
- void signal_exportErrorIntoTransferList(const QString &fileName) const;
+ void signal_exportTransferList(const std::string &fileName) const;
+ void signal_importTransferList(const std::string &fileName) const;
+ void signal_exportErrorIntoTransferList(const std::string &fileName) const;
//action
void signal_setTransferAlgorithm(TransferAlgorithm transferAlgorithm) const;
@@ -353,21 +354,21 @@ signals:
//internal cancel
void tryCancel() const;
- void getNeedPutAtBottom(const QFileInfo &fileInfo,const QString &errorString,TransferThread * thread,const ErrorType &errorType) const;
+ void getNeedPutAtBottom(const QFileInfo &fileInfo,const std::string &errorString,TransferThread * thread,const ErrorType &errorType) const;
#ifdef ULTRACOPIER_PLUGIN_DEBUG
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,QString fonction,QString text,QString file,int ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const;
#endif
//other signals
void queryOneNewDialog() const;
- void send_speedLimitation(const qint64 &speedLimitation) const;
+ void send_speedLimitation(const uint64_t &speedLimitation) const;
void send_blockSize(const int &blockSize) const;
void send_osBufferLimit(const unsigned int &osBufferLimit) const;
- void send_setFilters(const QList<Filters_rules> &include,const QList<Filters_rules> &exclude) const;
- void send_sendNewRenamingRules(QString firstRenamingRule,QString otherRenamingRule) const;
+ void send_setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude) const;
+ void send_sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule) const;
void send_parallelBuffer(const int &parallelBuffer) const;
void send_sequentialBuffer(const int &sequentialBuffer) const;
void send_parallelizeIfSmallerThan(const int &parallelizeIfSmallerThan) const;
diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine.pro b/plugins/CopyEngine/Ultracopier/CopyEngine.pro
index 42078af..112e999 100644
--- a/plugins/CopyEngine/Ultracopier/CopyEngine.pro
+++ b/plugins/CopyEngine/Ultracopier/CopyEngine.pro
@@ -2,7 +2,7 @@ CONFIG += c++11
QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
-QT += widgets
+QT += widgets xml
DEFINES += UNICODE _UNICODE
TEMPLATE = lib
CONFIG += plugin
@@ -11,91 +11,96 @@ win32 {
}
HEADERS = \
- ../Ultracopier/StructEnumDefinition.h \
- ../Ultracopier/StructEnumDefinition_CopyEngine.h \
- ../Ultracopier/DebugEngineMacro.h \
- ../Ultracopier/Variable.h \
- ../Ultracopier/TransferThread.h \
- ../Ultracopier/ReadThread.h \
- ../Ultracopier/WriteThread.h \
- ../Ultracopier/MkPath.h \
- ../Ultracopier/AvancedQFile.h \
- ../Ultracopier/ListThread.h \
- ../../../interface/PluginInterface_CopyEngine.h \
- ../../../interface/OptionInterface.h \
- ../../../interface/FacilityInterface.h \
- ../Ultracopier/Filters.h \
- ../Ultracopier/FilterRules.h \
- ../Ultracopier/RenamingRules.h \
- ../Ultracopier/DriveManagement.h \
- ../Ultracopier/CopyEngine.h \
- ../Ultracopier/DebugDialog.h \
- ../Ultracopier/CopyEngineFactory.h \
- ../Ultracopier/FileErrorDialog.h \
- ../Ultracopier/FileExistsDialog.h \
- ../Ultracopier/FileIsSameDialog.h \
- ../Ultracopier/FolderExistsDialog.h \
- ../Ultracopier/ScanFileOrFolder.h \
- ../Ultracopier/DiskSpace.h
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/StructEnumDefinition_CopyEngine.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/Variable.h \
+ $$PWD/TransferThread.h \
+ $$PWD/ReadThread.h \
+ $$PWD/WriteThread.h \
+ $$PWD/MkPath.h \
+ $$PWD/AvancedQFile.h \
+ $$PWD/ListThread.h \
+ $$PWD/../../../interface/PluginInterface_CopyEngine.h \
+ $$PWD/../../../interface/OptionInterface.h \
+ $$PWD/../../../interface/FacilityInterface.h \
+ $$PWD/../../../cpp11addition.h \
+ $$PWD/Filters.h \
+ $$PWD/FilterRules.h \
+ $$PWD/RenamingRules.h \
+ $$PWD/DriveManagement.h \
+ $$PWD/CopyEngine.h \
+ $$PWD/DebugDialog.h \
+ $$PWD/CopyEngineFactory.h \
+ $$PWD/FileErrorDialog.h \
+ $$PWD/FileExistsDialog.h \
+ $$PWD/FileIsSameDialog.h \
+ $$PWD/FolderExistsDialog.h \
+ $$PWD/ScanFileOrFolder.h \
+ $$PWD/DiskSpace.h
SOURCES = \
- ../Ultracopier/TransferThread.cpp \
- ../Ultracopier/ReadThread.cpp \
- ../Ultracopier/WriteThread.cpp \
- ../Ultracopier/MkPath.cpp \
- ../Ultracopier/AvancedQFile.cpp \
- ../Ultracopier/ListThread.cpp \
- ../Ultracopier/Filters.cpp \
- ../Ultracopier/FilterRules.cpp \
- ../Ultracopier/RenamingRules.cpp \
- ../Ultracopier/ListThread_InodeAction.cpp \
- ../Ultracopier/DriveManagement.cpp \
- ../Ultracopier/CopyEngine-collision-and-error.cpp \
- ../Ultracopier/CopyEngine.cpp \
- ../Ultracopier/DebugDialog.cpp \
- ../Ultracopier/CopyEngineFactory.cpp \
- ../Ultracopier/FileErrorDialog.cpp \
- ../Ultracopier/FileExistsDialog.cpp \
- ../Ultracopier/FileIsSameDialog.cpp \
- ../Ultracopier/FolderExistsDialog.cpp \
- ../Ultracopier/ScanFileOrFolder.cpp \
- ../Ultracopier/DiskSpace.cpp
+ $$PWD/TransferThread.cpp \
+ $$PWD/ReadThread.cpp \
+ $$PWD/WriteThread.cpp \
+ $$PWD/MkPath.cpp \
+ $$PWD/AvancedQFile.cpp \
+ $$PWD/ListThread.cpp \
+ $$PWD/../../../cpp11addition.cpp \
+ $$PWD/../../../cpp11additionstringtointcpp.cpp \
+ $$PWD/Filters.cpp \
+ $$PWD/FilterRules.cpp \
+ $$PWD/RenamingRules.cpp \
+ $$PWD/ListThread_InodeAction.cpp \
+ $$PWD/DriveManagement.cpp \
+ $$PWD/CopyEngine-collision-and-error.cpp \
+ $$PWD/CopyEngine.cpp \
+ $$PWD/DebugDialog.cpp \
+ $$PWD/CopyEngineFactory.cpp \
+ $$PWD/FileErrorDialog.cpp \
+ $$PWD/FileExistsDialog.cpp \
+ $$PWD/FileIsSameDialog.cpp \
+ $$PWD/FolderExistsDialog.cpp \
+ $$PWD/ScanFileOrFolder.cpp \
+ $$PWD/DiskSpace.cpp
TARGET = $$qtLibraryTarget(copyEngine)
-TRANSLATIONS += ../Ultracopier/Languages/ar/translation.ts \
- ../Ultracopier/Languages/de/translation.ts \
- ../Ultracopier/Languages/el/translation.ts \
- ../Ultracopier/Languages/en/translation.ts \
- ../Ultracopier/Languages/es/translation.ts \
- ../Ultracopier/Languages/fr/translation.ts \
- ../Ultracopier/Languages/hi/translation.ts \
- ../Ultracopier/Languages/hu/translation.ts \
- ../Ultracopier/Languages/id/translation.ts \
- ../Ultracopier/Languages/it/translation.ts \
- ../Ultracopier/Languages/ja/translation.ts \
- ../Ultracopier/Languages/ko/translation.ts \
- ../Ultracopier/Languages/nl/translation.ts \
- ../Ultracopier/Languages/no/translation.ts \
- ../Ultracopier/Languages/pl/translation.ts \
- ../Ultracopier/Languages/pt/translation.ts \
- ../Ultracopier/Languages/ru/translation.ts \
- ../Ultracopier/Languages/th/translation.ts \
- ../Ultracopier/Languages/tr/translation.ts \
- ../Ultracopier/Languages/zh/translation.ts
+TRANSLATIONS += \
+ $$PWD/Languages/ar/translation.ts \
+ $$PWD/Languages/de/translation.ts \
+ $$PWD/Languages/el/translation.ts \
+ $$PWD/Languages/en/translation.ts \
+ $$PWD/Languages/es/translation.ts \
+ $$PWD/Languages/fr/translation.ts \
+ $$PWD/Languages/hi/translation.ts \
+ $$PWD/Languages/hu/translation.ts \
+ $$PWD/Languages/id/translation.ts \
+ $$PWD/Languages/it/translation.ts \
+ $$PWD/Languages/ja/translation.ts \
+ $$PWD/Languages/ko/translation.ts \
+ $$PWD/Languages/nl/translation.ts \
+ $$PWD/Languages/no/translation.ts \
+ $$PWD/Languages/pl/translation.ts \
+ $$PWD/Languages/pt/translation.ts \
+ $$PWD/Languages/ru/translation.ts \
+ $$PWD/Languages/th/translation.ts \
+ $$PWD/Languages/tr/translation.ts \
+ $$PWD/Languages/zh/translation.ts
FORMS += \
- ../Ultracopier/fileErrorDialog.ui \
- ../Ultracopier/fileExistsDialog.ui \
- ../Ultracopier/fileIsSameDialog.ui \
- ../Ultracopier/debugDialog.ui \
- ../Ultracopier/folderExistsDialog.ui \
- ../Ultracopier/Filters.ui \
- ../Ultracopier/FilterRules.ui \
- ../Ultracopier/RenamingRules.ui \
- ../Ultracopier/copyEngineOptions.ui \
- ../Ultracopier/DiskSpace.ui
+ $$PWD/fileErrorDialog.ui \
+ $$PWD/fileExistsDialog.ui \
+ $$PWD/fileIsSameDialog.ui \
+ $$PWD/debugDialog.ui \
+ $$PWD/folderExistsDialog.ui \
+ $$PWD/Filters.ui \
+ $$PWD/FilterRules.ui \
+ $$PWD/RenamingRules.ui \
+ $$PWD/copyEngineOptions.ui \
+ $$PWD/DiskSpace.ui
-OTHER_FILES += informations.xml
+OTHER_FILES += \
+ $$PWD/informations.xml
!CONFIG(static) {
RESOURCES += \
- ../Ultracopier/copyEngineResources.qrc
+ $$PWD/copyEngineResources.qrc
}
diff --git a/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp
index d4d4bb6..6507ce2 100644
--- a/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp
+++ b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp
@@ -8,6 +8,7 @@
#include <cmath>
#include <QStorageInfo>
+#include "../../../cpp11addition.h"
#include "CopyEngineFactory.h"
// The cmath header from MSVC does not contain round()
@@ -32,6 +33,7 @@ CopyEngineFactory::CopyEngineFactory() :
qRegisterMetaType<QList<Diskspace> >("QList<Diskspace>");
qRegisterMetaType<QFileInfo>("QFileInfo");
qRegisterMetaType<Ultracopier::CopyMode>("Ultracopier::CopyMode");
+ qRegisterMetaType<std::vector<Filters_rules> >("std::vector<Filters_rules>");
tempWidget=new QWidget();
ui->setupUi(tempWidget);
@@ -138,14 +140,14 @@ PluginInterface_CopyEngine * CopyEngineFactory::getInstance()
realObject->setInodeThreads(ui->inodeThreads->value());
realObject->setRenameTheOriginalDestination(ui->renameTheOriginalDestination->isChecked());
realObject->setCheckDiskSpace(ui->checkDiskSpace->isChecked());
- realObject->setDefaultDestinationFolder(ui->defaultDestinationFolder->text());
+ realObject->setDefaultDestinationFolder(ui->defaultDestinationFolder->text().toStdString());
realObject->setCopyListOrder(ui->copyListOrder->isChecked());
return newTransferEngine;
}
-void CopyEngineFactory::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion)
+void CopyEngineFactory::setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, writePath: ")+writePath+QStringLiteral(", pluginPath:")+pluginPath);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, writePath: "+writePath+", pluginPath:"+pluginPath);
this->facilityEngine=facilityInterface;
Q_UNUSED(portableVersion);
#ifndef ULTRACOPIER_PLUGIN_DEBUG
@@ -157,23 +159,23 @@ void CopyEngineFactory::setResources(OptionInterface * options,const QString &wr
#endif
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,COMPILERINFO);
#if defined (ULTRACOPIER_PLUGIN_CHECKLISTTYPE)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("CHECK LIST TYPE set"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"CHECK LIST TYPE set");
#else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("CHECK LIST TYPE not set"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"CHECK LIST TYPE not set");
#endif
if(options!=NULL)
{
//load the options
- QList<QPair<QString, QVariant> > KeysList;
- KeysList.append(qMakePair(QStringLiteral("doRightTransfer"),QVariant(true)));
+ std::vector<std::pair<std::string, std::string> > KeysList;
+ KeysList.push_back(std::pair<std::string, std::string>("doRightTransfer","true"));
#ifndef Q_OS_LINUX
- KeysList.append(qMakePair(QStringLiteral("keepDate"),QVariant(false)));
+ KeysList.push_back(std::pair<std::string, std::string>("keepDate","false"));
#else
- KeysList.append(qMakePair(QStringLiteral("keepDate"),QVariant(true)));
+ KeysList.push_back(std::pair<std::string, std::string>("keepDate","true"));
#endif
- KeysList.append(qMakePair(QStringLiteral("blockSize"),QVariant(ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE)));
- quint32 sequentialBuffer=ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_SEQUENTIAL_NUMBER_OF_BLOCK;
- quint32 parallelBuffer=ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK;
+ KeysList.push_back(std::pair<std::string, std::string>("blockSize",std::to_string(ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE)));
+ uint32_t sequentialBuffer=ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_SEQUENTIAL_NUMBER_OF_BLOCK;
+ uint32_t parallelBuffer=ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK;
//to prevent swap and other bad effect, only under windows and unix for now
#if defined(Q_OS_WIN32) or (defined(Q_OS_LINUX) and defined(_SC_PHYS_PAGES))
size_t max_memory=getTotalSystemMemory()/1024;
@@ -184,95 +186,95 @@ void CopyEngineFactory::setResources(OptionInterface * options,const QString &wr
if(parallelBuffer>(max_memory/100))
parallelBuffer=max_memory/100;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("detected memory: %1MB").arg(max_memory/1024));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("detected memory: %1MB").arg(max_memory/1024).toStdString());
#endif
- KeysList.append(qMakePair(QStringLiteral("sequentialBuffer"),QVariant(sequentialBuffer)));
- KeysList.append(qMakePair(QStringLiteral("parallelBuffer"),QVariant(parallelBuffer)));
- KeysList.append(qMakePair(QStringLiteral("parallelizeIfSmallerThan"),QVariant(128)));//128KB, better for modern hardware: Multiple queue en linux, SSD, ...
- KeysList.append(qMakePair(QStringLiteral("autoStart"),QVariant(true)));
+ KeysList.push_back(std::pair<std::string, std::string>("sequentialBuffer",std::to_string(sequentialBuffer)));
+ KeysList.push_back(std::pair<std::string, std::string>("parallelBuffer",std::to_string(parallelBuffer)));
+ KeysList.push_back(std::pair<std::string, std::string>("parallelizeIfSmallerThan",std::to_string(128)));//128KB, better for modern hardware: Multiple queue en linux, SSD, ...
+ KeysList.push_back(std::pair<std::string, std::string>("autoStart","true"));
#ifdef ULTRACOPIER_PLUGIN_RSYNC
- KeysList.append(qMakePair(QStringLiteral("rsync"),QVariant(true)));
+ KeysList.push_back(std::pair<std::string, std::string>("rsync","true"));
#endif
- KeysList.append(qMakePair(QStringLiteral("folderError"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("folderCollision"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("fileError"),QVariant(2)));
- KeysList.append(qMakePair(QStringLiteral("fileCollision"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("transferAlgorithm"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("checkDestinationFolder"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("includeStrings"),QVariant(QStringList())));
- KeysList.append(qMakePair(QStringLiteral("includeOptions"),QVariant(QStringList())));
- KeysList.append(qMakePair(QStringLiteral("excludeStrings"),QVariant(QStringList())));
- KeysList.append(qMakePair(QStringLiteral("excludeOptions"),QVariant(QStringList())));
- KeysList.append(qMakePair(QStringLiteral("doChecksum"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("checksumIgnoreIfImpossible"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("checksumOnlyOnError"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("osBuffer"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("firstRenamingRule"),QVariant("")));
- KeysList.append(qMakePair(QStringLiteral("otherRenamingRule"),QVariant("")));
- KeysList.append(qMakePair(QStringLiteral("osBufferLimited"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("osBufferLimit"),QVariant(512)));
- KeysList.append(qMakePair(QStringLiteral("deletePartiallyTransferredFiles"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("moveTheWholeFolder"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("followTheStrictOrder"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("renameTheOriginalDestination"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("checkDiskSpace"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("defaultDestinationFolder"),QVariant(QString())));
- KeysList.append(qMakePair(QStringLiteral("inodeThreads"),QVariant(1)));
- KeysList.append(qMakePair(QStringLiteral("copyListOrder"),QVariant(false)));
+ KeysList.push_back(std::pair<std::string, std::string>("folderError",std::to_string(0)));
+ KeysList.push_back(std::pair<std::string, std::string>("folderCollision",std::to_string(0)));
+ KeysList.push_back(std::pair<std::string, std::string>("fileError",std::to_string(2)));
+ KeysList.push_back(std::pair<std::string, std::string>("fileCollision",std::to_string(0)));
+ KeysList.push_back(std::pair<std::string, std::string>("transferAlgorithm",std::to_string(0)));
+ KeysList.push_back(std::pair<std::string, std::string>("checkDestinationFolder","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("includeStrings",""));
+ KeysList.push_back(std::pair<std::string, std::string>("includeOptions",""));
+ KeysList.push_back(std::pair<std::string, std::string>("excludeStrings",""));
+ KeysList.push_back(std::pair<std::string, std::string>("excludeOptions",""));
+ KeysList.push_back(std::pair<std::string, std::string>("doChecksum","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("checksumIgnoreIfImpossible","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("checksumOnlyOnError","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("osBuffer","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("firstRenamingRule",""));
+ KeysList.push_back(std::pair<std::string, std::string>("otherRenamingRule",""));
+ KeysList.push_back(std::pair<std::string, std::string>("osBufferLimited","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("osBufferLimit",std::to_string(512)));
+ KeysList.push_back(std::pair<std::string, std::string>("deletePartiallyTransferredFiles","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("moveTheWholeFolder","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("followTheStrictOrder","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("renameTheOriginalDestination","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("checkDiskSpace","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("defaultDestinationFolder",""));
+ KeysList.push_back(std::pair<std::string, std::string>("inodeThreads",std::to_string(1)));
+ KeysList.push_back(std::pair<std::string, std::string>("copyListOrder","false"));
options->addOptionGroup(KeysList);
#if ! defined (Q_CC_GNU)
ui->keepDate->setEnabled(false);
ui->keepDate->setToolTip(QStringLiteral("Not supported with this compiler"));
#endif
- ui->doRightTransfer->setChecked(options->getOptionValue(QStringLiteral("doRightTransfer")).toBool());
- ui->keepDate->setChecked(options->getOptionValue(QStringLiteral("keepDate")).toBool());
- ui->blockSize->setValue(options->getOptionValue(QStringLiteral("blockSize")).toUInt());//keep before sequentialBuffer and parallelBuffer
- ui->autoStart->setChecked(options->getOptionValue(QStringLiteral("autoStart")).toBool());
+ ui->doRightTransfer->setChecked(stringtobool(options->getOptionValue("doRightTransfer")));
+ ui->keepDate->setChecked(stringtobool(options->getOptionValue("keepDate")));
+ ui->blockSize->setValue(stringtouint32(options->getOptionValue("blockSize")));//keep before sequentialBuffer and parallelBuffer
+ ui->autoStart->setChecked(stringtobool(options->getOptionValue("autoStart")));
#ifdef ULTRACOPIER_PLUGIN_RSYNC
- ui->rsync->setChecked(options->getOptionValue(QStringLiteral("rsync")).toBool());
+ ui->rsync->setChecked(stringtobool(options->getOptionValue("rsync")));
#else
ui->label_rsync->setVisible(false);
ui->rsync->setVisible(false);
#endif
- ui->comboBoxFolderError->setCurrentIndex(options->getOptionValue(QStringLiteral("folderError")).toUInt());
- ui->comboBoxFolderCollision->setCurrentIndex(options->getOptionValue(QStringLiteral("folderCollision")).toUInt());
- ui->comboBoxFileError->setCurrentIndex(options->getOptionValue(QStringLiteral("fileError")).toUInt());
- ui->comboBoxFileCollision->setCurrentIndex(options->getOptionValue(QStringLiteral("fileCollision")).toUInt());
- ui->transferAlgorithm->setCurrentIndex(options->getOptionValue(QStringLiteral("transferAlgorithm")).toUInt());
- ui->checkBoxDestinationFolderExists->setChecked(options->getOptionValue(QStringLiteral("checkDestinationFolder")).toBool());
- ui->parallelizeIfSmallerThan->setValue(options->getOptionValue(QStringLiteral("parallelizeIfSmallerThan")).toUInt());
- ui->sequentialBuffer->setValue(options->getOptionValue(QStringLiteral("sequentialBuffer")).toUInt());
- ui->parallelBuffer->setValue(options->getOptionValue(QStringLiteral("parallelBuffer")).toUInt());
+ ui->comboBoxFolderError->setCurrentIndex(stringtouint32(options->getOptionValue("folderError")));
+ ui->comboBoxFolderCollision->setCurrentIndex(stringtouint32(options->getOptionValue("folderCollision")));
+ ui->comboBoxFileError->setCurrentIndex(stringtouint32(options->getOptionValue("fileError")));
+ ui->comboBoxFileCollision->setCurrentIndex(stringtouint32(options->getOptionValue("fileCollision")));
+ ui->transferAlgorithm->setCurrentIndex(stringtouint32(options->getOptionValue("transferAlgorithm")));
+ ui->checkBoxDestinationFolderExists->setChecked(stringtobool(options->getOptionValue("checkDestinationFolder")));
+ ui->parallelizeIfSmallerThan->setValue(stringtouint32(options->getOptionValue("parallelizeIfSmallerThan")));
+ ui->sequentialBuffer->setValue(stringtouint32(options->getOptionValue("sequentialBuffer")));
+ ui->parallelBuffer->setValue(stringtouint32(options->getOptionValue("parallelBuffer")));
ui->sequentialBuffer->setSingleStep(ui->blockSize->value());
ui->parallelBuffer->setSingleStep(ui->blockSize->value());
- ui->deletePartiallyTransferredFiles->setChecked(options->getOptionValue(QStringLiteral("deletePartiallyTransferredFiles")).toBool());
- ui->moveTheWholeFolder->setChecked(options->getOptionValue(QStringLiteral("moveTheWholeFolder")).toBool());
- ui->followTheStrictOrder->setChecked(options->getOptionValue(QStringLiteral("followTheStrictOrder")).toBool());
- ui->inodeThreads->setValue(options->getOptionValue(QStringLiteral("inodeThreads")).toUInt());
- ui->renameTheOriginalDestination->setChecked(options->getOptionValue(QStringLiteral("renameTheOriginalDestination")).toBool());
- ui->checkDiskSpace->setChecked(options->getOptionValue(QStringLiteral("checkDiskSpace")).toBool());
- ui->defaultDestinationFolder->setText(options->getOptionValue(QStringLiteral("defaultDestinationFolder")).toString());
-
- ui->doChecksum->setChecked(options->getOptionValue(QStringLiteral("doChecksum")).toBool());
- ui->checksumIgnoreIfImpossible->setChecked(options->getOptionValue(QStringLiteral("checksumIgnoreIfImpossible")).toBool());
- ui->checksumOnlyOnError->setChecked(options->getOptionValue(QStringLiteral("checksumOnlyOnError")).toBool());
-
- ui->osBuffer->setChecked(options->getOptionValue(QStringLiteral("osBuffer")).toBool());
- ui->osBufferLimited->setChecked(options->getOptionValue(QStringLiteral("osBufferLimited")).toBool());
- ui->osBufferLimit->setValue(options->getOptionValue(QStringLiteral("osBufferLimit")).toUInt());
- //ui->autoStart->setChecked(options->getOptionValue(QStringLiteral("autoStart")).toBool());//moved from options(), wrong previous place
- includeStrings=options->getOptionValue(QStringLiteral("includeStrings")).toStringList();
- includeOptions=options->getOptionValue(QStringLiteral("includeOptions")).toStringList();
- excludeStrings=options->getOptionValue(QStringLiteral("excludeStrings")).toStringList();
- excludeOptions=options->getOptionValue(QStringLiteral("excludeOptions")).toStringList();
+ ui->deletePartiallyTransferredFiles->setChecked(stringtobool(options->getOptionValue("deletePartiallyTransferredFiles")));
+ ui->moveTheWholeFolder->setChecked(stringtobool(options->getOptionValue("moveTheWholeFolder")));
+ ui->followTheStrictOrder->setChecked(stringtobool(options->getOptionValue("followTheStrictOrder")));
+ ui->inodeThreads->setValue(stringtouint32(options->getOptionValue("inodeThreads")));
+ ui->renameTheOriginalDestination->setChecked(stringtobool(options->getOptionValue("renameTheOriginalDestination")));
+ ui->checkDiskSpace->setChecked(stringtobool(options->getOptionValue("checkDiskSpace")));
+ ui->defaultDestinationFolder->setText(QString::fromStdString(options->getOptionValue("defaultDestinationFolder")));
+
+ ui->doChecksum->setChecked(stringtobool(options->getOptionValue("doChecksum")));
+ ui->checksumIgnoreIfImpossible->setChecked(stringtobool(options->getOptionValue("checksumIgnoreIfImpossible")));
+ ui->checksumOnlyOnError->setChecked(stringtobool(options->getOptionValue("checksumOnlyOnError")));
+
+ ui->osBuffer->setChecked(stringtobool(options->getOptionValue("osBuffer")));
+ ui->osBufferLimited->setChecked(stringtobool(options->getOptionValue("osBufferLimited")));
+ ui->osBufferLimit->setValue(stringtouint32(options->getOptionValue("osBufferLimit")));
+ //ui->autoStart->setChecked(options->getOptionValue("autoStart").toBool());//moved from options(), wrong previous place
+ includeStrings=stringtostringlist(options->getOptionValue("includeStrings"));
+ includeOptions=stringtostringlist(options->getOptionValue("includeOptions"));
+ excludeStrings=stringtostringlist(options->getOptionValue("excludeStrings"));
+ excludeOptions=stringtostringlist(options->getOptionValue("excludeOptions"));
filters->setFilters(includeStrings,includeOptions,excludeStrings,excludeOptions);
- firstRenamingRule=options->getOptionValue(QStringLiteral("firstRenamingRule")).toString();
- otherRenamingRule=options->getOptionValue(QStringLiteral("otherRenamingRule")).toString();
+ firstRenamingRule=options->getOptionValue("firstRenamingRule");
+ otherRenamingRule=options->getOptionValue("otherRenamingRule");
renamingRules->setRenamingRules(firstRenamingRule,otherRenamingRule);
ui->checksumOnlyOnError->setEnabled(ui->doChecksum->isChecked());
ui->checksumIgnoreIfImpossible->setEnabled(ui->doChecksum->isChecked());
- ui->copyListOrder->setChecked(options->getOptionValue(QStringLiteral("copyListOrder")).toBool());
+ ui->copyListOrder->setChecked(stringtobool(options->getOptionValue("copyListOrder")));
updateBufferCheckbox();
optionsEngine=options;
@@ -281,14 +283,18 @@ void CopyEngineFactory::setResources(OptionInterface * options,const QString &wr
}
}
-QStringList CopyEngineFactory::supportedProtocolsForTheSource() const
+std::vector<std::string> CopyEngineFactory::supportedProtocolsForTheSource() const
{
- return QStringList() << QStringLiteral("file");
+ std::vector<std::string> l;
+ l.push_back("file");
+ return l;
}
-QStringList CopyEngineFactory::supportedProtocolsForTheDestination() const
+std::vector<std::string> CopyEngineFactory::supportedProtocolsForTheDestination() const
{
- return QStringList() << QStringLiteral("file");
+ std::vector<std::string> l;
+ l.push_back("file");
+ return l;
}
Ultracopier::CopyType CopyEngineFactory::getCopyType()
@@ -319,21 +325,21 @@ void CopyEngineFactory::setDoRightTransfer(bool doRightTransfer)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("doRightTransfer"),doRightTransfer);
+ optionsEngine->setOptionValue("doRightTransfer",booltostring(doRightTransfer));
}
void CopyEngineFactory::setKeepDate(bool keepDate)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("keepDate"),keepDate);
+ optionsEngine->setOptionValue("keepDate",booltostring(keepDate));
}
void CopyEngineFactory::setBlockSize(int blockSize)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("blockSize"),blockSize);
+ optionsEngine->setOptionValue("blockSize",std::to_string(blockSize));
updatedBlockSize();
}
@@ -344,7 +350,7 @@ void CopyEngineFactory::setParallelBuffer(int parallelBuffer)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
parallelBuffer=round((float)parallelBuffer/(float)ui->blockSize->value())*ui->blockSize->value();
ui->parallelBuffer->setValue(parallelBuffer);
- optionsEngine->setOptionValue(QStringLiteral("parallelBuffer"),parallelBuffer);
+ optionsEngine->setOptionValue("parallelBuffer",std::to_string(parallelBuffer));
}
}
@@ -352,10 +358,10 @@ void CopyEngineFactory::setSequentialBuffer(int sequentialBuffer)
{
if(optionsEngine!=NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("the value have changed"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
sequentialBuffer=round((float)sequentialBuffer/(float)ui->blockSize->value())*ui->blockSize->value();
ui->sequentialBuffer->setValue(sequentialBuffer);
- optionsEngine->setOptionValue(QStringLiteral("sequentialBuffer"),sequentialBuffer);
+ optionsEngine->setOptionValue("sequentialBuffer",std::to_string(sequentialBuffer));
}
}
@@ -364,7 +370,7 @@ void CopyEngineFactory::setParallelizeIfSmallerThan(int parallelizeIfSmallerThan
if(optionsEngine!=NULL)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
- optionsEngine->setOptionValue(QStringLiteral("parallelizeIfSmallerThan"),parallelizeIfSmallerThan);
+ optionsEngine->setOptionValue("parallelizeIfSmallerThan",std::to_string(parallelizeIfSmallerThan));
}
}
@@ -372,35 +378,35 @@ void CopyEngineFactory::setAutoStart(bool autoStart)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("autoStart"),autoStart);
+ optionsEngine->setOptionValue("autoStart",booltostring(autoStart));
}
void CopyEngineFactory::setFolderCollision(int index)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("folderCollision"),index);
+ optionsEngine->setOptionValue("folderCollision",std::to_string(index));
}
void CopyEngineFactory::setFolderError(int index)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("folderError"),index);
+ optionsEngine->setOptionValue("folderError",std::to_string(index));
}
void CopyEngineFactory::setTransferAlgorithm(int index)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("transferAlgorithm"),index);
+ optionsEngine->setOptionValue("transferAlgorithm",std::to_string(index));
}
void CopyEngineFactory::setCheckDestinationFolder()
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("checkDestinationFolder"),ui->checkBoxDestinationFolderExists->isChecked());
+ optionsEngine->setOptionValue("checkDestinationFolder",booltostring(ui->checkBoxDestinationFolderExists->isChecked()));
}
void CopyEngineFactory::newLanguageLoaded()
@@ -445,21 +451,21 @@ void CopyEngineFactory::doChecksum_toggled(bool doChecksum)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("doChecksum"),doChecksum);
+ optionsEngine->setOptionValue("doChecksum",booltostring(doChecksum));
}
void CopyEngineFactory::checksumOnlyOnError_toggled(bool checksumOnlyOnError)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("checksumOnlyOnError"),checksumOnlyOnError);
+ optionsEngine->setOptionValue("checksumOnlyOnError",booltostring(checksumOnlyOnError));
}
void CopyEngineFactory::osBuffer_toggled(bool osBuffer)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("osBuffer"),osBuffer);
+ optionsEngine->setOptionValue("osBuffer",booltostring(osBuffer));
ui->osBufferLimit->setEnabled(ui->osBuffer->isChecked() && ui->osBufferLimited->isChecked());
}
@@ -467,7 +473,7 @@ void CopyEngineFactory::osBufferLimited_toggled(bool osBufferLimited)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("osBufferLimited"),osBufferLimited);
+ optionsEngine->setOptionValue("osBufferLimited",booltostring(osBufferLimited));
ui->osBufferLimit->setEnabled(ui->osBuffer->isChecked() && ui->osBufferLimited->isChecked());
}
@@ -475,7 +481,7 @@ void CopyEngineFactory::osBufferLimit_editingFinished()
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the spinbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("osBufferLimit"),ui->osBufferLimit->value());
+ optionsEngine->setOptionValue("osBufferLimit",std::to_string(ui->osBufferLimit->value()));
}
void CopyEngineFactory::showFilterDialog()
@@ -489,31 +495,31 @@ void CopyEngineFactory::showFilterDialog()
filters->exec();
}
-void CopyEngineFactory::sendNewFilters(const QStringList &includeStrings,const QStringList &includeOptions,const QStringList &excludeStrings,const QStringList &excludeOptions)
+void CopyEngineFactory::sendNewFilters(const std::vector<std::string> &includeStrings,const std::vector<std::string> &includeOptions,const std::vector<std::string> &excludeStrings,const std::vector<std::string> &excludeOptions)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("new filter"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"new filter");
this->includeStrings=includeStrings;
this->includeOptions=includeOptions;
this->excludeStrings=excludeStrings;
this->excludeOptions=excludeOptions;
if(optionsEngine!=NULL)
{
- optionsEngine->setOptionValue(QStringLiteral("includeStrings"),includeStrings);
- optionsEngine->setOptionValue(QStringLiteral("includeOptions"),includeOptions);
- optionsEngine->setOptionValue(QStringLiteral("excludeStrings"),excludeStrings);
- optionsEngine->setOptionValue(QStringLiteral("excludeOptions"),excludeOptions);
+ optionsEngine->setOptionValue("includeStrings",stringlisttostring(includeStrings));
+ optionsEngine->setOptionValue("includeOptions",stringlisttostring(includeOptions));
+ optionsEngine->setOptionValue("excludeStrings",stringlisttostring(excludeStrings));
+ optionsEngine->setOptionValue("excludeOptions",stringlisttostring(excludeOptions));
}
}
-void CopyEngineFactory::sendNewRenamingRules(const QString &firstRenamingRule,const QString &otherRenamingRule)
+void CopyEngineFactory::sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"new filter");
this->firstRenamingRule=firstRenamingRule;
this->otherRenamingRule=otherRenamingRule;
if(optionsEngine!=NULL)
{
- optionsEngine->setOptionValue(QStringLiteral("firstRenamingRule"),firstRenamingRule);
- optionsEngine->setOptionValue(QStringLiteral("otherRenamingRule"),otherRenamingRule);
+ optionsEngine->setOptionValue("firstRenamingRule",firstRenamingRule);
+ optionsEngine->setOptionValue("otherRenamingRule",otherRenamingRule);
}
}
@@ -538,12 +544,12 @@ void CopyEngineFactory::checksumIgnoreIfImpossible_toggled(bool checksumIgnoreIf
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("checksumIgnoreIfImpossible"),checksumIgnoreIfImpossible);
+ optionsEngine->setOptionValue("checksumIgnoreIfImpossible",booltostring(checksumIgnoreIfImpossible));
}
void CopyEngineFactory::setFileCollision(int index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("action index: %1").arg(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index));
if(optionsEngine==NULL)
return;
switch(index)
@@ -555,7 +561,7 @@ void CopyEngineFactory::setFileCollision(int index)
case 4:
case 5:
case 6:
- optionsEngine->setOptionValue(QStringLiteral("fileCollision"),index);
+ optionsEngine->setOptionValue("fileCollision",std::to_string(index));
break;
default:
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored");
@@ -565,7 +571,7 @@ void CopyEngineFactory::setFileCollision(int index)
void CopyEngineFactory::setFileError(int index)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("action index: %1").arg(index));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index));
if(optionsEngine==NULL)
return;
switch(index)
@@ -573,7 +579,7 @@ void CopyEngineFactory::setFileError(int index)
case 0:
case 1:
case 2:
- optionsEngine->setOptionValue(QStringLiteral("fileError"),index);
+ optionsEngine->setOptionValue("fileError",std::to_string(index));
break;
default:
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored");
@@ -597,26 +603,28 @@ void CopyEngineFactory::deletePartiallyTransferredFiles(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("deletePartiallyTransferredFiles"),checked);
+ optionsEngine->setOptionValue("deletePartiallyTransferredFiles",booltostring(checked));
}
void CopyEngineFactory::renameTheOriginalDestination(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("renameTheOriginalDestination"),checked);
+ optionsEngine->setOptionValue("renameTheOriginalDestination",booltostring(checked));
}
void CopyEngineFactory::checkDiskSpace(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("checkDiskSpace"),checked);
+ optionsEngine->setOptionValue("checkDiskSpace",booltostring(checked));
}
void CopyEngineFactory::defaultDestinationFolderBrowse()
{
- QString destination = QFileDialog::getExistingDirectory(ui->defaultDestinationFolder,facilityEngine->translateText(QStringLiteral("Select destination directory")),QStringLiteral(""),QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
+ QString destination = QFileDialog::getExistingDirectory(ui->defaultDestinationFolder,
+ QString::fromStdString(facilityEngine->translateText("Select destination directory")),
+ "",QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
if(destination.isEmpty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user");
@@ -625,35 +633,35 @@ void CopyEngineFactory::defaultDestinationFolderBrowse()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
ui->defaultDestinationFolder->setText(destination);
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("defaultDestinationFolder"),destination);
+ optionsEngine->setOptionValue("defaultDestinationFolder",destination.toStdString());
}
void CopyEngineFactory::defaultDestinationFolder()
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("defaultDestinationFolder"),ui->defaultDestinationFolder->text());
+ optionsEngine->setOptionValue("defaultDestinationFolder",ui->defaultDestinationFolder->text().toStdString());
}
void CopyEngineFactory::followTheStrictOrder(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("followTheStrictOrder"),checked);
+ optionsEngine->setOptionValue("followTheStrictOrder",booltostring(checked));
}
void CopyEngineFactory::moveTheWholeFolder(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("moveTheWholeFolder"),checked);
+ optionsEngine->setOptionValue("moveTheWholeFolder",booltostring(checked));
}
void CopyEngineFactory::on_inodeThreads_editingFinished()
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the spinbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("inodeThreads"),ui->inodeThreads->value());
+ optionsEngine->setOptionValue("inodeThreads",std::to_string(ui->inodeThreads->value()));
}
#ifdef Q_OS_WIN32
@@ -680,7 +688,7 @@ void CopyEngineFactory::setRsync(bool rsync)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue("rsync",rsync);
+ optionsEngine->setOptionValue("rsync",std::to_string(rsync));
}
#endif
@@ -688,5 +696,5 @@ void CopyEngineFactory::copyListOrder(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("copyListOrder"),checked);
+ optionsEngine->setOptionValue("copyListOrder",booltostring(checked));
}
diff --git a/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h
index 548588f..59c4208 100644
--- a/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h
+++ b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h
@@ -52,7 +52,7 @@ public:
/// \brief to return the instance of the copy engine
PluginInterface_CopyEngine * getInstance();
/// \brief set the resources, to store options, to have facilityInterface
- void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion);
+ void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion);
//get mode allowed
/// \brief define if can copy file, folder or both
Ultracopier::CopyType getCopyType();
@@ -61,9 +61,9 @@ public:
/// \brief define if can only copy, or copy and move
bool canDoOnlyCopy() const;
/// \brief to get the supported protocols for the source
- QStringList supportedProtocolsForTheSource() const;
+ std::vector<std::string> supportedProtocolsForTheSource() const;
/// \brief to get the supported protocols for the destination
- QStringList supportedProtocolsForTheDestination() const;
+ std::vector<std::string> supportedProtocolsForTheDestination() const;
/// \brief to get the options of the copy engine
QWidget * options();
@@ -77,8 +77,8 @@ private:
RenamingRules *renamingRules;
QStorageInfo storageInfo;
QTimer lunchInitFunction;
- QStringList includeStrings,includeOptions,excludeStrings,excludeOptions;
- QString firstRenamingRule,otherRenamingRule;
+ std::vector<std::string> includeStrings,includeOptions,excludeStrings,excludeOptions;
+ std::string firstRenamingRule,otherRenamingRule;
#if defined(Q_OS_WIN32) || (defined(Q_OS_LINUX) && defined(_SC_PHYS_PAGES))
static size_t getTotalSystemMemory();
@@ -100,14 +100,15 @@ private slots:
void setTransferAlgorithm(int index);
void setCheckDestinationFolder();
void showFilterDialog();
- void sendNewFilters(const QStringList &includeStrings,const QStringList &includeOptions,const QStringList &excludeStrings,const QStringList &excludeOptions);
+ void sendNewFilters(const std::vector<std::string> &includeStrings,const std::vector<std::string> &includeOptions,
+ const std::vector<std::string> &excludeStrings,const std::vector<std::string> &excludeOptions);
void doChecksum_toggled(bool);
void checksumOnlyOnError_toggled(bool);
void osBuffer_toggled(bool);
void osBufferLimited_toggled(bool);
void osBufferLimit_editingFinished();
void checksumIgnoreIfImpossible_toggled(bool);
- void sendNewRenamingRules(const QString &firstRenamingRule, const QString &otherRenamingRule);
+ void sendNewRenamingRules(const std::string &firstRenamingRule, const std::string &otherRenamingRule);
void showRenamingRules();
void updateBufferCheckbox();
void setFileCollision(int index);
diff --git a/plugins/CopyEngine/Ultracopier/DebugDialog.cpp b/plugins/CopyEngine/Ultracopier/DebugDialog.cpp
index a20f054..0b3fec4 100644
--- a/plugins/CopyEngine/Ultracopier/DebugDialog.cpp
+++ b/plugins/CopyEngine/Ultracopier/DebugDialog.cpp
@@ -19,10 +19,15 @@ DebugDialog::~DebugDialog()
delete ui;
}
-void DebugDialog::setTransferList(const QStringList &list)
+void DebugDialog::setTransferList(const std::vector<std::string> &list)
{
ui->tranferList->clear();
- ui->tranferList->addItems(list);
+ unsigned int index=0;
+ while(index<list.size())
+ {
+ ui->tranferList->addItem(QString::fromStdString(list.at(index)));
+ index++;
+ }
}
void DebugDialog::setActiveTransfer(const int &activeTransfer)
@@ -35,10 +40,15 @@ void DebugDialog::setInodeUsage(const int &inodeUsage)
ui->spinBoxNumberOfInode->setValue(inodeUsage);
}
-void DebugDialog::setTransferThreadList(const QStringList &list)
+void DebugDialog::setTransferThreadList(const std::vector<std::string> &list)
{
ui->transferThreadList->clear();
- ui->transferThreadList->addItems(list);
+ unsigned int index=0;
+ while(index<list.size())
+ {
+ ui->transferThreadList->addItem(QString::fromStdString(list.at(index)));
+ index++;
+ }
}
#endif
diff --git a/plugins/CopyEngine/Ultracopier/DebugDialog.h b/plugins/CopyEngine/Ultracopier/DebugDialog.h
index d2b1d6b..c84cfaa 100644
--- a/plugins/CopyEngine/Ultracopier/DebugDialog.h
+++ b/plugins/CopyEngine/Ultracopier/DebugDialog.h
@@ -23,9 +23,9 @@ public:
explicit DebugDialog(QWidget *parent = 0);
~DebugDialog();
/// \brief to set the transfer list, limited in result to not slow down the application
- void setTransferList(const QStringList &list);
+ void setTransferList(const std::vector<std::string> &list);
/// \brief show the transfer thread, it show be a thread pool in normal time
- void setTransferThreadList(const QStringList &list);
+ void setTransferThreadList(const std::vector<std::string> &list);
/// \brief show how many transfer is active
void setActiveTransfer(const int &activeTransfer);
/// \brief show many many inode is manipulated
diff --git a/plugins/CopyEngine/Ultracopier/DiskSpace.cpp b/plugins/CopyEngine/Ultracopier/DiskSpace.cpp
index 2b8fec7..e9b996d 100644
--- a/plugins/CopyEngine/Ultracopier/DiskSpace.cpp
+++ b/plugins/CopyEngine/Ultracopier/DiskSpace.cpp
@@ -2,7 +2,7 @@
#include "ui_DiskSpace.h"
#include "StructEnumDefinition_CopyEngine.h"
-DiskSpace::DiskSpace(FacilityInterface * facilityEngine,QList<Diskspace> list,QWidget *parent) :
+DiskSpace::DiskSpace(FacilityInterface * facilityEngine,std::vector<Diskspace> list,QWidget *parent) :
QDialog(parent),
ui(new Ui::DiskSpace)
{
@@ -21,9 +21,9 @@ DiskSpace::DiskSpace(FacilityInterface * facilityEngine,QList<Diskspace> list,QW
while(index<size)
{
drives+=tr("Drives %1 have %2 available but need %3")
- .arg(list.at(index).drive)
- .arg(facilityEngine->sizeToString(list.at(index).freeSpace))
- .arg(facilityEngine->sizeToString(list.at(index).requiredSpace));
+ .arg(QString::fromStdString(list.at(index).drive))
+ .arg(QString::fromStdString(facilityEngine->sizeToString(list.at(index).freeSpace)))
+ .arg(QString::fromStdString(facilityEngine->sizeToString(list.at(index).requiredSpace)));
drives+=QStringLiteral("<br />");
index++;
}
diff --git a/plugins/CopyEngine/Ultracopier/DiskSpace.h b/plugins/CopyEngine/Ultracopier/DiskSpace.h
index 7d52b52..5a923ab 100644
--- a/plugins/CopyEngine/Ultracopier/DiskSpace.h
+++ b/plugins/CopyEngine/Ultracopier/DiskSpace.h
@@ -2,6 +2,7 @@
#define DISKSPACE_H
#include <QDialog>
+#include <vector>
#include "../../../interface/PluginInterface_CopyEngine.h"
#include "StructEnumDefinition_CopyEngine.h"
@@ -14,7 +15,7 @@ class DiskSpace : public QDialog
Q_OBJECT
public:
- explicit DiskSpace(FacilityInterface * facilityEngine,QList<Diskspace> list,QWidget *parent = 0);
+ explicit DiskSpace(FacilityInterface * facilityEngine,std::vector<Diskspace> list,QWidget *parent = 0);
~DiskSpace();
bool getAction() const;
private slots:
diff --git a/plugins/CopyEngine/Ultracopier/DriveManagement.cpp b/plugins/CopyEngine/Ultracopier/DriveManagement.cpp
index 221b4e8..8deaf3c 100644
--- a/plugins/CopyEngine/Ultracopier/DriveManagement.cpp
+++ b/plugins/CopyEngine/Ultracopier/DriveManagement.cpp
@@ -4,75 +4,77 @@
#include <QFileInfoList>
#include <QStorageInfo>
+#include "../../../cpp11addition.h"
+
DriveManagement::DriveManagement()
{
tryUpdate();
#ifdef Q_OS_WIN32
- reg1=QRegularExpression(QStringLiteral("^(\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+"));
- reg2=QRegularExpression(QStringLiteral("^((\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+).*$"));
- reg3=QRegularExpression(QStringLiteral("^[a-zA-Z]:[\\\\/]"));
- reg4=QRegularExpression(QStringLiteral("^([a-zA-Z]:[\\\\/]).*$"));
+ reg1=std::regex("^(\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+");
+ reg2=std::regex("^((\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+).*$");
+ reg3=std::regex("^[a-zA-Z]:[\\\\/]");
+ reg4=std::regex("^([a-zA-Z]:[\\\\/]).*$");
#endif
/// \warn ULTRACOPIER_DEBUGCONSOLE() don't work here because the sinal slot is not connected!
}
//get drive of an file or folder
-QString DriveManagement::getDrive(const QString &fileOrFolder) const
+std::string DriveManagement::getDrive(const std::string &fileOrFolder) const
{
- const QString &inode=QDir::toNativeSeparators(fileOrFolder);
+ const std::string &inode=QDir::toNativeSeparators(QString::fromStdString(fileOrFolder)).toStdString();
int size=mountSysPoint.size();
for (int i = 0; i < size; ++i) {
- if(inode.startsWith(mountSysPoint.at(i)))
- return QDir::toNativeSeparators(mountSysPoint.at(i));
+ if(stringStartWith(inode,mountSysPoint.at(i)))
+ return QDir::toNativeSeparators(QString::fromStdString(mountSysPoint.at(i))).toStdString();
}
#ifdef Q_OS_WIN32
- if(fileOrFolder.contains(reg1))
+ if(std::regex_match(fileOrFolder,reg1))
{
- QString returnString=fileOrFolder;
- returnString.replace(reg2,QStringLiteral("\\1"));
+ std::string returnString=fileOrFolder;
+ std::regex_replace(returnString,reg2,"$1");
return returnString;
}
//due to lack of WMI support into mingw, the new drive event is never called, this is a workaround
- if(fileOrFolder.contains(reg3))
+ if(std::regex_match(fileOrFolder,reg3))
{
- QString returnString=fileOrFolder;
- returnString.replace(reg4,QStringLiteral("\\1"));
- return QDir::toNativeSeparators(returnString).toUpper();
+ std::string returnString=fileOrFolder;
+ std::regex_replace(returnString,reg4,"$1");
+ return QDir::toNativeSeparators(QString::fromStdString(returnString)).toUpper().toStdString();
}
#endif
//if unable to locate the right mount point
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("unable to locate the right mount point for: %1, mount point: %2").arg(fileOrFolder).arg(mountSysPoint.join(";")));
- return QString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unable to locate the right mount point for: "+fileOrFolder+", mount point: "+stringimplode(mountSysPoint,";"));
+ return std::string();
}
-QByteArray DriveManagement::getDriveType(const QString &drive) const
+QByteArray DriveManagement::getDriveType(const std::string &drive) const
{
- int index=mountSysPoint.indexOf(drive);
+ int index=vectorindexOf(mountSysPoint,drive);
if(index!=-1)
return driveType.at(index);
return QByteArray();
}
-bool DriveManagement::isSameDrive(const QString &file1,const QString &file2) const
+bool DriveManagement::isSameDrive(const std::string &file1,const std::string &file2) const
{
if(mountSysPoint.size()==0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("no mount point found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"no mount point found");
return false;
}
- const QString &drive1=getDrive(file1);
- if(drive1.isEmpty())
+ const std::string &drive1=getDrive(file1);
+ if(drive1.empty())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("drive for the file1 not found: %1").arg(file1));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"drive for the file1 not found: "+file1);
return false;
}
- const QString &drive2=getDrive(file2);
- if(drive2.isEmpty())
+ const std::string &drive2=getDrive(file2);
+ if(drive2.empty())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("drive for the file2 not found: %1").arg(file2));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"drive for the file2 not found: "+file2);
return false;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("%1 is egal to %2?").arg(drive1).arg(drive2));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,drive1+" is egal to "+drive2);
if(drive1==drive2)
return true;
else
@@ -87,15 +89,15 @@ void DriveManagement::tryUpdate()
int index=0;
while(index<mountedVolumesList.size())
{
- mountSysPoint << QDir::toNativeSeparators(mountedVolumesList.at(index).rootPath());
+ mountSysPoint.push_back(QDir::toNativeSeparators(mountedVolumesList.at(index).rootPath()).toStdString());
#ifdef Q_OS_WIN32
- if(mountSysPoint.last()!="A:\\" && mountSysPoint.last()!="A:/" && mountSysPoint.last()!="A:" && mountSysPoint.last()!="A" &&
- mountSysPoint.last()!="a:\\" && mountSysPoint.last()!="a:/" && mountSysPoint.last()!="a:" && mountSysPoint.last()!="a")
- driveType << mountedVolumesList.at(index).fileSystemType();
+ if(mountSysPoint.back()!="A:\\" && mountSysPoint.back()!="A:/" && mountSysPoint.back()!="A:" && mountSysPoint.back()!="A" &&
+ mountSysPoint.back()!="a:\\" && mountSysPoint.back()!="a:/" && mountSysPoint.back()!="a:" && mountSysPoint.back()!="a")
+ driveType.push_back(mountedVolumesList.at(index).fileSystemType());
else
- driveType << QByteArray();
+ driveType.push_back(QByteArray());
#else
- driveType << mountedVolumesList.at(index).fileSystemType();
+ driveType.push_back(mountedVolumesList.at(index).fileSystemType());
#endif
index++;
}
diff --git a/plugins/CopyEngine/Ultracopier/DriveManagement.h b/plugins/CopyEngine/Ultracopier/DriveManagement.h
index 765a753..8013b7c 100644
--- a/plugins/CopyEngine/Ultracopier/DriveManagement.h
+++ b/plugins/CopyEngine/Ultracopier/DriveManagement.h
@@ -15,20 +15,20 @@ class DriveManagement : public QObject
Q_OBJECT
public:
explicit DriveManagement();
- bool isSameDrive(const QString &file1,const QString &file2) const;
+ bool isSameDrive(const std::string &file1, const std::string &file2) const;
/// \brief get drive of an file or folder
- QString getDrive(const QString &fileOrFolder) const;
- QByteArray getDriveType(const QString &drive) const;
+ std::string getDrive(const std::string &fileOrFolder) const;
+ QByteArray getDriveType(const std::string &drive) const;
void tryUpdate();
protected:
- QStringList mountSysPoint;
- QList<QByteArray> driveType;
+ std::vector<std::string> mountSysPoint;
+ std::vector<QByteArray> driveType;
#ifdef Q_OS_WIN32
- QRegularExpression reg1,reg2,reg3,reg4;
+ std::regex reg1,reg2,reg3,reg4;
#endif
signals:
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
};
#endif // DRIVEMANAGEMENT_H
diff --git a/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp b/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp
index 736cfeb..d88fb90 100644
--- a/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp
+++ b/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp
@@ -6,7 +6,7 @@
bool FileErrorDialog::isInAdmin=false;
-FileErrorDialog::FileErrorDialog(QWidget *parent, QFileInfo fileInfo, QString errorString, const ErrorType &errorType) :
+FileErrorDialog::FileErrorDialog(QWidget *parent, QFileInfo fileInfo, std::string errorString, const ErrorType &errorType) :
QDialog(parent),
ui(new Ui::fileErrorDialog)
{
@@ -19,10 +19,10 @@ FileErrorDialog::FileErrorDialog(QWidget *parent, QFileInfo fileInfo, QString er
ui->setupUi(this);
action=FileError_Cancel;
- ui->label_error->setText(errorString);
+ ui->label_error->setText(QString::fromStdString(errorString));
if(fileInfo.exists())
{
- ui->label_content_file_name->setText(TransferThread::resolvedName(fileInfo));
+ ui->label_content_file_name->setText(QString::fromStdString(TransferThread::resolvedName(fileInfo)));
if(ui->label_content_file_name->text().isEmpty())
{
ui->label_content_file_name->setText(fileInfo.absoluteFilePath());
@@ -63,7 +63,7 @@ FileErrorDialog::FileErrorDialog(QWidget *parent, QFileInfo fileInfo, QString er
}
else
{
- ui->label_content_file_name->setText(TransferThread::resolvedName(fileInfo));
+ ui->label_content_file_name->setText(QString::fromStdString(TransferThread::resolvedName(fileInfo)));
if(ui->label_content_file_name->text().isEmpty())
{
ui->label_content_file_name->setText(fileInfo.absoluteFilePath());
diff --git a/plugins/CopyEngine/Ultracopier/FileErrorDialog.h b/plugins/CopyEngine/Ultracopier/FileErrorDialog.h
index 09a481e..133a8b0 100644
--- a/plugins/CopyEngine/Ultracopier/FileErrorDialog.h
+++ b/plugins/CopyEngine/Ultracopier/FileErrorDialog.h
@@ -25,7 +25,7 @@ class FileErrorDialog : public QDialog
Q_OBJECT
public:
/// \brief create the object and pass all the informations to it
- explicit FileErrorDialog(QWidget *parent,QFileInfo fileInfo,QString errorString,const ErrorType &errorType);
+ explicit FileErrorDialog(QWidget *parent,QFileInfo fileInfo,std::string errorString,const ErrorType &errorType);
~FileErrorDialog();
/// \brief return the the always checkbox is checked
bool getAlways();
diff --git a/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp b/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp
index 0e3ca78..91df1f8 100644
--- a/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp
+++ b/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp
@@ -2,11 +2,17 @@
#include "ui_fileExistsDialog.h"
#include "TransferThread.h"
+#ifdef Q_OS_WIN32
+#define CURRENTSEPARATOR "\\"
+#else
+#define CURRENTSEPARATOR "/"
+#endif
+
#include <QRegularExpression>
#include <QFileInfo>
#include <QMessageBox>
-FileExistsDialog::FileExistsDialog(QWidget *parent,QFileInfo source,QFileInfo destination,QString firstRenamingRule,QString otherRenamingRule) :
+FileExistsDialog::FileExistsDialog(QWidget *parent, QFileInfo source, QFileInfo destination, std::string firstRenamingRule, std::string otherRenamingRule) :
QDialog(parent),
ui(new Ui::fileExistsDialog)
{
@@ -21,20 +27,20 @@ FileExistsDialog::FileExistsDialog(QWidget *parent,QFileInfo source,QFileInfo de
action=FileExists_Cancel;
destinationInfo=destination;
oldName=TransferThread::resolvedName(destination);
- ui->lineEditNewName->setText(oldName);
- ui->lineEditNewName->setPlaceholderText(oldName);
+ ui->lineEditNewName->setText(QString::fromStdString(oldName));
+ ui->lineEditNewName->setPlaceholderText(QString::fromStdString(oldName));
ui->Overwrite->addAction(ui->actionOverwrite_if_newer);
ui->Overwrite->addAction(ui->actionOverwrite_if_not_same_modification_date);
ui->label_content_source_size->setText(QString::number(source.size()));
ui->label_content_source_modified->setText(source.lastModified().toString());
- ui->label_content_source_file_name->setText(TransferThread::resolvedName(source));
+ ui->label_content_source_file_name->setText(QString::fromStdString(TransferThread::resolvedName(source)));
QString folder=source.absolutePath();
if(folder.size()>80)
folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38);
ui->label_content_source_folder->setText(folder);
ui->label_content_destination_size->setText(QString::number(destination.size()));
ui->label_content_destination_modified->setText(destination.lastModified().toString());
- ui->label_content_destination_file_name->setText(TransferThread::resolvedName(destination));
+ ui->label_content_destination_file_name->setText(QString::fromStdString(TransferThread::resolvedName(destination)));
folder=destination.absolutePath();
if(folder.size()>80)
folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38);
@@ -98,19 +104,19 @@ void FileExistsDialog::changeEvent(QEvent *e)
}
}
-QString FileExistsDialog::getNewName()
+std::string FileExistsDialog::getNewName()
{
- if(oldName==ui->lineEditNewName->text() || ui->checkBoxAlways->isChecked())
+ if(oldName==ui->lineEditNewName->text().toStdString() || ui->checkBoxAlways->isChecked())
return oldName;
else
- return ui->lineEditNewName->text();
+ return ui->lineEditNewName->text().toStdString();
}
void FileExistsDialog::on_SuggestNewName_clicked()
{
QFileInfo destinationInfo=this->destinationInfo;
QString absolutePath=destinationInfo.absolutePath();
- QString fileName=TransferThread::resolvedName(destinationInfo);
+ QString fileName=QString::fromStdString(TransferThread::resolvedName(destinationInfo));
QString suffix="";
QString destination;
QString newFileName;
@@ -127,26 +133,26 @@ void FileExistsDialog::on_SuggestNewName_clicked()
{
if(num==1)
{
- if(firstRenamingRule==QStringLiteral(""))
+ if(firstRenamingRule.empty())
newFileName=tr("%1 - copy").arg(fileName);
else
{
- newFileName=firstRenamingRule;
+ newFileName=QString::fromStdString(firstRenamingRule);
newFileName.replace("%name%",fileName);
}
}
else
{
- if(otherRenamingRule=="")
+ if(otherRenamingRule.empty())
newFileName=tr("%1 - copy (%2)").arg(fileName).arg(num);
else
{
- newFileName=otherRenamingRule;
+ newFileName=QString::fromStdString(otherRenamingRule);
newFileName.replace(QStringLiteral("%name%"),fileName);
newFileName.replace(QStringLiteral("%number%"),QString::number(num));
}
}
- destination=absolutePath+QDir::separator()+newFileName+suffix;
+ destination=absolutePath+CURRENTSEPARATOR+newFileName+suffix;
destinationInfo.setFile(destination);
num++;
}
@@ -202,7 +208,7 @@ bool FileExistsDialog::getAlways()
void FileExistsDialog::updateRenameButton()
{
- ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text() && !ui->lineEditNewName->text().isEmpty()));
+ ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text().toStdString() && !ui->lineEditNewName->text().isEmpty()));
}
void FileExistsDialog::on_checkBoxAlways_toggled(bool checked)
diff --git a/plugins/CopyEngine/Ultracopier/FileExistsDialog.h b/plugins/CopyEngine/Ultracopier/FileExistsDialog.h
index c637e3b..05ff7e0 100644
--- a/plugins/CopyEngine/Ultracopier/FileExistsDialog.h
+++ b/plugins/CopyEngine/Ultracopier/FileExistsDialog.h
@@ -24,14 +24,14 @@ class FileExistsDialog : public QDialog
Q_OBJECT
public:
/// \brief create the object and pass all the informations to it
- explicit FileExistsDialog(QWidget *parent,QFileInfo source,QFileInfo destination,QString firstRenamingRule,QString otherRenamingRule);
+ explicit FileExistsDialog(QWidget *parent,QFileInfo source,QFileInfo destination,std::string firstRenamingRule,std::string otherRenamingRule);
~FileExistsDialog();
/// \brief return the the always checkbox is checked
bool getAlways();
/// \brief return the action clicked
FileExistsAction getAction();
/// \brief return the new rename is case in manual renaming
- QString getNewName();
+ std::string getNewName();
protected:
void changeEvent(QEvent *e);
private slots:
@@ -51,10 +51,10 @@ private slots:
private:
Ui::fileExistsDialog *ui;
FileExistsAction action;
- QString oldName;
+ std::string oldName;
QFileInfo destinationInfo;
- QString firstRenamingRule;
- QString otherRenamingRule;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
};
#endif // FILEEXISTSDIALOG_H
diff --git a/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp
index 7f3d565..3bee3ae 100644
--- a/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp
+++ b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp
@@ -2,11 +2,17 @@
#include "ui_fileIsSameDialog.h"
#include "TransferThread.h"
+#ifdef Q_OS_WIN32
+#define CURRENTSEPARATOR "\\"
+#else
+#define CURRENTSEPARATOR "/"
+#endif
+
#include <QRegularExpression>
#include <QFileInfo>
#include <QMessageBox>
-FileIsSameDialog::FileIsSameDialog(QWidget *parent,QFileInfo fileInfo,QString firstRenamingRule,QString otherRenamingRule) :
+FileIsSameDialog::FileIsSameDialog(QWidget *parent, QFileInfo fileInfo, std::string firstRenamingRule, std::string otherRenamingRule) :
QDialog(parent),
ui(new Ui::fileIsSameDialog)
{
@@ -21,11 +27,11 @@ FileIsSameDialog::FileIsSameDialog(QWidget *parent,QFileInfo fileInfo,QString fi
action=FileExists_Cancel;
oldName=TransferThread::resolvedName(fileInfo);
destinationInfo=fileInfo;
- ui->lineEditNewName->setText(oldName);
- ui->lineEditNewName->setPlaceholderText(oldName);
+ ui->lineEditNewName->setText(QString::fromStdString(oldName));
+ ui->lineEditNewName->setPlaceholderText(QString::fromStdString(oldName));
ui->label_content_size->setText(QString::number(fileInfo.size()));
ui->label_content_modified->setText(fileInfo.lastModified().toString());
- ui->label_content_file_name->setText(TransferThread::resolvedName(fileInfo));
+ ui->label_content_file_name->setText(QString::fromStdString(TransferThread::resolvedName(fileInfo)));
QString folder=fileInfo.absolutePath();
if(folder.size()>80)
folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38);
@@ -72,19 +78,19 @@ void FileIsSameDialog::changeEvent(QEvent *e)
}
}
-QString FileIsSameDialog::getNewName()
+std::string FileIsSameDialog::getNewName()
{
- if(oldName==ui->lineEditNewName->text() || ui->checkBoxAlways->isChecked())
+ if(oldName==ui->lineEditNewName->text().toStdString() || ui->checkBoxAlways->isChecked())
return oldName;
else
- return ui->lineEditNewName->text();
+ return ui->lineEditNewName->text().toStdString();
}
void FileIsSameDialog::on_SuggestNewName_clicked()
{
QFileInfo destinationInfo=this->destinationInfo;
QString absolutePath=destinationInfo.absolutePath();
- QString fileName=TransferThread::resolvedName(destinationInfo);
+ QString fileName=QString::fromStdString(TransferThread::resolvedName(destinationInfo));
QString suffix="";
QString destination;
QString newFileName;
@@ -101,26 +107,26 @@ void FileIsSameDialog::on_SuggestNewName_clicked()
{
if(num==1)
{
- if(firstRenamingRule=="")
+ if(firstRenamingRule.empty())
newFileName=tr("%1 - copy").arg(fileName);
else
{
- newFileName=firstRenamingRule;
+ newFileName=QString::fromStdString(firstRenamingRule);
newFileName.replace(QStringLiteral("%name%"),fileName);
}
}
else
{
- if(otherRenamingRule=="")
+ if(otherRenamingRule.empty())
newFileName=tr("%1 - copy (%2)").arg(fileName).arg(num);
else
{
- newFileName=otherRenamingRule;
+ newFileName=QString::fromStdString(otherRenamingRule);
newFileName.replace(QStringLiteral("%name%"),fileName);
newFileName.replace(QStringLiteral("%number%"),QString::number(num));
}
}
- destination=absolutePath+QDir::separator()+newFileName+suffix;
+ destination=absolutePath+CURRENTSEPARATOR+newFileName+suffix;
destinationInfo.setFile(destination);
num++;
}
@@ -158,7 +164,7 @@ bool FileIsSameDialog::getAlways()
void FileIsSameDialog::updateRenameButton()
{
- ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text() && !ui->lineEditNewName->text().isEmpty()));
+ ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text().toStdString() && !ui->lineEditNewName->text().isEmpty()));
}
void FileIsSameDialog::on_lineEditNewName_textChanged(const QString &arg1)
diff --git a/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h
index c9be99c..5dc0067 100644
--- a/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h
+++ b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h
@@ -24,14 +24,14 @@ class FileIsSameDialog : public QDialog
Q_OBJECT
public:
/// \brief create the object and pass all the informations to it
- explicit FileIsSameDialog(QWidget *parent,QFileInfo fileInfo,QString firstRenamingRule,QString otherRenamingRule);
+ explicit FileIsSameDialog(QWidget *parent,QFileInfo fileInfo,std::string firstRenamingRule,std::string otherRenamingRule);
~FileIsSameDialog();
/// \brief return the the always checkbox is checked
bool getAlways();
/// \brief return the action clicked
FileExistsAction getAction();
/// \brief return the new rename is case in manual renaming
- QString getNewName();
+ std::string getNewName();
protected:
void changeEvent(QEvent *e);
private slots:
@@ -47,10 +47,10 @@ private slots:
private:
Ui::fileIsSameDialog *ui;
FileExistsAction action;
- QString oldName;
+ std::string oldName;
QFileInfo destinationInfo;
- QString firstRenamingRule;
- QString otherRenamingRule;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
};
diff --git a/plugins/CopyEngine/Ultracopier/FilterRules.cpp b/plugins/CopyEngine/Ultracopier/FilterRules.cpp
index 5d1827e..0f6bf2c 100644
--- a/plugins/CopyEngine/Ultracopier/FilterRules.cpp
+++ b/plugins/CopyEngine/Ultracopier/FilterRules.cpp
@@ -22,9 +22,9 @@ bool FilterRules::getIsValid()
return isValid && haveBeenValided;
}
-QString FilterRules::get_search_text()
+std::string FilterRules::get_search_text()
{
- return ui->search->text();
+ return ui->search->text().toStdString();
}
SearchType FilterRules::get_search_type()
@@ -60,9 +60,9 @@ bool FilterRules::get_need_match_all()
return ui->need_match_all->isChecked();
}
-void FilterRules::set_search_text(QString search_text)
+void FilterRules::set_search_text(std::string search_text)
{
- ui->search->setText(search_text);
+ ui->search->setText(QString::fromStdString(search_text));
}
void FilterRules::set_search_type(SearchType search_type)
@@ -102,7 +102,7 @@ void FilterRules::set_need_match_all(bool need_match_all)
ui->need_match_all->setChecked(need_match_all);
}
-void FilterRules::on_search_textChanged(const QString &arg1)
+void FilterRules::on_search_textChanged(const std::string &arg1)
{
Q_UNUSED(arg1);
updateChecking();
@@ -159,7 +159,7 @@ void FilterRules::on_isValid_clicked()
updateChecking();
}
-void FilterRules::on_testString_textChanged(const QString &arg1)
+void FilterRules::on_testString_textChanged(const std::string &arg1)
{
Q_UNUSED(arg1);
updateChecking();
diff --git a/plugins/CopyEngine/Ultracopier/FilterRules.h b/plugins/CopyEngine/Ultracopier/FilterRules.h
index f06f0cb..0838792 100644
--- a/plugins/CopyEngine/Ultracopier/FilterRules.h
+++ b/plugins/CopyEngine/Ultracopier/FilterRules.h
@@ -14,33 +14,33 @@ class FilterRules;
/** All the filter rules to include/exclude some file during the listing */
class FilterRules : public QDialog
{
- Q_OBJECT
-
+ Q_OBJECT
+
public:
- explicit FilterRules(QWidget *parent = 0);
- ~FilterRules();
- bool getIsValid();
- QString get_search_text();
- SearchType get_search_type();
- ApplyOn get_apply_on();
- bool get_need_match_all();
- void set_search_text(QString search_text);
- void set_search_type(SearchType search_type);
- void set_apply_on(ApplyOn apply_on);
- void set_need_match_all(bool need_match_all);
+ explicit FilterRules(QWidget *parent = 0);
+ ~FilterRules();
+ bool getIsValid();
+ std::string get_search_text();
+ SearchType get_search_type();
+ ApplyOn get_apply_on();
+ bool get_need_match_all();
+ void set_search_text(std::string search_text);
+ void set_search_type(SearchType search_type);
+ void set_apply_on(ApplyOn apply_on);
+ void set_need_match_all(bool need_match_all);
private slots:
- void on_search_textChanged(const QString &arg1);
- void on_isValid_clicked();
- void on_testString_textChanged(const QString &arg1);
- void on_matched_clicked();
- void on_search_type_currentIndexChanged(int index);
- void on_need_match_all_clicked();
- void on_buttonBox_clicked(QAbstractButton *button);
+ void on_search_textChanged(const std::string &arg1);
+ void on_isValid_clicked();
+ void on_testString_textChanged(const std::string &arg1);
+ void on_matched_clicked();
+ void on_search_type_currentIndexChanged(int index);
+ void on_need_match_all_clicked();
+ void on_buttonBox_clicked(QAbstractButton *button);
private:
- Ui::FilterRules *ui;
- void updateChecking();
- bool isValid;
- bool haveBeenValided;
+ Ui::FilterRules *ui;
+ void updateChecking();
+ bool isValid;
+ bool haveBeenValided;
};
#endif // FILTERRULES_H
diff --git a/plugins/CopyEngine/Ultracopier/Filters.cpp b/plugins/CopyEngine/Ultracopier/Filters.cpp
index 3bb81d1..c7b1526 100644
--- a/plugins/CopyEngine/Ultracopier/Filters.cpp
+++ b/plugins/CopyEngine/Ultracopier/Filters.cpp
@@ -1,5 +1,6 @@
#include "Filters.h"
#include "ui_Filters.h"
+#include "../../../cpp11addition.h"
#include <QRegularExpression>
@@ -15,35 +16,35 @@ Filters::~Filters()
delete ui;
}
-void Filters::setFilters(QStringList includeStrings,QStringList includeOptions,QStringList excludeStrings,QStringList excludeOptions)
+void Filters::setFilters(std::vector<std::string> includeStrings,std::vector<std::string> includeOptions,std::vector<std::string> excludeStrings,std::vector<std::string> excludeOptions)
{
if(includeStrings.size()!=includeOptions.size() || excludeStrings.size()!=excludeOptions.size())
return;
Filters_rules new_item;
include.clear();
- int index=0;
- while(index<includeStrings.size())
+ unsigned int index=0;
+ while(index<(unsigned int)includeStrings.size())
{
new_item.search_text=includeStrings.at(index);
- QStringList options=includeOptions.at(index).split(QStringLiteral(";"));
+ std::vector<std::string> options=stringsplit(includeOptions.at(index),';');
new_item.need_match_all=false;
new_item.search_type=SearchType_rawText;
new_item.apply_on=ApplyOn_fileAndFolder;
- if(options.contains(QStringLiteral("SearchType_simpleRegex")))
+ if(vectorcontainsAtLeastOne(options,std::string("SearchType_simpleRegex")))
new_item.search_type=SearchType_simpleRegex;
- if(options.contains(QStringLiteral("SearchType_perlRegex")))
+ if(vectorcontainsAtLeastOne(options,std::string("SearchType_perlRegex")))
new_item.search_type=SearchType_perlRegex;
- if(options.contains(QStringLiteral("ApplyOn_file")))
+ if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_file")))
new_item.apply_on=ApplyOn_file;
- if(options.contains(QStringLiteral("ApplyOn_folder")))
+ if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_folder")))
new_item.apply_on=ApplyOn_folder;
- if(options.contains(QStringLiteral("need_match_all")))
+ if(vectorcontainsAtLeastOne(options,std::string("need_match_all")))
new_item.need_match_all=true;
if(convertToRegex(new_item))
- include << new_item;
+ include.push_back(new_item);
index++;
}
@@ -53,24 +54,24 @@ void Filters::setFilters(QStringList includeStrings,QStringList includeOptions,Q
while(index<excludeStrings.size())
{
new_item.search_text=excludeStrings.at(index);
- QStringList options=excludeOptions.at(index).split(QStringLiteral(";"));
+ std::vector<std::string> options=stringsplit(excludeOptions.at(index),';');
new_item.need_match_all=false;
new_item.search_type=SearchType_rawText;
new_item.apply_on=ApplyOn_fileAndFolder;
- if(options.contains(QStringLiteral("SearchType_simpleRegex")))
+ if(vectorcontainsAtLeastOne(options,std::string("SearchType_simpleRegex")))
new_item.search_type=SearchType_simpleRegex;
- if(options.contains(QStringLiteral("SearchType_perlRegex")))
+ if(vectorcontainsAtLeastOne(options,std::string("SearchType_perlRegex")))
new_item.search_type=SearchType_perlRegex;
- if(options.contains(QStringLiteral("ApplyOn_file")))
+ if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_file")))
new_item.apply_on=ApplyOn_file;
- if(options.contains(QStringLiteral("ApplyOn_folder")))
+ if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_folder")))
new_item.apply_on=ApplyOn_folder;
- if(options.contains(QStringLiteral("need_match_all")))
+ if(vectorcontainsAtLeastOne(options,std::string("need_match_all")))
new_item.need_match_all=true;
if(convertToRegex(new_item))
- exclude << new_item;
+ exclude.push_back(new_item);
index++;
}
@@ -81,21 +82,21 @@ void Filters::setFilters(QStringList includeStrings,QStringList includeOptions,Q
void Filters::reShowAll()
{
ui->inclusion->clear();
- int index=0;
- while(index<include.size())
+ unsigned int index=0;
+ while(index<(unsigned int)include.size())
{
- QString entryShow=include.at(index).search_text+QStringLiteral(" (");
- QStringList optionsToShow;
+ std::string entryShow=include.at(index).search_text+" (";
+ std::vector<std::string> optionsToShow;
switch(include.at(index).search_type)
{
case SearchType_rawText:
- optionsToShow << tr("Raw text");
+ optionsToShow.push_back(tr("Raw text").toStdString());
break;
case SearchType_simpleRegex:
- optionsToShow << tr("Simplified regex");
+ optionsToShow.push_back(tr("Simplified regex").toStdString());
break;
case SearchType_perlRegex:
- optionsToShow << tr("Perl's regex");
+ optionsToShow.push_back(tr("Perl's regex").toStdString());
break;
default:
break;
@@ -103,37 +104,37 @@ void Filters::reShowAll()
switch(include.at(index).apply_on)
{
case ApplyOn_file:
- optionsToShow << tr("Only on file");
+ optionsToShow.push_back(tr("Only on file").toStdString());
break;
case ApplyOn_folder:
- optionsToShow << tr("Only on folder");
+ optionsToShow.push_back(tr("Only on folder").toStdString());
break;
default:
break;
}
if(include.at(index).need_match_all)
- optionsToShow << tr("Full match");
- entryShow+=optionsToShow.join(QStringLiteral(","));
+ optionsToShow.push_back(tr("Full match").toStdString());
+ entryShow+=stringimplode(optionsToShow,",");
entryShow+=")";
- ui->inclusion->addItem(new QListWidgetItem(entryShow));
+ ui->inclusion->addItem(new QListWidgetItem(QString::fromStdString(entryShow)));
index++;
}
ui->exclusion->clear();
index=0;
- while(index<exclude.size())
+ while(index<(unsigned int)exclude.size())
{
- QString entryShow=exclude.at(index).search_text+QStringLiteral(" (");
- QStringList optionsToShow;
+ std::string entryShow=exclude.at(index).search_text+" (";
+ std::vector<std::string> optionsToShow;
switch(exclude.at(index).search_type)
{
case SearchType_rawText:
- optionsToShow << tr("Raw text");
+ optionsToShow.push_back(tr("Raw text").toStdString());
break;
case SearchType_simpleRegex:
- optionsToShow << tr("Simplified regex");
+ optionsToShow.push_back(tr("Simplified regex").toStdString());
break;
case SearchType_perlRegex:
- optionsToShow << tr("Perl's regex");
+ optionsToShow.push_back(tr("Perl's regex").toStdString());
break;
default:
break;
@@ -141,29 +142,29 @@ void Filters::reShowAll()
switch(exclude.at(index).apply_on)
{
case ApplyOn_file:
- optionsToShow << tr("Only on file");
+ optionsToShow.push_back(tr("Only on file").toStdString());
break;
case ApplyOn_folder:
- optionsToShow << tr("Only on folder");
+ optionsToShow.push_back(tr("Only on folder").toStdString());
break;
default:
break;
}
if(exclude.at(index).need_match_all)
- optionsToShow << tr("Full match");
- entryShow+=optionsToShow.join(QStringLiteral(","));
+ optionsToShow.push_back(tr("Full match").toStdString());
+ entryShow+=stringimplode(optionsToShow,",");
entryShow+=")";
- ui->exclusion->addItem(new QListWidgetItem(entryShow));
+ ui->exclusion->addItem(new QListWidgetItem(QString::fromStdString(entryShow)));
index++;
}
}
-QList<Filters_rules> Filters::getInclude() const
+std::vector<Filters_rules> Filters::getInclude() const
{
return include;
}
-QList<Filters_rules> Filters::getExclude() const
+std::vector<Filters_rules> Filters::getExclude() const
{
return exclude;
}
@@ -176,23 +177,23 @@ void Filters::newLanguageLoaded()
void Filters::updateFilters()
{
- QStringList includeStrings,includeOptions,excludeStrings,excludeOptions;
- int index=0;
- while(index<include.size())
+ std::vector<std::string> includeStrings,includeOptions,excludeStrings,excludeOptions;
+ unsigned int index=0;
+ while(index<(unsigned int)include.size())
{
- includeStrings<<include.at(index).search_text;
- QStringList optionsToShow;
+ includeStrings.push_back(include.at(index).search_text);
+ std::vector<std::string> optionsToShow;
switch(include.at(index).search_type)
{
case SearchType_rawText:
- optionsToShow << QStringLiteral("SearchType_rawText");
+ optionsToShow.push_back("SearchType_rawText");
break;
case SearchType_simpleRegex:
- optionsToShow << QStringLiteral("SearchType_simpleRegex");
+ optionsToShow.push_back("SearchType_simpleRegex");
break;
case SearchType_perlRegex:
- optionsToShow << QStringLiteral("SearchType_perlRegex");
+ optionsToShow.push_back("SearchType_perlRegex");
break;
default:
break;
@@ -200,38 +201,38 @@ void Filters::updateFilters()
switch(include.at(index).apply_on)
{
case ApplyOn_file:
- optionsToShow << QStringLiteral("ApplyOn_file");
+ optionsToShow.push_back("ApplyOn_file");
break;
case ApplyOn_fileAndFolder:
- optionsToShow << QStringLiteral("ApplyOn_fileAndFolder");
+ optionsToShow.push_back("ApplyOn_fileAndFolder");
break;
case ApplyOn_folder:
- optionsToShow << QStringLiteral("ApplyOn_folder");
+ optionsToShow.push_back("ApplyOn_folder");
break;
default:
break;
}
if(include.at(index).need_match_all)
- optionsToShow << tr("Full match");
- includeOptions<<optionsToShow.join(QStringLiteral(";"));
+ optionsToShow.push_back(tr("Full match").toStdString());
+ includeOptions.push_back(stringimplode(optionsToShow,";"));
index++;
}
index=0;
- while(index<exclude.size())
+ while(index<(unsigned int)exclude.size())
{
- excludeStrings<<exclude.at(index).search_text;
- QStringList optionsToShow;
+ excludeStrings.push_back(exclude.at(index).search_text);
+ std::vector<std::string> optionsToShow;
switch(exclude.at(index).search_type)
{
case SearchType_rawText:
- optionsToShow << QStringLiteral("SearchType_rawText");
+ optionsToShow.push_back("SearchType_rawText");
break;
case SearchType_simpleRegex:
- optionsToShow << QStringLiteral("SearchType_simpleRegex");
+ optionsToShow.push_back("SearchType_simpleRegex");
break;
case SearchType_perlRegex:
- optionsToShow << QStringLiteral("SearchType_perlRegex");
+ optionsToShow.push_back("SearchType_perlRegex");
break;
default:
break;
@@ -239,20 +240,20 @@ void Filters::updateFilters()
switch(exclude.at(index).apply_on)
{
case ApplyOn_file:
- optionsToShow << QStringLiteral("ApplyOn_file");
+ optionsToShow.push_back("ApplyOn_file");
break;
case ApplyOn_fileAndFolder:
- optionsToShow << QStringLiteral("ApplyOn_fileAndFolder");
+ optionsToShow.push_back("ApplyOn_fileAndFolder");
break;
case ApplyOn_folder:
- optionsToShow << QStringLiteral("ApplyOn_folder");
+ optionsToShow.push_back("ApplyOn_folder");
break;
default:
break;
}
if(exclude.at(index).need_match_all)
- optionsToShow << tr("Full match");
- excludeOptions<<optionsToShow.join(QStringLiteral(";"));
+ optionsToShow.push_back(tr("Full match").toStdString());
+ excludeOptions.push_back(stringimplode(optionsToShow,";"));
index++;
}
emit sendNewFilters(includeStrings,includeOptions,excludeStrings,excludeOptions);
@@ -261,38 +262,40 @@ void Filters::updateFilters()
bool Filters::convertToRegex(Filters_rules &item)
{
- bool isValid=!item.search_text.isEmpty();
+ bool isValid=!item.search_text.empty();
if(isValid)
{
- QRegularExpression regex;
- QString tempString;
+ std::regex regex;
+ std::string tempString;
if(item.search_type==SearchType_rawText)
{
- tempString=QRegularExpression::escape(item.search_text);
- if(tempString.contains('/') || tempString.contains('\\'))
+ tempString=QRegularExpression::escape(QString::fromStdString(item.search_text)).toStdString();
+ if(tempString.find('/') != std::string::npos || tempString.find('\\') != std::string::npos)
isValid=false;
}
else if(item.search_type==SearchType_simpleRegex)
{
- tempString=QRegularExpression::escape(item.search_text);
- tempString.replace(QStringLiteral("\\*"),QStringLiteral("[^\\\\/]*"));
+ tempString=QRegularExpression::escape(QString::fromStdString(item.search_text)).toStdString();
+ stringreplaceAll(tempString,"\\*","[^\\\\/]*");
}
else if(item.search_type==SearchType_perlRegex)
{
tempString=item.search_text;
- if(tempString.startsWith('^') && tempString.endsWith('$'))
+ if(stringStartWith(tempString,'^') && stringEndsWith(tempString,'$'))
{
item.need_match_all=true;
- tempString.remove(QRegularExpression("^\\^"));
- tempString.remove(QRegularExpression("\\$$"));
+ if(stringStartWith(tempString,'^'))
+ tempString=tempString.substr(1,tempString.size()-1);
+ if(stringEndsWith(tempString,'$'))
+ tempString=tempString.substr(0,tempString.size()-1);
item.search_text=tempString;
}
}
if(isValid)
{
if(item.need_match_all==true)
- tempString=QStringLiteral("^")+tempString+QStringLiteral("$");
- regex=QRegularExpression(tempString);
+ tempString="^"+tempString+"$";
+ regex=std::regex(tempString);
//isValid=regex.isValid();
item.regex=regex;
return true;
@@ -312,7 +315,7 @@ void Filters::on_remove_exclusion_clicked()
if(ui->exclusion->item(index)->isSelected())
{
delete ui->exclusion->item(index);
- exclude.removeAt(index);
+ exclude.erase(exclude.cbegin()+index);
removedEntry=true;
}
else
@@ -334,7 +337,7 @@ void Filters::on_remove_inclusion_clicked()
if(ui->inclusion->item(index)->isSelected())
{
delete ui->inclusion->item(index);
- include.removeAt(index);
+ include.erase(include.cbegin()+index);
removedEntry=true;
}
else
@@ -358,7 +361,7 @@ void Filters::on_add_exclusion_clicked()
new_item.need_match_all=dialog.get_need_match_all();
new_item.search_text=dialog.get_search_text();
new_item.search_type=dialog.get_search_type();
- exclude << new_item;
+ exclude.push_back(new_item);
reShowAll();
updateFilters();
}
@@ -382,7 +385,7 @@ void Filters::on_add_inclusion_clicked()
new_item.search_text=dialog.get_search_text();
new_item.search_type=dialog.get_search_type();
if(convertToRegex(new_item))
- include << new_item;
+ include.push_back(new_item);
reShowAll();
updateFilters();
}
@@ -409,7 +412,7 @@ void Filters::on_edit_exclusion_clicked()
exclude[index].search_text=dialog.get_search_text();
exclude[index].search_type=dialog.get_search_type();
if(!convertToRegex(exclude[index]))
- exclude.removeAt(index);
+ exclude.erase(exclude.cbegin()+index);
editedEntry=true;
}
}
@@ -443,7 +446,7 @@ void Filters::on_edit_inclusion_clicked()
exclude[index].search_text=dialog.get_search_text();
exclude[index].search_type=dialog.get_search_type();
if(!convertToRegex(exclude[index]))
- exclude.removeAt(index);
+ exclude.erase(exclude.cbegin()+index);
editedEntry=true;
}
}
diff --git a/plugins/CopyEngine/Ultracopier/Filters.h b/plugins/CopyEngine/Ultracopier/Filters.h
index 337f8cb..6645afc 100644
--- a/plugins/CopyEngine/Ultracopier/Filters.h
+++ b/plugins/CopyEngine/Ultracopier/Filters.h
@@ -18,19 +18,19 @@ class Filters : public QDialog
public:
explicit Filters(QWidget *parent = 0);
~Filters();
- void setFilters(QStringList includeStrings,QStringList includeOptions,QStringList excludeStrings,QStringList excludeOptions);
+ void setFilters(std::vector<std::string> includeStrings, std::vector<std::string> includeOptions, std::vector<std::string> excludeStrings, std::vector<std::string> excludeOptions);
void reShowAll();
- QList<Filters_rules> getInclude() const;
- QList<Filters_rules> getExclude() const;
+ std::vector<Filters_rules> getInclude() const;
+ std::vector<Filters_rules> getExclude() const;
void newLanguageLoaded();
private:
Ui::Filters *ui;
- QList<Filters_rules> include;
- QList<Filters_rules> exclude;
+ std::vector<Filters_rules> include;
+ std::vector<Filters_rules> exclude;
void updateFilters();
bool convertToRegex(Filters_rules &item);
signals:
- void sendNewFilters(const QStringList &includeStrings,const QStringList &includeOptions,const QStringList &excludeStrings,const QStringList &excludeOptions) const;
+ void sendNewFilters(const std::vector<std::string> &includeStrings,const std::vector<std::string> &includeOptions,const std::vector<std::string> &excludeStrings,const std::vector<std::string> &excludeOptions) const;
void haveNewFilters() const;
private slots:
void on_remove_exclusion_clicked();
diff --git a/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp
index ac1e74e..d05a715 100644
--- a/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp
+++ b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp
@@ -2,11 +2,17 @@
#include "ui_folderExistsDialog.h"
#include "TransferThread.h"
+#ifdef Q_OS_WIN32
+#define CURRENTSEPARATOR "\\"
+#else
+#define CURRENTSEPARATOR "/"
+#endif
+
#include <QMessageBox>
#include <QFileInfo>
#include <QMessageBox>
-FolderExistsDialog::FolderExistsDialog(QWidget *parent,QFileInfo source,bool isSame,QFileInfo destination,QString firstRenamingRule,QString otherRenamingRule) :
+FolderExistsDialog::FolderExistsDialog(QWidget *parent, QFileInfo source, bool isSame, QFileInfo destination, std::string firstRenamingRule, std::string otherRenamingRule) :
QDialog(parent),
ui(new Ui::folderExistsDialog)
{
@@ -20,8 +26,8 @@ FolderExistsDialog::FolderExistsDialog(QWidget *parent,QFileInfo source,bool isS
ui->setupUi(this);
action=FolderExists_Cancel;
oldName=TransferThread::resolvedName(destination);
- ui->lineEditNewName->setText(oldName);
- ui->lineEditNewName->setPlaceholderText(oldName);
+ ui->lineEditNewName->setText(QString::fromStdString(oldName));
+ ui->lineEditNewName->setPlaceholderText(QString::fromStdString(oldName));
ui->label_content_source_modified->setText(source.lastModified().toString());
ui->label_content_source_folder_name->setText(source.fileName());
QString folder=source.absolutePath();
@@ -83,20 +89,20 @@ void FolderExistsDialog::changeEvent(QEvent *e)
}
}
-QString FolderExistsDialog::getNewName()
+std::string FolderExistsDialog::getNewName()
{
- if(oldName==ui->lineEditNewName->text() || ui->checkBoxAlways->isChecked())
+ if(oldName==ui->lineEditNewName->text().toStdString() || ui->checkBoxAlways->isChecked())
return "";
else
- return ui->lineEditNewName->text();
+ return ui->lineEditNewName->text().toStdString();
}
void FolderExistsDialog::on_SuggestNewName_clicked()
{
QFileInfo destinationInfo=this->destinationInfo;
QString absolutePath=destinationInfo.absolutePath();
- QString fileName=TransferThread::resolvedName(destinationInfo);
- QString suffix=QStringLiteral("");
+ QString fileName=QString::fromStdString(TransferThread::resolvedName(destinationInfo));
+ QString suffix;
QString destination;
QString newFileName;
//resolv the suffix
@@ -112,26 +118,26 @@ void FolderExistsDialog::on_SuggestNewName_clicked()
{
if(num==1)
{
- if(firstRenamingRule.isEmpty())
+ if(firstRenamingRule.empty())
newFileName=tr("%1 - copy").arg(fileName);
else
{
- newFileName=firstRenamingRule;
+ newFileName=QString::fromStdString(firstRenamingRule);
newFileName.replace(QStringLiteral("%name%"),fileName);
}
}
else
{
- if(otherRenamingRule.isEmpty())
+ if(otherRenamingRule.empty())
newFileName=tr("%1 - copy (%2)").arg(fileName).arg(num);
else
{
- newFileName=otherRenamingRule;
+ newFileName=QString::fromStdString(otherRenamingRule);
newFileName.replace(QStringLiteral("%name%"),fileName);
newFileName.replace(QStringLiteral("%number%"),QString::number(num));
}
}
- destination=absolutePath+QDir::separator()+newFileName+suffix;
+ destination=absolutePath+CURRENTSEPARATOR+newFileName+suffix;
destinationInfo.setFile(destination);
num++;
}
@@ -187,7 +193,7 @@ void FolderExistsDialog::on_lineEditNewName_returnPressed()
QMessageBox::warning(this,tr("Error"),tr("Try rename with using special characters"));
}
-void FolderExistsDialog::on_lineEditNewName_textChanged(const QString &arg1)
+void FolderExistsDialog::on_lineEditNewName_textChanged(const std::string &arg1)
{
Q_UNUSED(arg1);
updateRenameButton();
@@ -195,5 +201,5 @@ void FolderExistsDialog::on_lineEditNewName_textChanged(const QString &arg1)
void FolderExistsDialog::updateRenameButton()
{
- ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text() && !ui->lineEditNewName->text().isEmpty()));
+ ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text().toStdString() && !ui->lineEditNewName->text().isEmpty()));
}
diff --git a/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h
index c043f65..a3bcf67 100644
--- a/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h
+++ b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h
@@ -25,14 +25,14 @@ class FolderExistsDialog : public QDialog
public:
/// \brief create the object and pass all the informations to it
- explicit FolderExistsDialog(QWidget *parent,QFileInfo source,bool isSame,QFileInfo destination,QString firstRenamingRule,QString otherRenamingRule);
+ explicit FolderExistsDialog(QWidget *parent,QFileInfo source,bool isSame,QFileInfo destination,std::string firstRenamingRule,std::string otherRenamingRule);
~FolderExistsDialog();
/// \brief return the the always checkbox is checked
bool getAlways();
/// \brief return the action clicked
FolderExistsAction getAction();
/// \brief return the new rename is case in manual renaming
- QString getNewName();
+ std::string getNewName();
protected:
void changeEvent(QEvent *e);
private slots:
@@ -44,13 +44,13 @@ private slots:
void on_Merge_clicked();
void on_lineEditNewName_editingFinished();
void on_lineEditNewName_returnPressed();
- void on_lineEditNewName_textChanged(const QString &arg1);
+ void on_lineEditNewName_textChanged(const std::string &arg1);
private:
Ui::folderExistsDialog *ui;
FolderExistsAction action;
- QString oldName;
- QString firstRenamingRule;
- QString otherRenamingRule;
+ std::string oldName;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
QFileInfo destinationInfo;
};
diff --git a/plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/de/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/de/translation.ts
index 2952152..cad2890 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/de/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/de/translation.ts
@@ -62,84 +62,84 @@
<translation>Aktuelles Ziel: &quot;%1&quot; benutzen?</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation>Der Modus wurde vorher erzwungen. Interner Fehler - Bitte bei mir melden! </translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation>Fragen</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation>Überspringen</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation>Fusionieren</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation>Umbenennen</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation>Ans Ende verschieben</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation>Überschreiben</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation>Überschreiben, falls verschieden</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation>Überschreiben, falls neuer</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation>Überschreiben, falls älter</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation>Automatisch</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation>Sequentiell</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation>Parallel</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation>Fehlerhafte Optionen</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>Optionen nicht geladen - Kein Zugriff auf Filter</translation>
</message>
@@ -147,85 +147,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation>Fragen</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation>Überspringen</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation>Fusionieren</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation>Umbenennen</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation>Ans Ende verschieben</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation>Überschreiben</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation>Überschreiben, falls verschieden</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation>Überschreiben, falls neuer</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation>Überschreiben, falls älter</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation>Automatisch</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation>Sequentiell</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation>Parallel</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation>Fehlerhafte Optionen</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>Option nicht geladen - Kein Zugriff auf Filter</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation>Option nicht geladen - Kann nicht auf Filter zugreifen</translation>
</message>
@@ -274,22 +274,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation>%1 - Kopie</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation>%1 - Kopie (%2)</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation>Versuche Umbenennung mit Sonderzeichen</translation>
</message>
@@ -297,22 +297,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation>%1 - kopieren</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation>%1 - kopieren (%2)</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation>Versuche Umbenennung mit Sonderzeichen</translation>
</message>
@@ -418,40 +418,40 @@
<translation>Keiner = Alle einschließen</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation>Roh-Text</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation>Vereinfachte RegEx</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation>Perls RegEx</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation>Nur auf Datei</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation>Nur auf Ordner</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation>Volle Übereinstimmung</translation>
</message>
@@ -459,27 +459,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation>Ordner existiert bereits</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation>%1 - Kopie</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation>%1 - Kopie (%2)</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation>Versuche Umbenennung mit Sonderzeichen</translation>
</message>
@@ -487,49 +487,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation>Falscher Modus: %1 - Kann Element nicht verschieben oder kopieren</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation>Konnte die Transferliste: %1 nicht speichern</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation>Lesefehler, oder Dateigröße=0</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation>Falscher Header: &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation>Die Transferliste ist im gemischten Modus, aber diese Instanz ist nicht im selben Modus</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation>Die Transferliste ist im Kopiermodus, aber diese Instanz ist nicht im selben Modus</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation>Die Transferliste ist im Verschiebe-Modus, aber diese Instanz ist nicht im selben Modus</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation>Bei der Zeilenanalyse sind Fehler aufgetreten</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation>Transferliste: %1 kann nicht geöffnet werden</translation>
</message>
@@ -557,13 +557,13 @@
<translation>Kann den Ordner nicht endgültig verschieben</translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation>Kann den Ordner nicht verschieben</translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation>Kann nicht löschen</translation>
</message>
@@ -650,39 +650,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation>Ordner der schwarzen Liste</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation>%1 - Kopie</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation>%1 - Kopie (%2)</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation>Dies ist kein Ordner</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation>Ordner existiert bereits</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation>Der Ordner kann nicht gelesen werden</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation>Problem mit der Namen-Encodierung</translation>
</message>
@@ -690,101 +690,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation>Datei nicht gefunden</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished">Interner Fehler: Bereits geöffnet</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished">Laufwerk %1</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished">Unbekannter Ordner</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished">Stammverzeichnis</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - Kopie</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - Kopie (%2)</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished">Quelle existiert nicht</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished">Quelldatei existiert nicht</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished">Prüfsummen sind verschieden</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished">Interner Fehler: Ubertragene Größe ungleich</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished">Ordner kann nicht erstellt werden</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation>Versuche Umbenennung mit Sonderzeichen</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished">Andere Datei befindet sich am selben Ort</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished">Interner Fehler: Ziel ist nicht geschlossen</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished">Interner Fehler: Puffer ist nicht leer</translation>
</message>
@@ -797,17 +797,17 @@
<translation>Pfad-Auflösungsfehler (leerer Pfad)</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation>Interner Fehler - Bitte bei mir melden!</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation>Quelldatei kann nicht gelesen werden: </translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation>Datenabbruch beim Lesen, Daten wurden möglicherweise verändert</translation>
</message>
@@ -1001,10 +1001,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>Use this folder when destination is empty</source>
- <translation type="obsolete">Benutze diesen Ordner wenn Ziel nicht benannt</translation>
- </message>
- <message>
<location filename="../../copyEngineOptions.ui" line="637"/>
<source>Browse</source>
<translation>Wählen</translation>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/el/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/el/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/el/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/el/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/en/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/en/translation.ts
index a6b1027..2c9ce27 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/en/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/en/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/es/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/es/translation.ts
index d2a294f..9cb6abe 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/es/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/es/translation.ts
@@ -61,84 +61,84 @@
<translation>Utilice el destino &quot;%1&quot; actual?</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation>El modo se ha visto obligado previamente. Este es un error interno, por favor repórtelo</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation>Pedir</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation>Omitir</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation>Unir</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation>Cambiar el nombre</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation>Ponga al final</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation>Sobrescribir</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation>Sobrescribir si es diferente</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation>Sobrescribir si nuevo</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation>Sobrescribir si es mayor</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation>Automático</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation>Secuencial</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation>Paralelo</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation>error Opciones</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>Opciones del motor no está cargado. No es posible acceder a los filtros</translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation>Pedir</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation>Omitir</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation>Unir</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation>Cambiar el nombre</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation>Ponga al final</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation>Sobrescribir</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation>Sobrescribir si es diferente</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation>Sobrescribir si nuevo</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation>Sobrescribir si es mayor</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation>Automático</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation>Secuencial</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation>Paralelo</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation>error Opciones</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>Opciones del motor no está cargado. No es posible acceder a los filtros</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation>Opciones del motor no está cargado, no se puede acceder a los filtros</translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation>
</message>
@@ -417,40 +417,40 @@
<translation>Ninguno = Incluya todos los</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation>texto Fuente</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation>Simplificado regex</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation>Perl&apos;s regex</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation>Sólo en el archivo</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation>Sólo en la carpeta</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation>Partido completo</translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation>Carpeta ya existe</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation>No se puede hacer para mover o copiar elemento en modo incorrecto obligado: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation>No se puede guardar la lista de transferencias: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation>Problema al leer el archivo o archivos de tamaño es 0</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation>Encabezado incorrecto: &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation>La lista de transferencia está en modo mixto, pero este caso no es de este modo</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation>La lista de transferencia está en el modo de copia, pero esta instancia no está en este modo</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation>La lista de transferencia es el modo de desplazamiento, pero esta instancia no está en este modo</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation>Algunos errores han sido encontrados durante el análisis de línea</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation>No se puede abrir la lista de transferencias: %1</translation>
</message>
@@ -536,10 +536,6 @@
<context>
<name>MkPath</name>
<message>
- <source>Unable to get time</source>
- <translation type="obsolete">No es posible obtener el tiempo</translation>
- </message>
- <message>
<location filename="../../MkPath.cpp" line="142"/>
<source>Unable to create the folder</source>
<translation>No se puede crear la carpeta</translation>
@@ -560,17 +556,13 @@
<translation>No se puede hacer el movimiento final real de la carpeta</translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation>No se puede mover la carpeta</translation>
</message>
<message>
- <source>Unable to set the access-right</source>
- <translation type="obsolete">No se puede establecer el acceso a la derecha</translation>
- </message>
- <message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation>No se puede eliminar</translation>
</message>
@@ -657,43 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation>Carpeta de la lista negra</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation>Esto no es una carpeta</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation>La carpeta no existe</translation>
</message>
<message>
- <source>The folder not exists</source>
- <translation type="obsolete">La carpeta no existe</translation>
- </message>
- <message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation>La carpeta no se puede leer</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation>Problema con codificación de nombres</translation>
</message>
@@ -701,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation>Archivo no encontrado</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished">Error interno: Ya la apertura</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished">Drive %1</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished">Desconocido carpeta</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished">raíz</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - copia</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished">La fuente no existe</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished">El archivo de origen no existe</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished">Las sumas de comprobación no coinciden</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished">Error interno: El tamaño transferido no coincide</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished">Incapaz de hacer la carpeta</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished">Otro archivo existe en el mismo lugar</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished">Error interno: El destino no está cerrado</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished">Error interno: El buffer no está vacío</translation>
</message>
@@ -808,17 +796,17 @@
<translation>Error de resolución de ruta (camino vacío)</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation>Error interno, por favor informe de ello!</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation>No se puede leer el archivo de origen: </translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation>Archivo truncado durante lectura, posible cambio de datos</translation>
</message>
@@ -1012,10 +1000,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>Use this folder when destination is empty</source>
- <translation type="obsolete">Utilice esta carpeta al destino está vacía</translation>
- </message>
- <message>
<location filename="../../copyEngineOptions.ui" line="637"/>
<source>Browse</source>
<translation>Busque</translation>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts
index 8ed7524..13ac433 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts
@@ -61,84 +61,84 @@
<translation>Utiliser la destination actuelle &quot;%1&quot;?</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation>Le mode a été forcé. C&apos;est une erreur interne, merci de la repporter</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation>Demander</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation>Passer</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation>Fusionner</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation>Renommer</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation>Mettre à la fin</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation>Écraser</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation>Écraser si différent</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation>Écraser si plus récent</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation>Écraser si plus vieux</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation>Automatique</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation>Séquentiel</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation>Parallèle</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation>Erreur d&apos;options</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>Le moteur d&apos;options n&apos;est pas chargé. Impossible d&apos;accédé aux filtres</translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation>Demander</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation>Passer</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation>Fusionner</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation>Renommer</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation>Mettre à la fin</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation>Écraser</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation>Écraser si différent</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation>Écraser si plus récent</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation>Écraser si plus vieux</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation>Automatique</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation>Séquentiel</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation>Parallèle</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation>Erreur d&apos;options</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>Le moteur d&apos;options n&apos;est pas chargé. Impossible d&apos;accédé aux filtres</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation>Moteur d&apos;options non chargé, impossible d&apos;accéder aux filtres</translation>
</message>
@@ -273,56 +273,48 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation>%1 - copie</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copie (%2)</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation>Essaie de renommage avec caratéres interdits</translation>
</message>
- <message>
- <source>Try rename with unauthorized characters</source>
- <translation type="obsolete">Essaie de renommage avec caratéres interdits</translation>
- </message>
</context>
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation>%1 - copie</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copie (%2)</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation>Essaie de renommage avec caratéres interdits</translation>
</message>
- <message>
- <source>Try rename with unauthorized characters</source>
- <translation type="obsolete">Essaie de renommage avec caratéres interdits</translation>
- </message>
</context>
<context>
<name>FilterRules</name>
@@ -425,40 +417,40 @@
<translation>Aucun = tout inclure</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation>Texte brute</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation>Regex simplifié</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation>Regex perl</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation>Appliquer sur fichier</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation>Appliquer sur dossier</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation>Correspondance totale</translation>
</message>
@@ -466,85 +458,77 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation>Dossier déjà existant</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation>%1 - copie</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copie (%2)</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation>Essaie de renommage avec caratéres interdits</translation>
</message>
- <message>
- <source>Try rename with unauthorized characters</source>
- <translation type="obsolete">Essaie de renommage avec caratéres interdits</translation>
- </message>
- <message>
- <source>Try rename with unauthorized charateres</source>
- <translation type="obsolete">Tentative de renommage de des caratéres non autorisés</translation>
- </message>
</context>
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation>Impossible de faire un déplacement ou une copie dans le mauvais mode forcé: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation>Impossible de sauvegarder la liste de transfert: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation>Problem durant la lecture, ou taille de fichier est 0</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation>Mauvais en-tête: &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation>La liste de transfert est en mode mixte, mais l&apos;instance n&apos;est pas dans ce mode</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation>La liste de transfert est en mode copie, mais l&apos;instance n&apos;est pas dans ce mode</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation>La liste de transfert est en mode déplacement, mais l&apos;instance n&apos;est pas dans ce mode</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation>Certaine erreur ont été trouvé durant l&apos;analise de la line</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation>Impossible d&apos;ouvrir la list de transfert: %1</translation>
</message>
@@ -552,10 +536,6 @@
<context>
<name>MkPath</name>
<message>
- <source>Unable to get time</source>
- <translation type="obsolete">Impossible d&apos;obtenir l&apos;heure</translation>
- </message>
- <message>
<location filename="../../MkPath.cpp" line="142"/>
<source>Unable to create the folder</source>
<translation>Impossible de créer le répertoire</translation>
@@ -576,21 +556,13 @@
<translation>Impossible de faire le déplacement final du dossier</translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation>Impossible de déplacer le dossier</translation>
</message>
<message>
- <source>Unable to set time</source>
- <translation type="obsolete">Impossible de définir l&apos;heure</translation>
- </message>
- <message>
- <source>Unable to set the access-right</source>
- <translation type="obsolete">Impossible de définir les droits d&apos;accés</translation>
- </message>
- <message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation>Impossible de supprimer</translation>
</message>
@@ -682,43 +654,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation>Dossier banis</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation>%1 - copie</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copie (%2)</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation>N&apos;est pas un dossier</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation>Le répertoire n&apos;existe pas</translation>
</message>
<message>
- <source>The folder not exists</source>
- <translation type="obsolete">Le répertoire n&apos;existe pas</translation>
- </message>
- <message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation>Le répertoire n&apos;est pas lisible</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation>Problém d&apos;encodage</translation>
</message>
@@ -726,105 +694,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation>Fichier non trouvé</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation>Lecteur %1</translation>
</message>
<message>
- <source>Try rename with unauthorized characters</source>
- <translation type="obsolete">Essaie de renommage avec caratéres interdits</translation>
- </message>
- <message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation>Dossier inconnu</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation>racine</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation>%1 - copie</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copie (%2)</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation>La source n&apos;existe pas</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation>Le fichier source n&apos;existe pas</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation>Les sommes de controle ne correspondent pas</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation>Erreur interne: La taille transféré ne corresponds pas</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation>Impossible de créer le dossier</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation>Essaie de renommage avec caratéres interdits</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation>Mauvaise date de modification ou impossible de l&apos;avoir, vous pouvez désactivé le transfert de celui-ci</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation>Erreur interne: Déjà ouvert</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation>Un autre fichier exists à la même place</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation>Erreur interne: La destination n&apos;est pas fermé</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation>Erreur interne: Le buffer n&apos;est pas vide</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation>Impossible de changer la date</translation>
</message>
@@ -837,17 +801,17 @@
<translation>Erreur de résolution de chemain (chemain vide)</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation>Erreur interne, merci de la reporter!</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation>Impossible de lire le fichier source: </translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation>Fichier rétréci pendant la lecture, possible changement de données</translation>
</message>
@@ -1041,10 +1005,6 @@
<translation>Utiliser ce dossier quand la destination n&apos;est pas défini</translation>
</message>
<message>
- <source>Use this folder when destination is empty</source>
- <translation type="obsolete">Utiliser ce dossier quand la destination est vide</translation>
- </message>
- <message>
<location filename="../../copyEngineOptions.ui" line="637"/>
<source>Browse</source>
<translation>Parcourir</translation>
@@ -1230,10 +1190,6 @@
<translation>Nom de fichier</translation>
</message>
<message>
- <source>The source and destination is identical</source>
- <translation type="obsolete">La source et la destination sont identique</translation>
- </message>
- <message>
<location filename="../../fileIsSameDialog.ui" line="14"/>
<source>The source and destination are same</source>
<translation>La source et la destination sont identique</translation>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts
index beff862..eaa968d 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts
@@ -61,84 +61,84 @@
<translation>Használja a jelenlegi célt: &quot;%1&quot;?</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation>Ezt a módot már korábban kényszerítették. Belső hiba történt, kérlek jelentsd be</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation>Kérdezzen rá</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation>Kihagy</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation>Összeolvaszt</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation>Nevezze át</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation>Helyezze a végére</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation>Felülír</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation>Felülír, ha különbözik</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation>Felülír, ha újabb</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation>Felülír, ha régebbi</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation>Automatikus</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation>Szekvenciális</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation>Párhuzamos</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation>Beállítási hiba</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>A beállítási motor nincs betöltve. A szűrők elérése nem lehetséges</translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation>Kérdezzen rá</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation>Kihagy</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation>Összeolvaszt</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation>Nevezze át</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation>Helyezze a végére</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation>Felülír</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation>Felülír, ha különbözik</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation>Felülír, ha újabb</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation>Felülír, ha régebbi</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation>Automatikus</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation>Szekvenciális</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation>Párhuzamos</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation>Beállítási hiba</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation>A beállítási motor nincs betöltve. A szűrők elérése nem lehetséges</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation>A beállítási motor nincs betöltve, a szűrők elérése nem lehetséges</translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation>%1 - másolás</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation>%1 - másolás (%2)</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation>Átnevezés speciális karakterek használatával</translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation>%1 - másolás</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation>%1 - másolás (%2)</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation>Átnevezés speciális karakterek használatával</translation>
</message>
@@ -417,40 +417,40 @@
<translation>Nincs = Mindet használ</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation>Nyers szöveg</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation>Egyszerűsített regex</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation>Perl regex</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation>Csak fájlon</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation>Csak mappán</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation>Teljes egyezés</translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation>Mappa már létezik</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation>%1 - másolás</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation>%1 - másolás (%2)</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation>Átnevezés speciális karakterek használatával</translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation>Elem másolása vagy mozgatás nem lehetséges a hibás kényszerített módban: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation>Átviteli lista mentése nem lehetséges: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation>Hiba a fájl olvasásánál vagy a fálméret 0</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation>Hibás fejléc: &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation>Az átviteli lista kevert módban van, de ez a példány nincs</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation>Az átviteli lista másolás módban van, de ez a példány nincs</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation>Az átviteli lista mozgatás módban van, de ez a példány nincs</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation>Néhány hiba történt a sorelemzés során</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation>Az átviteli lista megnyitása nem lehetséges: %1</translation>
</message>
@@ -556,17 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Unable to set the access-right</source>
- <translation type="obsolete">Jogok beállítása nem lehetséges</translation>
- </message>
- <message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation>Eltávolítás nem lehetséges</translation>
</message>
@@ -653,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation>Feketelistás mappa</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation>%1 - másolás</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation>%1 - másolás (%2)</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation>Ez nem mappa</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation>A mappa létezik</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation>A mappa nem olvasható</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation>Probléma a névkódolással</translation>
</message>
@@ -693,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation>Fájl nem található</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished">%1 meghajtó</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished">Ismeretlen mappa</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished">gyökér</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - másolás</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - másolás (%2)</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished">A forrás nem létezik</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished">Mappaművelet nem lehetséges</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation>Átnevezés speciális karakterek használatával</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished">A forrásfájl nem létezik</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished">Egy másik fájl létezik ugyanazon a helyen</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished">A checksumok nem egyeznek meg</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished">Belső hiba: a cél nincs bezárva</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished">Belső hiba: az átvitt méret nem egyezik meg</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished">Belső hiba: a puffer nem üres</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
@@ -800,17 +796,17 @@
<translation>Útvonal feloldási hiba (Üres útvonal)</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation>Belső hiba, kérlek jelentsd!</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation>A forrásfájl olvasása nem lehetséges:</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation>Fájl megsérült az olvasás közben, valószínűleg adatváltozás</translation>
</message>
@@ -1004,10 +1000,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>Use this folder when destination is empty</source>
- <translation type="obsolete">Használja ezt a mappát, ha a cél üres</translation>
- </message>
- <message>
<location filename="../../copyEngineOptions.ui" line="637"/>
<source>Browse</source>
<translation>Tallózás</translation>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/id/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/id/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/id/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/id/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/it/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/it/translation.ts
index 0bbc22f..8a95cd4 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/it/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/it/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation>Chiedi</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation>Salta</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation>Unisci</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation>Rinomina</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation>Metti in coda</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation>Sovrascrivi</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation>Sovrascrivi se differente</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation>Sovrascrivi se più recente</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation>Sovrascrivi se meno recente</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation>Automatico</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation>Sequenziale</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation>Parallelo</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation>Opzioni di errore</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation>Chiedi</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation>Salta</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation>Unisci</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation>Rinomina</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation>Metti in coda</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation>Sovrascrivi</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation>Sovrascrivi se differente</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation>Sovrascrivi se più recente</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation>Sovrascrivi se meno recente</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation>Automatico</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation>Sequenziale</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation>Parallelo</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation>Opzioni di errore</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation>Le opzioni del motore per la copia non vengono caricate, impossibile accedere ai filtri</translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -419,41 +419,41 @@
<translation>Nessuno = Tutti inclusi</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation>Testo raw</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation>Regex semplificato</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation>Regex in Perl</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation>Solo su file</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translatorcomment>o cartella al singolare?</translatorcomment>
<translation>Solo su cartelle</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation>Corrispondenza completa</translation>
</message>
@@ -461,82 +461,78 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation>Cartella già presente</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <source>Try rename with unauthorized charateres</source>
- <translation type="obsolete">Provare a rinominare con caratteri non consentiti</translation>
- </message>
</context>
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation>Impossibile spostare o copiare elementi in modalità forzata anomala: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation>Impossibile salvare la lista dei trasferimenti: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translatorcomment>Header si riferisce all&apos;intestazione?</translatorcomment>
<translation>Intestazione sbagliata: &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation>La lista dei trasferimenti è in modalità mista, ma questa istanza non è in questa modalità</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation>La lista dei trasferimenti è in modalità di copia, ma questa istanza non è in questa modalità</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation>La lista dei trasferimenti è in modalità di spostamento, ma questa istanza non è in questa modalità</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation>Impossibile aprire la lista dei trasferimenti: %1</translation>
</message>
@@ -544,10 +540,6 @@
<context>
<name>MkPath</name>
<message>
- <source>Unable to get time</source>
- <translation type="obsolete">Impossibile ottenere l&apos;ora</translation>
- </message>
- <message>
<location filename="../../MkPath.cpp" line="142"/>
<source>Unable to create the folder</source>
<translation>Impossibile creare la cartella</translation>
@@ -568,17 +560,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Unable to set time</source>
- <translation type="obsolete">Impossibile impostare l&apos;ora</translation>
- </message>
- <message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation>Impossibile eliminare</translation>
</message>
@@ -671,43 +659,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation>%1 - copia</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation>%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation>Questa non è una cartella</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>The folder not exists</source>
- <translation type="obsolete">La cartella non esiste</translation>
- </message>
- <message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation>La cartella non è leggibile</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation>Problema con la codifica del nome</translation>
</message>
@@ -715,101 +699,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation>File non trovato</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished">Unità %1</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished">root</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - copia</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - copia (%2)</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished">Impossibile creare la cartella</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished">Nello stesso percorso è presente un altro file</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished">Errore interno: la cartella di destinazione non è chiusa</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished">Errore interno: il buffer non è vuoto</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished">Impossibile cambiare la data</translation>
</message>
@@ -822,17 +806,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation>Errore interno, pregasi di segnalarlo!</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation>Impossibile leggere il file di origine: </translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,10 +1010,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>Use this folder when destination is empty</source>
- <translation type="obsolete">Usare questa cartella quando la cartella di destinazione è vuota</translation>
- </message>
- <message>
<location filename="../../copyEngineOptions.ui" line="637"/>
<source>Browse</source>
<translation>Sfoglia</translation>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts
index 25bb8d3..5c68ad9 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts
index deeeead..ea7d584 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished">확인</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished">건너뛰기</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished">합치기</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished">이름 바꾸기</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished">더 최신이면 덮어씌우기</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished">확인</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished">건너뛰기</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished">합치기</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished">이름 바꾸기</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished">더 최신이면 덮어씌우기</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished">오류</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished">오류</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished">오류</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,43 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>The folder not exists</source>
- <translation type="obsolete">폴더가 존재하지 않습니다</translation>
- </message>
- <message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished">폴더를 읽을 수 없습니다</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -693,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -800,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished">원본 파일 읽기 불가:</translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/no/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/no/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/no/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/no/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts
index f53fff3..abaf3bb 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished">просить</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished">пропускать</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished">слияние</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished">переименовать</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished">Заменить, если новее</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished">Опции ошибке</translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished">просить</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished">пропускать</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished">слияние</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished">переименовать</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished">Заменить, если новее</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished">Опции ошибке</translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished">Параметры двигателя не загружается, не может получить доступ к фильтрам</translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - копия</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - копия (%2)</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished">ошибка</translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - копия</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - копия (%2)</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished">ошибка</translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation>Ни = Включить все</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation>Сырой текст</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation>Упрощенная регулярных выражений</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation>Perl&apos;s regex</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation>Только на файл</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation>Только на папку</translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation>Полный матч</translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished">Папка уже существует</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - копия</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - копия (%2)</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished">ошибка</translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation>Невозможно сделать, чтобы скопировать или переместить элемент в неправильном форсированном режиме: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation>Невозможно сохранить трансфер: %1</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation>Неправильный заголовок: &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation>Трансфер в смешанном режиме, но этот экземпляр не в этом режиме</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation>Передача списка в режиме копирования, но этот экземпляр не в этом режиме</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation>Трансфер в режим перемещения, но этот экземпляр не в этом режиме</translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation>Не удается открыть трансфер: %1</translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,43 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - копия</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - копия (%2)</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>The folder not exists</source>
- <translation type="obsolete">Папка не существует</translation>
- </message>
- <message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished">Папки не читается</translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -693,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished">%1 - копия</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished">%1 - копия (%2)</translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -800,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation>Невозможно прочитать исходный файл: </translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/th/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/th/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/th/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/th/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts
index 3362659..a00b0cd 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts
index 25bb8d3..5c68ad9 100644
--- a/plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts
+++ b/plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts
@@ -61,84 +61,84 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="717"/>
+ <location filename="../../CopyEngine.cpp" line="732"/>
<source>The mode has been forced previously. This is an internal error, please report it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1047"/>
- <location filename="../../CopyEngine.cpp" line="1050"/>
- <location filename="../../CopyEngine.cpp" line="1055"/>
- <location filename="../../CopyEngine.cpp" line="1059"/>
+ <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1070"/>
+ <location filename="../../CopyEngine.cpp" line="1074"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1048"/>
- <location filename="../../CopyEngine.cpp" line="1052"/>
- <location filename="../../CopyEngine.cpp" line="1056"/>
- <location filename="../../CopyEngine.cpp" line="1060"/>
+ <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1071"/>
+ <location filename="../../CopyEngine.cpp" line="1075"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1051"/>
+ <location filename="../../CopyEngine.cpp" line="1066"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1053"/>
- <location filename="../../CopyEngine.cpp" line="1065"/>
+ <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1080"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1057"/>
+ <location filename="../../CopyEngine.cpp" line="1072"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1061"/>
+ <location filename="../../CopyEngine.cpp" line="1076"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1062"/>
+ <location filename="../../CopyEngine.cpp" line="1077"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1063"/>
+ <location filename="../../CopyEngine.cpp" line="1078"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1064"/>
+ <location filename="../../CopyEngine.cpp" line="1079"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1067"/>
+ <location filename="../../CopyEngine.cpp" line="1082"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1068"/>
+ <location filename="../../CopyEngine.cpp" line="1083"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1069"/>
+ <location filename="../../CopyEngine.cpp" line="1084"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngine.cpp" line="1170"/>
+ <location filename="../../CopyEngine.cpp" line="1185"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -146,85 +146,85 @@
<context>
<name>CopyEngineFactory</name>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="412"/>
- <location filename="../../CopyEngineFactory.cpp" line="415"/>
- <location filename="../../CopyEngineFactory.cpp" line="420"/>
- <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="418"/>
+ <location filename="../../CopyEngineFactory.cpp" line="421"/>
+ <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="430"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="413"/>
- <location filename="../../CopyEngineFactory.cpp" line="417"/>
- <location filename="../../CopyEngineFactory.cpp" line="421"/>
- <location filename="../../CopyEngineFactory.cpp" line="425"/>
+ <location filename="../../CopyEngineFactory.cpp" line="419"/>
+ <location filename="../../CopyEngineFactory.cpp" line="423"/>
+ <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="431"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="416"/>
+ <location filename="../../CopyEngineFactory.cpp" line="422"/>
<source>Merge</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="418"/>
- <location filename="../../CopyEngineFactory.cpp" line="430"/>
+ <location filename="../../CopyEngineFactory.cpp" line="424"/>
+ <location filename="../../CopyEngineFactory.cpp" line="436"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="422"/>
+ <location filename="../../CopyEngineFactory.cpp" line="428"/>
<source>Put at the end</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="426"/>
+ <location filename="../../CopyEngineFactory.cpp" line="432"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="427"/>
+ <location filename="../../CopyEngineFactory.cpp" line="433"/>
<source>Overwrite if different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="428"/>
+ <location filename="../../CopyEngineFactory.cpp" line="434"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="429"/>
+ <location filename="../../CopyEngineFactory.cpp" line="435"/>
<source>Overwrite if older</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="432"/>
+ <location filename="../../CopyEngineFactory.cpp" line="438"/>
<source>Automatic</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="433"/>
+ <location filename="../../CopyEngineFactory.cpp" line="439"/>
<source>Sequential</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="434"/>
+ <location filename="../../CopyEngineFactory.cpp" line="440"/>
<source>Parallel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="485"/>
+ <location filename="../../CopyEngineFactory.cpp" line="491"/>
<source>Options engine is not loaded. Unable to access the filters</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../CopyEngineFactory.cpp" line="524"/>
+ <location filename="../../CopyEngineFactory.cpp" line="530"/>
<source>Options engine is not loaded, can&apos;t access to the filters</source>
<translation type="unfinished"></translation>
</message>
@@ -273,22 +273,22 @@
<context>
<name>FileExistsDialog</name>
<message>
- <location filename="../../FileExistsDialog.cpp" line="131"/>
+ <location filename="../../FileExistsDialog.cpp" line="137"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="141"/>
+ <location filename="../../FileExistsDialog.cpp" line="147"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileExistsDialog.cpp" line="226"/>
+ <location filename="../../FileExistsDialog.cpp" line="232"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -296,22 +296,22 @@
<context>
<name>FileIsSameDialog</name>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="105"/>
+ <location filename="../../FileIsSameDialog.cpp" line="111"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="115"/>
+ <location filename="../../FileIsSameDialog.cpp" line="121"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FileIsSameDialog.cpp" line="182"/>
+ <location filename="../../FileIsSameDialog.cpp" line="188"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -417,40 +417,40 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="92"/>
- <location filename="../../Filters.cpp" line="130"/>
+ <location filename="../../Filters.cpp" line="93"/>
+ <location filename="../../Filters.cpp" line="131"/>
<source>Raw text</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="95"/>
- <location filename="../../Filters.cpp" line="133"/>
+ <location filename="../../Filters.cpp" line="96"/>
+ <location filename="../../Filters.cpp" line="134"/>
<source>Simplified regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="98"/>
- <location filename="../../Filters.cpp" line="136"/>
+ <location filename="../../Filters.cpp" line="99"/>
+ <location filename="../../Filters.cpp" line="137"/>
<source>Perl&apos;s regex</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="106"/>
- <location filename="../../Filters.cpp" line="144"/>
+ <location filename="../../Filters.cpp" line="107"/>
+ <location filename="../../Filters.cpp" line="145"/>
<source>Only on file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="109"/>
- <location filename="../../Filters.cpp" line="147"/>
+ <location filename="../../Filters.cpp" line="110"/>
+ <location filename="../../Filters.cpp" line="148"/>
<source>Only on folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../Filters.cpp" line="115"/>
- <location filename="../../Filters.cpp" line="153"/>
- <location filename="../../Filters.cpp" line="215"/>
- <location filename="../../Filters.cpp" line="254"/>
+ <location filename="../../Filters.cpp" line="116"/>
+ <location filename="../../Filters.cpp" line="154"/>
+ <location filename="../../Filters.cpp" line="216"/>
+ <location filename="../../Filters.cpp" line="255"/>
<source>Full match</source>
<translation type="unfinished"></translation>
</message>
@@ -458,27 +458,27 @@
<context>
<name>FolderExistsDialog</name>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="51"/>
+ <location filename="../../FolderExistsDialog.cpp" line="57"/>
<source>Folder already exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="116"/>
+ <location filename="../../FolderExistsDialog.cpp" line="122"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="126"/>
+ <location filename="../../FolderExistsDialog.cpp" line="132"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../FolderExistsDialog.cpp" line="187"/>
+ <location filename="../../FolderExistsDialog.cpp" line="193"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -486,49 +486,49 @@
<context>
<name>ListThread</name>
<message>
- <location filename="../../ListThread.cpp" line="1447"/>
- <location filename="../../ListThread.cpp" line="2369"/>
+ <location filename="../../ListThread.cpp" line="1458"/>
+ <location filename="../../ListThread.cpp" line="2390"/>
<source>Unable do to move or copy item into wrong forced mode: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1454"/>
- <location filename="../../ListThread.cpp" line="2376"/>
+ <location filename="../../ListThread.cpp" line="1465"/>
+ <location filename="../../ListThread.cpp" line="2397"/>
<source>Unable to save the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1470"/>
+ <location filename="../../ListThread.cpp" line="1481"/>
<source>Problem reading file, or file-size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1477"/>
+ <location filename="../../ListThread.cpp" line="1488"/>
<source>Wrong header: &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1486"/>
+ <location filename="../../ListThread.cpp" line="1497"/>
<source>The transfer list is in mixed mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1495"/>
+ <location filename="../../ListThread.cpp" line="1506"/>
<source>The transfer list is in copy mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1501"/>
+ <location filename="../../ListThread.cpp" line="1512"/>
<source>The transfer list is in move mode, but this instance is not in this mode</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1557"/>
+ <location filename="../../ListThread.cpp" line="1575"/>
<source>Some errors have been found during the line parsing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ListThread.cpp" line="1565"/>
+ <location filename="../../ListThread.cpp" line="1583"/>
<source>Unable to open the transfer list: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -556,13 +556,13 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../MkPath.cpp" line="232"/>
+ <location filename="../../MkPath.cpp" line="233"/>
<source>Unable to move the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../MkPath.cpp" line="93"/>
- <location filename="../../MkPath.cpp" line="275"/>
+ <location filename="../../MkPath.cpp" line="276"/>
<source>Unable to remove</source>
<translation type="unfinished"></translation>
</message>
@@ -649,39 +649,39 @@
<context>
<name>ScanFileOrFolder</name>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="265"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="274"/>
<source>Blacklisted folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="327"/>
- <location filename="../../ScanFileOrFolder.cpp" line="393"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="338"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="404"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="337"/>
- <location filename="../../ScanFileOrFolder.cpp" line="403"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="348"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="414"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="441"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="452"/>
<source>This is not a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="443"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="454"/>
<source>The folder does exists</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="445"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="456"/>
<source>The folder is not readable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ScanFileOrFolder.cpp" line="456"/>
+ <location filename="../../ScanFileOrFolder.cpp" line="467"/>
<source>Problem with name encoding</source>
<translation type="unfinished"></translation>
</message>
@@ -689,101 +689,101 @@
<context>
<name>TransferThread</name>
<message>
- <location filename="../../TransferThread.cpp" line="235"/>
- <location filename="../../TransferThread.cpp" line="663"/>
- <location filename="../../TransferThread.cpp" line="735"/>
- <location filename="../../TransferThread.cpp" line="1303"/>
+ <location filename="../../TransferThread.cpp" line="243"/>
+ <location filename="../../TransferThread.cpp" line="672"/>
+ <location filename="../../TransferThread.cpp" line="744"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
<source>File not found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="336"/>
- <location filename="../../TransferThread.cpp" line="353"/>
+ <location filename="../../TransferThread.cpp" line="344"/>
+ <location filename="../../TransferThread.cpp" line="361"/>
<source>Wrong modification date or unable to get it, you can disable time transfer to do it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="408"/>
- <location filename="../../TransferThread.cpp" line="431"/>
+ <location filename="../../TransferThread.cpp" line="416"/>
+ <location filename="../../TransferThread.cpp" line="439"/>
<source>Internal error: Already opening</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="572"/>
+ <location filename="../../TransferThread.cpp" line="581"/>
<source>Drive %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="574"/>
+ <location filename="../../TransferThread.cpp" line="583"/>
<source>Unknown folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="578"/>
+ <location filename="../../TransferThread.cpp" line="587"/>
<source>root</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="631"/>
+ <location filename="../../TransferThread.cpp" line="640"/>
<source>%1 - copy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="641"/>
+ <location filename="../../TransferThread.cpp" line="650"/>
<source>%1 - copy (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="701"/>
- <location filename="../../TransferThread.cpp" line="816"/>
+ <location filename="../../TransferThread.cpp" line="710"/>
+ <location filename="../../TransferThread.cpp" line="825"/>
<source>The source file doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="741"/>
- <location filename="../../TransferThread.cpp" line="828"/>
+ <location filename="../../TransferThread.cpp" line="750"/>
+ <location filename="../../TransferThread.cpp" line="837"/>
<source>Unable to do the folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="777"/>
+ <location filename="../../TransferThread.cpp" line="786"/>
<source>The source doesn&apos;t exist</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="822"/>
+ <location filename="../../TransferThread.cpp" line="831"/>
<source>Another file exists at same place</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1124"/>
+ <location filename="../../TransferThread.cpp" line="1133"/>
<source>The checksums do not match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1213"/>
+ <location filename="../../TransferThread.cpp" line="1223"/>
<source>Internal error: The destination is not closed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1227"/>
+ <location filename="../../TransferThread.cpp" line="1238"/>
<source>Internal error: The size transfered doesn&apos;t match</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1238"/>
+ <location filename="../../TransferThread.cpp" line="1249"/>
<source>Internal error: The buffer is not empty</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="1303"/>
- <location filename="../../TransferThread.cpp" line="1321"/>
- <location filename="../../TransferThread.cpp" line="1336"/>
+ <location filename="../../TransferThread.cpp" line="1314"/>
+ <location filename="../../TransferThread.cpp" line="1332"/>
+ <location filename="../../TransferThread.cpp" line="1347"/>
<source>Unable to change the date</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../TransferThread.cpp" line="219"/>
+ <location filename="../../TransferThread.cpp" line="227"/>
<source>Try rename with using special characters</source>
<translation type="unfinished"></translation>
</message>
@@ -796,17 +796,17 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="268"/>
+ <location filename="../../WriteThread.cpp" line="269"/>
<source>Internal error, please report it!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="671"/>
+ <location filename="../../WriteThread.cpp" line="672"/>
<source>Unable to read the source file: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../WriteThread.cpp" line="696"/>
+ <location filename="../../WriteThread.cpp" line="697"/>
<source>File truncated during read, possible data change</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/CopyEngine/Ultracopier/ListThread.cpp b/plugins/CopyEngine/Ultracopier/ListThread.cpp
index 48e06db..4b9cde5 100644
--- a/plugins/CopyEngine/Ultracopier/ListThread.cpp
+++ b/plugins/CopyEngine/Ultracopier/ListThread.cpp
@@ -1,6 +1,7 @@
#include "ListThread.h"
#include <QStorageInfo>
#include <QMutexLocker>
+#include "../../../cpp11addition.h"
ListThread::ListThread(FacilityInterface * facilityInterface)
{
@@ -78,12 +79,12 @@ void ListThread::transferInodeIsClosed()
{
numberOfInodeOperation--;
#ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("numberOfInodeOperation: %1").arg(numberOfInodeOperation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation));
#endif
TransferThread *temp_transfer_thread=qobject_cast<TransferThread *>(QObject::sender());
if(temp_transfer_thread==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("transfer thread not located!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not located!");
return;
}
bool isFound=false;
@@ -92,7 +93,7 @@ void ListThread::transferInodeIsClosed()
#endif
if(temp_transfer_thread->getStat()!=TransferStat_Idle)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("transfer thread not idle!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not idle!");
return;
}
int int_for_internal_loop=0;
@@ -101,17 +102,17 @@ void ListThread::transferInodeIsClosed()
{
if(actionToDoListTransfer.at(int_for_internal_loop).id==temp_transfer_thread->transferId)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] have finish, put at idle; for id: %2").arg(int_for_internal_loop).arg(temp_transfer_thread->transferId));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] have finish, put at idle; for id: %2").arg(int_for_internal_loop).arg(temp_transfer_thread->transferId).toStdString());
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type=Ultracopier::RemoveItem;
newAction.userAction.moveAt=0;
newAction.addAction=actionToDoTransferToItemOfCopyList(actionToDoListTransfer.at(int_for_internal_loop));
newAction.userAction.position=int_for_internal_loop;
- actionDone << newAction;
+ actionDone.push_back(newAction);
/// \todo check if item is at the right thread
- actionToDoListTransfer.removeAt(int_for_internal_loop);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()));
- if(actionToDoListTransfer.isEmpty() && actionToDoListInode.isEmpty() && actionToDoListInode_afterTheTransfer.isEmpty())
+ actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+int_for_internal_loop);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString());
+ if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty())
updateTheStatus();
//add the current size of file, to general size because it's finish
@@ -119,7 +120,7 @@ void ListThread::transferInodeIsClosed()
if(copiedSize>(qint64)temp_transfer_thread->transferSize)
{
oversize=copiedSize-temp_transfer_thread->transferSize;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("add oversize of: %1").arg(oversize));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"add oversize of: "+std::to_string(oversize));
bytesToTransfer+=oversize;
bytesTransfered+=oversize;
}
@@ -127,7 +128,7 @@ void ListThread::transferInodeIsClosed()
if(temp_transfer_thread->haveStartTime)
{
- timeToTransfer << QPair<quint64,quint32>(temp_transfer_thread->transferSize,temp_transfer_thread->startTransferTime.elapsed());
+ timeToTransfer.push_back(std::pair<uint64_t,uint32_t>(temp_transfer_thread->transferSize,temp_transfer_thread->startTransferTime.elapsed()));
temp_transfer_thread->haveStartTime=false;
}
temp_transfer_thread->transferId=0;
@@ -136,10 +137,10 @@ void ListThread::transferInodeIsClosed()
countLocalParse++;
#endif
isFound=true;
- if(actionToDoListTransfer.isEmpty())
+ if(actionToDoListTransfer.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionToDoListTransfer==0");
- actionToDoListInode << actionToDoListInode_afterTheTransfer;
+ actionToDoListInode.insert(actionToDoListInode.cbegin(),actionToDoListInode_afterTheTransfer.cbegin(),actionToDoListInode_afterTheTransfer.cend());
actionToDoListInode_afterTheTransfer.clear();
doNewActions_inode_manipulation();
}
@@ -151,14 +152,14 @@ void ListThread::transferInodeIsClosed()
deleteTransferThread();
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("unable to found item into the todo list, id: %1, index: %2").arg(temp_transfer_thread->transferId).arg(int_for_internal_loop));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("unable to found item into the todo list, id: %1, index: %2").arg(temp_transfer_thread->transferId).arg(int_for_internal_loop).toStdString());
temp_transfer_thread->transferId=0;
temp_transfer_thread->transferSize=0;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("countLocalParse: %1, actionToDoList.size(): %2").arg(countLocalParse).arg(actionToDoListTransfer.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("countLocalParse: %1, actionToDoList.size(): %2").arg(countLocalParse).arg(actionToDoListTransfer.size()).toStdString());
#ifdef ULTRACOPIER_PLUGIN_DEBUG
if(countLocalParse!=1)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("countLocalParse != 1"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"countLocalParse != 1");
#endif
doNewActions_inode_manipulation();
}
@@ -170,29 +171,30 @@ void ListThread::transferPutAtBottom()
TransferThread *transfer=qobject_cast<TransferThread *>(QObject::sender());
if(transfer==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("transfer thread not located!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not located!");
return;
}
bool isFound=false;
#ifdef ULTRACOPIER_PLUGIN_DEBUG
int countLocalParse=0;
#endif
- int indexAction=0;
+ unsigned int indexAction=0;
while(indexAction<actionToDoListTransfer.size())
{
if(actionToDoListTransfer.at(indexAction).id==transfer->transferId)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Put at the end: %1").arg(transfer->transferId));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Put at the end: "+std::to_string(transfer->transferId));
//push for interface at the end
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type=Ultracopier::MoveItem;
newAction.addAction.id=transfer->transferId;
newAction.userAction.position=actionToDoListTransfer.size()-1;
- actionDone << newAction;
+ actionDone.push_back(newAction);
//do the wait stat
actionToDoListTransfer[indexAction].isRunning=false;
//move at the end
- actionToDoListTransfer.move(indexAction,actionToDoListTransfer.size()-1);
+ actionToDoListTransfer.push_back(actionToDoListTransfer.at(indexAction));
+ actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+indexAction);
//reset the thread list stat
transfer->transferId=0;
transfer->transferSize=0;
@@ -206,14 +208,14 @@ void ListThread::transferPutAtBottom()
}
if(!isFound)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("unable to found item into the todo list, id: %1, index: %2").arg(transfer->transferId));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("unable to found item into the todo list, id: %1, index: %2").arg(transfer->transferId).toStdString());
transfer->transferId=0;
transfer->transferSize=0;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("countLocalParse: %1").arg(countLocalParse));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"countLocalParse: "+std::to_string(countLocalParse));
#ifdef ULTRACOPIER_PLUGIN_DEBUG
if(countLocalParse!=1)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("countLocalParse != 1"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"countLocalParse != 1");
#endif
transfer->skip();
}
@@ -272,7 +274,7 @@ void ListThread::setAutoStart(const bool autoStart)
/// \brief set rsync
void ListThread::setRsync(const bool rsync)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+QString::number(rsync));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+std::to_string(rsync));
this->rsync=rsync;
int index=0;
int loop_sub_size_transfer_thread_search=transferThreadList.size();
@@ -281,7 +283,7 @@ void ListThread::setRsync(const bool rsync)
transferThreadList.at(index)->setRsync(rsync);
index++;
}
- for(int i=0;i<scanFileOrFolderThreadsPool.size();i++)
+ for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++)
scanFileOrFolderThreadsPool.at(i)->setRsync(rsync);
}
#endif
@@ -290,7 +292,7 @@ void ListThread::setRsync(const bool rsync)
void ListThread::setCheckDestinationFolderExists(const bool checkDestinationFolderExists)
{
this->checkDestinationFolderExists=checkDestinationFolderExists;
- for(int i=0;i<scanFileOrFolderThreadsPool.size();i++)
+ for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++)
scanFileOrFolderThreadsPool.at(i)->setCheckDestinationFolderExists(checkDestinationFolderExists && alwaysDoThisActionForFolderExists!=FolderExists_Merge);
}
@@ -302,7 +304,7 @@ void ListThread::fileTransfer(const QFileInfo &sourceFileInfo,const QFileInfo &d
}
// -> add thread safe, by Qt::BlockingQueuedConnection
-bool ListThread::haveSameSource(const QStringList &sources)
+bool ListThread::haveSameSource(const std::vector<std::string> &sources)
{
if(stopIt)
return false;
@@ -311,12 +313,12 @@ bool ListThread::haveSameSource(const QStringList &sources)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sourceDriveMultiple");
return false;
}
- if(sourceDrive.isEmpty())
+ if(sourceDrive.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sourceDrive.isEmpty()");
return true;
}
- int index=0;
+ unsigned int index=0;
while(index<sources.size())
{
if(driveManagement.getDrive(sources.at(index))!=sourceDrive)
@@ -331,7 +333,7 @@ bool ListThread::haveSameSource(const QStringList &sources)
}
// -> add thread safe, by Qt::BlockingQueuedConnection
-bool ListThread::haveSameDestination(const QString &destination)
+bool ListThread::haveSameDestination(const std::string &destination)
{
if(stopIt)
return false;
@@ -340,7 +342,7 @@ bool ListThread::haveSameDestination(const QString &destination)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destinationDriveMultiple");
return false;
}
- if(destinationDrive.isEmpty())
+ if(destinationDrive.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destinationDrive.isEmpty()");
return true;
@@ -355,52 +357,52 @@ bool ListThread::haveSameDestination(const QString &destination)
}
/// \return empty if multiple or no destination
-QString ListThread::getUniqueDestinationFolder() const
+std::string ListThread::getUniqueDestinationFolder() const
{
if(stopIt)
- return QString();
+ return std::string();
if(destinationFolderMultiple)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destinationDriveMultiple");
- return QString();
+ return std::string();
}
return destinationFolder;
}
ScanFileOrFolder * ListThread::newScanThread(Ultracopier::CopyMode mode)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start with: ")+QString::number(mode));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start with: "+std::to_string(mode));
//create new thread because is auto-detroyed
- scanFileOrFolderThreadsPool << new ScanFileOrFolder(mode);
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::finishedTheListing, this,&ListThread::scanThreadHaveFinishSlot, Qt::QueuedConnection);
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::fileTransfer, this,&ListThread::fileTransfer, Qt::QueuedConnection);
+ scanFileOrFolderThreadsPool.push_back(new ScanFileOrFolder(mode));
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::finishedTheListing, this,&ListThread::scanThreadHaveFinishSlot, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::fileTransfer, this,&ListThread::fileTransfer, Qt::QueuedConnection);
#ifdef ULTRACOPIER_PLUGIN_DEBUG
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::debugInformation, this,&ListThread::debugInformation, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::debugInformation, this,&ListThread::debugInformation, Qt::QueuedConnection);
#endif
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::newFolderListing, this,&ListThread::newFolderListing);
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::addToMovePath, this,&ListThread::addToMovePath, Qt::QueuedConnection);
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::addToRealMove, this,&ListThread::addToRealMove, Qt::QueuedConnection);
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::addToMkPath, this,&ListThread::addToMkPath, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::newFolderListing, this,&ListThread::newFolderListing);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToMovePath, this,&ListThread::addToMovePath, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToRealMove, this,&ListThread::addToRealMove, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToMkPath, this,&ListThread::addToMkPath, Qt::QueuedConnection);
#ifdef ULTRACOPIER_PLUGIN_RSYNC
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::addToRmForRsync, this,&ListThread::addToRmForRsync, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToRmForRsync, this,&ListThread::addToRmForRsync, Qt::QueuedConnection);
#endif
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::errorOnFolder, this,&ListThread::errorOnFolder, Qt::QueuedConnection);
- connect(scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::folderAlreadyExists, this,&ListThread::folderAlreadyExists, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::errorOnFolder, this,&ListThread::errorOnFolder, Qt::QueuedConnection);
+ connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::folderAlreadyExists, this,&ListThread::folderAlreadyExists, Qt::QueuedConnection);
- connect(this,&ListThread::send_updateMount, scanFileOrFolderThreadsPool.last(),&ScanFileOrFolder::set_updateMount, Qt::QueuedConnection);
+ connect(this,&ListThread::send_updateMount, scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::set_updateMount, Qt::QueuedConnection);
- scanFileOrFolderThreadsPool.last()->setFilters(include,exclude);
- scanFileOrFolderThreadsPool.last()->setCheckDestinationFolderExists(checkDestinationFolderExists && alwaysDoThisActionForFolderExists!=FolderExists_Merge);
- scanFileOrFolderThreadsPool.last()->setMoveTheWholeFolder(moveTheWholeFolder);
+ scanFileOrFolderThreadsPool.back()->setFilters(include,exclude);
+ scanFileOrFolderThreadsPool.back()->setCheckDestinationFolderExists(checkDestinationFolderExists && alwaysDoThisActionForFolderExists!=FolderExists_Merge);
+ scanFileOrFolderThreadsPool.back()->setMoveTheWholeFolder(moveTheWholeFolder);
#ifdef ULTRACOPIER_PLUGIN_RSYNC
- scanFileOrFolderThreadsPool.last()->setRsync(rsync);
+ scanFileOrFolderThreadsPool.back()->setRsync(rsync);
#endif
if(scanFileOrFolderThreadsPool.size()==1)
updateTheStatus();
- scanFileOrFolderThreadsPool.last()->setRenamingRules(firstRenamingRule,otherRenamingRule);
- return scanFileOrFolderThreadsPool.last();
+ scanFileOrFolderThreadsPool.back()->setRenamingRules(firstRenamingRule,otherRenamingRule);
+ return scanFileOrFolderThreadsPool.back();
}
void ListThread::scanThreadHaveFinishSlot()
@@ -410,7 +412,7 @@ void ListThread::scanThreadHaveFinishSlot()
void ListThread::scanThreadHaveFinish(bool skipFirstRemove)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("listing thread have finish, skipFirstRemove: ")+QString::number(skipFirstRemove));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"listing thread have finish, skipFirstRemove: "+std::to_string(skipFirstRemove));
if(!skipFirstRemove)
{
ScanFileOrFolder * senderThread = qobject_cast<ScanFileOrFolder *>(QObject::sender());
@@ -418,21 +420,21 @@ void ListThread::scanThreadHaveFinish(bool skipFirstRemove)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"sender pointer null (plugin copy engine)");
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start the next thread, scanFileOrFolderThreadsPool.size(): ")+QString::number(scanFileOrFolderThreadsPool.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start the next thread, scanFileOrFolderThreadsPool.size(): "+std::to_string(scanFileOrFolderThreadsPool.size()));
delete senderThread;
- scanFileOrFolderThreadsPool.removeOne(senderThread);
- if(scanFileOrFolderThreadsPool.isEmpty())
+ vectorremoveOne(scanFileOrFolderThreadsPool,senderThread);
+ if(scanFileOrFolderThreadsPool.empty())
updateTheStatus();
}
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start the next thread, scanFileOrFolderThreadsPool.size(): ")+QString::number(scanFileOrFolderThreadsPool.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start the next thread, scanFileOrFolderThreadsPool.size(): "+std::to_string(scanFileOrFolderThreadsPool.size()));
if(scanFileOrFolderThreadsPool.size()>0)
{
//then start the next listing threads
- if(scanFileOrFolderThreadsPool.first()->isFinished())
+ if(scanFileOrFolderThreadsPool.front()->isFinished())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Start listing thread");
- scanFileOrFolderThreadsPool.first()->start();
+ scanFileOrFolderThreadsPool.front()->start();
}
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"The listing thread is already running");
@@ -472,9 +474,9 @@ void ListThread::startGeneralTransfer()
}
// -> add thread safe, by Qt::BlockingQueuedConnection
-bool ListThread::newCopy(const QStringList &sources,const QString &destination)
+bool ListThread::newCopy(const std::vector<std::string> &sources,const std::string &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: ")+sources.join(";")+QStringLiteral(", destination: ")+destination);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+stringimplode(sources,";")+", destination: "+destination);
ScanFileOrFolder * scanFileOrFolderThread = newScanThread(Ultracopier::Copy);
if(scanFileOrFolderThread==NULL)
{
@@ -488,7 +490,7 @@ bool ListThread::newCopy(const QStringList &sources,const QString &destination)
}
// -> add thread safe, by Qt::BlockingQueuedConnection
-bool ListThread::newMove(const QStringList &sources,const QString &destination)
+bool ListThread::newMove(const std::vector<std::string> &sources,const std::string &destination)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
ScanFileOrFolder * scanFileOrFolderThread = newScanThread(Ultracopier::Move);
@@ -503,17 +505,17 @@ bool ListThread::newMove(const QStringList &sources,const QString &destination)
return true;
}
-void ListThread::detectDrivesOfCurrentTransfer(const QStringList &sources,const QString &destination)
+void ListThread::detectDrivesOfCurrentTransfer(const std::vector<std::string> &sources,const std::string &destination)
{
/* code to detect volume/mount point to group by windows */
if(!sourceDriveMultiple)
{
- int index=0;
+ unsigned int index=0;
while(index<sources.size())
{
- const QString &tempDrive=driveManagement.getDrive(sources.at(index));
+ const std::string &tempDrive=driveManagement.getDrive(sources.at(index));
//if have not already source, set the source
- if(sourceDrive.isEmpty())
+ if(sourceDrive.empty())
sourceDrive=tempDrive;
//if have previous source and the news source is not the same
if(sourceDrive!=tempDrive)
@@ -524,12 +526,12 @@ void ListThread::detectDrivesOfCurrentTransfer(const QStringList &sources,const
index++;
}
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source informations, sourceDrive: %1, sourceDriveMultiple: %2").arg(sourceDrive).arg(sourceDriveMultiple));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source informations, sourceDrive: %1, sourceDriveMultiple: %2").arg(QString::fromStdString(sourceDrive)).arg(sourceDriveMultiple).toStdString());
if(!destinationDriveMultiple)
{
- const QString &tempDrive=driveManagement.getDrive(destination);
+ const std::string &tempDrive=driveManagement.getDrive(destination);
//if have not already destination, set the destination
- if(destinationDrive.isEmpty())
+ if(destinationDrive.empty())
destinationDrive=tempDrive;
//if have previous destination and the news destination is not the same
if(destinationDrive!=tempDrive)
@@ -538,13 +540,13 @@ void ListThread::detectDrivesOfCurrentTransfer(const QStringList &sources,const
if(!destinationFolderMultiple)
{
//if have not already destination, set the destination
- if(destinationFolder.isEmpty())
+ if(destinationFolder.empty())
destinationFolder=destination;
//if have previous destination and the news destination is not the same
if(destinationFolder!=destination)
destinationFolderMultiple=true;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("destination informations, destinationDrive: %1, destinationDriveMultiple: %2").arg(destinationDrive).arg(destinationDriveMultiple));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("destination informations, destinationDrive: %1, destinationDriveMultiple: %2").arg(QString::fromStdString(destinationDrive)).arg(destinationDriveMultiple).toStdString());
}
void ListThread::setCollisionAction(const FileExistsAction &alwaysDoThisActionForFileExists)
@@ -578,7 +580,7 @@ bool ListThread::getReturnBoolToCopyEngine() const
return returnBoolToCopyEngine;
}
-QPair<quint64,quint64> ListThread::getReturnPairQuint64ToCopyEngine() const
+std::pair<quint64, quint64> ListThread::getReturnPairQuint64ToCopyEngine() const
{
return returnPairQuint64ToCopyEngine;
}
@@ -701,12 +703,12 @@ void ListThread::resume()
emit isInPause(false);
}
-void ListThread::skip(const quint64 &id)
+void ListThread::skip(const uint64_t &id)
{
skipInternal(id);
}
-bool ListThread::skipInternal(const quint64 &id)
+bool ListThread::skipInternal(const uint64_t &id)
{
int index=0;
int loop_sub_size_transfer_thread_search=transferThreadList.size();
@@ -714,7 +716,7 @@ bool ListThread::skipInternal(const quint64 &id)
{
if(transferThreadList.at(index)->transferId==id)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("skip one transfer: %1").arg(id));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"skip one transfer: "+std::to_string(id));
transferThreadList.at(index)->skip();
return true;
}
@@ -726,22 +728,22 @@ bool ListThread::skipInternal(const quint64 &id)
{
if(actionToDoListTransfer.at(int_for_internal_loop).id==id)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] remove at not running, for id: %2").arg(int_for_internal_loop).arg(id));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] remove at not running, for id: %2").arg(int_for_internal_loop).arg(id).toStdString());
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type=Ultracopier::RemoveItem;
newAction.userAction.moveAt=1;
newAction.addAction=actionToDoTransferToItemOfCopyList(actionToDoListTransfer.at(int_for_internal_loop));
newAction.userAction.position=int_for_internal_loop;
- actionDone << newAction;
- actionToDoListTransfer.removeAt(int_for_internal_loop);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()));
- if(actionToDoListTransfer.isEmpty() && actionToDoListInode.isEmpty() && actionToDoListInode_afterTheTransfer.isEmpty())
+ actionDone.push_back(newAction);
+ actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+int_for_internal_loop);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString());
+ if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty())
updateTheStatus();
return true;
}
int_for_internal_loop++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("skip transfer not found: %1").arg(id));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"skip transfer not found: "+std::to_string(id));
return false;
}
@@ -796,7 +798,7 @@ void ListThread::checkIfReadyToCancel()
return;
delete transferThreadList.at(index);//->deleteLayer();
transferThreadList[index]=NULL;
- transferThreadList.removeAt(index);
+ transferThreadList.erase(transferThreadList.cbegin()+index);
loop_size=transferThreadList.size();
index--;
}
@@ -814,10 +816,10 @@ void ListThread::checkIfReadyToCancel()
}
//speedLimitation in KB/s
-bool ListThread::setSpeedLimitation(const qint64 &speedLimitation)
+bool ListThread::setSpeedLimitation(const int64_t &speedLimitation)
{
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("maxSpeed in KB/s: ")+QString::number(speedLimitation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"maxSpeed in KB/s: "+std::to_string(speedLimitation));
if(speedLimitation>1024*1024)
{
@@ -881,6 +883,7 @@ bool ListThread::setSpeedLimitation(const qint64 &speedLimitation)
.arg(multiForBigSpeed)
.arg(newInterval)
.arg(maxSpeed)
+ .toStdString()
);
clockForTheCopySpeed->setInterval(newInterval);
@@ -933,7 +936,7 @@ void ListThread::updateTheStatus()
updateTheStatus_action_in_progress=Ultracopier::Copying;
else
updateTheStatus_action_in_progress=Ultracopier::Idle;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("emit actionInProgess(")+QString::number(updateTheStatus_action_in_progress)+QStringLiteral(")"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit actionInProgess("+std::to_string(updateTheStatus_action_in_progress)+")");
emit actionInProgess(updateTheStatus_action_in_progress);
}
@@ -951,20 +954,20 @@ void ListThread::setAlwaysFileExistsAction(const FileExistsAction &alwaysDoThisA
}
//mk path to do
-quint64 ListThread::addToMkPath(const QFileInfo& source,const QFileInfo& destination, const int& inode)
+uint64_t ListThread::addToMkPath(const QFileInfo& source,const QFileInfo& destination, const int& inode)
{
if(stopIt)
return 0;
if(inode!=0 && (!keepDate && !doRightTransfer))
return 0;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
ActionToDoInode temp;
temp.type = ActionType_MkPath;
temp.id = generateIdNumber();
temp.source = source;
temp.destination= destination;
temp.isRunning = false;
- actionToDoListInode << temp;
+ actionToDoListInode.push_back(temp);
return temp.id;
}
@@ -973,7 +976,7 @@ void ListThread::addToMovePath(const QFileInfo& source, const QFileInfo &destina
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, inodeToRemove: %3").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).arg(inodeToRemove));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, inodeToRemove: %3").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).arg(inodeToRemove).toStdString());
ActionToDoInode temp;
temp.type = ActionType_MovePath;
temp.id = generateIdNumber();
@@ -981,14 +984,14 @@ void ListThread::addToMovePath(const QFileInfo& source, const QFileInfo &destina
temp.source = source;
temp.destination= destination;
temp.isRunning = false;
- actionToDoListInode << temp;
+ actionToDoListInode.push_back(temp);
}
void ListThread::addToRealMove(const QFileInfo& source,const QFileInfo& destination)
{
if(stopIt)
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
ActionToDoInode temp;
temp.type = ActionType_RealMove;
temp.id = generateIdNumber();
@@ -996,32 +999,32 @@ void ListThread::addToRealMove(const QFileInfo& source,const QFileInfo& destinat
temp.source = source;
temp.destination= destination;
temp.isRunning = false;
- actionToDoListInode << temp;
+ actionToDoListInode.push_back(temp);
}
#ifdef ULTRACOPIER_PLUGIN_RSYNC
//rsync rm
void ListThread::addToRmForRsync(const QFileInfo& destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"inode: "+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"inode: "+destination.absoluteFilePath().toStdString());
ActionToDoInode temp;
temp.type = ActionType_RmSync;
temp.id = generateIdNumber();
temp.destination= destination;
temp.isRunning = false;
- actionToDoListInode << temp;
+ actionToDoListInode.push_back(temp);
}
#endif
//send action done
void ListThread::sendActionDone()
{
- if(!actionDone.isEmpty())
+ if(!actionDone.empty())
{
emit newActionOnList(actionDone);
actionDone.clear();
}
- if(!timeToTransfer.isEmpty())
+ if(!timeToTransfer.empty())
{
emit doneTime(timeToTransfer);
timeToTransfer.clear();
@@ -1031,7 +1034,7 @@ void ListThread::sendActionDone()
//send progression
void ListThread::sendProgression()
{
- if(actionToDoListTransfer.isEmpty())
+ if(actionToDoListTransfer.empty())
return;
oversize=0;
currentProgression=0;
@@ -1060,12 +1063,12 @@ void ListThread::sendProgression()
//the current size copied
totalSize=temp_transfer_thread->transferSize+localOverSize;
- QPair<quint64,quint64> progression=temp_transfer_thread->progression();
+ std::pair<uint64_t,uint64_t> progression=temp_transfer_thread->progression();
tempItem.currentRead=progression.first;
tempItem.currentWrite=progression.second;
tempItem.id=temp_transfer_thread->transferId;
tempItem.total=totalSize;
- progressionList << tempItem;
+ progressionList.push_back(tempItem);
//add the oversize to the general progression
oversize+=localOverSize;
@@ -1099,14 +1102,14 @@ void ListThread::syncTransferList_internal()
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type = Ultracopier::PreOperation;
newAction.addAction.id = item.id;
- newAction.addAction.sourceFullPath = item.source.absoluteFilePath();
- newAction.addAction.sourceFileName = item.source.fileName();
- newAction.addAction.destinationFullPath = item.destination.absoluteFilePath();
- newAction.addAction.destinationFileName = item.destination.fileName();
+ newAction.addAction.sourceFullPath = item.source.absoluteFilePath().toStdString();
+ newAction.addAction.sourceFileName = item.source.fileName().toStdString();
+ newAction.addAction.destinationFullPath = item.destination.absoluteFilePath().toStdString();
+ newAction.addAction.destinationFileName = item.destination.fileName().toStdString();
newAction.addAction.size = item.size;
newAction.addAction.mode = item.mode;
- actionDone << newAction;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, size: %2, name: %3, size2: %4").arg(item.id).arg(item.size).arg(item.source.absoluteFilePath()).arg(newAction.addAction.size));
+ actionDone.push_back(newAction);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, size: %2, name: %3, size2: %4").arg(item.id).arg(item.size).arg(item.source.absoluteFilePath()).arg(newAction.addAction.size).toStdString());
if(item.isRunning)
{
for(int_for_internal_loop=0; int_for_internal_loop<loop_sub_size; ++int_for_internal_loop) {
@@ -1114,13 +1117,13 @@ void ListThread::syncTransferList_internal()
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type = Ultracopier::PreOperation;
newAction.addAction.id = item.id;
- newAction.addAction.sourceFullPath = item.source.absoluteFilePath();
- newAction.addAction.sourceFileName = item.source.fileName();
- newAction.addAction.destinationFullPath = item.destination.absoluteFilePath();
- newAction.addAction.destinationFileName = item.destination.fileName();
+ newAction.addAction.sourceFullPath = item.source.absoluteFilePath().toStdString();
+ newAction.addAction.sourceFileName = item.source.fileName().toStdString();
+ newAction.addAction.destinationFullPath = item.destination.absoluteFilePath().toStdString();
+ newAction.addAction.destinationFileName = item.destination.fileName().toStdString();
newAction.addAction.size = item.size;
newAction.addAction.mode = item.mode;
- actionDone << newAction;
+ actionDone.push_back(newAction);
if(transferThread->getStat()!=TransferStat_PreOperation)
{
Ultracopier::ReturnActionOnCopyList newAction;
@@ -1139,7 +1142,7 @@ void ListThread::syncTransferList_internal()
break;
}
newAction.addAction.id = item.id;
- actionDone << newAction;
+ actionDone.push_back(newAction);
}
}
}
@@ -1147,7 +1150,7 @@ void ListThread::syncTransferList_internal()
}
//add file transfer to do
-quint64 ListThread::addToTransfer(const QFileInfo& source,const QFileInfo& destination,const Ultracopier::CopyMode& mode)
+uint64_t ListThread::addToTransfer(const QFileInfo& source,const QFileInfo& destination,const Ultracopier::CopyMode& mode)
{
if(stopIt)
return 0;
@@ -1156,20 +1159,20 @@ quint64 ListThread::addToTransfer(const QFileInfo& source,const QFileInfo& desti
quint64 size=0;
if(!source.isSymLink())
size=source.size();
- const QString &drive=driveManagement.getDrive(destination.absoluteFilePath());
- if(drive.isEmpty())
+ const std::string &drive=driveManagement.getDrive(destination.absoluteFilePath().toStdString());
+ if(drive.empty())
abort();
- if(mode!=Ultracopier::Move || drive!=driveManagement.getDrive(source.absoluteFilePath()))
+ if(mode!=Ultracopier::Move || drive!=driveManagement.getDrive(source.absoluteFilePath().toStdString()))
{
- if(requiredSpace.contains(drive))
+ if(requiredSpace.find(drive)!=requiredSpace.cend())
{
requiredSpace[drive]+=size;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("space needed add: %1, space needed: %2, on: %3").arg(size).arg(requiredSpace.value(drive)).arg(drive));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("space needed add: %1, space needed: %2, on: %3").arg(size).arg(requiredSpace.at(drive)).arg(QString::fromStdString(drive)).toStdString());
}
else
{
requiredSpace[drive]=size;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("set space %1 needed, on: %2").arg(size).arg(drive));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("set space %1 needed, on: %2").arg(size).arg(QString::fromStdString(drive)).toStdString());
}
}
bytesToTransfer+= size;
@@ -1180,13 +1183,13 @@ quint64 ListThread::addToTransfer(const QFileInfo& source,const QFileInfo& desti
temp.destination= destination;
temp.mode = mode;
temp.isRunning = false;
- actionToDoListTransfer << temp;
+ actionToDoListTransfer.push_back(temp);
//push the new transfer to interface
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type = Ultracopier::AddingItem;
newAction.addAction=actionToDoTransferToItemOfCopyList(temp);
- actionDone << newAction;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, add entry: %3, size: %4, size2: %5, isSymLink: %6").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).arg(temp.id).arg(temp.size).arg(size).arg(source.isSymLink()));
+ actionDone.push_back(newAction);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, add entry: %3, size: %4, size2: %5, isSymLink: %6").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).arg(temp.id).arg(temp.size).arg(size).arg(source.isSymLink()).toStdString());
return temp.id;
}
@@ -1194,17 +1197,17 @@ Ultracopier::ItemOfCopyList ListThread::actionToDoTransferToItemOfCopyList(const
{
Ultracopier::ItemOfCopyList itemOfCopyList;
itemOfCopyList.id = actionToDoTransfer.id;
- itemOfCopyList.sourceFullPath = actionToDoTransfer.source.absoluteFilePath();
- itemOfCopyList.sourceFileName = actionToDoTransfer.source.fileName();
- itemOfCopyList.destinationFullPath = actionToDoTransfer.destination.absoluteFilePath();
- itemOfCopyList.destinationFileName = actionToDoTransfer.destination.fileName();
+ itemOfCopyList.sourceFullPath = actionToDoTransfer.source.absoluteFilePath().toStdString();
+ itemOfCopyList.sourceFileName = actionToDoTransfer.source.fileName().toStdString();
+ itemOfCopyList.destinationFullPath = actionToDoTransfer.destination.absoluteFilePath().toStdString();
+ itemOfCopyList.destinationFileName = actionToDoTransfer.destination.fileName().toStdString();
itemOfCopyList.size = actionToDoTransfer.size;
itemOfCopyList.mode = actionToDoTransfer.mode;
return itemOfCopyList;
}
//generate id number
-quint64 ListThread::generateIdNumber()
+uint64_t ListThread::generateIdNumber()
{
idIncrementNumber++;
if(idIncrementNumber>(((quint64)1024*1024)*1024*1024*2))
@@ -1213,14 +1216,14 @@ quint64 ListThread::generateIdNumber()
}
//warning the first entry is accessible will copy
-void ListThread::removeItems(const QList<int> &ids)
+void ListThread::removeItems(const std::vector<uint64_t> &ids)
{
- for(int i=0;i<ids.size();i++)
+ for(unsigned int i=0;i<ids.size();i++)
skipInternal(ids.at(i));
}
//put on top
-void ListThread::moveItemsOnTop(QList<int> ids)
+void ListThread::moveItemsOnTop(std::vector<uint64_t> ids)
{
if(actionToDoListTransfer.size()<=1)
{
@@ -1230,21 +1233,22 @@ void ListThread::moveItemsOnTop(QList<int> ids)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//do list operation
int indexToMove=0;
- const int &loop_size=actionToDoListTransfer.size();
- for (int i=0; i<loop_size; ++i) {
- if(ids.contains(actionToDoListTransfer.at(i).id))
+ for (unsigned int i=0; i<actionToDoListTransfer.size(); ++i) {
+ if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id))
{
- ids.removeOne(actionToDoListTransfer.at(i).id);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("move item ")+QString::number(i)+QStringLiteral(" to ")+QString::number(indexToMove));
+ vectorremoveOne(ids,actionToDoListTransfer.at(i).id);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(indexToMove));
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type=Ultracopier::MoveItem;
newAction.addAction.id=actionToDoListTransfer.at(i).id;
newAction.userAction.moveAt=indexToMove;
newAction.userAction.position=i;
- actionDone << newAction;
- actionToDoListTransfer.move(i,indexToMove);
+ actionDone.push_back(newAction);
+ ActionToDoTransfer temp=actionToDoListTransfer.at(i);
+ actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+i);
+ actionToDoListTransfer.insert(actionToDoListTransfer.cbegin()+indexToMove,temp);
indexToMove++;
- if(ids.isEmpty())
+ if(ids.empty())
return;
}
}
@@ -1253,7 +1257,7 @@ void ListThread::moveItemsOnTop(QList<int> ids)
}
//move up
-void ListThread::moveItemsUp(QList<int> ids)
+void ListThread::moveItemsUp(std::vector<uint64_t> ids)
{
if(actionToDoListTransfer.size()<=1)
{
@@ -1264,25 +1268,27 @@ void ListThread::moveItemsUp(QList<int> ids)
//do list operation
int lastGoodPositionReal=0;
bool haveGoodPosition=false;
- const int &loop_size=actionToDoListTransfer.size();
- for (int i=0; i<loop_size; ++i) {
- if(ids.contains(actionToDoListTransfer.at(i).id))
+ for (unsigned int i=0; i<actionToDoListTransfer.size(); ++i) {
+ if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id))
{
if(haveGoodPosition)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("move item ")+QString::number(i)+QStringLiteral(" to ")+QString::number(i-1));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(i-1));
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type=Ultracopier::MoveItem;
newAction.addAction.id=actionToDoListTransfer.at(i).id;
newAction.userAction.moveAt=lastGoodPositionReal;
newAction.userAction.position=i;
- actionDone << newAction;
- actionToDoListTransfer.swap(i,lastGoodPositionReal);
+ actionDone.push_back(newAction);
+ ActionToDoTransfer temp1=actionToDoListTransfer.at(i);
+ ActionToDoTransfer temp2=actionToDoListTransfer.at(lastGoodPositionReal);
+ actionToDoListTransfer[i]=temp2;
+ actionToDoListTransfer[lastGoodPositionReal]=temp1;
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Try move up false, item ")+QString::number(i));
- ids.removeOne(actionToDoListTransfer.at(i).id);
- if(ids.isEmpty())
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Try move up false, item "+std::to_string(i));
+ vectorremoveOne(ids,actionToDoListTransfer.at(i).id);
+ if(ids.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop with return");
return;
@@ -1299,7 +1305,7 @@ void ListThread::moveItemsUp(QList<int> ids)
}
//move down
-void ListThread::moveItemsDown(QList<int> ids)
+void ListThread::moveItemsDown(std::vector<uint64_t> ids)
{
if(actionToDoListTransfer.size()<=1)
{
@@ -1311,25 +1317,28 @@ void ListThread::moveItemsDown(QList<int> ids)
int lastGoodPositionReal=0;
bool haveGoodPosition=false;
for (int i=actionToDoListTransfer.size()-1; i>=0; --i) {
- if(ids.contains(actionToDoListTransfer.at(i).id))
+ if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id))
{
if(haveGoodPosition)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("move item ")+QString::number(i)+QStringLiteral(" to ")+QString::number(i+1));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(i+1));
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type=Ultracopier::MoveItem;
newAction.addAction.id=actionToDoListTransfer.at(i).id;
newAction.userAction.moveAt=lastGoodPositionReal;
newAction.userAction.position=i;
- actionDone << newAction;
- actionToDoListTransfer.swap(i,lastGoodPositionReal);
+ actionDone.push_back(newAction);
+ ActionToDoTransfer temp1=actionToDoListTransfer.at(i);
+ ActionToDoTransfer temp2=actionToDoListTransfer.at(lastGoodPositionReal);
+ actionToDoListTransfer[i]=temp2;
+ actionToDoListTransfer[lastGoodPositionReal]=temp1;
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Try move up false, item ")+QString::number(i));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Try move up false, item "+std::to_string(i));
}
- ids.removeOne(actionToDoListTransfer.at(i).id);
- if(ids.isEmpty())
+ vectorremoveOne(ids,actionToDoListTransfer.at(i).id);
+ if(ids.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop with return");
return;
@@ -1346,7 +1355,7 @@ void ListThread::moveItemsDown(QList<int> ids)
}
//put on bottom
-void ListThread::moveItemsOnBottom(QList<int> ids)
+void ListThread::moveItemsOnBottom(std::vector<uint64_t> ids)
{
if(actionToDoListTransfer.size()<=1)
{
@@ -1357,20 +1366,22 @@ void ListThread::moveItemsOnBottom(QList<int> ids)
//do list operation
int lastGoodPositionReal=actionToDoListTransfer.size()-1;
for (int i=lastGoodPositionReal; i>=0; --i) {
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Check action on item ")+QString::number(i));
- if(ids.contains(actionToDoListTransfer.at(i).id))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Check action on item "+std::to_string(i));
+ if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("move item ")+QString::number(i)+QStringLiteral(" to ")+QString::number(lastGoodPositionReal));
- ids.removeOne(actionToDoListTransfer.at(i).id);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(lastGoodPositionReal));
+ vectorremoveOne(ids,actionToDoListTransfer.at(i).id);
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type=Ultracopier::MoveItem;
newAction.addAction.id=actionToDoListTransfer.at(i).id;
newAction.userAction.moveAt=lastGoodPositionReal;
newAction.userAction.position=i;
- actionDone << newAction;
- actionToDoListTransfer.move(i,lastGoodPositionReal);
+ actionDone.push_back(newAction);
+ ActionToDoTransfer temp=actionToDoListTransfer.at(i);
+ actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+i);
+ actionToDoListTransfer.insert(actionToDoListTransfer.cbegin()+lastGoodPositionReal,temp);
lastGoodPositionReal--;
- if(ids.isEmpty())
+ if(ids.empty())
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop with return");
return;
@@ -1389,17 +1400,17 @@ void ListThread::forceMode(const Ultracopier::CopyMode &mode)
setRsync(false);
#endif
if(mode==Ultracopier::Copy)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Force mode to copy"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to copy");
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("Force mode to move"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to move");
this->mode=mode;
forcedMode=true;
}
-void ListThread::exportTransferList(const QString &fileName)
+void ListThread::exportTransferList(const std::string &fileName)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- QFile transferFile(fileName);
+ QFile transferFile(QString::fromStdString(fileName));
if(transferFile.open(QIODevice::WriteOnly|QIODevice::Truncate))
{
transferFile.write(QStringLiteral("Ultracopier;Transfer-list;").toUtf8());
@@ -1443,38 +1454,38 @@ void ListThread::exportTransferList(const QString &fileName)
}
if(haveError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()));
- emit errorTransferList(tr("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()).toStdString());
+ emit errorTransferList(tr("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()).toStdString());
}
transferFile.close();
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to save the transfer list: %1").arg(transferFile.errorString()));
- emit errorTransferList(tr("Unable to save the transfer list: %1").arg(transferFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to save the transfer list: %1").arg(transferFile.errorString()).toStdString());
+ emit errorTransferList(tr("Unable to save the transfer list: %1").arg(transferFile.errorString()).toStdString());
return;
}
}
-void ListThread::importTransferList(const QString &fileName)
+void ListThread::importTransferList(const std::string &fileName)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- QFile transferFile(fileName);
+ QFile transferFile(QString::fromStdString(fileName));
if(transferFile.open(QIODevice::ReadOnly))
{
- QString content;
+ std::string content;
QByteArray data=transferFile.readLine(64);
if(data.size()<=0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Problem reading file, or file-size is 0"));
- emit errorTransferList(tr("Problem reading file, or file-size is 0"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Problem reading file, or file-size is 0");
+ emit errorTransferList(tr("Problem reading file, or file-size is 0").toStdString());
return;
}
- content=QString::fromUtf8(data);
+ content=QString::fromUtf8(data).toStdString();
if(content!="Ultracopier;Transfer-list;Transfer;Ultracopier\n" && content!="Ultracopier;Transfer-list;Copy;Ultracopier\n" && content!="Ultracopier;Transfer-list;Move;Ultracopier\n")
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Wrong header: \"%1\"").arg(content));
- emit errorTransferList(tr("Wrong header: \"%1\"").arg(content));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Wrong header: "+content);
+ emit errorTransferList(tr("Wrong header: \"%1\"").arg(QString::fromStdString(content)).toStdString());
return;
}
bool transferListMixedMode=false;
@@ -1482,8 +1493,8 @@ void ListThread::importTransferList(const QString &fileName)
{
if(forcedMode)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The transfer list is in mixed mode, but this instance is not"));
- emit errorTransferList(tr("The transfer list is in mixed mode, but this instance is not in this mode"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The transfer list is in mixed mode, but this instance is not");
+ emit errorTransferList(tr("The transfer list is in mixed mode, but this instance is not in this mode").toStdString());
return;
}
else
@@ -1491,14 +1502,14 @@ void ListThread::importTransferList(const QString &fileName)
}
if(content=="Ultracopier;Transfer-list;Copy;Ultracopier\n" && (forcedMode && mode==Ultracopier::Move))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The transfer list is in copy mode, but this instance is not: forcedMode: %1, mode: %2").arg(forcedMode).arg(mode));
- emit errorTransferList(tr("The transfer list is in copy mode, but this instance is not in this mode"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The transfer list is in copy mode, but this instance is not: forcedMode: %1, mode: %2").arg(forcedMode).arg(mode).toStdString());
+ emit errorTransferList(tr("The transfer list is in copy mode, but this instance is not in this mode").toStdString());
return;
}
if(content=="Ultracopier;Transfer-list;Move;Ultracopier\n" && (forcedMode && mode==Ultracopier::Copy))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The transfer list is in move mode, but this instance is not: forcedMode: %1, mode: %2").arg(forcedMode).arg(mode));
- emit errorTransferList(tr("The transfer list is in move mode, but this instance is not in this mode"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The transfer list is in move mode, but this instance is not: forcedMode: %1, mode: %2").arg(forcedMode).arg(mode).toStdString());
+ emit errorTransferList(tr("The transfer list is in move mode, but this instance is not in this mode").toStdString());
return;
}
@@ -1511,42 +1522,49 @@ void ListThread::importTransferList(const QString &fileName)
emit actionInProgess(updateTheStatus_action_in_progress);
bool errorFound=false;
- QRegularExpression correctLine;
+ std::regex correctLine;
if(transferListMixedMode)
- correctLine=QRegularExpression(QStringLiteral("^(Copy|Move);[^;]+;[^;]+[\n\r]*$"));
+ correctLine=std::regex("^(Copy|Move);[^;]+;[^;]+[\n\r]*$");
else
- correctLine=QRegularExpression(QStringLiteral("^[^;]+;[^;]+[\n\r]*$"));
- QStringList args;
+ correctLine=std::regex("^[^;]+;[^;]+[\n\r]*$");
+ std::vector<std::string> args;
Ultracopier::CopyMode tempMode;
do
{
data=transferFile.readLine(65535*2);
if(data.size()>0)
{
- content=QString::fromUtf8(data);
+ content=std::string(data.constData(),data.size());
//do the import here
- if(content.contains(correctLine))
+ if(std::regex_match(content,correctLine))
{
- content.remove(QStringLiteral("\n"));
- args=content.split(QStringLiteral(";"));
+ stringreplaceAll(content,"\n","");
+ args=stringsplit(content,';');
if(forcedMode)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("New data to import in forced mode: %2,%3").arg(args.at(0)).arg(args.at(1)));
- addToTransfer(QFileInfo(args.at(0)),QFileInfo(args.at(1)),mode);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("New data to import in forced mode: %2,%3")
+ .arg(QString::fromStdString(args.at(0)))
+ .arg(QString::fromStdString(args.at(1)))
+ .toStdString());
+ addToTransfer(QFileInfo(QString::fromStdString(args.at(0))),QFileInfo(QString::fromStdString(args.at(1))),mode);
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("New data to import: %1,%2,%3").arg(args.at(0)).arg(args.at(1)).arg(args.at(2)));
- if(args.at(0)==QStringLiteral("Copy"))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("New data to import: %1,%2,%3")
+ .arg(QString::fromStdString(args.at(0)))
+ .arg(QString::fromStdString(args.at(1)))
+ .arg(QString::fromStdString(args.at(2)))
+ .toStdString());
+ if(args.at(0)=="Copy")
tempMode=Ultracopier::Copy;
else
tempMode=Ultracopier::Move;
- addToTransfer(QFileInfo(args.at(1)),QFileInfo(args.at(2)),tempMode);
+ addToTransfer(QFileInfo(QString::fromStdString(args.at(1))),QFileInfo(QString::fromStdString(args.at(2))),tempMode);
}
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Wrong line syntax: %1").arg(content));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Wrong line syntax: "+content);
errorFound=true;
}
}
@@ -1554,15 +1572,15 @@ void ListThread::importTransferList(const QString &fileName)
while(data.size()>0);
transferFile.close();
if(errorFound)
- emit warningTransferList(tr("Some errors have been found during the line parsing"));
+ emit warningTransferList(tr("Some errors have been found during the line parsing").toStdString());
updateTheStatus();//->sendActionDone(); into this
autoStartAndCheckSpace();
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to open the transfer list: %1").arg(transferFile.errorString()));
- emit errorTransferList(tr("Unable to open the transfer list: %1").arg(transferFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to open the transfer list: %1").arg(transferFile.errorString()).toStdString());
+ emit errorTransferList(tr("Unable to open the transfer list: %1").arg(transferFile.errorString()).toStdString());
return;
}
}
@@ -1587,15 +1605,14 @@ bool ListThread::needMoreSpace() const
{
if(!checkDiskSpace)
return false;
- QList<Diskspace> diskspace_list;
- QHashIterator<QString,quint64> i(requiredSpace);
- while (i.hasNext()) {
- i.next();
+ std::vector<Diskspace> diskspace_list;
+ for( auto& spaceDrive : requiredSpace ) {
+ const QString &drive=QString::fromStdString(spaceDrive.first);
#ifdef Q_OS_WIN32
- if(i.key()!="A:\\" && i.key()!="A:/" && i.key()!="A:" && i.key()!="A" && i.key()!="a:\\" && i.key()!="a:/" && i.key()!="a:" && i.key()!="a")
+ if(spaceDrive.first!="A:\\" && spaceDrive.first!="A:/" && spaceDrive.first!="A:" && spaceDrive.first!="A" && spaceDrive.first!="a:\\" && spaceDrive.first!="a:/" && spaceDrive.first!="a:" && spaceDrive.first!="a")
{
#endif
- QStorageInfo storageInfo(i.key());
+ QStorageInfo storageInfo(drive);
storageInfo.refresh();
const qint64 &availableSpace=storageInfo.bytesAvailable();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
@@ -1607,40 +1624,40 @@ bool ListThread::needMoreSpace() const
(availableSpace==0 && storageInfo.bytesTotal()==0)
)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("availableSpace: %1, space needed: %2, on: %3, bytesFree: %4").arg(availableSpace).arg(i.value()).arg(i.key()).arg(bytesFree));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("availableSpace: %1, space needed: %2, on: %3, bytesFree: %4").arg(availableSpace).arg(spaceDrive.second).arg(drive).arg(bytesFree).toStdString());
}
- else if(i.value()>(quint64)availableSpace)
+ else if(spaceDrive.second>(quint64)availableSpace)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("availableSpace: %1, space needed: %2, on: %3, bytesFree: %4").arg(availableSpace).arg(i.value()).arg(i.key()).arg(bytesFree));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("availableSpace: %1, space needed: %2, on: %3, bytesFree: %4").arg(availableSpace).arg(spaceDrive.second).arg(drive).arg(bytesFree).toStdString());
#ifdef Q_OS_WIN32
- //if(i.key().contains(QRegularExpression("^[a-zA-Z]:[\\\\/]")))
- if(i.key().contains(QRegularExpression("^[a-zA-Z]:")))
+ //if(drive.contains(QRegularExpression("^[a-zA-Z]:[\\\\/]")))
+ if(drive.contains(QRegularExpression("^[a-zA-Z]:")))
#endif
{
Diskspace diskspace;
- diskspace.drive=i.key();
+ diskspace.drive=spaceDrive.first;
diskspace.freeSpace=availableSpace;
- diskspace.requiredSpace=i.value();
- diskspace_list << diskspace;
+ diskspace.requiredSpace=spaceDrive.second;
+ diskspace_list.push_back(diskspace);
}
#ifdef Q_OS_WIN32
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("not local drive"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"not local drive");
#endif
}
#ifdef Q_OS_WIN32
}
#endif
}
- if(!diskspace_list.isEmpty())
+ if(!diskspace_list.empty())
emit missingDiskSpace(diskspace_list);
- return ! diskspace_list.isEmpty();
+ return ! diskspace_list.empty();
}
//do new actions
void ListThread::doNewActions_start_transfer()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, numberOfTranferRuning: %2").arg(actionToDoListTransfer.size()).arg(getNumberOfTranferRuning()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, numberOfTranferRuning: %2").arg(actionToDoListTransfer.size()).arg(getNumberOfTranferRuning()).toStdString());
if(stopIt || putInPause)
return;
int numberOfTranferRuning=getNumberOfTranferRuning();
@@ -1682,7 +1699,7 @@ void ListThread::doNewActions_start_transfer()
}
int_for_loop++;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("numberOfTranferRuning: ")+QString::number(numberOfTranferRuning));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfTranferRuning: "+std::to_string(numberOfTranferRuning));
}
/** \brief lunch the pre-op or inode op
@@ -1694,7 +1711,7 @@ void ListThread::doNewActions_start_transfer()
void ListThread::doNewActions_inode_manipulation()
{
#ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoList.size(): %1").arg(actionToDoListTransfer.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionToDoList.size(): "+std::to_string(actionToDoListTransfer.size()));
#endif
if(stopIt)
checkIfReadyToCancel();
@@ -1746,11 +1763,11 @@ void ListThread::doNewActions_inode_manipulation()
currentTransferThread=transferThreadList.at(int_for_transfer_thread_search);
if(currentTransferThread->getStat()==TransferStat_Idle && currentTransferThread->transferId==0) // /!\ important!
{
- QString drive=driveManagement.getDrive(actionToDoListTransfer.at(int_for_internal_loop).destination.absoluteFilePath());
- if(requiredSpace.contains(drive) && (actionToDoListTransfer.at(int_for_internal_loop).mode!=Ultracopier::Move || drive!=driveManagement.getDrive(actionToDoListTransfer.at(int_for_internal_loop).source.absoluteFilePath())))
+ std::string drive=driveManagement.getDrive(actionToDoListTransfer.at(int_for_internal_loop).destination.absoluteFilePath().toStdString());
+ if(requiredSpace.find(drive)!=requiredSpace.cend() && (actionToDoListTransfer.at(int_for_internal_loop).mode!=Ultracopier::Move || drive!=driveManagement.getDrive(actionToDoListTransfer.at(int_for_internal_loop).source.absoluteFilePath().toStdString())))
{
requiredSpace[drive]-=actionToDoListTransfer.at(int_for_internal_loop).size;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("space needed removed: %1, space needed: %2, on: %3").arg(actionToDoListTransfer.at(int_for_internal_loop).size).arg(requiredSpace.value(drive)).arg(drive));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("space needed removed: %1, space needed: %2, on: %3").arg(actionToDoListTransfer.at(int_for_internal_loop).size).arg(requiredSpace.at(drive)).arg(QString::fromStdString(drive)).toStdString());
}
currentTransferThread->transferId=currentActionToDoTransfer.id;
currentTransferThread->transferSize=currentActionToDoTransfer.size;
@@ -1761,28 +1778,28 @@ void ListThread::doNewActions_inode_manipulation()
currentActionToDoTransfer.mode
))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] id: %2 is idle, but seam busy at set name: %3").arg(int_for_loop).arg(currentTransferThread->transferId).arg(currentActionToDoTransfer.destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] id: %2 is idle, but seam busy at set name: %3").arg(int_for_loop).arg(currentTransferThread->transferId).arg(currentActionToDoTransfer.destination.absoluteFilePath()).toStdString());
break;
}
currentActionToDoTransfer.isRunning=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] id: %2 is idle, use it for %3").arg(int_for_loop).arg(currentTransferThread->transferId).arg(currentActionToDoTransfer.destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] id: %2 is idle, use it for %3").arg(int_for_loop).arg(currentTransferThread->transferId).arg(currentActionToDoTransfer.destination.absoluteFilePath()).toStdString());
/// \note wrong position? Else write why it's here
Ultracopier::ReturnActionOnCopyList newAction;
newAction.type = Ultracopier::PreOperation;
newAction.addAction.id = currentActionToDoTransfer.id;
- newAction.addAction.sourceFullPath = currentActionToDoTransfer.source.absoluteFilePath();
- newAction.addAction.sourceFileName = currentActionToDoTransfer.source.fileName();
- newAction.addAction.destinationFullPath = currentActionToDoTransfer.destination.absoluteFilePath();
- newAction.addAction.destinationFileName = currentActionToDoTransfer.destination.fileName();
+ newAction.addAction.sourceFullPath = currentActionToDoTransfer.source.absoluteFilePath().toStdString();
+ newAction.addAction.sourceFileName = currentActionToDoTransfer.source.fileName().toStdString();
+ newAction.addAction.destinationFullPath = currentActionToDoTransfer.destination.absoluteFilePath().toStdString();
+ newAction.addAction.destinationFileName = currentActionToDoTransfer.destination.fileName().toStdString();
newAction.addAction.size = currentActionToDoTransfer.size;
newAction.addAction.mode = currentActionToDoTransfer.mode;
- actionDone << newAction;
+ actionDone.push_back(newAction);
int_for_transfer_thread_search++;
numberOfInodeOperation++;
#ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("numberOfInodeOperation: %1").arg(numberOfInodeOperation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation));
#endif
break;
}
@@ -1797,7 +1814,7 @@ void ListThread::doNewActions_inode_manipulation()
break;
}
#ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("numberOfInodeOperation: %1").arg(numberOfInodeOperation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation));
#endif
if(numberOfInodeOperation>=inodeThreads)
break;
@@ -1820,7 +1837,7 @@ void ListThread::doNewActions_inode_manipulation()
//error checking
if(actionToDoListInode_count>inodeThreads)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The index have been detected as out of max range: %1>%2").arg(actionToDoListInode_count).arg(inodeThreads));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The index have been detected as out of max range: %1>%2").arg(actionToDoListInode_count).arg(inodeThreads).toStdString());
return;
}
}
@@ -1832,7 +1849,7 @@ void ListThread::restartTransferIfItCan()
TransferThread *transfer=qobject_cast<TransferThread *>(QObject::sender());
if(transfer==NULL)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("transfer thread not located!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not located!");
return;
}
int numberOfTranferRuning=getNumberOfTranferRuning();
@@ -1844,7 +1861,7 @@ void ListThread::restartTransferIfItCan()
/// \brief update the transfer stat
void ListThread::newTransferStat(const TransferStat &stat,const quint64 &id)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("TransferStat: %1").arg(stat));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"TransferStat: "+std::to_string(stat));
Ultracopier::ReturnActionOnCopyList newAction;
switch(stat)
{
@@ -1872,7 +1889,7 @@ void ListThread::newTransferStat(const TransferStat &stat,const quint64 &id)
break;
}
newAction.addAction.id = id;
- actionDone << newAction;
+ actionDone.push_back(newAction);
}
void ListThread::set_osBufferLimit(const unsigned int &osBufferLimit)
@@ -1887,12 +1904,12 @@ void ListThread::set_osBufferLimit(const unsigned int &osBufferLimit)
}
}
-void ListThread::set_setFilters(const QList<Filters_rules> &include,const QList<Filters_rules> &exclude)
+void ListThread::set_setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("include.size(): %1, exclude.size(): %2").arg(include.size()).arg(exclude.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("include.size(): %1, exclude.size(): %2").arg(include.size()).arg(exclude.size()).toStdString());
this->include=include;
this->exclude=exclude;
- int index=0;
+ unsigned int index=0;
while(index<scanFileOrFolderThreadsPool.size())
{
scanFileOrFolderThreadsPool.at(index)->setFilters(include,exclude);
@@ -1900,7 +1917,7 @@ void ListThread::set_setFilters(const QList<Filters_rules> &include,const QList<
}
}
-void ListThread::set_sendNewRenamingRules(const QString &firstRenamingRule,const QString &otherRenamingRule)
+void ListThread::set_sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule)
{
this->firstRenamingRule=firstRenamingRule;
this->otherRenamingRule=otherRenamingRule;
@@ -1924,15 +1941,15 @@ void ListThread::mkPathFirstFolderFinish()
if(actionToDoListInode.at(int_for_loop).type==ActionType_MkPath)
{
//to send to the log
- emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("stop mkpath: %1").arg(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath()));
- actionToDoListInode.removeAt(int_for_loop);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()));
- if(actionToDoListTransfer.isEmpty() && actionToDoListInode.isEmpty() && actionToDoListInode_afterTheTransfer.isEmpty())
+ emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath().toStdString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("stop mkpath: %1").arg(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath()).toStdString());
+ actionToDoListInode.erase(actionToDoListInode.cbegin()+int_for_loop);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString());
+ if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty())
updateTheStatus();
numberOfInodeOperation--;
#ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("numberOfInodeOperation: %1").arg(numberOfInodeOperation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation));
#endif
doNewActions_inode_manipulation();
return;
@@ -1946,19 +1963,19 @@ void ListThread::mkPathFirstFolderFinish()
//to send to the log
#ifdef ULTRACOPIER_PLUGIN_RSYNC
if(actionToDoListInode.at(int_for_loop).type!=ActionType_RmSync)
- emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath());
+ emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath().toStdString());
#else
- emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath());
+ emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath().toStdString());
#endif
- emit rmPath(actionToDoListInode.at(int_for_loop).source.absoluteFilePath());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("stop mkpath: %1").arg(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath()));
- actionToDoListInode.removeAt(int_for_loop);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()));
- if(actionToDoListTransfer.isEmpty() && actionToDoListInode.isEmpty() && actionToDoListInode_afterTheTransfer.isEmpty())
+ emit rmPath(actionToDoListInode.at(int_for_loop).source.absoluteFilePath().toStdString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("stop mkpath: %1").arg(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath()).toStdString());
+ actionToDoListInode.erase(actionToDoListInode.cbegin()+int_for_loop);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString());
+ if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty())
updateTheStatus();
numberOfInodeOperation--;
#ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("numberOfInodeOperation: %1").arg(numberOfInodeOperation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation));
#endif
doNewActions_inode_manipulation();
return;
@@ -1974,7 +1991,7 @@ void ListThread::mkPathFirstFolderFinish()
void ListThread::timedUpdateDebugDialog()
{
- QStringList newList;
+ std::vector<std::string> newList;
int index=0;
int loop_sub_size_transfer_thread_search=transferThreadList.size();
while(index<loop_sub_size_transfer_thread_search)
@@ -2007,25 +2024,29 @@ void ListThread::timedUpdateDebugDialog()
stat=QStringLiteral("??? (%1)").arg(transferThreadList.at(index)->getStat());
break;
}
- newList << QStringLiteral("%1) (%3,%4) %2")
+ newList.push_back(QStringLiteral("%1) (%3,%4) %2")
.arg(index)
.arg(stat)
.arg(transferThreadList.at(index)->readingLetter())
- .arg(transferThreadList.at(index)->writingLetter());
+ .arg(transferThreadList.at(index)->writingLetter())
+ .toStdString()
+ );
index++;
}
- QStringList newList2;
+ std::vector<std::string> newList2;
index=0;
const int &loop_size=actionToDoListTransfer.size();
while(index<loop_size)
{
- newList2 << QStringLiteral("%1 %2 %3")
+ newList2.push_back(QStringLiteral("%1 %2 %3")
.arg(actionToDoListTransfer.at(index).source.absoluteFilePath())
.arg(actionToDoListTransfer.at(index).size)
- .arg(actionToDoListTransfer.at(index).destination.absoluteFilePath());
+ .arg(actionToDoListTransfer.at(index).destination.absoluteFilePath())
+ .toStdString()
+ );
if(index>((inodeThreads+ULTRACOPIER_PLUGIN_MAXPARALLELTRANFER)*2+1))
{
- newList2 << QStringLiteral("...");
+ newList2.push_back("...");
break;
}
index++;
@@ -2042,7 +2063,7 @@ void ListThread::fileAlreadyExists(const QFileInfo &source,const QFileInfo &dest
}
/// \note Can be call without queue because all call will be serialized
-void ListThread::errorOnFile(const QFileInfo &fileInfo, const QString &errorString, const ErrorType &errorType)
+void ListThread::errorOnFile(const QFileInfo &fileInfo, const std::string &errorString, const ErrorType &errorType)
{
TransferThread * transferThread=qobject_cast<TransferThread *>(sender());
if(transferThread==NULL)
@@ -2055,7 +2076,7 @@ void ListThread::errorOnFile(const QFileInfo &fileInfo, const QString &errorStri
errorLogEntry.destination=transferThread->getDestinationInode();
errorLogEntry.mode=transferThread->getMode();
errorLogEntry.error=errorString;
- errorLog << errorLogEntry;
+ errorLog.push_back(errorLogEntry);
emit errorToRetry(transferThread->getSourcePath(),transferThread->getDestinationPath(),errorString);
emit send_errorOnFile(fileInfo,errorString,transferThread,errorType);
}
@@ -2068,7 +2089,7 @@ void ListThread::folderAlreadyExists(const QFileInfo &source,const QFileInfo &de
/// \note Can be call without queue because all call will be serialized
/// \todo all this part
-void ListThread::errorOnFolder(const QFileInfo &fileInfo,const QString &errorString,const ErrorType &errorType)
+void ListThread::errorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,const ErrorType &errorType)
{
emit send_errorOnFolder(fileInfo,errorString,qobject_cast<ScanFileOrFolder *>(sender()),errorType);
}
@@ -2083,7 +2104,7 @@ void ListThread::run()
exec();
}
-void ListThread::getNeedPutAtBottom(const QFileInfo &fileInfo, const QString &errorString, TransferThread *thread, const ErrorType &errorType)
+void ListThread::getNeedPutAtBottom(const QFileInfo &fileInfo, const std::string &errorString, TransferThread *thread, const ErrorType &errorType)
{
if(actionToDoListTransfer.empty())
{
@@ -2115,25 +2136,25 @@ void ListThread::createTransferThread()
{
if(stopIt)
return;
- if(transferThreadList.size()>=inodeThreads)
+ if(transferThreadList.size()>=(unsigned int)inodeThreads)
return;
- transferThreadList << new TransferThread();
- TransferThread * last=transferThreadList.last();
+ transferThreadList.push_back(new TransferThread());
+ TransferThread * last=transferThreadList.back();
last->transferId=0;
last->transferSize=0;
last->setRightTransfer(doRightTransfer);
last->setKeepDate(keepDate);
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
if(!last->setBlockSize(blockSizeAfterSpeedLimitation))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to set the block size: ")+QString::number(blockSizeAfterSpeedLimitation));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the block size: "+std::to_string(blockSizeAfterSpeedLimitation));
#else
if(!last->setBlockSize(blockSize))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to set the block size: ")+QString::number(blockSize));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the block size: "+std::to_string(blockSize));
#endif
if(!last->setSequentialBuffer(sequentialBuffer))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to set the sequentialBuffer: ")+QString::number(sequentialBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the sequentialBuffer: "+std::to_string(sequentialBuffer));
if(!last->setBlockSize(parallelBuffer))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to set the parallelBuffer: ")+QString::number(parallelBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the parallelBuffer: "+std::to_string(parallelBuffer));
last->setAlwaysFileExistsAction(alwaysDoThisActionForFileExists);
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
last->setMultiForBigSpeed(multiForBigSpeed);
@@ -2180,9 +2201,9 @@ void ListThread::createTransferThread()
#ifdef ULTRACOPIER_PLUGIN_DEBUG
last->setId(transferThreadList.size()-1);
#endif
- if(transferThreadList.size()>=inodeThreads)
+ if(transferThreadList.size()>=(unsigned int)inodeThreads)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("create the last of the ")+QString::number(inodeThreads)+QStringLiteral(" transferThread"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"create the last of the "+std::to_string(inodeThreads)+" transferThread");
return;
}
if(stopIt)
@@ -2204,25 +2225,25 @@ void ListThread::deleteTransferThread()
transferThreadList.at(index)->stop();
delete transferThreadList.at(index);//->deleteLayer();
transferThreadList[index]=NULL;
- transferThreadList.removeAt(index);
+ transferThreadList.erase(transferThreadList.cbegin()+index);
loop_size--;
}
else
index++;
}
if(loop_size==inodeThreads)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("inodeThreads is lowered to the right value: ")+QString::number(inodeThreads));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"inodeThreads is lowered to the right value: "+std::to_string(inodeThreads));
}
}
void ListThread::setTransferAlgorithm(const TransferAlgorithm &transferAlgorithm)
{
if(transferAlgorithm==TransferAlgorithm_Sequential)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("transferAlgorithm==TransferAlgorithm_Sequential"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Sequential");
else if(transferAlgorithm==TransferAlgorithm_Automatic)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("transferAlgorithm==TransferAlgorithm_Automatic"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Automatic");
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("transferAlgorithm==TransferAlgorithm_Parallel"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Parallel");
emit send_setTransferAlgorithm(transferAlgorithm);
}
@@ -2230,10 +2251,10 @@ void ListThread::setParallelBuffer(int parallelBuffer)
{
if(parallelBuffer<1 || parallelBuffer>ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("wrong number of block: ")+QString::number(parallelBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"wrong number of block: "+std::to_string(parallelBuffer));
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("in number of block: ")+QString::number(parallelBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"in number of block: "+std::to_string(parallelBuffer));
this->parallelBuffer=parallelBuffer;
emit send_parallelBuffer(parallelBuffer);
}
@@ -2242,23 +2263,23 @@ void ListThread::setSequentialBuffer(int sequentialBuffer)
{
if(sequentialBuffer<1 || sequentialBuffer>ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("wrong number of block: ")+QString::number(sequentialBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"wrong number of block: "+std::to_string(sequentialBuffer));
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("in number of block: ")+QString::number(sequentialBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"in number of block: "+std::to_string(sequentialBuffer));
this->sequentialBuffer=sequentialBuffer;
emit send_sequentialBuffer(sequentialBuffer);
}
void ListThread::setParallelizeIfSmallerThan(const unsigned int &parallelizeIfSmallerThan)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("parallelizeIfSmallerThan in Bytes: ")+QString::number(parallelizeIfSmallerThan));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"parallelizeIfSmallerThan in Bytes: "+std::to_string(parallelizeIfSmallerThan));
this->parallelizeIfSmallerThan=parallelizeIfSmallerThan;
}
void ListThread::setMoveTheWholeFolder(const bool &moveTheWholeFolder)
{
- for(int i=0;i<scanFileOrFolderThreadsPool.size();i++)
+ for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++)
scanFileOrFolderThreadsPool.at(i)->setMoveTheWholeFolder(moveTheWholeFolder);
this->moveTheWholeFolder=moveTheWholeFolder;
}
@@ -2284,10 +2305,10 @@ void ListThread::setInodeThreads(const int &inodeThreads)
{
if(inodeThreads<1 || inodeThreads>32)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("inodeThreads is out of ranges: ")+QString::number(inodeThreads));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"inodeThreads is out of ranges: "+std::to_string(inodeThreads));
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("inodeThreads: ")+QString::number(inodeThreads));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"inodeThreads: "+std::to_string(inodeThreads));
this->inodeThreads=inodeThreads;
createTransferThread();
deleteTransferThread();
@@ -2295,7 +2316,7 @@ void ListThread::setInodeThreads(const int &inodeThreads)
void ListThread::setRenameTheOriginalDestination(const bool &renameTheOriginalDestination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("renameTheOriginalDestination: ")+QString::number(renameTheOriginalDestination));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"renameTheOriginalDestination: "+std::to_string(renameTheOriginalDestination));
this->renameTheOriginalDestination=renameTheOriginalDestination;
int index=0;
int loop_sub_size_transfer_thread_search=transferThreadList.size();
@@ -2314,14 +2335,14 @@ void ListThread::setCheckDiskSpace(const bool &checkDiskSpace)
void ListThread::setCopyListOrder(const bool &order)
{
this->copyListOrder=order;
- for(int i=0;i<scanFileOrFolderThreadsPool.size();i++)
+ for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++)
scanFileOrFolderThreadsPool.at(i)->setCopyListOrder(this->copyListOrder);
}
-void ListThread::exportErrorIntoTransferList(const QString &fileName)
+void ListThread::exportErrorIntoTransferList(const std::string &fileName)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
- QFile transferFile(fileName);
+ QFile transferFile(QString::fromStdString(fileName));
if(transferFile.open(QIODevice::WriteOnly|QIODevice::Truncate))
{
transferFile.write(QStringLiteral("Ultracopier;Transfer-list;").toUtf8());
@@ -2365,15 +2386,15 @@ void ListThread::exportErrorIntoTransferList(const QString &fileName)
}
if(haveError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()));
- emit errorTransferList(tr("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable do to move or copy item into wrong forced mode: "+transferFile.errorString().toStdString());
+ emit errorTransferList(tr("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()).toStdString());
}
transferFile.close();
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to save the transfer list: %1").arg(transferFile.errorString()));
- emit errorTransferList(tr("Unable to save the transfer list: %1").arg(transferFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to save the transfer list: "+transferFile.errorString().toStdString());
+ emit errorTransferList(tr("Unable to save the transfer list: %1").arg(transferFile.errorString()).toStdString());
return;
}
}
diff --git a/plugins/CopyEngine/Ultracopier/ListThread.h b/plugins/CopyEngine/Ultracopier/ListThread.h
index a778604..48e7142 100644
--- a/plugins/CopyEngine/Ultracopier/ListThread.h
+++ b/plugins/CopyEngine/Ultracopier/ListThread.h
@@ -8,8 +8,9 @@
#include <QThread>
#include <QObject>
-#include <QList>
-#include <QStringList>
+#include <string>
+#include <vector>
+#include <unordered_map>
#include <QFileInfo>
#include <QSemaphore>
#include <QTextStream>
@@ -35,24 +36,24 @@ public:
/** \brief compare the current sources of the copy, with the passed arguments
* \param sources the sources list to compares with the current sources list
* \return true if have same sources, else false (or empty) */
- bool haveSameSource(const QStringList &sources);
+ bool haveSameSource(const std::vector<std::string> &sources);
/** \brief compare the current destination of the copy, with the passed arguments
* \param destination the destination to compares with the current destination
* \return true if have same destination, else false (or empty) */
- bool haveSameDestination(const QString &destination);
+ bool haveSameDestination(const std::string &destination);
/// \return empty if multiple or no destination
- QString getUniqueDestinationFolder() const;
+ std::string getUniqueDestinationFolder() const;
//external soft like file browser have send copy/move list to do
/** \brief send copy with destination
* \param sources the sources list to copy
* \param destination the destination to copy
* \return true if the copy have been accepted */
- bool newCopy(const QStringList &sources,const QString &destination);
+ bool newCopy(const std::vector<std::string> &sources,const std::string &destination);
/** \brief send move without destination, ask the destination
* \param sources the sources list to move
* \param destination the destination to move
* \return true if the move have been accepted */
- bool newMove(const QStringList &sources,const QString &destination);
+ bool newMove(const std::vector<std::string> &sources,const std::string &destination);
/** \brief to set drives detected
* specific to this copy engine */
/// \brief to set the collision action
@@ -63,41 +64,41 @@ public:
/// \brief to store one action to do
struct ActionToDoTransfer
{
- quint64 id;
- qint64 size;///< Used to set: used in case of transfer or remainingInode for drop folder
+ uint64_t id;
+ uint64_t size;///< Used to set: used in case of transfer or remainingInode for drop folder
QFileInfo source;///< Used to set: source for transfer, folder to create, folder to drop
QFileInfo destination;
Ultracopier::CopyMode mode;
bool isRunning;///< store if the action si running
//TransferThread * transfer; // -> see transferThreadList
};
- QList<ActionToDoTransfer> actionToDoListTransfer;
+ std::vector<ActionToDoTransfer> actionToDoListTransfer;
/// \brief to store one action to do
struct ActionToDoInode
{
ActionType type;///< \see ActionType
- quint64 id;
- qint64 size;///< Used to set: used in case of transfer or remainingInode for drop folder
+ uint64_t id;
+ int64_t size;///< Used to set: used in case of transfer or remainingInode for drop folder
QFileInfo source;///< Keep to copy the right/date, to remove (for move)
QFileInfo destination;///< Used to set: folder to create, folder to drop
bool isRunning;///< store if the action si running
};
- QList<ActionToDoInode> actionToDoListInode;
- QList<ActionToDoInode> actionToDoListInode_afterTheTransfer;
+ std::vector<ActionToDoInode> actionToDoListInode;
+ std::vector<ActionToDoInode> actionToDoListInode_afterTheTransfer;
int numberOfInodeOperation;
struct ErrorLogEntry
{
QFileInfo source;
QFileInfo destination;
- QString error;
+ std::string error;
Ultracopier::CopyMode mode;
};
- QList<ErrorLogEntry> errorLog;
+ std::vector<ErrorLogEntry> errorLog;
//dir operation thread queue
MkPath mkPathQueue;
//to get the return value from copyEngine
bool getReturnBoolToCopyEngine() const;
- QPair<quint64,quint64> getReturnPairQuint64ToCopyEngine() const;
+ std::pair<quint64,quint64> getReturnPairQuint64ToCopyEngine() const;
Ultracopier::ItemOfCopyList getReturnItemOfCopyListToCopyEngine() const;
void set_doChecksum(bool doChecksum);
@@ -114,41 +115,41 @@ public slots:
void resume();
/** \brief skip one transfer entry
* \param id id of the file to remove */
- void skip(const quint64 &id);
+ void skip(const uint64_t &id);
/** \brief skip as interanl one transfer entry
* \param id id of the file to remove */
- bool skipInternal(const quint64 &id);
+ bool skipInternal(const uint64_t &id);
/// \brief cancel all the transfer
void cancel();
//edit the transfer list
/** \brief remove the selected item
* \param ids ids is the id list of the selected items */
- void removeItems(const QList<int> &ids);
+ void removeItems(const std::vector<uint64_t> &ids);
/** \brief move on top of the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsOnTop(QList<int> ids);
+ void moveItemsOnTop(std::vector<uint64_t> ids);
/** \brief move up the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsUp(QList<int> ids);
+ void moveItemsUp(std::vector<uint64_t> ids);
/** \brief move down the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsDown(QList<int> ids);
+ void moveItemsDown(std::vector<uint64_t> ids);
/** \brief move on bottom of the list the selected item
* \param ids ids is the id list of the selected items */
- void moveItemsOnBottom(QList<int> ids);
+ void moveItemsOnBottom(std::vector<uint64_t> ids);
/** \brief give the forced mode, to export/import transfer list */
void forceMode(const Ultracopier::CopyMode &mode);
/// \brief export the transfer list into a file
- void exportTransferList(const QString &fileName);
+ void exportTransferList(const std::string &fileName);
/// \brief import the transfer list into a file
- void importTransferList(const QString &fileName);
+ void importTransferList(const std::string &fileName);
/// \brief set the folder local collision
void setFolderCollision(const FolderExistsAction &alwaysDoThisActionForFolderExists);
/** \brief to set the speed limitation
* -1 if not able, 0 if disabled */
- bool setSpeedLimitation(const qint64 &speedLimitation);
+ bool setSpeedLimitation(const int64_t &speedLimitation);
/// \brief set the copy info and options before runing
void setRightTransfer(const bool doRightTransfer);
/// \brief set keep date
@@ -176,14 +177,14 @@ public slots:
void doNewActions_inode_manipulation();
/// \brief restart transfer if it can
void restartTransferIfItCan();
- void getNeedPutAtBottom(const QFileInfo &fileInfo, const QString &errorString, TransferThread *thread,const ErrorType &errorType);
+ void getNeedPutAtBottom(const QFileInfo &fileInfo, const std::string &errorString, TransferThread *thread,const ErrorType &errorType);
/// \brief update the transfer stat
void newTransferStat(const TransferStat &stat,const quint64 &id);
void set_osBufferLimit(const unsigned int &osBufferLimit);
- void set_setFilters(const QList<Filters_rules> &include,const QList<Filters_rules> &exclude);
- void set_sendNewRenamingRules(const QString &firstRenamingRule,const QString &otherRenamingRule);
+ void set_setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude);
+ void set_sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule);
void set_updateMount();
//send action done
@@ -202,32 +203,32 @@ public slots:
void setRenameTheOriginalDestination(const bool &renameTheOriginalDestination);
void setCheckDiskSpace(const bool &checkDiskSpace);
void setCopyListOrder(const bool &order);
- void exportErrorIntoTransferList(const QString &fileName);
+ void exportErrorIntoTransferList(const std::string &fileName);
private:
QSemaphore mkpathTransfer;
- QString sourceDrive;
+ std::string sourceDrive;
bool sourceDriveMultiple;
- QString destinationDrive;
- QString destinationFolder;
+ std::string destinationDrive;
+ std::string destinationFolder;
bool destinationDriveMultiple;
bool destinationFolderMultiple;
DriveManagement driveManagement;
bool stopIt;
- QList<ScanFileOrFolder *> scanFileOrFolderThreadsPool;
+ std::vector<ScanFileOrFolder *> scanFileOrFolderThreadsPool;
int numberOfTransferIntoToDoList;
- QList<TransferThread *> transferThreadList;
+ std::vector<TransferThread *> transferThreadList;
ScanFileOrFolder * newScanThread(Ultracopier::CopyMode mode);
- quint64 bytesToTransfer;
- quint64 bytesTransfered;
+ uint64_t bytesToTransfer;
+ uint64_t bytesTransfered;
bool autoStart;
#ifdef ULTRACOPIER_PLUGIN_RSYNC
bool rsync;
#endif
bool putInPause;
- QList<Ultracopier::ReturnActionOnCopyList> actionDone;///< to action to send to the interface
- quint64 idIncrementNumber;///< to store the last id returned
- qint64 actualRealByteTransfered;
+ std::vector<Ultracopier::ReturnActionOnCopyList> actionDone;///< to action to send to the interface
+ uint64_t idIncrementNumber;///< to store the last id returned
+ int64_t actualRealByteTransfered;
int maxSpeed;///< in KB/s, assume as 0KB/s as default like every where
FolderExistsAction alwaysDoThisActionForFolderExists;
bool checkDestinationFolderExists;
@@ -246,15 +247,15 @@ private:
bool renameTheOriginalDestination;
bool checkDiskSpace;
bool copyListOrder;
- QHash<QString,quint64> requiredSpace;
- QList<QPair<quint64,quint32> > timeToTransfer;
+ std::unordered_map<std::string,uint64_t> requiredSpace;
+ std::vector<std::pair<uint64_t,uint32_t> > timeToTransfer;
unsigned int putAtBottom;
unsigned int osBufferLimit;
- QList<Filters_rules> include,exclude;
+ std::vector<Filters_rules> include,exclude;
Ultracopier::CopyMode mode;
bool forcedMode;
- QString firstRenamingRule;
- QString otherRenamingRule;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
int multiForBigSpeed;
#endif
@@ -267,34 +268,34 @@ private:
inline static Ultracopier::ItemOfCopyList actionToDoTransferToItemOfCopyList(const ActionToDoTransfer &actionToDoTransfer);
//add file transfer to do
- quint64 addToTransfer(const QFileInfo& source,const QFileInfo& destination,const Ultracopier::CopyMode& mode);
+ uint64_t addToTransfer(const QFileInfo& source,const QFileInfo& destination,const Ultracopier::CopyMode& mode);
//generate id number
- quint64 generateIdNumber();
+ uint64_t generateIdNumber();
//warning the first entry is accessible will copy
- bool removeSingleItem(const quint64 &id);
+ bool removeSingleItem(const uint64_t &id);
//put on top
- bool moveOnTopItem(const quint64 &id);
+ bool moveOnTopItem(const uint64_t &id);
//move up
- bool moveUpItem(const quint64 &id);
+ bool moveUpItem(const uint64_t &id);
//move down
- bool moveDownItem(const quint64 &id);
+ bool moveDownItem(const uint64_t &id);
//put on bottom
- bool moveOnBottomItem(const quint64 &id);
+ bool moveOnBottomItem(const uint64_t &id);
//general transfer
void startGeneralTransfer();
//debug windows if needed
#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW
QTimer timerUpdateDebugDialog;
#endif
- void detectDrivesOfCurrentTransfer(const QStringList &sources,const QString &destination);
+ void detectDrivesOfCurrentTransfer(const std::vector<std::string> &sources,const std::string &destination);
FacilityInterface * facilityInterface;
QSemaphore waitConstructor,waitCancel;
int actionToDoListTransfer_count,actionToDoListInode_count;
bool doTransfer,doInode;
- qint64 oversize;//used as temp variable
- qint64 currentProgression;
- qint64 copiedSize,totalSize,localOverSize;
- QList<Ultracopier::ProgressionItem> progressionList;
+ int64_t oversize;//used as temp variable
+ int64_t currentProgression;
+ int64_t copiedSize,totalSize,localOverSize;
+ std::vector<Ultracopier::ProgressionItem> progressionList;
//memory variable for transfer thread creation
bool doRightTransfer;
bool keepDate;
@@ -302,12 +303,12 @@ private:
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
int blockSizeAfterSpeedLimitation;//in Bytes
#endif
- QStringList drives;
+ std::vector<std::string> drives;
FileExistsAction alwaysDoThisActionForFileExists;
//to return value to the copyEngine
bool returnBoolToCopyEngine;
- QPair<quint64,quint64> returnPairQuint64ToCopyEngine;
- QList<Ultracopier::ItemOfCopyList> returnListItemOfCopyListToCopyEngine;
+ std::pair<quint64,quint64> returnPairQuint64ToCopyEngine;
+ std::vector<Ultracopier::ItemOfCopyList> returnListItemOfCopyListToCopyEngine;
Ultracopier::ItemOfCopyList returnItemOfCopyListToCopyEngine;
Ultracopier::ProgressionItem tempItem;
@@ -335,18 +336,18 @@ private slots:
/// \note Can be call without queue because all call will be serialized
void fileAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame);
/// \note Can be call without queue because all call will be serialized
- void errorOnFile(const QFileInfo &fileInfo,const QString &errorString, const ErrorType &errorType);
+ void errorOnFile(const QFileInfo &fileInfo,const std::string &errorString, const ErrorType &errorType);
/// \note Can be call without queue because all call will be serialized
void folderAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame);
/// \note Can be call without queue because all call will be serialized
- void errorOnFolder(const QFileInfo &fileInfo, const QString &errorString, const ErrorType &errorType);
+ void errorOnFolder(const QFileInfo &fileInfo, const std::string &errorString, const ErrorType &errorType);
//to run the thread
void run();
/// \to create transfer thread
void createTransferThread();
void deleteTransferThread();
//mk path to do
- quint64 addToMkPath(const QFileInfo& source, const QFileInfo& destination, const int &inode);
+ uint64_t addToMkPath(const QFileInfo& source, const QFileInfo& destination, const int &inode);
//add rm path to do
void addToMovePath(const QFileInfo& source,const QFileInfo& destination, const int& inodeToRemove);
//add to real move
@@ -363,69 +364,69 @@ signals:
//send information about the copy
void actionInProgess(const Ultracopier::EngineActionInProgress &) const; //should update interface information on this event
- void newActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &) const;///very important, need be temporized to group the modification to do and not flood the interface
+ void newActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &) const;///very important, need be temporized to group the modification to do and not flood the interface
void syncReady() const;
- void doneTime(const QList<QPair<quint64,quint32> >&) const;
+ void doneTime(const std::vector<std::pair<uint64_t,uint32_t> >&) const;
/** \brief to get the progression for a specific file
* \param id the id of the transfer, id send during population the transfer list
* first = current transfered byte, second = byte to transfer */
- void pushFileProgression(const QList<Ultracopier::ProgressionItem> &progressionList) const;
+ void pushFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList) const;
//get information about the copy
/** \brief to get the general progression
* first = current transfered byte, second = byte to transfer */
- void pushGeneralProgression(const quint64 &,const quint64 &) const;
+ void pushGeneralProgression(const uint64_t &,const uint64_t &) const;
- void newFolderListing(const QString &path) const;
+ void newFolderListing(const std::string &path) const;
void isInPause(const bool &) const;
//when can be deleted
void canBeDeleted() const;
- void haveNeedPutAtBottom(bool needPutAtBottom,const QFileInfo &fileInfo,const QString &errorString,TransferThread * thread,const ErrorType &errorType) const;
+ void haveNeedPutAtBottom(bool needPutAtBottom,const QFileInfo &fileInfo,const std::string &errorString,TransferThread * thread,const ErrorType &errorType) const;
//send error occurred
- void error(const QString &path,const quint64 &size,const QDateTime &mtime,const QString &error) const;
- void errorToRetry(const QString &source,const QString &destination,const QString &error) const;
+ void error(const std::string &path,const uint64_t &size,const uint64_t &mtime,const std::string &error) const;
+ void errorToRetry(const std::string &source,const std::string &destination,const std::string &error) const;
//for the extra logging
- void rmPath(const QString &path) const;
- void mkPath(const QString &path) const;
+ void rmPath(const std::string &path) const;
+ void mkPath(const std::string &path) const;
/// \brief To debug source
#ifdef ULTRACOPIER_PLUGIN_DEBUG
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
#endif
#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW
- void updateTheDebugInfo(const QStringList &,const QStringList&,const int &) const;
+ void updateTheDebugInfo(const std::vector<std::string> &,const std::vector<std::string>&,const int &) const;
#endif
//other signal
/// \note Can be call without queue because all call will be serialized
void send_fileAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame,TransferThread * thread) const;
/// \note Can be call without queue because all call will be serialized
- void send_errorOnFile(const QFileInfo &fileInfo,const QString &errorString,TransferThread * thread, const ErrorType &errorType) const;
+ void send_errorOnFile(const QFileInfo &fileInfo,const std::string &errorString,TransferThread * thread, const ErrorType &errorType) const;
/// \note Can be call without queue because all call will be serialized
void send_folderAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame,ScanFileOrFolder * thread) const;
/// \note Can be call without queue because all call will be serialized
- void send_errorOnFolder(const QFileInfo &fileInfo,const QString &errorString,ScanFileOrFolder * thread, const ErrorType &errorType) const;
+ void send_errorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,ScanFileOrFolder * thread, const ErrorType &errorType) const;
//send the progression
void send_syncTransferList() const;
//mkpath error event
- void mkPathErrorOnFolder(const QFileInfo &fileInfo,const QString &errorString,const ErrorType &errorType) const;
+ void mkPathErrorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,const ErrorType &errorType) const;
//to close
void tryCancel() const;
//to ask new transfer thread
void askNewTransferThread() const;
- void warningTransferList(const QString &warning) const;
- void errorTransferList(const QString &error) const;
- void send_sendNewRenamingRules(const QString &firstRenamingRule,const QString &otherRenamingRule) const;
- void send_realBytesTransfered(const quint64 &) const;
+ void warningTransferList(const std::string &warning) const;
+ void errorTransferList(const std::string &error) const;
+ void send_sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule) const;
+ void send_realBytesTransfered(const uint64_t &) const;
void send_setTransferAlgorithm(TransferAlgorithm transferAlgorithm) const;
void send_parallelBuffer(const int &parallelBuffer) const;
void send_sequentialBuffer(const int &sequentialBuffer) const;
void send_parallelizeIfSmallerThan(const int &parallelizeIfSmallerThan) const;
void send_updateMount();
- void missingDiskSpace(QList<Diskspace> list) const;
+ void missingDiskSpace(std::vector<Diskspace> list) const;
};
#endif // LISTTHREAD_H
diff --git a/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp b/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp
index b47fbdf..12421f2 100644
--- a/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp
+++ b/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp
@@ -9,7 +9,7 @@ ActionToDoInode& currentActionToDoInode=actionToDoListInode[int_for_internal_loo
switch(currentActionToDoInode.type)
{
case ActionType_RealMove:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch real move, source: %1, destination: %2").arg(currentActionToDoInode.source.absoluteFilePath()).arg(currentActionToDoInode.destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch real move, source: %1, destination: %2").arg(currentActionToDoInode.source.absoluteFilePath()).arg(currentActionToDoInode.destination.absoluteFilePath()).toStdString());
mkPathQueue.addPath(currentActionToDoInode.source.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type);
currentActionToDoInode.isRunning=true;
numberOfInodeOperation++;
@@ -17,7 +17,7 @@ switch(currentActionToDoInode.type)
return;
break;
case ActionType_MkPath:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch mkpath, source: %1, destination: %2").arg(currentActionToDoInode.source.absoluteFilePath()).arg(currentActionToDoInode.destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch mkpath, source: %1, destination: %2").arg(currentActionToDoInode.source.absoluteFilePath()).arg(currentActionToDoInode.destination.absoluteFilePath()).toStdString());
mkPathQueue.addPath(currentActionToDoInode.source.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type);
currentActionToDoInode.isRunning=true;
numberOfInodeOperation++;
@@ -26,7 +26,7 @@ switch(currentActionToDoInode.type)
break;
#ifdef ULTRACOPIER_PLUGIN_RSYNC
case ActionType_RmSync:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QString("launch rmsync, destination: %1").arg(currentActionToDoInode.destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QString("launch rmsync, destination: %1").arg(currentActionToDoInode.destination.absoluteFilePath()).toStdString());
mkPathQueue.addPath(currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type);
currentActionToDoInode.isRunning=true;
numberOfInodeOperation++;
@@ -36,9 +36,9 @@ switch(currentActionToDoInode.type)
#endif
case ActionType_MovePath:
//then empty (no file), can try remove it
- if(currentActionToDoInode.size==0 || actionToDoListTransfer.isEmpty())//don't put afterTheTransfer because actionToDoListInode_afterTheTransfer -> already afterTheTransfer
+ if(currentActionToDoInode.size==0 || actionToDoListTransfer.empty())//don't put afterTheTransfer because actionToDoListInode_afterTheTransfer -> already afterTheTransfer
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch rmpath: %1").arg(currentActionToDoInode.source.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch rmpath: %1").arg(currentActionToDoInode.source.absoluteFilePath()).toStdString());
mkPathQueue.addPath(currentActionToDoInode.source.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type);
currentActionToDoInode.isRunning=true;
numberOfInodeOperation++;
@@ -48,8 +48,8 @@ switch(currentActionToDoInode.type)
else //have do the destination, put the remove to after
{
currentActionToDoInode.size=0;
- actionToDoListInode_afterTheTransfer << currentActionToDoInode;
- actionToDoListInode.removeAt(int_for_internal_loop);
+ actionToDoListInode_afterTheTransfer.push_back(currentActionToDoInode);
+ actionToDoListInode.erase(actionToDoListInode.cbegin()+int_for_internal_loop);
int_for_internal_loop--;
actionToDoListInode_count--;
if(numberOfInodeOperation>=inodeThreads)
@@ -57,7 +57,7 @@ switch(currentActionToDoInode.type)
}
break;
default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Wrong type at inode action"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Wrong type at inode action");
return;
}
diff --git a/plugins/CopyEngine/Ultracopier/MkPath.cpp b/plugins/CopyEngine/Ultracopier/MkPath.cpp
index 15c423f..52d67af 100644
--- a/plugins/CopyEngine/Ultracopier/MkPath.cpp
+++ b/plugins/CopyEngine/Ultracopier/MkPath.cpp
@@ -9,7 +9,7 @@
#endif
#endif
-QString MkPath::text_slash=QLatin1Literal("/");
+std::string MkPath::text_slash="/";
MkPath::MkPath()
{
@@ -22,7 +22,7 @@ MkPath::MkPath()
start();
#ifdef Q_OS_WIN32
#ifndef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY
- regRead=QRegularExpression(QStringLiteral("^[a-z]:"));
+ regRead=std::regex("^[a-z]:");
#endif
#endif
}
@@ -36,7 +36,7 @@ MkPath::~MkPath()
void MkPath::addPath(const QFileInfo& source, const QFileInfo& destination, const ActionType &actionType)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
if(stopIt)
return;
emit internalStartAddPath(source,destination,actionType);
@@ -67,7 +67,7 @@ void MkPath::internalDoThisPath()
{
if(waitAction || pathList.isEmpty())
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, move: %3").arg(pathList.first().source.absoluteFilePath()).arg(pathList.first().destination.absoluteFilePath()).arg(pathList.first().actionType));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, move: %3").arg(pathList.first().source.absoluteFilePath()).arg(pathList.first().destination.absoluteFilePath()).arg(pathList.first().actionType).toStdString());
#ifdef ULTRACOPIER_PLUGIN_RSYNC
if(pathList.first().actionType==ActionType_RmSync)
{
@@ -79,8 +79,8 @@ void MkPath::internalDoThisPath()
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the inode: "+pathList.first().destination.absoluteFilePath()+", error: "+removedFile.errorString());
- emit errorOnFolder(pathList.first().destination,removedFile.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the inode: "+pathList.first().destination.absoluteFilePath().toStdString()+", error: "+removedFile.errorString().toStdString());
+ emit errorOnFolder(pathList.first().destination,removedFile.errorString().toStdString());
return;
}
}
@@ -89,8 +89,8 @@ void MkPath::internalDoThisPath()
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the inode: "+pathList.first().destination.absoluteFilePath());
- emit errorOnFolder(pathList.first().destination,tr("Unable to remove"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the inode: "+pathList.first().destination.absoluteFilePath().toStdString());
+ emit errorOnFolder(pathList.first().destination,tr("Unable to remove").toStdString());
return;
}
pathList.removeFirst();
@@ -104,12 +104,12 @@ void MkPath::internalDoThisPath()
{
if(!pathList.first().source.exists())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources not exists: "+pathList.first().source.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources not exists: "+pathList.first().source.absoluteFilePath().toStdString());
doTheDateTransfer=false;
}
else if(maxTime>=pathList.first().source.lastModified())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources is older to copy the time: "+pathList.first().source.absoluteFilePath()+": "+maxTime.toString("dd.MM.yyyy hh:mm:ss.zzz")+">="+pathList.first().source.lastModified().toString("dd.MM.yyyy hh:mm:ss.zzz"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources is older to copy the time: "+pathList.first().source.absoluteFilePath().toStdString()+": "+maxTime.toString("dd.MM.yyyy hh:mm:ss.zzz").toStdString()+">="+pathList.first().source.lastModified().toString("dd.MM.yyyy hh:mm:ss.zzz").toStdString());
doTheDateTransfer=false;
}
else
@@ -138,8 +138,8 @@ void MkPath::internalDoThisPath()
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: "+pathList.first().destination.absoluteFilePath());
- emit errorOnFolder(pathList.first().destination,tr("Unable to create the folder"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: "+pathList.first().destination.absoluteFilePath().toStdString());
+ emit errorOnFolder(pathList.first().destination,tr("Unable to create the folder").toStdString());
return;
}
}
@@ -151,36 +151,36 @@ void MkPath::internalDoThisPath()
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The source folder don't exists: "+pathList.first().source.absoluteFilePath());
- emit errorOnFolder(pathList.first().destination,tr("The source folder don't exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The source folder don't exists: "+pathList.first().source.absoluteFilePath().toStdString());
+ emit errorOnFolder(pathList.first().destination,tr("The source folder don't exists").toStdString());
return;
}
if(!pathList.first().source.isDir())//it's really an error?
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The source is not a folder: "+pathList.first().source.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The source is not a folder: "+pathList.first().source.absoluteFilePath().toStdString());
/*if(stopIt)
return;
waitAction=true;
emit errorOnFolder(pathList.first().destination,tr("The source is not a folder"));
return;*/
}
- if(pathList.first().destination.absoluteFilePath().startsWith(pathList.first().source.absoluteFilePath()+text_slash))
+ if(pathList.first().destination.absoluteFilePath().startsWith(pathList.first().source.absoluteFilePath()+QString::fromStdString(text_slash)))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"move into it self: "+pathList.first().destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"move into it self: "+pathList.first().destination.absoluteFilePath().toStdString());
int random=rand();
- QFileInfo tempFolder=pathList.first().source.absolutePath()+text_slash+QString::number(random);
+ QFileInfo tempFolder=pathList.first().source.absolutePath()+QString::fromStdString(text_slash)+QString::number(random);
while(tempFolder.exists())
{
random=rand();
- tempFolder=pathList.first().source.absolutePath()+text_slash+QString::number(random);
+ tempFolder=pathList.first().source.absolutePath()+QString::fromStdString(text_slash)+QString::number(random);
}
if(!dir.rename(pathList.first().source.absoluteFilePath(),tempFolder.absoluteFilePath()))
{
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to temporary rename the folder: "+pathList.first().destination.absoluteFilePath());
- emit errorOnFolder(pathList.first().destination,tr("Unable to temporary rename the folder"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to temporary rename the folder: "+pathList.first().destination.absoluteFilePath().toStdString());
+ emit errorOnFolder(pathList.first().destination,tr("Unable to temporary rename the folder").toStdString());
return;
}
/* http://doc.qt.io/qt-5/qdir.html#rename
@@ -202,8 +202,8 @@ void MkPath::internalDoThisPath()
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to do the final real move the folder: "+pathList.first().destination.absoluteFilePath());
- emit errorOnFolder(pathList.first().destination,tr("Unable to do the final real move the folder"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to do the final real move the folder: "+pathList.first().destination.absoluteFilePath().toStdString());
+ emit errorOnFolder(pathList.first().destination,tr("Unable to do the final real move the folder").toStdString());
return;
}
}
@@ -228,8 +228,9 @@ void MkPath::internalDoThisPath()
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: from: "+pathList.first().source.absoluteFilePath()+", soruce exists: "+QString::number(QDir(pathList.first().source.absoluteFilePath()).exists())+", to: "+pathList.first().destination.absoluteFilePath()+", destination exist: "+QString::number(QDir(pathList.first().destination.absoluteFilePath()).exists()));
- emit errorOnFolder(pathList.first().destination,tr("Unable to move the folder"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: from: "+pathList.first().source.absoluteFilePath().toStdString()+", soruce exists: "+std::to_string(QDir(pathList.first().source.absoluteFilePath()).exists())+", to: "+pathList.first().destination.absoluteFilePath().toStdString()
+ +", destination exist: "+std::to_string(QDir(pathList.first().destination.absoluteFilePath()).exists()));
+ emit errorOnFolder(pathList.first().destination,tr("Unable to move the folder").toStdString());
return;
}
}
@@ -238,11 +239,11 @@ void MkPath::internalDoThisPath()
if(!writeFileDateTime(pathList.first().destination))
{
if(!pathList.first().destination.exists())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time (not exists): "+pathList.first().destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time (not exists): "+pathList.first().destination.absoluteFilePath().toStdString());
else if(!pathList.first().destination.isDir())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time (not a dir): "+pathList.first().destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time (not a dir): "+pathList.first().destination.absoluteFilePath().toStdString());
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time: "+pathList.first().destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time: "+pathList.first().destination.absoluteFilePath().toStdString());
/*if(stopIt)
return;
waitAction=true;
@@ -256,7 +257,7 @@ void MkPath::internalDoThisPath()
QFile destination(pathList.first().destination.absoluteFilePath());
if(!destination.setPermissions(source.permissions()))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set the right: "+pathList.first().destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set the right: "+pathList.first().destination.absoluteFilePath().toStdString());
/*if(stopIt)
return;
waitAction=true;
@@ -271,8 +272,8 @@ void MkPath::internalDoThisPath()
if(stopIt)
return;
waitAction=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the source folder: "+pathList.first().destination.absoluteFilePath());
- emit errorOnFolder(pathList.first().source,tr("Unable to remove"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the source folder: "+pathList.first().destination.absoluteFilePath().toStdString());
+ emit errorOnFolder(pathList.first().source,tr("Unable to remove").toStdString());
return;
}
}
@@ -283,7 +284,7 @@ void MkPath::internalDoThisPath()
void MkPath::internalAddPath(const QFileInfo& source, const QFileInfo& destination, const ActionType &actionType)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
Item tempPath;
tempPath.source=source;
tempPath.destination=destination;
@@ -351,24 +352,24 @@ bool MkPath::rmpath(const QDir &dir
QFile file(fileInfo.absoluteFilePath());
if(!file.remove())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to remove a file: "+fileInfo.absoluteFilePath()+", due to: "+file.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to remove a file: "+fileInfo.absoluteFilePath().toStdString()+", due to: "+file.errorString().toStdString());
allHaveWork=false;
}
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName().toStdString());
allHaveWork=false;
}
}
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName().toStdString());
allHaveWork=false;
}
#else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName().toStdString());
allHaveWork=false;
#endif
}
@@ -383,14 +384,14 @@ bool MkPath::rmpath(const QDir &dir
return false;
allHaveWork=dir.rmdir(dir.absolutePath());
if(!allHaveWork)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to remove the folder: "+dir.absolutePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to remove the folder: "+dir.absolutePath().toStdString());
return allHaveWork;
}
//fonction to edit the file date time
bool MkPath::readFileDateTime(const QFileInfo &source)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"readFileDateTime("+source.absoluteFilePath()+")");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"readFileDateTime("+source.absoluteFilePath().toStdString()+")");
/** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */
#ifdef Q_OS_UNIX
#ifdef Q_OS_LINUX
@@ -433,14 +434,14 @@ bool MkPath::readFileDateTime(const QFileInfo &source)
return true;
#else
wchar_t filePath[65535];
- if(source.absoluteFilePath().contains(regRead))
+ if(std::regex_match(source.absoluteFilePath().toStdString(),regRead))
filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+source.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
else
filePath[QDir::toNativeSeparators(source.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
HANDLE hFileSouce = CreateFileW(filePath, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY | FILE_FLAG_BACKUP_SEMANTICS, NULL);
if(hFileSouce == INVALID_HANDLE_VALUE)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"open failed to read: "+QString::fromWCharArray(filePath)+", error: "+QString::number(GetLastError()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"open failed to read: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError()));
return false;
}
FILETIME ftCreate, ftAccess, ftWrite;
@@ -468,7 +469,7 @@ bool MkPath::readFileDateTime(const QFileInfo &source)
bool MkPath::writeFileDateTime(const QFileInfo &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"writeFileDateTime("+destination.absoluteFilePath()+")");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"writeFileDateTime("+destination.absoluteFilePath().toStdString()+")");
/** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */
#ifdef Q_OS_UNIX
#ifdef Q_OS_LINUX
@@ -482,14 +483,14 @@ bool MkPath::writeFileDateTime(const QFileInfo &destination)
return utime(destination.toLatin1().data(),&butime)==0;
#else
wchar_t filePath[65535];
- if(destination.absoluteFilePath().contains(regRead))
+ if(std::regex_match(destination.absoluteFilePath().toStdString(),regRead))
filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
else
filePath[QDir::toNativeSeparators(destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
HANDLE hFileDestination = CreateFileW(filePath, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
if(hFileDestination == INVALID_HANDLE_VALUE)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"open failed to write: "+QString::fromWCharArray(filePath)+", error: "+QString::number(GetLastError()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"open failed to write: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError()));
return false;
}
FILETIME ftCreate, ftAccess, ftWrite;
diff --git a/plugins/CopyEngine/Ultracopier/MkPath.h b/plugins/CopyEngine/Ultracopier/MkPath.h
index 9182462..2bbebcc 100644
--- a/plugins/CopyEngine/Ultracopier/MkPath.h
+++ b/plugins/CopyEngine/Ultracopier/MkPath.h
@@ -8,9 +8,9 @@
#include <QThread>
#include <QFileInfo>
-#include <QString>
+#include <string>
#include <QSemaphore>
-#include <QStringList>
+#include <vector>
#include <QDir>
#include <QDateTime>
@@ -44,13 +44,13 @@ public:
void setRightTransfer(const bool doRightTransfer);
void setKeepDate(const bool keepDate);
signals:
- void errorOnFolder(const QFileInfo &,const QString &,const ErrorType &errorType=ErrorType_FolderWithRety) const;
+ void errorOnFolder(const QFileInfo &,const std::string &,const ErrorType &errorType=ErrorType_FolderWithRety) const;
void firstFolderFinish();
void internalStartAddPath(const QFileInfo& source,const QFileInfo& destination, const ActionType &actionType) const;
void internalStartDoThisPath() const;
void internalStartSkip() const;
void internalStartRetry() const;
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
public slots:
/// \brief skip after creation error
void skip();
@@ -81,16 +81,16 @@ private:
#ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY
utimbuf butime;
#else
- quint32 ftCreateL, ftAccessL, ftWriteL;
- quint32 ftCreateH, ftAccessH, ftWriteH;
- QRegularExpression regRead;
+ uint64_t ftCreateL, ftAccessL, ftWriteL;
+ uint64_t ftCreateH, ftAccessH, ftWriteH;
+ std::regex regRead;
#endif
#endif
#endif
//fonction to edit the file date time
bool readFileDateTime(const QFileInfo &source);
bool writeFileDateTime(const QFileInfo &destination);
- static QString text_slash;
+ static std::string text_slash;
private slots:
void internalDoThisPath();
void internalAddPath(const QFileInfo& source, const QFileInfo& destination,const ActionType &actionType);
diff --git a/plugins/CopyEngine/Ultracopier/ReadThread.cpp b/plugins/CopyEngine/Ultracopier/ReadThread.cpp
index 37c83f4..e843d9b 100644
--- a/plugins/CopyEngine/Ultracopier/ReadThread.cpp
+++ b/plugins/CopyEngine/Ultracopier/ReadThread.cpp
@@ -51,29 +51,29 @@ void ReadThread::open(const QFileInfo &file, const Ultracopier::CopyMode &mode)
{
if(!isRunning())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] the thread not running to open destination: ")+file.absoluteFilePath());
- errorString_internal=tr("Internal error, please report it!");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] the thread not running to open destination: "+file.absoluteFilePath().toStdString());
+ errorString_internal=tr("Internal error, please report it!").toStdString();
emit error();
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] open source: ")+file.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] open source: "+file.absoluteFilePath().toStdString());
if(this->file.isOpen())
{
if(file.absoluteFilePath()==this->file.fileName())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] Try reopen already opened same file: ")+file.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Try reopen already opened same file: "+file.absoluteFilePath().toStdString());
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] previous file is already open: ")+file.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already open: "+file.absoluteFilePath().toStdString());
emit internalStartClose();
isOpen.acquire();
isOpen.release();
}
if(isInReadLoop)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] previous file is already readding: ")+file.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already readding: "+file.absoluteFilePath().toStdString());
return;
}
if(tryStartRead)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] previous file is already try read: ")+file.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already try read: "+file.absoluteFilePath().toStdString());
return;
}
stopIt=false;
@@ -84,14 +84,14 @@ void ReadThread::open(const QFileInfo &file, const Ultracopier::CopyMode &mode)
emit internalStartOpen();
}
-QString ReadThread::errorString() const
+std::string ReadThread::errorString() const
{
return errorString_internal;
}
void ReadThread::stop()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stop()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop()");
stopIt=true;
pauseMutex.release();
pauseMutex.release();
@@ -104,7 +104,7 @@ void ReadThread::stop()
void ReadThread::pause()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] try put read thread in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] try put read thread in pause");
if(stopIt)
return;
pauseMutex.tryAcquire(pauseMutex.available());
@@ -115,7 +115,7 @@ void ReadThread::resume()
{
if(putInPause)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
putInPause=false;
stopIt=false;
}
@@ -123,21 +123,21 @@ void ReadThread::resume()
return;
if(!file.isOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] file is not open"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] file is not open");
return;
}
pauseMutex.release();
}
-bool ReadThread::seek(const qint64 &position)
+bool ReadThread::seek(const int64_t &position)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start with: ")+QString::number(position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start with: "+std::to_string(position));
if(position>file.size())
return false;
return file.seek(position);
}
-qint64 ReadThread::size() const
+int64_t ReadThread::size() const
{
return file.size();
}
@@ -166,7 +166,7 @@ void ReadThread::checkSum()
#endif
if(putInPause)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("[")+QString::number(id)+QStringLiteral("] read put in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] read put in pause");
if(stopIt)
return;
pauseMutex.acquire();
@@ -181,16 +181,16 @@ void ReadThread::checkSum()
//can be smaller than min block size to do correct speed limitation
if(blockArray.size()>ULTRACOPIER_PLUGIN_MAX_BLOCK_SIZE*1024)
{
- errorString_internal=tr("Internal error reading the source file:block size out of range");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Internal error reading the source file:block size out of range"));
+ errorString_internal=tr("Internal error reading the source file:block size out of range").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Internal error reading the source file:block size out of range");
emit error();
isInReadLoop=false;
return;
}
if(file.error()!=QFile::NoError)
{
- errorString_internal=tr("Unable to read the source file: ")+file.errorString()+QStringLiteral(" (")+QString::number(file.error())+QStringLiteral(")");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("file.error()!=QFile::NoError: %1, error: %2").arg(QString::number(file.error())).arg(errorString_internal));
+ errorString_internal=tr("Unable to read the source file: ").toStdString()+file.errorString().toStdString()+" ("+std::to_string(file.error())+")";
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("file.error()!=QFile::NoError: %1, error: ").arg(QString::number(file.error())).toStdString()+errorString_internal);
emit error();
isInReadLoop=false;
return;
@@ -230,8 +230,8 @@ void ReadThread::checkSum()
while(sizeReaden>0 && !stopIt);
if(lastGoodPosition>file.size())
{
- errorString_internal=tr("File truncated during the read, possible data change");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())));
+ errorString_internal=tr("File truncated during the read, possible data change").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())).toStdString());
emit error();
isInReadLoop=false;
return;
@@ -243,7 +243,7 @@ void ReadThread::checkSum()
return;
}
emit checksumFinish(hash.result());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stop the read"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop the read");
}
bool ReadThread::internalOpenSlot()
@@ -253,7 +253,7 @@ bool ReadThread::internalOpenSlot()
bool ReadThread::internalOpen(bool resetLastGoodPosition)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] internalOpen source: ")+file.fileName()+QStringLiteral(", open in write because move: ")+QString::number(mode==Ultracopier::Move));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] internalOpen source: "+file.fileName().toStdString()+", open in write because move: "+std::to_string(mode==Ultracopier::Move));
if(stopIt)
{
emit closed();
@@ -265,7 +265,7 @@ bool ReadThread::internalOpen(bool resetLastGoodPosition)
#endif
if(file.isOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] this file is already open: ")+file.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] this file is already open: "+file.fileName().toStdString());
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
#endif
@@ -293,15 +293,15 @@ bool ReadThread::internalOpen(bool resetLastGoodPosition)
return false;
}
size_at_open=file.size();
- mtime_at_open=QFileInfo(file).lastModified();
+ mtime_at_open=QFileInfo(file).lastModified().toMSecsSinceEpoch()/1000;
putInPause=false;
if(resetLastGoodPosition)
lastGoodPosition=0;
if(!seek(lastGoodPosition))
{
file.close();
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).toStdString()+errorString_internal);
emit error();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
@@ -317,8 +317,8 @@ bool ReadThread::internalOpen(bool resetLastGoodPosition)
}
else
{
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to open: %1, error: ").arg(file.fileName()).toStdString()+errorString_internal);
emit error();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
@@ -341,7 +341,7 @@ void ReadThread::internalRead()
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stopIt == true, then quit"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit");
isInReadLoop=false;
internalClose();
return;
@@ -353,7 +353,7 @@ void ReadThread::internalRead()
int sizeReaden=0;
if(!file.isOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] is not open!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] is not open!");
isInReadLoop=false;
return;
}
@@ -361,14 +361,14 @@ void ReadThread::internalRead()
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
numberOfBlockCopied=0;
#endif
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start the copy"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start the copy");
emit readIsStarted();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
#endif
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stopIt == true, then quit"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit");
isInReadLoop=false;
internalClose();
return;
@@ -378,10 +378,10 @@ void ReadThread::internalRead()
//read one block
if(putInPause)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("[")+QString::number(id)+QStringLiteral("] read put in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] read put in pause");
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stopIt == true, then quit"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit");
isInReadLoop=false;
internalClose();
return;
@@ -389,7 +389,7 @@ void ReadThread::internalRead()
pauseMutex.acquire();
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stopIt == true, then quit"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit");
isInReadLoop=false;
internalClose();
return;
@@ -405,8 +405,8 @@ void ReadThread::internalRead()
if(file.error()!=QFile::NoError)
{
- errorString_internal=tr("Unable to read the source file: ")+file.errorString()+QStringLiteral(" (")+QString::number(file.error())+QStringLiteral(")");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("file.error()!=QFile::NoError: %1, error: %2").arg(QString::number(file.error())).arg(errorString_internal));
+ errorString_internal=tr("Unable to read the source file: ").toStdString()+file.errorString().toStdString()+" ("+std::to_string(file.error())+")";
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("file.error()!=QFile::NoError: %1, error: ").arg(QString::number(file.error())).toStdString()+errorString_internal);
isInReadLoop=false;
emit error();
return;
@@ -421,7 +421,7 @@ void ReadThread::internalRead()
{
if(!stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stopped because the write is stopped: ")+QString::number(lastGoodPosition));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopped because the write is stopped: "+std::to_string(lastGoodPosition));
stopIt=true;
}
}
@@ -432,7 +432,7 @@ void ReadThread::internalRead()
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stopIt == true, then quit"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit");
isInReadLoop=false;
internalClose();//need re-open the destination and then the source
return;
@@ -453,8 +453,8 @@ void ReadThread::internalRead()
while(sizeReaden>0 && !stopIt);
if(lastGoodPosition>file.size())
{
- errorString_internal=tr("File truncated during the read, possible data change");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())));
+ errorString_internal=tr("File truncated during the read, possible data change").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())).toStdString());
isInReadLoop=false;
emit error();
return;
@@ -466,19 +466,19 @@ void ReadThread::internalRead()
return;
}
emit readIsStopped();//will product by signal connection writeThread->endIsDetected();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stop the read"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop the read");
}
void ReadThread::startRead()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
if(tryStartRead)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already in try start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] already in try start");
return;
}
if(isInReadLoop)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped");
else
{
tryStartRead=true;
@@ -527,7 +527,7 @@ bool ReadThread::setBlockSize(const int blockSize)
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("block size out of range: ")+QString::number(blockSize));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"block size out of range: "+std::to_string(blockSize));
return false;
}
}
@@ -582,7 +582,7 @@ void ReadThread::startCheckSum()
emit internalStartChecksum();
}
-qint64 ReadThread::getLastGoodPosition() const
+int64_t ReadThread::getLastGoodPosition() const
{
/*if(lastGoodPosition>file.size())
{
@@ -596,10 +596,10 @@ qint64 ReadThread::getLastGoodPosition() const
//reopen after an error
void ReadThread::reopen()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
if(isInReadLoop)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] try reopen where read is not finish"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] try reopen where read is not finish");
return;
}
stopIt=true;
@@ -608,16 +608,16 @@ void ReadThread::reopen()
bool ReadThread::internalReopen()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
stopIt=false;
if(file.isOpen())
{
file.close();
isOpen.release();
}
- if(size_at_open!=file.size() && mtime_at_open!=QFileInfo(file).lastModified())
+ if(size_at_open!=file.size() && mtime_at_open!=(uint64_t)QFileInfo(file).lastModified().toMSecsSinceEpoch()/1000)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] source file have changed since the last open, restart all"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] source file have changed since the last open, restart all");
//fix this function like the close function
if(internalOpen(true))
{
@@ -656,7 +656,7 @@ void ReadThread::setId(int id)
void ReadThread::seekToZeroAndWait()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
stopIt=true;
seekToZero=true;
emit checkIfIsWait();
@@ -664,7 +664,7 @@ void ReadThread::seekToZeroAndWait()
void ReadThread::isInWait()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
if(seekToZero)
{
stopIt=false;
diff --git a/plugins/CopyEngine/Ultracopier/ReadThread.h b/plugins/CopyEngine/Ultracopier/ReadThread.h
index f00ae79..f817e35 100644
--- a/plugins/CopyEngine/Ultracopier/ReadThread.h
+++ b/plugins/CopyEngine/Ultracopier/ReadThread.h
@@ -31,7 +31,7 @@ public:
/// \brief open with the name and copy mode
void open(const QFileInfo &file, const Ultracopier::CopyMode &mode);
/// \brief return the error string
- QString errorString() const;
+ std::string errorString() const;
//QByteArray read(qint64 position,qint64 maxSize);
/// \brief stop the copy
void stop();
@@ -40,9 +40,9 @@ public:
/// \brief resume the copy
void resume();
/// \brief get the size of the source file
- qint64 size() const;
+ int64_t size() const;
/// \brief get the last good position
- qint64 getLastGoodPosition() const;
+ int64_t getLastGoodPosition() const;
/// \brief start the reading of the source file
void startRead();
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
@@ -107,14 +107,14 @@ signals:
void internalStartRead() const;
void internalStartClose() const;
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,QString fonction,QString text,QString file,int ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const;
private:
- QString errorString_internal;
+ std::string errorString_internal;
AvancedQFile file;
volatile bool stopIt;
Ultracopier::CopyMode mode;
- qint64 lastGoodPosition;
+ int64_t lastGoodPosition;
volatile int blockSize;//in Bytes
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
QSemaphore waitNewClockForSpeed;
@@ -129,11 +129,11 @@ private:
volatile bool isInReadLoop;
volatile bool seekToZero;
volatile bool tryStartRead;
- qint64 size_at_open;
- QDateTime mtime_at_open;
+ int64_t size_at_open;
+ uint64_t mtime_at_open;
bool fakeMode;
//internal function
- bool seek(const qint64 &position);/// \todo search if is use full
+ bool seek(const int64_t &position);/// \todo search if is use full
private slots:
bool internalOpen(bool resetLastGoodPosition=true);
bool internalOpenSlot();
diff --git a/plugins/CopyEngine/Ultracopier/RenamingRules.cpp b/plugins/CopyEngine/Ultracopier/RenamingRules.cpp
index 848d7fb..4ae23b8 100644
--- a/plugins/CopyEngine/Ultracopier/RenamingRules.cpp
+++ b/plugins/CopyEngine/Ultracopier/RenamingRules.cpp
@@ -9,7 +9,7 @@ RenamingRules::RenamingRules(QWidget *parent) :
{
ui->setupUi(this);
connectUI();
- setRenamingRules(QStringLiteral(""),QStringLiteral(""));
+ setRenamingRules("","");
}
RenamingRules::~RenamingRules()
@@ -23,22 +23,22 @@ void RenamingRules::on_buttonBox_clicked(QAbstractButton *button)
reject();
if(ui->buttonBox->buttonRole(button)==QDialogButtonBox::ResetRole)
{
- setRenamingRules(QStringLiteral(""),QStringLiteral(""));
+ setRenamingRules("","");
emit sendNewRenamingRules(firstRenamingRule,otherRenamingRule);
}
}
-void RenamingRules::setRenamingRules(QString firstRenamingRule,QString otherRenamingRule)
+void RenamingRules::setRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule)
{
disconnectUI();
this->firstRenamingRule=firstRenamingRule;
this->otherRenamingRule=otherRenamingRule;
- if(!firstRenamingRule.isEmpty())
- ui->firstRenamingRule->setText(firstRenamingRule);
+ if(!firstRenamingRule.empty())
+ ui->firstRenamingRule->setText(QString::fromStdString(firstRenamingRule));
else
ui->firstRenamingRule->setText(tr("%1 - copy").arg(QStringLiteral("%name%")));
- if(!otherRenamingRule.isEmpty())
- ui->otherRenamingRule->setText(otherRenamingRule);
+ if(!otherRenamingRule.empty())
+ ui->otherRenamingRule->setText(QString::fromStdString(otherRenamingRule));
else
ui->otherRenamingRule->setText(tr("%1 - copy (%2)").arg(QStringLiteral("%name%")).arg(QStringLiteral("%number%")));
connectUI();
@@ -61,9 +61,9 @@ void RenamingRules::firstRenamingRule_haveChanged()
QString newValue=ui->firstRenamingRule->text();
if(newValue==tr("%1 - copy").arg(QStringLiteral("%name%")))
newValue=QStringLiteral("");
- if(newValue==firstRenamingRule)
+ if(newValue.toStdString()==firstRenamingRule)
return;
- firstRenamingRule=newValue;
+ firstRenamingRule=newValue.toStdString();
emit sendNewRenamingRules(firstRenamingRule,otherRenamingRule);
}
@@ -72,9 +72,9 @@ void RenamingRules::otherRenamingRule_haveChanged()
QString newValue=ui->otherRenamingRule->text();
if(newValue==tr("%1 - copy (%2)").arg(QStringLiteral("%name%")).arg(QStringLiteral("%number%")))
newValue=QStringLiteral("");
- if(newValue==otherRenamingRule)
+ if(newValue.toStdString()==otherRenamingRule)
return;
- otherRenamingRule=newValue;
+ otherRenamingRule=newValue.toStdString();
emit sendNewRenamingRules(firstRenamingRule,otherRenamingRule);
}
diff --git a/plugins/CopyEngine/Ultracopier/RenamingRules.h b/plugins/CopyEngine/Ultracopier/RenamingRules.h
index c802cef..b2e9d02 100644
--- a/plugins/CopyEngine/Ultracopier/RenamingRules.h
+++ b/plugins/CopyEngine/Ultracopier/RenamingRules.h
@@ -15,20 +15,20 @@ class RenamingRules : public QDialog
public:
explicit RenamingRules(QWidget *parent = 0);
~RenamingRules();
- void setRenamingRules(QString firstRenamingRule,QString otherRenamingRule);
+ void setRenamingRules(std::string firstRenamingRule, std::string otherRenamingRule);
void newLanguageLoaded();
private:
Ui::RenamingRules *ui;
void connectUI();
void disconnectUI();
- QString firstRenamingRule;
- QString otherRenamingRule;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
private slots:
void on_buttonBox_clicked(QAbstractButton *button);
void firstRenamingRule_haveChanged();
void otherRenamingRule_haveChanged();
signals:
- void sendNewRenamingRules(QString firstRenamingRule,QString otherRenamingRule) const;
+ void sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule) const;
};
#endif // RENAMINGRULES_H
diff --git a/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp
index 9c35050..736f589 100644
--- a/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp
+++ b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp
@@ -2,6 +2,8 @@
#include "TransferThread.h"
#include <QtGlobal>
#include <QDateTime>
+#include <regex>
+#include "../../../cpp11addition.h"
#ifdef Q_OS_WIN32
#ifndef NOMINMAX
@@ -10,9 +12,9 @@
#include <windows.h>
#endif
-QString ScanFileOrFolder::text_slash=QLatin1Literal("/");
-QString ScanFileOrFolder::text_antislash=QLatin1Literal("\\");
-QString ScanFileOrFolder::text_dot=QLatin1Literal(".");
+std::string ScanFileOrFolder::text_slash="/";
+std::string ScanFileOrFolder::text_antislash="\\";
+std::string ScanFileOrFolder::text_dot=".";
ScanFileOrFolder::ScanFileOrFolder(const Ultracopier::CopyMode &mode)
{
@@ -23,7 +25,7 @@ ScanFileOrFolder::ScanFileOrFolder(const Ultracopier::CopyMode &mode)
stopped = true;
stopIt = false;
this->mode = mode;
- folder_isolation = QRegularExpression(QStringLiteral("^(.*/)?([^/]+)/$"));
+ folder_isolation = std::regex("^(.*/)?([^/]+)/$");
setObjectName(QStringLiteral("ScanFileOrFolder"));
#ifdef Q_OS_WIN32
QString userName;
@@ -32,7 +34,7 @@ ScanFileOrFolder::ScanFileOrFolder(const Ultracopier::CopyMode &mode)
if(GetUserNameW(userNameW,&size))
{
userName=QString::fromWCharArray(userNameW,size-1);
- blackList << QFileInfo(QStringLiteral("C:/Users/%1/AppData/Roaming/").arg(userName)).absoluteFilePath();
+ blackList.push_back(QFileInfo(QStringLiteral("C:/Users/%1/AppData/Roaming/").arg(userName)).absoluteFilePath().toStdString());
}
delete userNameW;
#endif
@@ -50,71 +52,77 @@ bool ScanFileOrFolder::isFinished() const
return stopped;
}
-void ScanFileOrFolder::addToList(const QStringList& sources,const QString& destination)
+void ScanFileOrFolder::addToList(const std::vector<std::string>& sources,const std::string& destination)
{
stopIt=false;
this->sources=parseWildcardSources(sources);
this->destination=destination;
- QFileInfo destinationInfo(this->destination);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("check symblink: %1").arg(destinationInfo.absoluteFilePath()));
+ QFileInfo destinationInfo(QString::fromStdString(this->destination));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"check symblink: "+destinationInfo.absoluteFilePath().toStdString());
while(destinationInfo.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("resolv destination to: %1").arg(destinationInfo.symLinkTarget()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"resolv destination to: "+destinationInfo.symLinkTarget().toStdString());
if(QFileInfo(destinationInfo.symLinkTarget()).isAbsolute())
- this->destination=destinationInfo.symLinkTarget();
+ this->destination=destinationInfo.symLinkTarget().toStdString();
else
- this->destination=destinationInfo.absolutePath()+text_slash+destinationInfo.symLinkTarget();
- destinationInfo.setFile(this->destination);
+ this->destination=destinationInfo.absolutePath().toStdString()+text_slash+destinationInfo.symLinkTarget().toStdString();
+ destinationInfo.setFile(QString::fromStdString(this->destination));
}
- if(sources.size()>1 || QFileInfo(destination).isDir())
+ if(sources.size()>1 || QFileInfo(QString::fromStdString(destination)).isDir())
/* Disabled because the separator transformation product bug
* if(!destination.endsWith(QDir::separator()))
this->destination+=QDir::separator();*/
- if(!destination.endsWith(text_slash) && !destination.endsWith(text_antislash))
+ if(!stringEndsWith(destination,'/') && !stringEndsWith(destination,'\\'))
this->destination+=text_slash;//put unix separator because it's transformed into that's under windows too
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"addToList("+sources.join(";")+","+this->destination+")");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"addToList("+stringimplode(sources,";")+","+this->destination+")");
}
-QStringList ScanFileOrFolder::parseWildcardSources(const QStringList &sources) const
+std::vector<std::string> ScanFileOrFolder::parseWildcardSources(const std::vector<std::string> &sources) const
{
- QRegularExpression splitFolder(QStringLiteral("[/\\\\]"));
- QStringList returnList;
- int index=0;
- while(index<sources.size())
+ std::regex splitFolder("[/\\\\]");
+ std::vector<std::string> returnList;
+ unsigned int index=0;
+ while(index<(unsigned int)sources.size())
{
- if(sources.at(index).contains(QStringLiteral("*")))
+ if(sources.at(index).find("*") != std::string::npos)
{
- QStringList toParse=sources.at(index).split(splitFolder);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("before wildcard parse: %1, toParse: %2, is valid: %3").arg(sources.at(index)).arg(toParse.join(", ")).arg(splitFolder.isValid()));
- QList<QStringList> recomposedSource;
- recomposedSource << (QStringList() << QStringLiteral(""));
+ std::vector<std::string> toParse=stringregexsplit(sources.at(index),splitFolder);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"before wildcard parse: "+sources.at(index)+", toParse: "+stringimplode(toParse,", "));
+ std::vector<std::vector<std::string> > recomposedSource;
+ {
+ std::vector<std::string> t;
+ t.push_back("");
+ recomposedSource.push_back(t);
+ }
while(toParse.size()>0)
{
- if(toParse.first().contains('*'))
+ if(toParse.front().find("*") != std::string::npos)
{
- QString toParseFirst=toParse.first();
- if(toParseFirst.isEmpty())
+ std::string toParseFirst=toParse.front();
+ if(toParseFirst.empty())
toParseFirst=text_slash;
- QList<QStringList> newRecomposedSource;
- QRegularExpression toResolv=QRegularExpression(toParseFirst.replace('*',QStringLiteral("[^/\\\\]*")));
- int index_recomposedSource=0;
+ std::vector<std::vector<std::string> > newRecomposedSource;
+ stringreplaceAll(toParseFirst,"*","[^/\\\\]*");
+ std::regex toResolv=std::regex(toParseFirst);
+ unsigned int index_recomposedSource=0;
while(index_recomposedSource<recomposedSource.size())//parse each url part
{
- QFileInfo info(recomposedSource.at(index_recomposedSource).join(text_slash));
+ QFileInfo info(QString::fromStdString(stringimplode(recomposedSource.at(index_recomposedSource),text_slash)));
if(info.isDir() && !info.isSymLink())
{
QDir folder(info.absoluteFilePath());
QFileInfoList fileFile=folder.entryInfoList(QDir::AllEntries|QDir::NoDotAndDotDot|QDir::Hidden|QDir::System);//QStringList() << toResolv
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("list the folder: %1, with the wildcard: %2").arg(info.absoluteFilePath()).arg(toResolv.pattern()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"list the folder: "+info.absoluteFilePath().toStdString()+", with the wildcard: "+toParseFirst);
int index_fileList=0;
while(index_fileList<fileFile.size())
{
- if(fileFile.at(index_fileList).fileName().contains(toResolv))
+ const std::string &fileName=fileFile.at(index_fileList).fileName().toStdString();
+ if(std::regex_match(fileName,toResolv))
{
- QStringList tempList=recomposedSource.at(index_recomposedSource);
- tempList << fileFile.at(index_fileList).fileName();
- newRecomposedSource << tempList;
+ std::vector<std::string> tempList=recomposedSource.at(index_recomposedSource);
+ tempList.push_back(fileName);
+ newRecomposedSource.push_back(tempList);
}
index_fileList++;
}
@@ -125,34 +133,34 @@ QStringList ScanFileOrFolder::parseWildcardSources(const QStringList &sources) c
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("add toParse: %1").arg(toParse.join(text_slash)));
- int index_recomposedSource=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"add toParse: "+stringimplode(toParse,text_slash));
+ unsigned int index_recomposedSource=0;
while(index_recomposedSource<recomposedSource.size())
{
- recomposedSource[index_recomposedSource] << toParse.first();
- if(!QFileInfo(recomposedSource.at(index_recomposedSource).join(text_slash)).exists())
- recomposedSource.removeAt(index_recomposedSource);
+ recomposedSource[index_recomposedSource].push_back(toParse.front());
+ if(!QFileInfo(QString::fromStdString(stringimplode(recomposedSource.at(index_recomposedSource),text_slash))).exists())
+ recomposedSource.erase(recomposedSource.cbegin()+index_recomposedSource);
else
index_recomposedSource++;
}
}
- toParse.removeFirst();
+ toParse.erase(toParse.cbegin());
}
- int index_recomposedSource=0;
+ unsigned int index_recomposedSource=0;
while(index_recomposedSource<recomposedSource.size())
{
- returnList<<recomposedSource.at(index_recomposedSource).join(text_slash);
+ returnList.push_back(stringimplode(recomposedSource.at(index_recomposedSource),text_slash));
index_recomposedSource++;
}
}
else
- returnList << sources.at(index);
+ returnList.push_back(sources.at(index));
index++;
}
return returnList;
}
-void ScanFileOrFolder::setFilters(const QList<Filters_rules> &include, const QList<Filters_rules> &exclude)
+void ScanFileOrFolder::setFilters(const std::vector<Filters_rules> &include, const std::vector<Filters_rules> &exclude)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
QMutexLocker lock(&filtersMutex);
@@ -160,11 +168,11 @@ void ScanFileOrFolder::setFilters(const QList<Filters_rules> &include, const QLi
this->exclude_send=exclude;
reloadTheNewFilters=true;
haveFilters=include_send.size()>0 || exclude_send.size()>0;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("haveFilters: %1, include_send.size(): %2, exclude_send.size(): %3").arg(haveFilters).arg(include_send.size()).arg(exclude_send.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"haveFilters: "+std::to_string(haveFilters)+", include_send.size(): "+std::to_string(include_send.size())+", exclude_send.size(): "+std::to_string(exclude_send.size()));
}
//set action if Folder are same or exists
-void ScanFileOrFolder::setFolderExistsAction(const FolderExistsAction &action, const QString &newName)
+void ScanFileOrFolder::setFolderExistsAction(const FolderExistsAction &action, const std::string &newName)
{
this->newName=newName;
folderExistsAction=action;
@@ -187,8 +195,8 @@ void ScanFileOrFolder::stop()
void ScanFileOrFolder::run()
{
stopped=false;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start the listing with destination: "+destination+", mode: "+QString::number(mode));
- destination=resolvDestination(destination).absoluteFilePath();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start the listing with destination: "+destination+", mode: "+std::to_string(mode));
+ destination=resolvDestination(QString::fromStdString(destination)).absoluteFilePath().toStdString();
if(stopIt)
{
stopped=true;
@@ -199,16 +207,16 @@ void ScanFileOrFolder::run()
stopped=true;
return;
}
- int sourceIndex=0;
+ unsigned int sourceIndex=0;
while(sourceIndex<sources.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"size source to list: "+QString::number(sourceIndex)+text_slash+QString::number(sources.size()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"size source to list: "+std::to_string(sourceIndex)+text_slash+std::to_string(sources.size()));
if(stopIt)
{
stopped=true;
return;
}
- QFileInfo source=sources.at(sourceIndex);
+ QFileInfo source=QString::fromStdString(sources.at(sourceIndex));
if(source.isDir() && !source.isSymLink())
{
/* Bad way; when you copy c:\source\folder into d:\destination, you wait it create the folder d:\destination\folder
@@ -216,26 +224,27 @@ void ScanFileOrFolder::run()
listFolder(source.absoluteFilePath()+text_slash,destination);//put unix separator because it's transformed into that's under windows too
*/
//put unix separator because it's transformed into that's under windows too
- QString tempString=QFileInfo(destination).absoluteFilePath();
- if(!tempString.endsWith(text_slash) && !tempString.endsWith(text_antislash))
+ std::string tempString=QFileInfo(QString::fromStdString(destination)).absoluteFilePath().toStdString();
+ if(!stringEndsWith(tempString,text_slash) && !stringEndsWith(tempString,text_antislash))
tempString+=text_slash;
tempString+=TransferThread::resolvedName(source);
- if(moveTheWholeFolder && mode==Ultracopier::Move && !QFileInfo(tempString).exists() && driveManagement.isSameDrive(source.absoluteFilePath(),tempString))
+ if(moveTheWholeFolder && mode==Ultracopier::Move && !QFileInfo(QString::fromStdString(tempString)).exists() &&
+ driveManagement.isSameDrive(source.absoluteFilePath().toStdString(),tempString))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("tempString: %1 move and not exists").arg(tempString));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("do real move: %1 to %2").arg(source.absoluteFilePath()).arg(tempString));
- emit addToRealMove(source.absoluteFilePath(),tempString);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"tempString: move and not exists: "+tempString);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"do real move: "+source.absoluteFilePath().toStdString()+" to "+tempString);
+ emit addToRealMove(source.absoluteFilePath(),QString::fromStdString(tempString));
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("tempString: %1 normal listing, blacklist size: %2").arg(tempString).arg(blackList.size()));
- listFolder(source.absoluteFilePath(),tempString);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"tempString: "+tempString+" normal listing, blacklist size: "+std::to_string(blackList.size()));
+ listFolder(source.absoluteFilePath(),QString::fromStdString(tempString));
}
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1 is file or symblink").arg(source.absoluteFilePath()));
- emit fileTransfer(source,destination+text_slash+source.fileName(),mode);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"source: "+source.absoluteFilePath().toStdString()+" is file or symblink");
+ emit fileTransfer(source,QString::fromStdString(destination+text_slash)+source.fileName(),mode);
}
sourceIndex++;
}
@@ -250,21 +259,21 @@ QFileInfo ScanFileOrFolder::resolvDestination(const QFileInfo &destination)
QFileInfo newDestination=destination;
while(newDestination.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("resolv destination to: %1").arg(newDestination.symLinkTarget()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"resolv destination to: "+newDestination.symLinkTarget().toStdString());
if(QFileInfo(newDestination.symLinkTarget()).isAbsolute())
newDestination.setFile(newDestination.symLinkTarget());
else
- newDestination.setFile(newDestination.absolutePath()+text_slash+newDestination.symLinkTarget());
+ newDestination.setFile(newDestination.absolutePath()+QString::fromStdString(text_slash)+newDestination.symLinkTarget());
}
do
{
fileErrorAction=FileError_NotSet;
if(isBlackListed(destination))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("isBlackListed: %1").arg(destination.absoluteFilePath()));
- emit errorOnFolder(destination,tr("Blacklisted folder"),ErrorType_Folder);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"isBlackListed: "+destination.absoluteFilePath().toStdString());
+ emit errorOnFolder(destination,tr("Blacklisted folder").toStdString(),ErrorType_Folder);
waitOneAction.acquire();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+QString::number(fileErrorAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+std::to_string(fileErrorAction));
}
} while(fileErrorAction==FileError_Retry || fileErrorAction==FileError_PutToEndOfTheList);
return newDestination;
@@ -276,13 +285,13 @@ bool ScanFileOrFolder::isBlackListed(const QFileInfo &destination)
int size=blackList.size();
while(index<size)
{
- if(destination.absoluteFilePath().startsWith(blackList.at(index)))
+ if(stringStartWith(destination.absoluteFilePath().toStdString(),blackList.at(index)))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("%1 start with: %2").arg(destination.absoluteFilePath()).arg(blackList.at(index)));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,destination.absoluteFilePath().toStdString()+" start with: "+blackList.at(index));
return true;
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("%1 not start with: %2").arg(destination.absoluteFilePath()).arg(blackList.at(index)));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,destination.absoluteFilePath().toStdString()+" not start with: "+blackList.at(index));
index++;
}
return false;
@@ -290,7 +299,9 @@ bool ScanFileOrFolder::isBlackListed(const QFileInfo &destination)
void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1 (%2), destination: %3 (%4)").arg(source.absoluteFilePath()).arg(source.isSymLink()).arg(destination.absoluteFilePath()).arg(destination.isSymLink()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"source: "+source.absoluteFilePath().toStdString()+
+ " ("+std::to_string(source.isSymLink())+"), destination: "+destination.absoluteFilePath().toStdString()+
+ " ("+std::to_string(destination.isSymLink())+")");
if(stopIt)
return;
destination=resolvDestination(destination);
@@ -303,7 +314,7 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{
emit folderAlreadyExists(source,destination,true);
waitOneAction.acquire();
- QString destinationSuffixPath;
+ std::string destinationSuffixPath;
switch(folderExistsAction)
{
case FolderExists_Merge:
@@ -312,41 +323,41 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
return;
break;
case FolderExists_Rename:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination before rename: "+destination.absoluteFilePath());
- if(newName.isEmpty())
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination before rename: "+destination.absoluteFilePath().toStdString());
+ if(newName.empty())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"pattern: "+folder_isolation.pattern());
+ //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"pattern: "+folder_isolation.str());
//resolv the new name
- destinationSuffixPath=destination.baseName();
+ destinationSuffixPath=destination.baseName().toStdString();
int num=1;
do
{
if(num==1)
{
- if(firstRenamingRule.isEmpty())
- destinationSuffixPath=tr("%1 - copy").arg(destination.baseName());
+ if(firstRenamingRule.empty())
+ destinationSuffixPath=tr("%1 - copy").arg(destination.baseName()).toStdString();
else
{
destinationSuffixPath=firstRenamingRule;
- destinationSuffixPath.replace(QStringLiteral("%name%"),destination.baseName());
+ stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString());
}
}
else
{
- if(otherRenamingRule.isEmpty())
- destinationSuffixPath=tr("%1 - copy (%2)").arg(destination.baseName()).arg(num);
+ if(otherRenamingRule.empty())
+ destinationSuffixPath=tr("%1 - copy (%2)").arg(destination.baseName()).arg(num).toStdString();
else
{
destinationSuffixPath=otherRenamingRule;
- destinationSuffixPath.replace(QStringLiteral("%name%"),destination.baseName());
- destinationSuffixPath.replace(QStringLiteral("%number%"),QString::number(num));
+ stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString());
+ stringreplaceAll(destinationSuffixPath,"%number%",std::to_string(num));
}
}
num++;
if(destination.completeSuffix().isEmpty())
- destination.setFile(destination.absolutePath()+text_slash+destinationSuffixPath);
+ destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath));
else
- destination.setFile(destination.absolutePath()+text_slash+destinationSuffixPath+text_dot+destination.completeSuffix());
+ destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath)+QString::fromStdString(text_dot)+destination.completeSuffix());
}
while(destination.exists());
}
@@ -355,8 +366,8 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"use new name: "+newName);
destinationSuffixPath = newName;
}
- destination.setFile(destination.absolutePath()+text_slash+destinationSuffixPath);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination after rename: "+destination.absoluteFilePath());
+ destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash+destinationSuffixPath));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination after rename: "+destination.absoluteFilePath().toStdString());
break;
default:
return;
@@ -370,7 +381,7 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{
emit folderAlreadyExists(source,destination,false);
waitOneAction.acquire();
- QString destinationSuffixPath;
+ std::string destinationSuffixPath;
switch(folderExistsAction)
{
case FolderExists_Merge:
@@ -379,8 +390,8 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
return;
break;
case FolderExists_Rename:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination before rename: "+destination.absoluteFilePath());
- if(newName.isEmpty())
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination before rename: "+destination.absoluteFilePath().toStdString());
+ if(newName.empty())
{
//resolv the new name
QFileInfo destinationInfo;
@@ -389,26 +400,26 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{
if(num==1)
{
- if(firstRenamingRule.isEmpty())
- destinationSuffixPath=tr("%1 - copy").arg(destination.baseName());
+ if(firstRenamingRule.empty())
+ destinationSuffixPath=tr("%1 - copy").arg(destination.baseName()).toStdString();
else
{
destinationSuffixPath=firstRenamingRule;
- destinationSuffixPath.replace(QStringLiteral("%name%"),destination.baseName());
+ stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString());
}
}
else
{
- if(otherRenamingRule.isEmpty())
- destinationSuffixPath=tr("%1 - copy (%2)").arg(destination.baseName()).arg(num);
+ if(otherRenamingRule.empty())
+ destinationSuffixPath=tr("%1 - copy (%2)").arg(destination.baseName()).arg(num).toStdString();
else
{
destinationSuffixPath=otherRenamingRule;
- destinationSuffixPath.replace(QStringLiteral("%name%"),destination.baseName());
- destinationSuffixPath.replace(QStringLiteral("%number%"),QString::number(num));
+ stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString());
+ stringreplaceAll(destinationSuffixPath,"%number%",std::to_string(num));
}
}
- destinationInfo.setFile(destinationInfo.absolutePath()+text_slash+destinationSuffixPath);
+ destinationInfo.setFile(destinationInfo.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath));
num++;
}
while(destinationInfo.exists());
@@ -419,10 +430,10 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
destinationSuffixPath = newName;
}
if(destination.completeSuffix().isEmpty())
- destination.setFile(destination.absolutePath()+text_slash+destinationSuffixPath);
+ destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath));
else
- destination.setFile(destination.absolutePath()+text_slash+destinationSuffixPath+QStringLiteral(".")+destination.completeSuffix());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination after rename: "+destination.absoluteFilePath());
+ destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath)+QStringLiteral(".")+destination.completeSuffix());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination after rename: "+destination.absoluteFilePath().toStdString());
break;
default:
return;
@@ -438,13 +449,13 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
if(!source.isReadable() || !source.isExecutable() || !source.exists() || !source.isDir())
{
if(!source.isDir())
- emit errorOnFolder(source,tr("This is not a folder"));
+ emit errorOnFolder(source,tr("This is not a folder").toStdString());
else if(!source.exists())
- emit errorOnFolder(source,tr("The folder does exists"));
+ emit errorOnFolder(source,tr("The folder does exists").toStdString());
else
- emit errorOnFolder(source,tr("The folder is not readable"));
+ emit errorOnFolder(source,tr("The folder is not readable").toStdString());
waitOneAction.acquire();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+QString::number(fileErrorAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+std::to_string(fileErrorAction));
}
} while(fileErrorAction==FileError_Retry);
do
@@ -453,9 +464,9 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
fileErrorAction=FileError_NotSet;
if(!tempDir.isReadable() || !tempDir.exists())
{
- emit errorOnFolder(source,tr("Problem with name encoding"));
+ emit errorOnFolder(source,tr("Problem with name encoding").toStdString());
waitOneAction.acquire();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+QString::number(fileErrorAction));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+std::to_string(fileErrorAction));
}
} while(fileErrorAction==FileError_Retry);
if(stopIt)
@@ -469,7 +480,7 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
if(stopIt)
return;
int sizeEntryList=entryList.size();
- emit newFolderListing(source.absoluteFilePath());
+ emit newFolderListing(source.absoluteFilePath().toStdString());
if(mode!=Ultracopier::Move)
emit addToMkPath(source,destination,sizeEntryList);
for (int index=0;index<sizeEntryList;++index)
@@ -487,16 +498,16 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
this->include=this->include_send;
this->exclude=this->exclude_send;
}
- QString fileName=fileInfo.fileName();
+ std::string fileName=fileInfo.fileName().toStdString();
if(fileInfo.isDir() && !fileInfo.isSymLink())
{
bool excluded=false,included=(include.size()==0);
- int filters_index=0;
+ unsigned int filters_index=0;
while(filters_index<exclude.size())
{
if(exclude.at(filters_index).apply_on==ApplyOn_folder || exclude.at(filters_index).apply_on==ApplyOn_fileAndFolder)
{
- if(fileName.contains(exclude.at(filters_index).regex))
+ if(std::regex_match(fileName,exclude.at(filters_index).regex))
{
excluded=true;
break;
@@ -513,7 +524,7 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{
if(include.at(filters_index).apply_on==ApplyOn_folder || include.at(filters_index).apply_on==ApplyOn_fileAndFolder)
{
- if(fileName.contains(include.at(filters_index).regex))
+ if(std::regex_match(fileName,include.at(filters_index).regex))
{
included=true;
break;
@@ -524,18 +535,18 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
if(!included)
{}
else
- listFolder(fileInfo,destination.absoluteFilePath()+text_slash+fileInfo.fileName());
+ listFolder(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName());
}
}
else
{
bool excluded=false,included=(include.size()==0);
- int filters_index=0;
+ unsigned int filters_index=0;
while(filters_index<exclude.size())
{
if(exclude.at(filters_index).apply_on==ApplyOn_file || exclude.at(filters_index).apply_on==ApplyOn_fileAndFolder)
{
- if(fileName.contains(exclude.at(filters_index).regex))
+ if(std::regex_match(fileName,exclude.at(filters_index).regex))
{
excluded=true;
break;
@@ -552,7 +563,7 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{
if(include.at(filters_index).apply_on==ApplyOn_file || include.at(filters_index).apply_on==ApplyOn_fileAndFolder)
{
- if(fileName.contains(include.at(filters_index).regex))
+ if(std::regex_match(fileName,include.at(filters_index).regex))
{
included=true;
break;
@@ -564,7 +575,7 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{}
else
#ifndef ULTRACOPIER_PLUGIN_RSYNC
- emit fileTransfer(fileInfo,destination.absoluteFilePath()+text_slash+fileInfo.fileName(),mode);
+ emit fileTransfer(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName(),mode);
#else
{
bool sendToTransfer=false;
@@ -585,10 +596,10 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
{
if(fileInfo.isDir() && !fileInfo.isSymLink())//possible wait time here
//listFolder(source,destination,suffixPath+fileInfo.fileName()+QDir::separator());
- listFolder(fileInfo,destination.absoluteFilePath()+text_slash+fileInfo.fileName());//put unix separator because it's transformed into that's under windows too
+ listFolder(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName());//put unix separator because it's transformed into that's under windows too
else
#ifndef ULTRACOPIER_PLUGIN_RSYNC
- emit fileTransfer(fileInfo,destination.absoluteFilePath()+text_slash+fileInfo.fileName(),mode);
+ emit fileTransfer(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName(),mode);
#else
{
bool sendToTransfer=false;
@@ -635,7 +646,7 @@ void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination)
#endif
if(mode==Ultracopier::Move)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"source: "+source.absoluteFilePath()+", sizeEntryList: "+QString::number(sizeEntryList));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"source: "+source.absoluteFilePath().toStdString()+", sizeEntryList: "+std::to_string(sizeEntryList));
emit addToMovePath(source,destination,sizeEntryList);
}
}
@@ -646,7 +657,7 @@ void ScanFileOrFolder::setCheckDestinationFolderExists(const bool checkDestinati
this->checkDestinationExists=checkDestinationFolderExists;
}
-void ScanFileOrFolder::setRenamingRules(const QString &firstRenamingRule, const QString &otherRenamingRule)
+void ScanFileOrFolder::setRenamingRules(const std::string &firstRenamingRule, const std::string &otherRenamingRule)
{
this->firstRenamingRule=firstRenamingRule;
this->otherRenamingRule=otherRenamingRule;
@@ -666,7 +677,7 @@ void ScanFileOrFolder::setCopyListOrder(const bool &order)
/// \brief set rsync
void ScanFileOrFolder::setRsync(const bool rsync)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+QString::number(rsync));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+std::to_string(rsync));
this->rsync=rsync;
}
#endif
diff --git a/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h
index e9e59ce..0c625e9 100644
--- a/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h
+++ b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h
@@ -4,15 +4,15 @@
\licence GPL3, see the file COPYING */
#include <QThread>
-#include <QStringList>
-#include <QString>
-#include <QList>
#include <QFileInfo>
#include <QDir>
#include <QSemaphore>
#include <QEventLoop>
#include <QCoreApplication>
#include <QMutexLocker>
+#include <regex>
+#include <string>
+#include <vector>
#include "Environment.h"
#include "DriveManagement.h"
@@ -32,12 +32,12 @@ public:
/// \brief to get if is finished
bool isFinished() const;
/// \brief set action if Folder are same or exists
- void setFolderExistsAction(const FolderExistsAction &action,const QString &newName="");
+ void setFolderExistsAction(const FolderExistsAction &action, const std::string &newName="");
/// \brief set action if error
void setFolderErrorAction(const FileErrorAction &action);
/// \brief set if need check if the destination exists
void setCheckDestinationFolderExists(const bool checkDestinationFolderExists);
- void setRenamingRules(const QString &firstRenamingRule,const QString &otherRenamingRule);
+ void setRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule);
void setMoveTheWholeFolder(const bool &moveTheWholeFolder);
#ifdef ULTRACOPIER_PLUGIN_RSYNC
void setRsync(const bool rsync);
@@ -45,12 +45,12 @@ public:
signals:
void fileTransfer(const QFileInfo &source,const QFileInfo &destination,const Ultracopier::CopyMode &mode) const;
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
void folderAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame) const;
- void errorOnFolder(const QFileInfo &fileInfo,const QString &errorString,const ErrorType &errorType=ErrorType_FolderWithRety) const;
+ void errorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,const ErrorType &errorType=ErrorType_FolderWithRety) const;
void finishedTheListing() const;
- void newFolderListing(const QString &path) const;
+ void newFolderListing(const std::string &path) const;
void addToMkPath(const QFileInfo& source,const QFileInfo& destination, const int& inode) const;
void addToMovePath(const QFileInfo& source,const QFileInfo& destination, const int& inodeToRemove) const;
void addToRealMove(const QFileInfo& source,const QFileInfo& destination) const;
@@ -58,8 +58,8 @@ signals:
void addToRmForRsync(const QFileInfo& destination) const;
#endif
public slots:
- void addToList(const QStringList& sources,const QString& destination);
- void setFilters(const QList<Filters_rules> &include,const QList<Filters_rules> &exclude);
+ void addToList(const std::vector<std::string>& sources,const std::string& destination);
+ void setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude);
void setCopyListOrder(const bool &order);
void set_updateMount();
protected:
@@ -67,8 +67,8 @@ protected:
private:
DriveManagement driveManagement;
bool moveTheWholeFolder;
- QStringList sources;
- QString destination;
+ std::vector<std::string> sources;
+ std::string destination;
volatile bool stopIt;
void listFolder(QFileInfo source, QFileInfo destination);
bool isBlackListed(const QFileInfo &destination);
@@ -78,31 +78,31 @@ private:
FolderExistsAction folderExistsAction;
FileErrorAction fileErrorAction;
volatile bool checkDestinationExists;
- QString newName;
+ std::string newName;
bool copyListOrder;
- QRegularExpression folder_isolation;
+ std::regex folder_isolation;
#ifdef ULTRACOPIER_PLUGIN_RSYNC
bool rsync;
#endif
Ultracopier::CopyMode mode;
- QList<Filters_rules> include,exclude;
- QList<Filters_rules> include_send,exclude_send;
+ std::vector<Filters_rules> include,exclude;
+ std::vector<Filters_rules> include_send,exclude_send;
bool reloadTheNewFilters;
bool haveFilters;
QMutex filtersMutex;
- QString firstRenamingRule;
- QString otherRenamingRule;
- QStringList blackList;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
+ std::vector<std::string> blackList;
/** Parse the multiple wildcard source, it allow resolv multiple wildcard with Qt into their path
* The string: /toto/f*a/yy*a/toto.mp3
* Will give: /toto/f1a/yy*a/toto.mp3, /toto/f2a/yy*a/toto.mp3
* Will give: /toto/f2a/yy1a/toto.mp3, /toto/f2a/yy2a/toto.mp3
*/
- QStringList parseWildcardSources(const QStringList &sources) const;
+ std::vector<std::string> parseWildcardSources(const std::vector<std::string> &sources) const;
- static QString text_slash;
- static QString text_antislash;
- static QString text_dot;
+ static std::string text_slash;
+ static std::string text_antislash;
+ static std::string text_dot;
};
#endif // SCANFILEORFOLDER_H
diff --git a/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h b/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h
index 0b23c29..036803c 100644
--- a/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h
+++ b/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h
@@ -3,8 +3,8 @@
\author alpha_one_x86
\licence GPL3, see the file COPYING */
-#include <QString>
-#include <QRegularExpression>
+#include <string>
+#include <regex>
#ifndef STRUCTDEF_COPYENGINE_H
#define STRUCTDEF_COPYENGINE_H
@@ -95,11 +95,11 @@ enum ApplyOn
/** to store into different way the filter rules to be exported */
struct Filters_rules
{
- QString search_text;
+ std::string search_text;
SearchType search_type;
ApplyOn apply_on;
bool need_match_all;
- QRegularExpression regex;
+ std::regex regex;
};
/// \brief get action type
@@ -116,9 +116,9 @@ enum ActionType
struct Diskspace
{
- QString drive;
- quint64 requiredSpace;
- quint64 freeSpace;
+ std::string drive;
+ uint64_t requiredSpace;
+ uint64_t freeSpace;
};
#endif // STRUCTDEF_COPYENGINE_H
diff --git a/plugins/CopyEngine/Ultracopier/TransferThread.cpp b/plugins/CopyEngine/Ultracopier/TransferThread.cpp
index 1ae0a9d..786a8e9 100644
--- a/plugins/CopyEngine/Ultracopier/TransferThread.cpp
+++ b/plugins/CopyEngine/Ultracopier/TransferThread.cpp
@@ -15,6 +15,14 @@
#endif
#endif
+#ifdef Q_OS_WIN32
+#define CURRENTSEPARATOR "\\"
+#else
+#define CURRENTSEPARATOR "/"
+#endif
+
+#include "../../../cpp11addition.h"
+
TransferThread::TransferThread() :
haveStartTime (false),
transfer_stat (TransferStat_Idle),
@@ -37,10 +45,10 @@ TransferThread::TransferThread() :
readThread.setWriteThread(&writeThread);
source.setCaching(false);
destination.setCaching(false);
- renameRegex=QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$"));
+ renameRegex=std::regex("^(.*)(\\.[a-z0-9]+)$");
#ifdef Q_OS_WIN32
#ifndef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY
- regRead=QRegularExpression(QStringLiteral("^[a-z]:"));
+ regRead=std::regex("^[a-z]:");
#endif
#endif
@@ -63,7 +71,7 @@ TransferThread::~TransferThread()
void TransferThread::run()
{
- //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start: ")+QString::number((qint64)QThread::currentThreadId())));
+ //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+QStringLiteral("] start: ")+QString::number((qint64)QThread::currentThreadId())));
transfer_stat = TransferStat_Idle;
stopIt = false;
fileExistsAction = FileExists_NotSet;
@@ -118,47 +126,47 @@ void TransferThread::internalStartTheTransfer()
if(mode!=Ultracopier::Move)
{
/// \bug can pass here because in case of direct move on same media, it return to idle stat directly
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] can't start transfert at idle"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't start transfert at idle"));
}
return;
}
if(transfer_stat==TransferStat_PostOperation)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] can't start transfert at PostOperation"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't start transfert at PostOperation"));
return;
}
if(transfer_stat==TransferStat_Transfer)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] can't start transfert at Transfer"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't start transfert at Transfer"));
return;
}
if(canStartTransfer)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] canStartTransfer is already set to true"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] canStartTransfer is already set to true"));
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] check how start the transfer"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] check how start the transfer"));
canStartTransfer=true;
if(readIsReadyVariable && writeIsReadyVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start directly the transfer"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] start directly the transfer"));
ifCanStartTransfer();
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start the transfer as delayed"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] start the transfer as delayed"));
}
-bool TransferThread::setFiles(const QFileInfo& source,const qint64 &size,const QFileInfo& destination,const Ultracopier::CopyMode &mode)
+bool TransferThread::setFiles(const QFileInfo& source, const int64_t &size, const QFileInfo& destination, const Ultracopier::CopyMode &mode)
{
if(transfer_stat!=TransferStat_Idle)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already used, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
return false;
}
//to prevent multiple file alocation into ListThread::doNewActions_inode_manipulation()
transfer_stat = TransferStat_PreOperation;
//emit pushStat(stat,transferId);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
this->source = source;
this->destination = destination;
this->mode = mode;
@@ -185,10 +193,10 @@ void TransferThread::setFileExistsAction(const FileExistsAction &action)
{
if(transfer_stat!=TransferStat_PreOperation)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already used, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+(", destination: ")+destination.absoluteFilePath().toStdString());
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] action: ")+QString::number(action));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] action: ")+std::to_string(action));
if(action!=FileExists_Rename)
fileExistsAction = action;
else
@@ -206,54 +214,54 @@ void TransferThread::setFileExistsAction(const FileExistsAction &action)
emit internalStartPreOperation();
}
-void TransferThread::setFileRename(const QString &nameForRename)
+void TransferThread::setFileRename(const std::string &nameForRename)
{
if(transfer_stat!=TransferStat_PreOperation)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already used, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+(", destination: ")+destination.absoluteFilePath().toStdString());
return;
}
- if(nameForRename.contains(QRegularExpression(QStringLiteral("[/\\\\\\*]"))))
+ if(QString::fromStdString(nameForRename).contains(QRegularExpression(QStringLiteral("[/\\\\\\*]"))))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] can't use this kind of name, internal error"));
- emit errorOnFile(destination,tr("Try rename with using special characters"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't use this kind of name, internal error"));
+ emit errorOnFile(destination,tr("Try rename with using special characters").toStdString());
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] nameForRename: ")+nameForRename);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] nameForRename: "+nameForRename);
if(!renameTheOriginalDestination)
- destination.setFile(destination.absolutePath()+QDir::separator()+nameForRename);
+ destination.setFile(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename));
else
{
QString tempDestination=destination.absoluteFilePath();
QFile destinationFile(tempDestination);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("rename %1: to: %2").arg(destination.absoluteFilePath()).arg(destination.absolutePath()+QDir::separator()+nameForRename));
- if(!destinationFile.rename(destination.absolutePath()+QDir::separator()+nameForRename))
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] "+QStringLiteral("rename %1: to: %2").arg(destination.absoluteFilePath()).arg(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename)).toStdString());
+ if(!destinationFile.rename(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename)))
{
if(!destinationFile.exists())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()));
- emit errorOnFile(destinationFile,tr("File not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString());
+ emit errorOnFile(destinationFile,tr("File not found").toStdString());
return;
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("unable to do real move %1: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()));
- emit errorOnFile(destinationFile,destinationFile.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do real move %1: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString());
+ emit errorOnFile(destinationFile,destinationFile.errorString().toStdString());
return;
}
if(source.absoluteFilePath()==destination.absoluteFilePath())
- source.setFile(destination.absolutePath()+QDir::separator()+nameForRename);
+ source.setFile(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename));
destination.setFile(tempDestination);
destination.refresh();
}
fileExistsAction = FileExists_NotSet;
resetExtraVariable();
emit internalStartPreOperation();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("destination is: %1").arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] destination is: "+destination.absoluteFilePath().toStdString());
}
void TransferThread::setAlwaysFileExistsAction(const FileExistsAction &action)
{
- //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] action to do always: ")+QString::number(action)));
+ //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+QStringLiteral("] action to do always: ")+QString::number(action)));
alwaysDoFileExistsAction=action;
}
@@ -283,39 +291,39 @@ void TransferThread::preOperation()
{
if(transfer_stat!=TransferStat_PreOperation)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already used, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
return;
}
haveStartTime=true;
startTransferTime.restart();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start: source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start: source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
needRemove=false;
if(isSame())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] is same ")+source.absoluteFilePath()+QStringLiteral(" than ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] is same "+source.absoluteFilePath().toStdString()+" than "+destination.absoluteFilePath().toStdString());
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] after is same"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after is same");
/*Why this code?
if(readError)
{
readError=false;
return;
}*/
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] before destination exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] before destination exists");
if(destinationExists())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] destination exists: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] destination exists: "+destination.absoluteFilePath().toStdString());
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] after destination exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after destination exists");
/*Why this code?
if(readError)
{
readError=false;
return;
}*/
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] before keep date"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] before keep date");
#ifdef Q_OS_WIN32
doTheDateTransfer=!source.isSymLink();
#else
@@ -329,11 +337,11 @@ void TransferThread::preOperation()
doTheDateTransfer=false;
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("the sources is older to copy the time: ")+source.absoluteFilePath()+QStringLiteral(": ")+minTime.toString(QStringLiteral("dd.MM.yyyy hh:mm:ss.zzz"))+QStringLiteral(">=")+source.lastModified().toString(QStringLiteral("dd.MM.yyyy hh:mm:ss.zzz")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources is older to copy the time: "+source.absoluteFilePath().toStdString()+": "+minTime.toString(QStringLiteral("dd.MM.yyyy hh:mm:ss.zzz")).toStdString()+">="+source.lastModified().toString(QStringLiteral("dd.MM.yyyy hh:mm:ss.zzz")).toStdString());
doTheDateTransfer=false;
if(keepDate)
{
- emit errorOnFile(source,tr("Wrong modification date or unable to get it, you can disable time transfer to do it"));
+ emit errorOnFile(source,tr("Wrong modification date or unable to get it, you can disable time transfer to do it").toStdString());
return;
}
}
@@ -342,15 +350,15 @@ void TransferThread::preOperation()
{
doTheDateTransfer=readFileDateTime(source);
#ifdef Q_OS_MAC
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] read the source time: ")+QString::number(butime.modtime));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] read the source time: "+std::to_string(butime.modtime));
#endif
if(!doTheDateTransfer)
{
//will have the real error at source open
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] unable to read the source time: ")+source.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] unable to read the source time: "+source.absoluteFilePath().toStdString());
if(keepDate)
{
- emit errorOnFile(source,tr("Wrong modification date or unable to get it, you can disable time transfer to do it"));
+ emit errorOnFile(source,tr("Wrong modification date or unable to get it, you can disable time transfer to do it").toStdString());
return;
}
}
@@ -358,7 +366,7 @@ void TransferThread::preOperation()
}
if(canBeMovedDirectly())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("need moved directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need moved directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
canBeMovedDirectlyVariable=true;
readThread.fakeOpen();
writeThread.fakeOpen();
@@ -366,7 +374,7 @@ void TransferThread::preOperation()
}
if(canBeCopiedDirectly())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("need copied directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need copied directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
canBeCopiedDirectlyVariable=true;
readThread.fakeOpen();
writeThread.fakeOpen();
@@ -377,14 +385,14 @@ void TransferThread::preOperation()
void TransferThread::tryOpen()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start source and destination: ")+source.absoluteFilePath()+QStringLiteral(" and ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source and destination: "+source.absoluteFilePath().toStdString()+" and "+destination.absoluteFilePath().toStdString());
TransferAlgorithm transferAlgorithm=this->transferAlgorithm;
if(transferAlgorithm==TransferAlgorithm_Automatic)
{
#ifdef Q_OS_LINUX
- if(driveManagement.isSameDrive(destination.absoluteFilePath(),source.absoluteFilePath()))
+ if(driveManagement.isSameDrive(destination.absoluteFilePath().toStdString(),source.absoluteFilePath().toStdString()))
{
- const QByteArray &type=driveManagement.getDriveType(driveManagement.getDrive(source.absoluteFilePath()));
+ const QByteArray &type=driveManagement.getDriveType(driveManagement.getDrive(source.absoluteFilePath().toStdString()));
if(type=="nfs" || type=="smb")
transferAlgorithm=TransferAlgorithm_Parallel;
else
@@ -404,8 +412,8 @@ void TransferThread::tryOpen()
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("readIsOpeningVariable is true when try open"));
- emit errorOnFile(source,tr("Internal error: Already opening"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] readIsOpeningVariable is true when try open");
+ emit errorOnFile(source,tr("Internal error: Already opening").toStdString());
readError=true;
return;
}
@@ -415,9 +423,9 @@ void TransferThread::tryOpen()
if(!writeIsOpeningVariable)
{
if(transferAlgorithm==TransferAlgorithm_Sequential)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] transferAlgorithm==TransferAlgorithm_Sequential"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Sequential");
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] transferAlgorithm==TransferAlgorithm_Parallel"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Parallel");
writeError=false;
if(transferAlgorithm==TransferAlgorithm_Sequential)
writeThread.open(destination.absoluteFilePath(),size,osBuffer && (!osBufferLimited || (osBufferLimited && size<osBufferLimit)),sequentialBuffer,true);
@@ -427,8 +435,8 @@ void TransferThread::tryOpen()
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("writeIsOpeningVariable is true when try open"));
- emit errorOnFile(destination,tr("Internal error: Already opening"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+"writeIsOpeningVariable is true when try open");
+ emit errorOnFile(destination,tr("Internal error: Already opening").toStdString());
writeError=true;
return;
}
@@ -443,15 +451,15 @@ bool TransferThread::isSame()
{
#ifdef ULTRACOPIER_PLUGIN_DEBUG
if(!source.exists())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start source: ")+source.absoluteFilePath()+QStringLiteral(" not exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source: "+source.absoluteFilePath().toStdString()+" not exists");
if(!source.isSymLink())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start source: ")+source.absoluteFilePath()+QStringLiteral(" isSymLink"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source: "+source.absoluteFilePath().toStdString()+" isSymLink");
if(!destination.isSymLink())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start source: ")+destination.absoluteFilePath()+QStringLiteral(" isSymLink"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source: "+destination.absoluteFilePath().toStdString()+" isSymLink");
#endif
if(fileExistsAction==FileExists_NotSet && alwaysDoFileExistsAction==FileExists_Skip)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] is same but skip"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] is same but skip");
transfer_stat=TransferStat_Idle;
emit postOperationStopped();
//quit
@@ -468,11 +476,12 @@ bool TransferThread::isSame()
bool TransferThread::destinationExists()
{
//check if destination exists
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("overwrite: %1, alwaysDoFileExistsAction: %2, readError: %3, writeError: %4")
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("overwrite: %1, alwaysDoFileExistsAction: %2, readError: %3, writeError: %4")
.arg(fileExistsAction)
.arg(alwaysDoFileExistsAction)
.arg(readError)
.arg(writeError)
+ .toStdString()
);
if(alwaysDoFileExistsAction==FileExists_Overwrite || readError || writeError
#ifdef ULTRACOPIER_PLUGIN_RSYNC
@@ -481,10 +490,10 @@ bool TransferThread::destinationExists()
)
return false;
bool destinationExists;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] time to first FS access"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] time to first FS access");
destination.refresh();
destinationExists=destination.exists();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] finish first FS access"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] finish first FS access");
if(destinationExists)
{
if(fileExistsAction==FileExists_NotSet && alwaysDoFileExistsAction==FileExists_Skip)
@@ -550,7 +559,7 @@ bool TransferThread::destinationExists()
return false;
}
-QString TransferThread::resolvedName(const QFileInfo &inode)
+std::string TransferThread::resolvedName(const QFileInfo &inode)
{
QString fileName=inode.fileName();
if(fileName.isEmpty())
@@ -577,17 +586,17 @@ QString TransferThread::resolvedName(const QFileInfo &inode)
if(fileName.isEmpty())
fileName=tr("root");
#endif
- return fileName;
+ return fileName.toStdString();
}
-QString TransferThread::getSourcePath() const
+std::string TransferThread::getSourcePath() const
{
- return source.absoluteFilePath();
+ return source.absoluteFilePath().toStdString();
}
-QString TransferThread::getDestinationPath() const
+std::string TransferThread::getDestinationPath() const
{
- return destination.absoluteFilePath();
+ return destination.absoluteFilePath().toStdString();
}
QFileInfo TransferThread::getSourceInode() const
@@ -611,15 +620,15 @@ bool TransferThread::checkAlwaysRename()
if(alwaysDoFileExistsAction==FileExists_Rename)
{
QFileInfo newDestination=destination;
- QString fileName=resolvedName(newDestination);
- QString suffix=QStringLiteral("");
- QString newFileName;
+ std::string fileName=resolvedName(newDestination);
+ std::string suffix;
+ std::string newFileName;
//resolv the suffix
- if(fileName.contains(renameRegex))
+ if(std::regex_match(fileName,renameRegex))
{
suffix=fileName;
- suffix.replace(renameRegex,QStringLiteral("\\2"));
- fileName.replace(renameRegex,QStringLiteral("\\1"));
+ suffix=std::regex_replace(suffix,renameRegex,"$2");
+ fileName=std::regex_replace(fileName,renameRegex,"$1");
}
//resolv the new name
int num=1;
@@ -627,26 +636,26 @@ bool TransferThread::checkAlwaysRename()
{
if(num==1)
{
- if(firstRenamingRule.isEmpty())
- newFileName=tr("%1 - copy").arg(fileName);
+ if(firstRenamingRule.empty())
+ newFileName=tr("%1 - copy").arg(QString::fromStdString(fileName)).toStdString();
else
{
newFileName=firstRenamingRule;
- newFileName.replace(QStringLiteral("%name%"),fileName);
+ stringreplaceAll(newFileName,"%name%",fileName);
}
}
else
{
- if(otherRenamingRule.isEmpty())
- newFileName=tr("%1 - copy (%2)").arg(fileName).arg(num);
+ if(otherRenamingRule.empty())
+ newFileName=tr("%1 - copy (%2)").arg(QString::fromStdString(fileName)).arg(num).toStdString();
else
{
newFileName=otherRenamingRule;
- newFileName.replace(QStringLiteral("%name%"),fileName);
- newFileName.replace(QStringLiteral("%number%"),QString::number(num));
+ stringreplaceAll(newFileName,"%name%",fileName);
+ stringreplaceAll(newFileName,"%number%",std::to_string(num));
}
}
- newDestination.setFile(newDestination.absolutePath()+QDir::separator()+newFileName+suffix);
+ newDestination.setFile(newDestination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(newFileName+suffix));
num++;
}
while(newDestination.exists());
@@ -659,15 +668,15 @@ bool TransferThread::checkAlwaysRename()
{
if(!destinationFile.exists())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()));
- emit errorOnFile(destinationFile,tr("File not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString());
+ emit errorOnFile(destinationFile,tr("File not found").toStdString());
readError=true;
return true;
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("unable to do real move %1: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do real move %1: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString());
readError=true;
- emit errorOnFile(destinationFile,destinationFile.errorString());
+ emit errorOnFile(destinationFile,destinationFile.errorString().toStdString());
return true;
}
}
@@ -678,7 +687,7 @@ bool TransferThread::checkAlwaysRename()
void TransferThread::tryMoveDirectly()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("need moved directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need moved directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
sended_state_readStopped = false;
sended_state_writeStopped = false;
@@ -696,16 +705,16 @@ void TransferThread::tryMoveDirectly()
{
if(!sourceFile.exists() && !source.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+destinationFile.fileName()+QStringLiteral(", source not exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", source not exists");
readError=true;
- emit errorOnFile(destination,tr("The source file doesn't exist"));
+ emit errorOnFile(destination,tr("The source file doesn't exist").toStdString());
return;
}
else if(!destinationFile.remove())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+destinationFile.fileName()+QStringLiteral(", error: ")+destinationFile.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", error: "+destinationFile.errorString().toStdString());
readError=true;
- emit errorOnFile(destination,destinationFile.errorString());
+ emit errorOnFile(destination,destinationFile.errorString().toStdString());
return;
}
}
@@ -731,19 +740,19 @@ void TransferThread::tryMoveDirectly()
readError=true;
if(!sourceFile.exists() && !source.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()));
- emit errorOnFile(sourceFile,tr("File not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).toStdString());
+ emit errorOnFile(sourceFile,tr("File not found").toStdString());
return;
}
else if(!dir.exists())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("destination folder not exists %1: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()));
- emit errorOnFile(destination.absolutePath(),tr("Unable to do the folder"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("destination folder not exists %1: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).toStdString());
+ emit errorOnFile(destination.absolutePath(),tr("Unable to do the folder").toStdString());
return;
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("unable to do real move %1: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()));
- emit errorOnFile(sourceFile,sourceFile.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do real move %1: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).toStdString());
+ emit errorOnFile(sourceFile,sourceFile.errorString().toStdString());
return;
}
readThread.fakeReadIsStarted();
@@ -754,7 +763,7 @@ void TransferThread::tryMoveDirectly()
void TransferThread::tryCopyDirectly()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("need copied directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need copied directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString());
sended_state_readStopped = false;
sended_state_writeStopped = false;
@@ -772,16 +781,16 @@ void TransferThread::tryCopyDirectly()
{
if(!sourceFile.exists() && !source.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+destinationFile.fileName()+QStringLiteral(", source not exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", source not exists");
readError=true;
- emit errorOnFile(destination,tr("The source doesn't exist"));
+ emit errorOnFile(destination,tr("The source doesn't exist").toStdString());
return;
}
else if(!destinationFile.remove())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+destinationFile.fileName()+QStringLiteral(", error: ")+destinationFile.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", error: "+destinationFile.errorString().toStdString());
readError=true;
- emit errorOnFile(destination,destinationFile.errorString());
+ emit errorOnFile(destination,destinationFile.errorString().toStdString());
return;
}
}
@@ -812,25 +821,25 @@ void TransferThread::tryCopyDirectly()
readError=true;
if(!sourceFile.exists() && !source.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("source not exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()));
- emit errorOnFile(sourceFile,tr("The source file doesn't exist"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString());
+ emit errorOnFile(sourceFile,tr("The source file doesn't exist").toStdString());
return;
}
else if(destinationFile.exists() || destination.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("destination already exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()));
- emit errorOnFile(sourceFile,tr("Another file exists at same place"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("destination already exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString());
+ emit errorOnFile(sourceFile,tr("Another file exists at same place").toStdString());
return;
}
else if(!dir.exists())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("destination folder not exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()));
- emit errorOnFile(sourceFile,tr("Unable to do the folder"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("destination folder not exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString());
+ emit errorOnFile(sourceFile,tr("Unable to do the folder").toStdString());
return;
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("unable to do sym link copy %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()));
- emit errorOnFile(sourceFile,sourceFile.errorString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do sym link copy %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString());
+ emit errorOnFile(sourceFile,sourceFile.errorString().toStdString());
return;
}
readThread.fakeReadIsStarted();
@@ -843,10 +852,10 @@ bool TransferThread::canBeMovedDirectly() const
{
if(mode!=Ultracopier::Move)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("mode!=Ultracopier::Move"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] mode!=Ultracopier::Move");
return false;
}
- return source.isSymLink() || driveManagement.isSameDrive(destination.absoluteFilePath(),source.absoluteFilePath());
+ return source.isSymLink() || driveManagement.isSameDrive(destination.absoluteFilePath().toStdString(),source.absoluteFilePath().toStdString());
}
bool TransferThread::canBeCopiedDirectly() const
@@ -858,10 +867,10 @@ void TransferThread::readIsReady()
{
if(readIsReadyVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
readIsReadyVariable=true;
readIsOpenVariable=true;
readIsClosedVariable=false;
@@ -871,13 +880,13 @@ void TransferThread::readIsReady()
void TransferThread::ifCanStartTransfer()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] readIsReadyVariable: ")+QString::number(readIsReadyVariable)+QStringLiteral(", writeIsReadyVariable: ")+QString::number(writeIsReadyVariable));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] readIsReadyVariable: "+std::to_string(readIsReadyVariable)+", writeIsReadyVariable: "+std::to_string(writeIsReadyVariable));
if(readIsReadyVariable && writeIsReadyVariable)
{
transfer_stat=TransferStat_WaitForTheTransfer;
sended_state_readStopped = false;
sended_state_writeStopped = false;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stat=WaitForTheTransfer"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stat=WaitForTheTransfer");
if(!sended_state_preOperationStopped)
{
sended_state_preOperationStopped=true;
@@ -885,7 +894,7 @@ void TransferThread::ifCanStartTransfer()
}
if(canStartTransfer)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stat=Transfer, ")+QStringLiteral("canBeMovedDirectlyVariable: %1, canBeCopiedDirectlyVariable: %2").arg(canBeMovedDirectlyVariable).arg(canBeCopiedDirectlyVariable));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stat=Transfer, "+QStringLiteral("canBeMovedDirectlyVariable: %1, canBeCopiedDirectlyVariable: %2").arg(canBeMovedDirectlyVariable).arg(canBeCopiedDirectlyVariable).toStdString());
transfer_stat=TransferStat_Transfer;
if(canBeMovedDirectlyVariable)
tryMoveDirectly();
@@ -907,10 +916,10 @@ void TransferThread::writeIsReady()
{
if(writeIsReadyVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
writeIsReadyVariable=true;
writeIsOpenVariable=true;
writeIsClosedVariable=false;
@@ -955,7 +964,7 @@ void TransferThread::pause()
//from transfer_stat!=TransferStat_Idle because it resume at wrong order
if(transfer_stat!=TransferStat_Transfer && transfer_stat!=TransferStat_PostTransfer && transfer_stat!=TransferStat_Checksum)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] wrong stat to put in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] wrong stat to put in pause");
return;
}
haveStartTime=false;
@@ -970,7 +979,7 @@ void TransferThread::resume()
//from transfer_stat!=TransferStat_Idle because it resume at wrong order
if(transfer_stat!=TransferStat_Transfer && transfer_stat!=TransferStat_PostTransfer && transfer_stat!=TransferStat_Checksum)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] wrong stat to put in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] wrong stat to put in pause");
return;
}
readThread.resume();
@@ -984,34 +993,34 @@ void TransferThread::stop()
haveStartTime=false;
if(transfer_stat==TransferStat_Idle)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("transfer_stat==TransferStat_Idle"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"transfer_stat==TransferStat_Idle");
return;
}
if(remainSourceOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("remainSourceOpen()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"remainSourceOpen()");
readThread.stop();
}
if(remainDestinationOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("remainDestinationOpen()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"remainDestinationOpen()");
writeThread.stop();
}
if(!remainFileOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("transfer_stat==TransferStat_Idle"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"transfer_stat==TransferStat_Idle");
if(needRemove && source.absoluteFilePath()!=destination.absoluteFilePath())
{
if(source.exists())
QFile(destination.absoluteFilePath()).remove();
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] try destroy the destination when the source don't exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] try destroy the destination when the source don't exists"));
}
transfer_stat=TransferStat_PostOperation;
emit internalStartPostOperation();
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("transfer_stat==%1 && remainFileOpen()").arg(transfer_stat));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("transfer_stat==%1 && remainFileOpen()").arg(transfer_stat).toStdString());
}
bool TransferThread::remainFileOpen() const
@@ -1033,10 +1042,10 @@ void TransferThread::readIsFinish()
{
if(readIsFinishVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] double event dropped"));
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
readIsFinishVariable=true;
canStartTransfer=false;
//check here if need start checksuming or not
@@ -1055,7 +1064,7 @@ void TransferThread::readIsFinish()
if(!needSkip || (canBeCopiedDirectlyVariable || canBeMovedDirectlyVariable))//if skip, stop call, then readIsClosed() already call
readThread.postOperation();
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] in skip, don't start postOperation"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] in skip, don't start postOperation");
}
emit pushStat(transfer_stat,transferId);
}
@@ -1064,10 +1073,10 @@ void TransferThread::writeIsFinish()
{
if(writeIsFinishVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] double event dropped");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
writeIsFinishVariable=true;
//check here if need start checksuming or not
if(real_doChecksum)
@@ -1081,7 +1090,7 @@ void TransferThread::writeIsFinish()
if(!needSkip || (canBeCopiedDirectlyVariable || canBeMovedDirectlyVariable))//if skip, stop call, then writeIsClosed() already call
writeThread.postOperation();
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] in skip, don't start postOperation"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] in skip, don't start postOperation");
}
}
@@ -1101,17 +1110,17 @@ void TransferThread::compareChecksum()
{
if(sourceChecksum.size()==0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] the checksum of source is missing"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] the checksum of source is missing");
return;
}
if(destinationChecksum.size()==0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] the checksum of destination is missing"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] the checksum of destination is missing");
return;
}
if(sourceChecksum==destinationChecksum)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] the checksum match"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] the checksum match");
readThread.postOperation();
writeThread.postOperation();
transfer_stat=TransferStat_PostTransfer;
@@ -1119,9 +1128,9 @@ void TransferThread::compareChecksum()
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] the checksum not match"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] the checksum not match"));
//emit error here, and wait to resume
- emit errorOnFile(destination,tr("The checksums do not match"));
+ emit errorOnFile(destination,tr("The checksums do not match").toStdString());
}
}
@@ -1129,10 +1138,10 @@ void TransferThread::readIsClosed()
{
if(readIsClosedVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] double event dropped"));
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
readIsClosedVariable=true;
readIsOpeningVariable=false;
checkIfAllIsClosedAndDoOperations();
@@ -1142,10 +1151,10 @@ void TransferThread::writeIsClosed()
{
if(writeIsClosedVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] double event dropped");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
writeIsClosedVariable=true;
writeIsOpeningVariable=false;
if(stopIt && needRemove && source.absoluteFilePath()!=destination.absoluteFilePath())
@@ -1153,7 +1162,7 @@ void TransferThread::writeIsClosed()
if(source.exists())
QFile(destination.absoluteFilePath()).remove();
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] try destroy the destination when the source don't exists"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] try destroy the destination when the source don't exists"));
}
checkIfAllIsClosedAndDoOperations();
}
@@ -1163,12 +1172,12 @@ bool TransferThread::checkIfAllIsClosedAndDoOperations()
{
if((readError || writeError) && !needSkip && !stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] resolve error before progress"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] resolve error before progress");
return false;
}
if(!remainFileOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] emit internalStartPostOperation() to do the real post operation"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit internalStartPostOperation() to do the real post operation");
transfer_stat=TransferStat_PostOperation;
//emit pushStat(stat,transferId);
emit internalStartPostOperation();
@@ -1176,11 +1185,12 @@ bool TransferThread::checkIfAllIsClosedAndDoOperations()
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("wait self close: readIsReadyVariable: %1, readIsClosedVariable: %2, writeIsReadyVariable: %3, writeIsClosedVariable: %4")
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("wait self close: readIsReadyVariable: %1, readIsClosedVariable: %2, writeIsReadyVariable: %3, writeIsClosedVariable: %4")
.arg(readIsReadyVariable)
.arg(readIsClosedVariable)
.arg(writeIsReadyVariable)
.arg(writeIsClosedVariable)
+ .toStdString()
);
return false;
}
@@ -1192,14 +1202,14 @@ void TransferThread::postOperation()
{
if(transfer_stat!=TransferStat_PostOperation)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] need be in transfer, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath()+QStringLiteral(", stat:")+QString::number(transfer_stat));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] need be in transfer, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()+", stat:"+std::to_string(transfer_stat));
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
//all except closing
if((readError || writeError) && !needSkip && !stopIt)//normally useless by checkIfAllIsFinish()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] resume after error"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] resume after error");
return;
}
@@ -1209,8 +1219,8 @@ void TransferThread::postOperation()
{
if(writeIsOpenVariable && !writeIsClosedVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] can't pass in post operation if write is not closed"));
- emit errorOnFile(destination,tr("Internal error: The destination is not closed"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't pass in post operation if write is not closed"));
+ emit errorOnFile(destination,tr("Internal error: The destination is not closed").toStdString());
needSkip=false;
if(deletePartiallyTransferredFiles)
needRemove=true;
@@ -1220,11 +1230,12 @@ void TransferThread::postOperation()
if(readThread.getLastGoodPosition()!=writeThread.getLastGoodPosition())
{
writeThread.flushBuffer();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] readThread.getLastGoodPosition(%1)!=writeThread.getLastGoodPosition(%2)")
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+QString("] readThread.getLastGoodPosition(%1)!=writeThread.getLastGoodPosition(%2)")
.arg(readThread.getLastGoodPosition())
.arg(writeThread.getLastGoodPosition())
+ .toStdString()
);
- emit errorOnFile(destination,tr("Internal error: The size transfered doesn't match"));
+ emit errorOnFile(destination,tr("Internal error: The size transfered doesn't match").toStdString());
needSkip=false;
if(deletePartiallyTransferredFiles)
needRemove=true;
@@ -1234,8 +1245,8 @@ void TransferThread::postOperation()
if(!writeThread.bufferIsEmpty())
{
writeThread.flushBuffer();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] buffer is not empty"));
- emit errorOnFile(destination,tr("Internal error: The buffer is not empty"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] buffer is not empty"));
+ emit errorOnFile(destination,tr("Internal error: The buffer is not empty").toStdString());
needSkip=false;
if(deletePartiallyTransferredFiles)
needRemove=true;
@@ -1256,12 +1267,12 @@ void TransferThread::postOperation()
if(!sourceFile.remove())
{
needSkip=false;
- emit errorOnFile(source,sourceFile.errorString());
+ emit errorOnFile(source,sourceFile.errorString().toStdString());
return;
}
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] try remove source but destination not exists!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] try remove source but destination not exists!"));
}
}
else//do difference skip a file and skip this error case
@@ -1276,14 +1287,14 @@ void TransferThread::postOperation()
}
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] try remove destination but not exists!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] try remove destination but not exists!");
}
source.setFile(QStringLiteral(""));
destination.setFile(QStringLiteral(""));
//don't need remove because have correctly finish (it's not in: have started)
needRemove=false;
needSkip=false;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] emit postOperationStopped()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit postOperationStopped()");
transfer_stat=TransferStat_Idle;
emit postOperationStopped();
}
@@ -1299,8 +1310,8 @@ bool TransferThread::doFilePostOperation()
if(!stopIt)
if(/*true when the destination have been remove but not the symlink:*/!source.isSymLink())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to change the date: File not found"));
- emit errorOnFile(destination,tr("Unable to change the date")+QStringLiteral(": ")+tr("File not found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to change the date: File not found");
+ emit errorOnFile(destination,tr("Unable to change the date").toStdString()+": "+tr("File not found").toStdString());
return false;
}
}
@@ -1311,14 +1322,14 @@ bool TransferThread::doFilePostOperation()
if(!writeFileDateTime(destination))
{
if(!destination.isFile())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to change the date (is not a file)"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to change the date (is not a file)");
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to change the date"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to change the date");
/* error with virtual folder under windows */
#ifndef Q_OS_WIN32
if(keepDate)
{
- emit errorOnFile(destination,tr("Unable to change the date"));
+ emit errorOnFile(destination,tr("Unable to change the date").toStdString());
return false;
}
#endif
@@ -1327,13 +1338,13 @@ bool TransferThread::doFilePostOperation()
{
#ifndef Q_OS_WIN32
destination.refresh();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] read the destination time: ")+destination.lastModified().toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] read the destination time: "+destination.lastModified().toString().toStdString());
if(destination.lastModified()<minTime)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] read the destination time lower than min time: ")+destination.lastModified().toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] read the destination time lower than min time: "+destination.lastModified().toString().toStdString());
if(keepDate)
{
- emit errorOnFile(destination,tr("Unable to change the date"));
+ emit errorOnFile(destination,tr("Unable to change the date").toStdString());
return false;
}
}
@@ -1348,13 +1359,13 @@ bool TransferThread::doFilePostOperation()
{
if(sourceFile.error()!=QFile::NoError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to get the source file permission"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to get the source file permission");
//emit errorOnFile(destination,tr("Unable to get the source file permission"));
//return false;
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to set the destination file permission"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to set the destination file permission");
//emit errorOnFile(destination,tr("Unable to set the destination file permission"));
//return false;
}
@@ -1375,10 +1386,10 @@ void TransferThread::getWriteError()
{
if(writeError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already in write error!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] already in write error!");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
fileContentError = true;
writeError = true;
writeIsReadyVariable = false;
@@ -1393,10 +1404,10 @@ void TransferThread::getReadError()
{
if(readError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already in read error!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] already in read error!");
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
fileContentError = true;
readError = true;
//writeIsReadyVariable = false;//wrong because write can be ready here
@@ -1414,10 +1425,10 @@ void TransferThread::retryAfterError()
{
if(transferId==0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] seam have bug, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] seam have bug, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] restart all, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] restart all, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString());
readError=false;
//writeError=false;
emit internalStartPreOperation();
@@ -1426,7 +1437,7 @@ void TransferThread::retryAfterError()
//opening error
if(transfer_stat==TransferStat_PreOperation)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] is not idle, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath()+QStringLiteral(", stat: ")+QString::number(transfer_stat));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] is not idle, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()+", stat: "+std::to_string(transfer_stat));
readError=false;
//writeError=false;
emit internalStartPreOperation();
@@ -1436,7 +1447,7 @@ void TransferThread::retryAfterError()
//data streaming error
if(transfer_stat!=TransferStat_PostOperation && transfer_stat!=TransferStat_Transfer && transfer_stat!=TransferStat_PostTransfer && transfer_stat!=TransferStat_Checksum)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] is not in right stat, source: ")+source.absoluteFilePath()+QStringLiteral(", destination: ")+destination.absoluteFilePath()+QStringLiteral(", stat: ")+QString::number(transfer_stat));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] is not in right stat, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()+", stat: "+std::to_string(transfer_stat));
return;
}
if(transfer_stat==TransferStat_PostOperation)
@@ -1456,13 +1467,13 @@ void TransferThread::retryAfterError()
}
if(canBeMovedDirectlyVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] retry the system move"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] retry the system move");
tryMoveDirectly();
return;
}
if(canBeCopiedDirectlyVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] retry the copy directly"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] retry the copy directly");
tryCopyDirectly();
return;
}
@@ -1470,17 +1481,17 @@ void TransferThread::retryAfterError()
{
if(writeError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start and resume the write error"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the write error");
writeThread.reopen();
}
else if(readError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start and resume the read error"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the read error");
readThread.reopen();
}
else //only checksum difference
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] retry all the transfer"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] retry all the transfer");
canStartTransfer=true;
ifCanStartTransfer();
}
@@ -1489,7 +1500,7 @@ void TransferThread::retryAfterError()
//can have error on source and destination at the same time
if(writeError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start and resume the write error: ")+QString::number(readError));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the write error: "+std::to_string(readError));
if(readError)
readThread.reopen();
else
@@ -1501,18 +1512,18 @@ void TransferThread::retryAfterError()
}
if(readError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start and resume the read error"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the read error");
readThread.reopen();
}
if(!writeError && !readError)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] unknow error resume"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] unknow error resume");
}
void TransferThread::writeThreadIsReopened()
{
if(writeError_destination_reopened)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped");
return;
}
writeError_destination_reopened=true;
@@ -1529,7 +1540,7 @@ void TransferThread::readThreadIsSeekToZeroAndWait()
{
if(writeError_source_seeked)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped");
return;
}
writeError_source_seeked=true;
@@ -1558,7 +1569,7 @@ useless because already do at open event
void TransferThread::readThreadResumeAfterError()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
readError=false;
writeIsReady();
readIsReady();
@@ -1573,12 +1584,12 @@ void TransferThread::readIsStopped()
if(!sended_state_readStopped)
{
sended_state_readStopped=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] emit readIsStopped()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit readIsStopped()");
emit readStopped();
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] drop dual read stopped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] drop dual read stopped");
return;
}
readIsFinish();
@@ -1586,16 +1597,16 @@ void TransferThread::readIsStopped()
void TransferThread::writeIsStopped()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
if(!sended_state_writeStopped)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] emit writeStopped()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit writeStopped()");
sended_state_writeStopped=true;
emit writeStopped();
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped");
return;
}
writeIsFinish();
@@ -1613,7 +1624,7 @@ bool TransferThread::setParallelBuffer(const int &parallelBuffer)
{
if(parallelBuffer<1 || parallelBuffer>ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] wrong parallelBuffer: ")+QString::number(parallelBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] wrong parallelBuffer: "+std::to_string(parallelBuffer));
return false;
}
else
@@ -1627,7 +1638,7 @@ bool TransferThread::setSequentialBuffer(const int &sequentialBuffer)
{
if(sequentialBuffer<1 || sequentialBuffer>ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] wrong sequentialBuffer: ")+QString::number(sequentialBuffer));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] wrong sequentialBuffer: "+std::to_string(sequentialBuffer));
return false;
}
else
@@ -1641,20 +1652,20 @@ void TransferThread::setTransferAlgorithm(const TransferAlgorithm &transferAlgor
{
this->transferAlgorithm=transferAlgorithm;
if(transferAlgorithm==TransferAlgorithm_Sequential)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("]transferAlgorithm==TransferAlgorithm_Sequential"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Sequential");
else if(transferAlgorithm==TransferAlgorithm_Automatic)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("]transferAlgorithm==TransferAlgorithm_Automatic"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Automatic");
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("]transferAlgorithm==TransferAlgorithm_Parallel"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Parallel");
}
//fonction to edit the file date time
bool TransferThread::readFileDateTime(const QFileInfo &source)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] readFileDateTime(")+source.absoluteFilePath()+QStringLiteral(")"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] readFileDateTime("+source.absoluteFilePath().toStdString()+")");
if(source.lastModified()<minTime)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] the sources is older to copy the time: ")+source.absoluteFilePath()+QStringLiteral(": ")+source.lastModified().toString());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] the sources is older to copy the time: "+source.absoluteFilePath().toStdString()+": "+source.lastModified().toString().toStdString());
return false;
}
/** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */
@@ -1676,7 +1687,6 @@ bool TransferThread::readFileDateTime(const QFileInfo &source)
time_t actime=source.lastRead().toTime_t();
time_t modtime=source.lastModified().toTime_t();
//this function avalaible on unix and mingw
- utimbuf butime;
butime.actime=actime;
butime.modtime=modtime;
Q_UNUSED(ctime);
@@ -1698,21 +1708,21 @@ bool TransferThread::readFileDateTime(const QFileInfo &source)
return true;
#else
wchar_t filePath[65535];
- if(source.absoluteFilePath().contains(regRead))
+ if(std::regex_match(source.absoluteFilePath().toStdString(),regRead))
filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+source.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
else
filePath[QDir::toNativeSeparators(source.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
HANDLE hFileSouce = CreateFileW(filePath, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY, NULL);
if(hFileSouce == INVALID_HANDLE_VALUE)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] open failed to read: ")+QString::fromWCharArray(filePath)+QStringLiteral(", error: ")+QString::number(GetLastError()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] open failed to read: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError()));
return false;
}
FILETIME ftCreate, ftAccess, ftWrite;
if(!GetFileTime(hFileSouce, &ftCreate, &ftAccess, &ftWrite))
{
CloseHandle(hFileSouce);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] unable to get the file time"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] unable to get the file time");
return false;
}
this->ftCreateL=ftCreate.dwLowDateTime;
@@ -1733,7 +1743,7 @@ bool TransferThread::readFileDateTime(const QFileInfo &source)
bool TransferThread::writeFileDateTime(const QFileInfo &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] writeFileDateTime(")+destination.absoluteFilePath()+QStringLiteral(")"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] writeFileDateTime("+destination.absoluteFilePath().toStdString()+")");
/** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */
#ifdef Q_OS_UNIX
#ifdef Q_OS_LINUX
@@ -1747,14 +1757,14 @@ bool TransferThread::writeFileDateTime(const QFileInfo &destination)
return utime(destination.toLatin1().data(),&butime)==0;
#else
wchar_t filePath[65535];
- if(destination.absoluteFilePath().contains(regRead))
+ if(std::regex_match(destination.absoluteFilePath().toStdString(),regRead))
filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
else
filePath[QDir::toNativeSeparators(destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0';
HANDLE hFileDestination = CreateFileW(filePath, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
if(hFileDestination == INVALID_HANDLE_VALUE)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] open failed to write: ")+QString::fromWCharArray(filePath)+QStringLiteral(", error: ")+QString::number(GetLastError()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] open failed to write: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError()));
return false;
}
FILETIME ftCreate, ftAccess, ftWrite;
@@ -1767,7 +1777,7 @@ bool TransferThread::writeFileDateTime(const QFileInfo &destination)
if(!SetFileTime(hFileDestination, &ftCreate, &ftAccess, &ftWrite))
{
CloseHandle(hFileDestination);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] unable to set the file time"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] unable to set the file time");
return false;
}
CloseHandle(hFileDestination);
@@ -1783,9 +1793,9 @@ bool TransferThread::writeFileDateTime(const QFileInfo &destination)
//skip the copy
void TransferThread::skip()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start with stat: ")+QString::number(transfer_stat));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] readIsOpeningVariable: ")+QString::number(readIsOpeningVariable)+QStringLiteral(", readIsOpenVariable: ")+QString::number(readIsOpenVariable)+QStringLiteral(", readIsReadyVariable: ")+QString::number(readIsReadyVariable)+QStringLiteral(", readIsFinishVariable: ")+QString::number(readIsFinishVariable)+QStringLiteral(", readIsClosedVariable: ")+QString::number(readIsClosedVariable));
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] writeIsOpeningVariable: ")+QString::number(writeIsOpeningVariable)+QStringLiteral(", writeIsOpenVariable: ")+QString::number(writeIsOpenVariable)+QStringLiteral(", writeIsReadyVariable: ")+QString::number(writeIsReadyVariable)+QStringLiteral(", writeIsFinishVariable: ")+QString::number(writeIsFinishVariable)+QStringLiteral(", writeIsClosedVariable: ")+QString::number(writeIsClosedVariable));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start with stat: "+std::to_string(transfer_stat));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] readIsOpeningVariable: "+std::to_string(readIsOpeningVariable)+", readIsOpenVariable: "+std::to_string(readIsOpenVariable)+", readIsReadyVariable: "+std::to_string(readIsReadyVariable)+", readIsFinishVariable: "+std::to_string(readIsFinishVariable)+", readIsClosedVariable: "+std::to_string(readIsClosedVariable));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] writeIsOpeningVariable: "+std::to_string(writeIsOpeningVariable)+", writeIsOpenVariable: "+std::to_string(writeIsOpenVariable)+", writeIsReadyVariable: "+std::to_string(writeIsReadyVariable)+", writeIsFinishVariable: "+std::to_string(writeIsFinishVariable)+", writeIsClosedVariable: "+std::to_string(writeIsClosedVariable));
switch(transfer_stat)
{
case TransferStat_WaitForTheTransfer:
@@ -1793,7 +1803,7 @@ void TransferThread::skip()
case TransferStat_PreOperation:
if(needSkip)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] skip already in progress"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress");
return;
}
needSkip=true;
@@ -1815,14 +1825,14 @@ void TransferThread::skip()
case TransferStat_PostTransfer:
if(needSkip)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] skip already in progress"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress");
return;
}
//needRemove=true;never put that's here, can product destruction of the file
needSkip=true;
if(canBeMovedDirectlyVariable || canBeCopiedDirectlyVariable)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] Do the direct FS fake close, canBeMovedDirectlyVariable: ")+QString::number(canBeMovedDirectlyVariable)+QStringLiteral(", canBeCopiedDirectlyVariable: ")+QString::number(canBeCopiedDirectlyVariable));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] Do the direct FS fake close, canBeMovedDirectlyVariable: "+std::to_string(canBeMovedDirectlyVariable)+", canBeCopiedDirectlyVariable: "+std::to_string(canBeCopiedDirectlyVariable));
readThread.fakeReadIsStarted();
writeThread.fakeWriteIsStarted();
readThread.fakeReadIsStopped();
@@ -1846,7 +1856,7 @@ void TransferThread::skip()
case TransferStat_Checksum:
if(needSkip)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] skip already in progress"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress");
return;
}
//needRemove=true;never put that's here, can product destruction of the file
@@ -1867,7 +1877,7 @@ void TransferThread::skip()
case TransferStat_PostOperation:
if(needSkip)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] skip already in progress"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress");
return;
}
//needRemove=true;never put that's here, can product destruction of the file
@@ -1876,13 +1886,13 @@ void TransferThread::skip()
emit internalStartPostOperation();
break;
default:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] can skip in this state: ")+QString::number(transfer_stat));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] can skip in this state: "+std::to_string(transfer_stat));
return;
}
}
//return info about the copied size
-qint64 TransferThread::copiedSize()
+int64_t TransferThread::copiedSize()
{
switch(transfer_stat)
{
@@ -1925,7 +1935,7 @@ void TransferThread::setId(int id)
writeThread.setId(id);
}
-QChar TransferThread::readingLetter() const
+char TransferThread::readingLetter() const
{
switch(readThread.stat)
{
@@ -1949,7 +1959,7 @@ QChar TransferThread::readingLetter() const
}
}
-QChar TransferThread::writingLetter() const
+char TransferThread::writingLetter() const
{
switch(writeThread.stat)
{
@@ -2010,7 +2020,7 @@ void TransferThread::set_osBufferLimited(bool osBufferLimited)
}
//not copied size, because that's count to the checksum, ...
-quint64 TransferThread::realByteTransfered() const
+uint64_t TransferThread::realByteTransfered() const
{
switch(transfer_stat)
{
@@ -2027,16 +2037,16 @@ quint64 TransferThread::realByteTransfered() const
}
//first is read, second is write
-QPair<quint64,quint64> TransferThread::progression() const
+std::pair<uint64_t, uint64_t> TransferThread::progression() const
{
- QPair<quint64,quint64> returnVar;
+ std::pair<uint64_t,uint64_t> returnVar;
switch(transfer_stat)
{
case TransferStat_Transfer:
returnVar.first=readThread.getLastGoodPosition();
returnVar.second=writeThread.getLastGoodPosition();
/*if(returnVar.first<returnVar.second)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] read is smaller than write"));*/
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+QStringLiteral("] read is smaller than write"));*/
break;
case TransferStat_Checksum:
returnVar.first=readThread.getLastGoodPosition();
@@ -2046,7 +2056,7 @@ QPair<quint64,quint64> TransferThread::progression() const
returnVar.first=transferSize;
returnVar.second=writeThread.getLastGoodPosition();
/*if(returnVar.first<returnVar.second)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] read is smaller than write"));*/
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+QStringLiteral("] read is smaller than write"));*/
break;
case TransferStat_PostOperation:
returnVar.first=transferSize;
@@ -2059,7 +2069,7 @@ QPair<quint64,quint64> TransferThread::progression() const
return returnVar;
}
-void TransferThread::setRenamingRules(const QString &firstRenamingRule,const QString &otherRenamingRule)
+void TransferThread::setRenamingRules(const std::string &firstRenamingRule, const std::string &otherRenamingRule)
{
this->firstRenamingRule=firstRenamingRule;
this->otherRenamingRule=otherRenamingRule;
diff --git a/plugins/CopyEngine/Ultracopier/TransferThread.h b/plugins/CopyEngine/Ultracopier/TransferThread.h
index 051375e..e1a3b3f 100644
--- a/plugins/CopyEngine/Ultracopier/TransferThread.h
+++ b/plugins/CopyEngine/Ultracopier/TransferThread.h
@@ -8,12 +8,12 @@
#include <QThread>
#include <QFileInfo>
-#include <QString>
-#include <QList>
-#include <QStringList>
+#include <regex>
+#include <vector>
+#include <string>
#include <QDateTime>
#include <QDir>
-#include <QPair>
+#include <utility>
#ifdef Q_OS_UNIX
#include <utime.h>
@@ -50,16 +50,16 @@ public:
/// \brief to set the id
void setId(int id);
/// \brief get the reading letter
- QChar readingLetter() const;
+ char readingLetter() const;
/// \brief get the writing letter
- QChar writingLetter() const;
+ char writingLetter() const;
#endif
/// \brief to have semaphore, and try create just one by one
void setMkpathTransfer(QSemaphore *mkpathTransfer);
/// \brief to store the transfer id
- quint64 transferId;
+ uint64_t transferId;
/// \brief to store the transfer size
- quint64 transferSize;
+ uint64_t transferSize;
bool haveStartTime;
QTime startTransferTime;
@@ -70,11 +70,11 @@ public:
void set_osBufferLimited(bool osBufferLimited);
//not copied size, because that's count to the checksum, ...
- quint64 realByteTransfered() const;
- QPair<quint64,quint64> progression() const;
- static QString resolvedName(const QFileInfo &inode);
- QString getSourcePath() const;
- QString getDestinationPath() const;
+ uint64_t realByteTransfered() const;
+ std::pair<uint64_t, uint64_t> progression() const;
+ static std::string resolvedName(const QFileInfo &inode);
+ std::string getSourcePath() const;
+ std::string getDestinationPath() const;
QFileInfo getSourceInode() const;
QFileInfo getDestinationInode() const;
Ultracopier::CopyMode getMode() const;
@@ -90,27 +90,27 @@ signals:
void postOperationStopped() const;
//get dialog
void fileAlreadyExists(const QFileInfo &info,const QFileInfo &info2,const bool &isSame) const;
- void errorOnFile(const QFileInfo &info,const QString &string,const ErrorType &errorType=ErrorType_Normal) const;
+ void errorOnFile(const QFileInfo &info,const std::string &string,const ErrorType &errorType=ErrorType_Normal) const;
//internal signal
void internalStartPostOperation() const;
void internalStartPreOperation() const;
void internalStartResumeAfterErrorAndSeek() const;
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,QString fonction,QString text,QString file,int ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const;
void tryPutAtBottom() const;
//force into the right thread
void internalTryStartTheTransfer() const;
/// \brief update the transfer stat
- void pushStat(const TransferStat &stat,const quint64 &pos) const;
+ void pushStat(const TransferStat &stat,const uint64_t &pos) const;
public slots:
/// \brief to start the transfer of data
void startTheTransfer();
/// \brief to set files to transfer
- bool setFiles(const QFileInfo& source,const qint64 &size,const QFileInfo& destination,const Ultracopier::CopyMode &mode);
+ bool setFiles(const QFileInfo& source,const int64_t &size,const QFileInfo& destination,const Ultracopier::CopyMode &mode);
/// \brief to set file exists action to do
void setFileExistsAction(const FileExistsAction &action);
/// \brief to set the new name of the destination
- void setFileRename(const QString &nameForRename);
+ void setFileRename(const std::string &nameForRename);
/// \brief to start the transfer of data
void setAlwaysFileExistsAction(const FileExistsAction &action);
/// \brief set the copy info and options before runing
@@ -134,7 +134,7 @@ public slots:
/// \brief retry after error
void retryAfterError();
/// \brief return info about the copied size
- qint64 copiedSize();
+ int64_t copiedSize();
/// \brief put the current file at bottom
void putAtBottom();
@@ -143,7 +143,7 @@ public slots:
#endif
void set_osBufferLimit(const unsigned int &osBufferLimit);
- void setRenamingRules(const QString &firstRenamingRule,const QString &otherRenamingRule);
+ void setRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule);
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
//speed limitation
void timeOfTheBlockCopyFinished();
@@ -216,7 +216,7 @@ private:
bool retry;
QFileInfo source;
QFileInfo destination;
- qint64 size;
+ int64_t size;
FileExistsAction fileExistsAction;
FileExistsAction alwaysDoFileExistsAction;
bool needSkip,needRemove;
@@ -230,8 +230,8 @@ private:
bool osBuffer;
bool osBufferLimited;
unsigned int osBufferLimit;
- QString firstRenamingRule;
- QString otherRenamingRule;
+ std::string firstRenamingRule;
+ std::string otherRenamingRule;
//error management
bool writeError,writeError_source_seeked,writeError_destination_reopened;
bool readError;
@@ -241,7 +241,7 @@ private:
int parallelBuffer;
int sequentialBuffer;
int parallelizeIfSmallerThan;
- QRegularExpression renameRegex;
+ std::regex renameRegex;
TransferAlgorithm transferAlgorithm;
#ifdef Q_OS_UNIX
utimbuf butime;
@@ -250,9 +250,9 @@ private:
#ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY
utimbuf butime;
#else
- quint32 ftCreateL, ftAccessL, ftWriteL;
- quint32 ftCreateH, ftAccessH, ftWriteH;
- QRegularExpression regRead;
+ uint32_t ftCreateL, ftAccessL, ftWriteL;
+ uint32_t ftCreateH, ftAccessH, ftWriteH;
+ std::regex regRead;
#endif
#endif
#endif
diff --git a/plugins/CopyEngine/Ultracopier/WriteThread.cpp b/plugins/CopyEngine/Ultracopier/WriteThread.cpp
index 42b3551..9993961 100644
--- a/plugins/CopyEngine/Ultracopier/WriteThread.cpp
+++ b/plugins/CopyEngine/Ultracopier/WriteThread.cpp
@@ -63,26 +63,26 @@ void WriteThread::run()
bool WriteThread::internalOpen()
{
//do a bug
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] internalOpen destination: ")+file.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] internalOpen destination: "+file.fileName().toStdString());
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] close because stopIt is at true"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true");
emit closed();
return false;
}
if(file.isOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] already open! destination: ")+file.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] already open! destination: "+file.fileName().toStdString());
return false;
}
if(file.fileName().isEmpty())
{
- errorString_internal=tr("Path resolution error (Empty path)");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=tr("Path resolution error (Empty path)").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
return false;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] before the mutex"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] before the mutex");
//set to LISTBLOCKSIZE
if(sequential)
{
@@ -98,7 +98,7 @@ bool WriteThread::internalOpen()
if(writeFull.available()>numberOfBlock)
writeFull.acquire(writeFull.available()-numberOfBlock);
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] after the mutex"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the mutex");
stopIt=false;
endDetected=false;
#ifdef ULTRACOPIER_PLUGIN_DEBUG
@@ -111,17 +111,18 @@ bool WriteThread::internalOpen()
mkpathTransfer->acquire();
if(!destinationFolder.exists(destinationInfo.absolutePath()))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Try create the path: %1")
- .arg(destinationInfo.absolutePath()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] Try create the path: "+
+ destinationInfo.absolutePath().toStdString());
if(!destinationFolder.mkpath(destinationInfo.absolutePath()))
{
if(!destinationFolder.exists(destinationInfo.absolutePath()))
{
/// \todo do real folder error here
errorString_internal="mkpath error on destination";
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable create the folder: %1, error: %2")
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable create the folder: %1, error: %2")
.arg(destinationInfo.absolutePath())
- .arg(errorString_internal));
+ .arg(QString::fromStdString(errorString_internal))
+ .toStdString());
emit error();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
@@ -133,10 +134,10 @@ bool WriteThread::internalOpen()
}
mkpathTransfer->release();
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] after the mkpath"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the mkpath");
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] close because stopIt is at true"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true");
emit closed();
return false;
}
@@ -151,7 +152,7 @@ bool WriteThread::internalOpen()
writeFileList.insert(file.fileName(),this);
if(writeFileList.count(file.fileName())>1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] in waiting because same file is found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] in waiting because same file is found");
return false;
}
}
@@ -159,12 +160,12 @@ bool WriteThread::internalOpen()
bool fileWasExists=file.exists();
if(file.open(flags))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] after the open"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the open");
{
QMutexLocker lock_mutex(&accessList);
if(!theBlockList.isEmpty())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("General file corruption detected"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] General file corruption detected");
stopIt=true;
file.close();
resumeNotStarted();
@@ -173,10 +174,10 @@ bool WriteThread::internalOpen()
}
}
pauseMutex.tryAcquire(pauseMutex.available());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] after the pause mutex"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the pause mutex");
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] close because stopIt is at true"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true");
file.close();
resumeNotStarted();
file.setFileName(QStringLiteral(""));
@@ -188,8 +189,8 @@ bool WriteThread::internalOpen()
file.close();
resumeNotStarted();
file.setFileName(QStringLiteral(""));
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
@@ -198,7 +199,7 @@ bool WriteThread::internalOpen()
}
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] close because stopIt is at true"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true");
file.close();
resumeNotStarted();
file.setFileName(QStringLiteral(""));
@@ -210,8 +211,8 @@ bool WriteThread::internalOpen()
file.close();
resumeNotStarted();
file.setFileName(QStringLiteral(""));
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to resize to %1 after open: %2, error: %3").arg(startSize).arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to resize to %1 after open: %2, error: %3").arg(startSize).arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
@@ -220,7 +221,7 @@ bool WriteThread::internalOpen()
}
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] close because stopIt is at true"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true");
file.close();
resumeNotStarted();
file.setFileName(QStringLiteral(""));
@@ -228,7 +229,7 @@ bool WriteThread::internalOpen()
return false;
}
isOpen.acquire();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] emit opened()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit opened()");
emit opened();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
@@ -241,17 +242,17 @@ bool WriteThread::internalOpen()
{
if(!fileWasExists && file.exists())
if(!file.remove())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] file created but can't be removed"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] file created but can't be removed");
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] close because stopIt is at true"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true");
resumeNotStarted();
file.setFileName(QStringLiteral(""));
emit closed();
return false;
}
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Idle;
@@ -260,33 +261,33 @@ bool WriteThread::internalOpen()
}
}
-void WriteThread::open(const QFileInfo &file,const quint64 &startSize,const bool &buffer,const int &numberOfBlock,const bool &sequential)
+void WriteThread::open(const QFileInfo &file,const uint64_t &startSize,const bool &buffer,const int &numberOfBlock,const bool &sequential)
{
if(!isRunning())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] the thread not running to open destination: ")+file.absoluteFilePath()+QStringLiteral(", numberOfBlock: ")+QString::number(numberOfBlock));
- errorString_internal=tr("Internal error, please report it!");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] the thread not running to open destination: "+file.absoluteFilePath().toStdString()+", numberOfBlock: "+std::to_string(numberOfBlock));
+ errorString_internal=tr("Internal error, please report it!").toStdString();
emit error();
return;
}
if(this->file.isOpen())
{
if(file.absoluteFilePath()==this->file.fileName())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] Try reopen already opened same file: ")+file.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Try reopen already opened same file: "+file.absoluteFilePath().toStdString());
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] previous file is already open: ")+file.absoluteFilePath());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already open: "+file.absoluteFilePath().toStdString());
emit internalStartClose();
isOpen.acquire();
isOpen.release();
}
if(numberOfBlock<1 || (numberOfBlock>ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK && numberOfBlock>ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] numberOfBlock wrong, set to default"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] numberOfBlock wrong, set to default");
this->numberOfBlock=ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK;
}
else
this->numberOfBlock=numberOfBlock;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("open destination: %1, sequential: %2").arg(file.absoluteFilePath()).arg(sequential));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("open destination: %1, sequential: %2").arg(file.absoluteFilePath()).arg(sequential).toStdString());
stopIt=false;
fakeMode=false;
lastGoodPosition=0;
@@ -306,23 +307,23 @@ void WriteThread::endIsDetected()
{
if(endDetected)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped");
return;
}
endDetected=true;
pauseMutex.release();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
emit internalStartEndOfFile();
}
-QString WriteThread::errorString() const
+std::string WriteThread::errorString() const
{
return errorString_internal;
}
void WriteThread::stop()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stop()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop()");
needRemoveTheFile=true;
stopIt=true;
if(isOpen.available()>0)
@@ -342,7 +343,7 @@ void WriteThread::stop()
void WriteThread::flushBuffer()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
writeFull.release();
writeFull.acquire();
pauseMutex.release();
@@ -350,7 +351,7 @@ void WriteThread::flushBuffer()
QMutexLocker lock_mutex(&accessList);
theBlockList.clear();
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stop"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop");
}
/// \brief buffer is empty
@@ -370,15 +371,15 @@ void WriteThread::internalEndOfFile()
{
if(sequential)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start the write"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start the write");
emit internalStartWrite();
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] buffer is not empty!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] buffer is not empty!");
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] writeIsStopped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] writeIsStopped");
emit writeIsStopped();
}
}
@@ -416,7 +417,7 @@ void WriteThread::resumeNotStarted()
QMutexLocker lock_mutex(&writeFileListMutex);
#ifdef ULTRACOPIER_PLUGIN_DEBUG
if(!writeFileList.contains(file.fileName()))
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] file: \"")+file.fileName()+QStringLiteral("\" for similar inode is not located into the list of ")+writeFileList.size()+QStringLiteral(" items!"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] file: \""+file.fileName().toStdString()+"\" for similar inode is not located into the list of "+std::to_string(writeFileList.size())+" items!");
#endif
writeFileList.remove(file.fileName(),this);
if(writeFileList.contains(file.fileName()))
@@ -430,7 +431,7 @@ void WriteThread::resumeNotStarted()
void WriteThread::pause()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] try put read thread in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] try put read thread in pause");
pauseMutex.tryAcquire(pauseMutex.available());
putInPause=true;
return;
@@ -440,7 +441,7 @@ void WriteThread::resume()
{
if(putInPause)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
putInPause=false;
stopIt=false;
}
@@ -448,7 +449,7 @@ void WriteThread::resume()
return;
if(!file.isOpen())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] file is not open"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] file is not open");
return;
}
pauseMutex.release();
@@ -456,7 +457,7 @@ void WriteThread::resume()
void WriteThread::reemitStartOpen()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] start");
emit internalStartOpen();
}
@@ -464,11 +465,11 @@ void WriteThread::postOperation()
{
if(postOperationRequested)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] double event dropped"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] double event dropped");
return;
}
postOperationRequested=true;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
emit internalStartClose();
}
@@ -479,7 +480,7 @@ void WriteThread::internalCloseSlot()
void WriteThread::internalClose(bool emitSignal)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] close for file: ")+file.fileName());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close for file: "+file.fileName().toStdString());
/// \note never send signal here, because it's called by the destructor
#ifdef ULTRACOPIER_PLUGIN_DEBUG
stat=Close;
@@ -496,8 +497,8 @@ void WriteThread::internalClose(bool emitSignal)
{
if(emitSignal)
{
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
}
else
@@ -511,7 +512,7 @@ void WriteThread::internalClose(bool emitSignal)
{
if(!file.remove())
if(emitSignal)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] unable to remove the destination file"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] unable to remove the destination file");
}
}
//here and not after, because the transferThread don't need try close if not open
@@ -544,7 +545,7 @@ void WriteThread::internalClose(bool emitSignal)
void WriteThread::internalReopen()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
QString tempFile=file.fileName();
internalClose(false);
flushBuffer();
@@ -557,7 +558,7 @@ void WriteThread::internalReopen()
void WriteThread::reopen()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start");
stopIt=true;
endDetected=false;
emit internalStartReopen();
@@ -610,20 +611,20 @@ bool WriteThread::setBlockSize(const int blockSize)
}
else
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("block size out of range: ")+QString::number(blockSize));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"block size out of range: "+std::to_string(blockSize));
return false;
}
}
/// \brief get the last good position
-qint64 WriteThread::getLastGoodPosition() const
+int64_t WriteThread::getLastGoodPosition() const
{
return lastGoodPosition;
}
void WriteThread::flushAndSeekToZero()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("flushAndSeekToZero: ")+QString::number(blockSize));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"flushAndSeekToZero: "+std::to_string(blockSize));
stopIt=true;
emit internalStartFlushAndSeekToZero();
}
@@ -640,8 +641,8 @@ void WriteThread::checkSum()
#endif
if(!file.seek(0))
{
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
return;
}
@@ -650,7 +651,7 @@ void WriteThread::checkSum()
{
if(putInPause)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("[")+QString::number(id)+QStringLiteral("] write put in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] write put in pause");
if(stopIt)
return;
pauseMutex.acquire();
@@ -668,8 +669,8 @@ void WriteThread::checkSum()
if(file.error()!=QFile::NoError)
{
- errorString_internal=tr("Unable to read the source file: ")+file.errorString()+QStringLiteral(" (")+QString::number(file.error())+QStringLiteral(")");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("file.error()!=QFile::NoError: %1, error: %2").arg(QString::number(file.error())).arg(errorString_internal));
+ errorString_internal=tr("Unable to read the source file: ").toStdString()+file.errorString().toStdString()+" ("+std::to_string(file.error())+")";
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("file.error()!=QFile::NoError: %1, error: %2").arg(QString::number(file.error())).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
return;
}
@@ -693,8 +694,8 @@ void WriteThread::checkSum()
while(sizeReaden>0 && !stopIt);
if(lastGoodPosition>(quint64)file.size())
{
- errorString_internal=tr("File truncated during read, possible data change");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())));
+ errorString_internal=tr("File truncated during read, possible data change").toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())).toStdString());
emit error();
return;
}
@@ -706,7 +707,7 @@ void WriteThread::checkSum()
return;
}
emit checksumFinish(hash.result());
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stop the read"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop the read");
}
void WriteThread::internalFlushAndSeekToZero()
@@ -714,8 +715,8 @@ void WriteThread::internalFlushAndSeekToZero()
flushBuffer();
if(!file.seek(0))
{
- errorString_internal=file.errorString();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(errorString_internal));
+ errorString_internal=file.errorString().toStdString();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString());
emit error();
return;
}
@@ -814,7 +815,7 @@ void WriteThread::internalWrite()
{
if(putInPause)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("[")+QString::number(id)+QStringLiteral("] write put in pause"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] write put in pause");
if(stopIt)
return;
pauseMutex.acquire();
@@ -823,7 +824,7 @@ void WriteThread::internalWrite()
}
if(stopIt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] stopIt"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt");
return;
}
if(stopIt)
@@ -899,7 +900,7 @@ void WriteThread::internalWrite()
writeFull.release();
return;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] End detected of the file"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] End detected of the file");
return;
}
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
@@ -941,23 +942,23 @@ void WriteThread::internalWrite()
//mutex for stream this data
if(lastGoodPosition==0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] emit writeIsStarted()"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit writeIsStarted()");
emit writeIsStarted();
}
if(stopIt)
return;
if(file.error()!=QFile::NoError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Error in writing: %1 (%2)").arg(file.errorString()).arg(file.error()));
- errorString_internal=QStringLiteral("Error in writing: %1 (%2)").arg(file.errorString()).arg(file.error());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Error in writing: %1 (%2)").arg(file.errorString()).arg(file.error()).toStdString());
+ errorString_internal=QStringLiteral("Error in writing: %1 (%2)").arg(file.errorString()).arg(file.error()).toStdString();
stopIt=true;
emit error();
return;
}
if(bytesWriten!=blockArray.size())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Error in writing, bytesWriten: %1, blockArray.size(): %2").arg(bytesWriten).arg(blockArray.size()));
- errorString_internal=QStringLiteral("Error in writing, bytesWriten: %1, blockArray.size(): %2").arg(bytesWriten).arg(blockArray.size());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Error in writing, bytesWriten: %1, blockArray.size(): %2").arg(bytesWriten).arg(blockArray.size()).toStdString());
+ errorString_internal=QStringLiteral("Error in writing, bytesWriten: %1, blockArray.size(): %2").arg(bytesWriten).arg(blockArray.size()).toStdString();
stopIt=true;
emit error();
return;
diff --git a/plugins/CopyEngine/Ultracopier/WriteThread.h b/plugins/CopyEngine/Ultracopier/WriteThread.h
index e540552..cadd022 100644
--- a/plugins/CopyEngine/Ultracopier/WriteThread.h
+++ b/plugins/CopyEngine/Ultracopier/WriteThread.h
@@ -30,9 +30,9 @@ protected:
void run();
public:
/// \brief open the destination to open it
- void open(const QFileInfo &file,const quint64 &startSize,const bool &buffer,const int &numberOfBlock,const bool &sequential);
+ void open(const QFileInfo &file,const uint64_t &startSize,const bool &buffer,const int &numberOfBlock,const bool &sequential);
/// \brief to return the error string
- QString errorString() const;
+ std::string errorString() const;
/// \brief to stop all
void stop();
/// \brief to write data
@@ -63,7 +63,7 @@ public:
/// \brief set block size in KB
bool setBlockSize(const int blockSize);
/// \brief get the last good position
- qint64 getLastGoodPosition() const;
+ int64_t getLastGoodPosition() const;
/// \brief buffer is empty
bool bufferIsEmpty();
#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT
@@ -109,9 +109,9 @@ signals:
void internalStartEndOfFile() const;
void internalStartFlushAndSeekToZero() const;
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
private:
- QString errorString_internal;
+ std::string errorString_internal;
AvancedQFile file;
volatile bool stopIt;
volatile bool postOperationRequested;
@@ -132,12 +132,12 @@ private:
QSemaphore pauseMutex;
volatile bool putInPause;
QList<QByteArray> theBlockList; ///< Store the block list
- quint64 lastGoodPosition;
+ uint64_t lastGoodPosition;
QByteArray blockArray; ///< temp data for block writing, the data
- qint64 bytesWriten; ///< temp data for block writing, the bytes writen
+ int64_t bytesWriten; ///< temp data for block writing, the bytes writen
int id;
volatile bool endDetected;
- quint64 startSize;
+ uint64_t startSize;
QSemaphore *mkpathTransfer;
bool fakeMode;
bool buffer;
diff --git a/plugins/CopyEngine/Ultracopier/documentation.dox b/plugins/CopyEngine/Ultracopier/documentation.dox
index 727969f..5a0fbf6 100644
--- a/plugins/CopyEngine/Ultracopier/documentation.dox
+++ b/plugins/CopyEngine/Ultracopier/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Algorithm
diff --git a/plugins/CopyEngine/Ultracopier/informations.xml b/plugins/CopyEngine/Ultracopier/informations.xml
index 1a1d769..61e04e0 100644
--- a/plugins/CopyEngine/Ultracopier/informations.xml
+++ b/plugins/CopyEngine/Ultracopier/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Copy engine of Ultracopier, do in Qt for all platform, and copy by stream]]></description>
<description xml:lang="fr"><![CDATA[Moteur de copie d'ultracopier, fait en Qt pour toutes les plateformes, et copie par stream]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>Ultracopier</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/ar/informations.xml b/plugins/Languages/ar/informations.xml
index 24ea31a..555ecf1 100644
--- a/plugins/Languages/ar/informations.xml
+++ b/plugins/Languages/ar/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to arabic. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>ar</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/ar/translation.ts b/plugins/Languages/ar/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/ar/translation.ts
+++ b/plugins/Languages/ar/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/de/informations.xml b/plugins/Languages/de/informations.xml
index ff73225..c036053 100644
--- a/plugins/Languages/de/informations.xml
+++ b/plugins/Languages/de/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to german. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>de</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/de/translation.ts b/plugins/Languages/de/translation.ts
index eeee697..7e64330 100644
--- a/plugins/Languages/de/translation.ts
+++ b/plugins/Languages/de/translation.ts
@@ -1,87 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="de" sourcelanguage="en">
+<TS version="2.1" language="de" sourcelanguage="en">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation>Warnung</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation>Ultracopier wird bereits ausgeführt. Klicken Sie mit der rechten Maustase auf das Icon im Infobereich der Taskleiste</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation>Lesefehler, oder Dateigröße=0</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation>Mögliche Werte sind:</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation>Optionen anzeigen</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
- <translation>Zum Kopieren von Quelle nach Ziel, getrennt durch Leerzeichen. Bei Ziel=? fragt Supercopier nach</translation>
+ <translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
- <translation>Zum Verschieben von Quelle nach Ziel, getrennt durch Leerzeichen. Bei Ziel=? fragt Supercopier nach</translation>
+ <translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation>Ungültiger Befehl</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translatorcomment>The original english text does not make sense.</translatorcomment>
<translation>Diese Datei wird nicht unterstützt Transferliste</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation>Die Transferlistendatei kann nicht geöffnet werden</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation>Um diese Hilfe anzuzeigen</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation>Um andere Instanzen zu beenden (falls laufend)</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation>Transferliste öffnen</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation>Hilfe</translation>
</message>
@@ -89,39 +89,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation>Warnung</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Cannot find any copy engine with motions support</source>
- <translatorcomment>Motions? Do you mean &quot;move&quot;?</translatorcomment>
- <translation type="obsolete">Finde keine Kopier-Engine mit Motions-Unterstützung</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation>Finde keine kompatible Engine!</translation>
</message>
<message>
- <source>This copy engine does not support motions</source>
- <translation type="obsolete">Diese Kopier-Engine unterstützt keine Motions</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation>Finde keine Engine mit diesem Namen: %1</translation>
</message>
@@ -129,12 +120,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation>Fehler während Empfang der Kopier/Verschieben-Liste
@@ -144,70 +135,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation>Bekomme keine Instanz der Kopier-Engine</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation>Bekomme keine Instanz der Engine</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation>Die Parameter sind in diesem Modus ungültig</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation>Möchten Sie kopieren? Wenn nicht, wird verschoben.</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation>Konnte Oberfläche nicht laden. Kopiervorgang abgebrochen</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation>Konnte Kopier-Engine nicht laden. Kopiervorgang abgebrochen</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation>Transfermodus</translation>
</message>
@@ -215,12 +206,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -228,269 +219,269 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation>Kopier-Engine</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation>Kopieren</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation>Verschieben</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation>Pause</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation>Fortsetzen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation>Überspringen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation>Unbegrenzt</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translatorcomment>seconds?</translatorcomment>
<translation>s</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation>Zu groß</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translatorcomment>Byte?</translatorcomment>
<translation>B</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translatorcomment>Kilobyte</translatorcomment>
<translation>KB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translatorcomment>Megabyte</translatorcomment>
<translation>MB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translatorcomment>Gigabyte</translatorcomment>
<translation>GB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translatorcomment>Terrabyte</translatorcomment>
<translation>TB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translatorcomment>Petabyte</translatorcomment>
<translation>PB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translatorcomment>Etabyte</translatorcomment>
<translation>EB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translatorcomment>Zetabyte</translatorcomment>
<translation>ZB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translatorcomment>Yotabyte</translatorcomment>
<translation>YB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation>Weniger als %10 Sekunden</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation>Ungefähr noch %10 Sekunden</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation>Ungefähr noch %1 Minuten</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation>Ungefähr noch %1 Stunden</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translatorcomment>evtl. &quot;Datenübertragung&quot;, aber ich denke &quot;Transfer&quot; ist hier besser</translatorcomment>
<translation>Transfer</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation>Start</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation>Quelle</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation>Größe</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation>Ziel</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation>Beenden</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation>Ziel</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation>Verbleibende Zeit:</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation>Auflistung</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation>Kopieren</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translatorcomment>not sure... depends on context</translatorcomment>
<translation>Auflistung und Kopiervorgang</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation>Fragen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation>Überschreiben</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation>Überschreiben, falls neuer</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation>Überschreiben, falls die letzten Änderungsdaten unterschiedlich sind</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation>Umbenennen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation>Ans Ende der Liste verschieben</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation>Fertig in %1</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation>Wählen Sie das Quellverzeichnis</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation>Wählen Sie das Zielverzeichnis</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation>Interner Fehler</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation>Wählen Sie eine oder mehrere Dateien zum Öffnen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation>Alle Dateien</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation>Transferliste speichern</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation>Transferliste öffnen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation>Transferliste</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation>Auf dieser Plattform nicht unterstützt</translation>
</message>
@@ -498,7 +489,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation>Über Ultracopier</translation>
</message>
@@ -538,49 +529,42 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<translation>Schließen</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation>Über Supercopier</translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation>Zu http://portableapps.com/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation>Portable und &quot;Alles-in-Einem&quot; Version</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation>Portable Version</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation>&quot;Alles-in-Einem&quot; Version</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation>Normale Version</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation>http://ultracopier-de.first-world.info/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation>http://ultracopier.first-world.info/download.html</translation>
</message>
@@ -594,12 +578,12 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation>Warnung</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation>Timeout beim Zusammenfügen der Daten von verbundenen Clients</translation>
</message>
@@ -607,20 +591,20 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation>Log-Datei ist bereits geöffnet, Fehler: %1</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation>Kann Log-Datei nicht öffnen. Fehler: %1</translation>
</message>
@@ -662,21 +646,6 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>Das Ersetzen des Standard Kopier/Verschieben-Systems wird von diesem File-Manager nicht unterstützt.&lt;br /&gt;Bitten Sie die Entwickler darum es zu supporten. &lt;br /&gt;Sie müssen das Kopieren/Verschieben daher manuell durchführen.</translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation>Supercopier als veraltet betrachten, Ultracopier vorziehen</translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation>Diese Version nutzt die GPU Ihrer Grafikkarte zu 100% (Kann beim Spielen stören) aber kostenloser Zugang zur Ultimate-Version. Alternativ downloaden Sie die Normal-Version (mit Werbe-Link), oder kaufen Sie die Ultimate-Version, um das Projekt zu unterstützen.</translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation>http://ultracopier.first-world.info/download.html</translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -699,7 +668,7 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation>Kopier-Engine</translation>
</message>
@@ -742,21 +711,21 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation>Listener</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation>Plugin loader</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation>Session loader</translation>
</message>
@@ -878,99 +847,75 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<translation>Schreibe direkt in die Datei, wenn ein neuer Eintrag erreicht wird (50% Leistungsverlust möglich)</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation>Laden</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation>Theme laden?</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation>Sprache laden?</translation>
</message>
<message>
- <source>Disabled because you do not have any SessionLoader plugin</source>
- <translation type="obsolete">Deaktiviert, da kein SessionLoader-Plugin installiert ist</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation>Nichts tun</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation>Nach Quell-Ordner fragen</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation>Nach Quell-Datei fragen</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation>Nie</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation>Falls Quelle gleich ist</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation>Falls Ziel gleich ist</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation>Falls Quelle und Ziel gleich sind</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation>Falls Quelle oder Ziel gleich sind</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation>Immer</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation>Die Variablen sind %1</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation>Anwendung zulassen</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation>Diese Ultimate-Gratis-Version läuft nur, wenn %1 von Ihrer Antivirus-Software erlaubt ist. Sonst benutzen Sie die Normalversion.</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation>OpenCL einschalten</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation>Diese Ultimate-Gratis-Version läuft nur, wenn mit Ihrem Grafik-Treiber OpenCL installiert wurde. Sonst benutzen Sie die Normalversion.</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation>Protokolle speichern als: </translation>
</message>
@@ -1009,10 +954,10 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation>Variablen nicht gefunden: %1 %2</translation>
</message>
@@ -1055,42 +1000,42 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<translation>Version:</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation>Kopier-Engine</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation>Sprachen</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation>Listener</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation>Plugin-Loader</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation>Session-Loader</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation>Themes</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation>Informationen über %1</translation>
</message>
@@ -1108,128 +1053,127 @@ Diese Version wurde kompiliert als Version: %1.</translation>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation>Auf &quot;informations.xml&quot; kann nicht zugegriffen werden</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translatorcomment>clumsy.</translatorcomment>
<translation>Abhängigkeiten-Teil ist falsch</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation>Die Abhängigkeiten &quot;%1&quot; sind nicht erfüllt für Plugin:%2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation>Entferne %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation>Information</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation>%1, Parser-Fehler in Zeile %2, Spalte %3: %4</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation>&quot;informations.xml&quot; für das Plugin nicht gefunden</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation>&quot;package&quot; Root-Tag für die XML-Datei nicht gefunden</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation>Plugin-Duplikat gefunden. Bereits geladen!</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation>Englischer Text fehlt in &quot;informations.xml&quot; für das Tag: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation>XML-Tag nicht gefunden: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation>Sind Sie sicher, dass Sie &quot;%1&quot; in der Version %2 entfernen wollen?</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation>Fehler beim Entfernen des Plugins. Überprüfen Sie bitte die Zugriffsrechte auf den Ordner:
-%1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation>Vorheriger Import wird durchgeführt...</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation>Ultracopier Plugin öffnen</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation>Ultracopier plugin (*.urc)</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation>Plugin-Loader</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation>Kann das Plugin nicht öffnen: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation>Kann Plugin-Inhalte nicht laden. Bitte überprüfen Sie das: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation>Kann keinen Ordner erstellen um das Plugin %1 zu installieren
</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
@@ -1238,16 +1182,16 @@ since:%2</source>
seit: %2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation>Ordner mit demselben Namen existiert bereits. Überspringen Sie die Plugin-Installation:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation>Kann Plugin-Inhalte nicht laden. Bitte überprüfen Sie das</translation>
</message>
@@ -1300,125 +1244,34 @@ seit: %2</translation>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished">Keine Kopie-Listener gefunden. Führen Sie die Kopie manuell durch Rechtsklick auf das Symbol im Systray aus.</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished">Information</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished">Suche Informationen ...</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished">Explorer:-Kopieren/Verschieben nicht ersetzen</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished">Explorer: Kopieren/Verschieben teilweise ersetzen</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished">Explorer:-Kopieren/Verschieben ersetzen</translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished">Warnung</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished">Die auf dem Systray-Icon angewandte Aktion ist unbekannt!</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished">&amp;Über/Debug Bericht</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished">&amp;Über</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished">Bug-Bericht &amp;speichern</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished">&amp;Beenden</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished">&amp;Optionen</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished">&amp;Kopieren/Verschieben hinzufügen</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished">Neue Version: %1</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished">Hier klicken für Downloadseite</translation>
- </message>
- <message>
- <source>Click here to go to the shop and login.
-Download the new version into the order details</source>
- <translation type="obsolete">Hier klicken für Shop und Login.
-Download der neuen Version unter: Order Details</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished">&amp;Kopieren</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished">&amp;Transfer</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished">&amp;Verschieben</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished">Kopie hinzufügen (&amp;C)</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished">Über&amp;tragung hinzufügen</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished">Verschieben hinzufügen (&amp;M)</translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/el/informations.xml b/plugins/Languages/el/informations.xml
index 2ef2308..f82a0d4 100644
--- a/plugins/Languages/el/informations.xml
+++ b/plugins/Languages/el/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to greek. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>el</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/el/translation.ts b/plugins/Languages/el/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/el/translation.ts
+++ b/plugins/Languages/el/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/es/informations.xml b/plugins/Languages/es/informations.xml
index c3884fb..4c8d150 100644
--- a/plugins/Languages/es/informations.xml
+++ b/plugins/Languages/es/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to spanish. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>es</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/es/translation.ts b/plugins/Languages/es/translation.ts
index b25dabe..c901398 100644
--- a/plugins/Languages/es/translation.ts
+++ b/plugins/Languages/es/translation.ts
@@ -1,110 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="es">
+<TS version="2.1" language="es">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation>Advertencia</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation>Ultracopier ya se está ejecutando, haga clic derecho sobre el icono de la bandeja del sistema (cerca del reloj) para poder utilizarlas</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation>Problema al leer el archivo, o el tamaño del archivo es 0</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation>Los argumentos posibles son:</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation>Para mostrar las opciones</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>Para copiar las fuentes a destino, separados por un espacio. Si el destino es &quot;?&quot;, Ultracopier le preguntará al usuario</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>Para mover las fuentes de destino, separados por un espacio. Si el destino es &quot;?&quot;, Ultracopier le preguntará al usuario</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation>Comando no válido</translation>
</message>
<message>
- <source>Problem at the reading, or file size is null</source>
- <translation type="obsolete">Problema en la lectura, o el tamaño del archivo es nulo</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation>Este archivo no es compatible con lista de transferencias</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation>No se puede abrir el archivo de lista de transferencias</translation>
</message>
<message>
- <source>The arguments possibles are:</source>
- <translation type="obsolete">Los posibles argumentos son los siguientes:</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation>Para mostrar esta ayuda</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation>Para salir de los otros casos (si está activo)</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation>Abrir lista de transferencias</translation>
</message>
<message>
- <source>To quit the other instance running (if have)</source>
- <translation type="obsolete">Para salir de la carrera otra instancia (si tiene)</translation>
- </message>
- <message>
- <source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask it to the user</source>
- <translation type="obsolete">Para copiar las fuentes a destino, separados por un espacio. Si el destino es &quot;?&quot;, Ultracopier va a pedir al usuario</translation>
- </message>
- <message>
- <source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask it to the user</source>
- <translation type="obsolete">Para mover fuentes de destino, separados por un espacio. Si el destino es &quot;?&quot;, Ultracopier va a pedir al usuario</translation>
- </message>
- <message>
- <source>Command line not understand</source>
- <translation type="obsolete">La línea de comandos que no entiendo</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation>Ayuda</translation>
</message>
@@ -112,38 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation>Advertencia</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Cannot find any copy engine with motions support</source>
- <translation type="obsolete">No se puede encontrar cualquier motor de copia con movimientos de apoyo a</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation>No se puede encontrar un motor compatible!</translation>
</message>
<message>
- <source>This copy engine does not support motions</source>
- <translation type="obsolete">Este motor de copia no es compatible con los movimientos</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation>No se puede encontrar un motor con este nombre: %1</translation>
</message>
@@ -151,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation>Error durante la recepción de la lista de copia / movimiento
@@ -166,91 +134,83 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation>No se puede obtener una instancia de motor de copia</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation>No se puede obtener una instancia del motor</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation>El argumento para el modo no es válida</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation>¿Quieres copiar? Si no, se puede mover.</translation>
</message>
<message>
- <source>The argument for the mode is not understand</source>
- <translation type="obsolete">El argumento para el modo no se entiende</translation>
- </message>
- <message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation>No se puede cargar la interfaz, copia abortados</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation>No se puede cargar el motor de copia, copia abortados</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation>Modo de transferencia</translation>
</message>
- <message>
- <source>Do you want to copy? If you reply no, it will be moved.</source>
- <translation type="obsolete">¿Quieres copiar? Si responde que no, que se moverá.</translation>
- </message>
</context>
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -258,261 +218,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation>Motor de copia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation>Copia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation>Movimiento</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation>Pausa</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation>Resumen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation>Salto</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation>Ilimitado</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation>s</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation>Demasiado grande</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation>B</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation>KB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation>MB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation>GB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation>TB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation>PB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation>EB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation>ZB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation>YB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation>Menos de %10 segundos</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation>Alrededor de %10 segundos restantes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation>Alrededor de %1 minutos restantes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation>Alrededor de %1 las horas restantes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation>Transferencia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation>Iniciar</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation>Origen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation>Tamaño</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation>Destino</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation>Abandonar</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation>Objetivo</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation>Tiempo restante:</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation>Listado</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation>Copia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation>Listado y copia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation>Pedir</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation>Sobrescribir</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation>Sobrescribir si nuevo</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation>Sobrescribir si las fechas de modificación últimos son diferentes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation>Cambiar el nombre</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation>Ponga al final de la lista</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation>Terminado en %1</translation>
</message>
<message>
- <source>Put to end of the list</source>
- <translation type="obsolete">Poner a final de la lista</translation>
- </message>
- <message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation>Seleccione el directorio de origen</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation>Seleccione el directorio de destino</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation>Error interno</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation>Seleccione uno o varios archivos para abrirlos</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation>Todos los archivos</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation>Guardar lista de transferencias</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation>Abrir lista de transferencias</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation>Lista de transferencia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation>No es compatible con esta plataforma</translation>
</message>
@@ -520,7 +476,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation>Acerca Ultracopier</translation>
</message>
@@ -559,49 +515,42 @@ Esta versión está compilada en versión:%1.</translation>
<translation>Cerrar</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation>Acerca de Supercopier</translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation>Para http://portableapps.com/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation>Portable y todo en una versión</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation>Version portable</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation>Todo en una sola versión</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation>Version normal</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation>http://ultracopier-es.first-world.info/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation>http://ultracopier-es.first-world.info/descarga.html</translation>
</message>
@@ -615,12 +564,12 @@ Esta versión está compilada en versión:%1.</translation>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation>Advertencia</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation>Tiempo de espera, mientras que la recomposición de datos de los clientes conectados</translation>
</message>
@@ -628,27 +577,23 @@ Esta versión está compilada en versión:%1.</translation>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation>Entrar archivo ya está abierto, error: %1</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation>No se puede abrir el archivo de registro, error: %1</translation>
</message>
- <message>
- <source>Unable to open file to keep the log file, error: %1</source>
- <translation type="obsolete">No se puede abrir el archivo para mantener el archivo de registro, error: %1</translation>
- </message>
</context>
<context>
<name>OSSpecific</name>
@@ -668,10 +613,6 @@ Esta versión está compilada en versión:%1.</translation>
<translation>Ok</translation>
</message>
<message>
- <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
- <translation type="obsolete">La sustitución de la copia default / sistema de movimiento no está soportado por el gestor de archivos (Dolphin, Nautilus, ...). &lt;br /&gt; Pregunte al desarrollador para apoyarlo. &lt;br /&gt; Es necesario hacer el copiar / mover manualmente.</translation>
- </message>
- <message>
<location filename="../../../OSSpecific.cpp" line="23"/>
<source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Ask the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>La sustitución de la copia default / sistema de movimiento no está soportado por el gestor de archivos (Dolphin, Nautilus, ...). &lt;br /&gt; Pregunte al desarrollador para apoyarlo. &lt;br /&gt; Es necesario hacer el copiar / mover manualmente.</translation>
@@ -691,21 +632,6 @@ Esta versión está compilada en versión:%1.</translation>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>La sustitución de incumplimiento de copiar / mover sistema no debe ser soportado por el gestor de archivos. &lt;br /&gt; Pregunte al desarrollador para apoyarlo. &lt;br /&gt; Usted necesita hacer el copiar / mover manualmente.</translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation>Considere supercopier como obsoleto, prefieren Ultracopier</translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished">http://ultracopier-es.first-world.info/descarga.html</translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -728,7 +654,7 @@ Esta versión está compilada en versión:%1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation>Motor de copia</translation>
</message>
@@ -744,28 +670,16 @@ Esta versión está compilada en versión:%1.</translation>
<translation>Log</translation>
</message>
<message>
- <source>Load at the session loading:</source>
- <translation type="obsolete">Carga en la carga de la sesión:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="222"/>
<source>Confirm to group the windows</source>
<translation>Confirmar al grupo de las ventanas</translation>
</message>
<message>
- <source>Display the OS warning:</source>
- <translation type="obsolete">Muestra la advertencia OS:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="245"/>
<source>Check for updates</source>
<translation>Buscar actualizaciones</translation>
</message>
<message>
- <source>Give GPU time to Ultracopier</source>
- <translation type="obsolete">Dale GPU tiempo</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="312"/>
<source>Name</source>
<translation>Nombre</translation>
@@ -783,29 +697,25 @@ Esta versión está compilada en versión:%1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation>Oyente</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation>Plugin cargador</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation>Sesión cargador</translation>
</message>
<message>
- <source>Check the update</source>
- <translation type="obsolete">Compruebe la actualización</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="117"/>
<source>Force the language</source>
<translation>Forzar el idioma</translation>
@@ -916,10 +826,6 @@ Esta versión está compilada en versión:%1.</translation>
<translation>Escriba la carpeta de las operaciones</translation>
</message>
<message>
- <source>Write directly the file when it receive a new entry (can produce 50% of lost of performance)</source>
- <translation type="obsolete">Escriba directamente el archivo cuando se recibe una nueva entrada (se puede producir un 50% de pérdida de rendimiento)</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="748"/>
<source>The variables are %time%, %source%, %size%, %destination%</source>
<extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment>
@@ -942,128 +848,80 @@ Esta versión está compilada en versión:%1.</translation>
<translation>Escribir el archivo de registro en:</translation>
</message>
<message>
- <source>Force the language:</source>
- <translation type="obsolete">Forzar el idioma:</translation>
- </message>
- <message>
- <source>Replace the default copy and move system:</source>
- <translation type="obsolete">Vuelva a colocar la copia por omisión y el sistema de movimiento:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="728"/>
<source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source>
<translation>Escriba directamente el archivo cuando se recibe una nueva entrada (se puede producir un 50% de pérdida de rendimiento)</translation>
</message>
<message>
- <source>Write the transfers:</source>
- <translation type="obsolete">Escriba las transferencias:</translation>
- </message>
- <message>
- <source>Write the errors:</source>
- <translation type="obsolete">Escribir los errores:</translation>
- </message>
- <message>
- <source>Write the folder operations:</source>
- <translation type="obsolete">Escriba la carpeta de las operaciones:</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation>Cargar</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation>Cargue el tema?</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation>Cargue el idioma?</translation>
</message>
<message>
- <source>Disabled because you have any SessionLoader plugin</source>
- <translation type="obsolete">Desactiveado porque no tienes niguano plugin SessionLoader</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation>Permitir la aplicación</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation>Esta versión gratuita de ruptura es sólo si %1 es permitido por su antivirus. Cosa que usted puede obtener la versión normal gratis</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation>Habilite el OpenCL</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation>Esta versión Ultimate es sólo si el OpenCL se instala con los controladores de la tarjeta gráfica. Cosa que usted puede obtener la versión normal gratis</translation>
- </message>
- <message>
- <source>Disabled because you do not have any SessionLoader plugin</source>
- <translation type="obsolete">Discapacitados, ya que no tiene ningún plugin SessionLoader</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation>No hacer nada</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation>Pregunte a la fuente que la carpeta</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation>Pregunte a las fuentes como archivos</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation>Nunca</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation>Cuando la fuente es la misma</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation>Cuando destino es el mismo</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation>Cuando la fuente y el destino son los mismos</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation>Cuando la fuente o el destino son los mismos</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation>Siempre</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation>Las variables son %1</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation>Guardar registros como: </translation>
</message>
@@ -1073,14 +931,6 @@ Esta versión está compilada en versión:%1.</translation>
<translation>Registro de sincronizada</translation>
</message>
<message>
- <source>When manual open:</source>
- <translation type="obsolete">Cuando apertura manual:</translation>
- </message>
- <message>
- <source>Group the windows when:</source>
- <translation type="obsolete">Grupo de las ventanas cuando:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="811"/>
<source>The variables are %path%, %operation%</source>
<extracomment>%path%, %operation% should not be translated</extracomment>
@@ -1090,10 +940,10 @@ Esta versión está compilada en versión:%1.</translation>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation>La variable no se ha encontrado: %1 %2</translation>
</message>
@@ -1136,42 +986,42 @@ Esta versión está compilada en versión:%1.</translation>
<translation>Versión:</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation>Motor de copia</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation>Idiomas</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation>Oyente</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation>Plugin cargador</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation>Sesión cargador</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation>Themas</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation>Información sobre %1</translation>
</message>
@@ -1189,135 +1039,126 @@ Esta versión está compilada en versión:%1.</translation>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation>informations.xml no es accesible</translation>
</message>
<message>
- <source>informations.xml not found into the plugin</source>
- <translation type="obsolete">informations.xml que no se encuentran en el plug-in</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation>Parte las dependencias se equivoca</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation>Dependencias %1 no está satisfecho, para el plugin:%2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation>Eliminar %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation>Información</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation>%1, error de análisis en la línea %2, la columna %3: %4</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation>informations.xml no se encuentra el plug-in</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation>&quot;package&quot; etiqueta raíz que no se encuentra el archivo xml</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation>Plugin de duplicados encontrados, ya está cargado!</translation>
</message>
<message>
- <source>English text missing into the informations.xml for the tag: %1</source>
- <translation type="obsolete">Texto de Inglés que falta en el informations.xml de la etiqueta: %1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation>Texto Inglés falta en el informations.xml para la etiqueta: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation>Etiqueta no encontrada: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation>¿Estás seguro de eliminar &quot;%1&quot; en la versión %2?</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation>Error al eliminar el plug-in, por favor, compruebe los derechos de la carpeta:
-%1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation>Previo de importación está en curso ...</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation>Abrir Plugin Ultracopier</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation>Ultracopier plugin (*.urc)</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation>Plugin cargador</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation>No se puede abrir el plugin: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation>No se puede cargar el contenido del plugin, por favor verifique que: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation>No se puede crear una carpeta para instalar el plugin:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
@@ -1326,16 +1167,16 @@ since:%2</source>
desde: %2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation>Carpeta con el mismo nombre está presente, no tome la instalación del plugin:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation>
@@ -1392,139 +1233,34 @@ No se puede cargar el contenido del plugin, por favor verifique que</translation
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished">Información</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished">Buscar información...</translation>
</message>
<message>
- <source>Not replace the explorer copy/move</source>
- <translation type="obsolete">No reemplazar la copia explorador/mover</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished">No sustituya la copia explorer/move</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished">Semi reemplazar la copia explorer/mudanza</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished">Vuelva a colocar la copia explorer/mudanza</translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished">Advertencia</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished">La acción en el icono de la bandeja del sistema es desconocido!</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished">&amp;Acerca de/Debug informe</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished">&amp;Sobre</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished">Nueva versión: %1</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished">Haga clic aquí para ir a la página de descarga</translation>
- </message>
- <message>
- <source>Click here to go to the shop and login.
-Download the new version into the order details</source>
- <translation type="obsolete">Haga clic aquí para ir a la tienda y al acceso.
-Descarga la nueva versión en los detalles de la orden</translation>
- </message>
- <message>
- <source>&amp;Save bug Report</source>
- <translation type="obsolete">&amp;Guardar informe de error</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished">&amp;Guardar informe de error</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished">&amp;Dejar de</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished">&amp;Opciones</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished">Aña&amp;dir copiar/mover</translation>
- </message>
- <message>
- <source>New version: %1
-Site: %2</source>
- <translation type="obsolete">Nueva versión: %1
-Sitio web: %2</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished">&amp;Copia</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished">&amp;Transferencia</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished">&amp;Movimiento</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished">Agregar &amp;copia</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished">Añadir &amp;transferencia</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished">Añadir &amp;movimiento</translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/fr/informations.xml b/plugins/Languages/fr/informations.xml
index a20768f..e7a4224 100644
--- a/plugins/Languages/fr/informations.xml
+++ b/plugins/Languages/fr/informations.xml
@@ -15,7 +15,7 @@
<description xml:lang="en"><![CDATA[Translation of Ultracopier to French. For more details see the web site.]]></description>
<description xml:lang="fr"><![CDATA[Traduction d'ultracopier en Français. Pour plus de détails regardez le site web]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>fr</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/fr/translation.ts b/plugins/Languages/fr/translation.ts
index 8f1fc7d..77868c0 100644
--- a/plugins/Languages/fr/translation.ts
+++ b/plugins/Languages/fr/translation.ts
@@ -1,110 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="fr" sourcelanguage="en">
+<TS version="2.1" language="fr" sourcelanguage="en">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation>Avertissement</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation>Ultracopier est déjà lancé! Cliquez droit sur l&apos;icône de la zone de notifications (près de l&apos;horloge) pour l&apos;utiliser</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation>Problème à la lecture, ou taille de fichier nulle</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation>Les arguments possible sont:</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation>Afficher les options</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>Pour copier les sources vers la destination, séparées par des espaces. Si la destination est &quot;?&quot;, Ultracopier demandera à l&apos;utilisateur</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>Pour copier les sources vers la destination, séparées par des espaces. Si la destination est &quot;?&quot;, Ultracopier demandera à l&apos;utilisateur</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation>Ligne de commande invalide</translation>
</message>
<message>
- <source>Problem at the reading, or file size is null</source>
- <translation type="obsolete">Problème à la lecture, ou taille de fichier nulle</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation>Ce fichier n&apos;est pas une list de transfert supporté</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation>Impossible d&apos;ouvrir le fichier de liste de transfert</translation>
</message>
<message>
- <source>The arguments possibles are:</source>
- <translation type="obsolete">Les arguments possible sont:</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation>Pour afficher cette aide</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation>Pour quiter l&apos;autre instance en cour</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation>Ouvrir la liste de transfert</translation>
</message>
<message>
- <source>To quit the other instance running (if have)</source>
- <translation type="obsolete">Pour quiter l&apos;autre instance en cour (si il y as)</translation>
- </message>
- <message>
- <source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask it to the user</source>
- <translation type="obsolete">Pour copier les sources vers la destination, séparées par des espaces. Si la destination est &quot;?&quot;, Ultracopier demandera à l&apos;utilisateur</translation>
- </message>
- <message>
- <source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask it to the user</source>
- <translation type="obsolete">Pour déplacer les sources vers la destination, séparées par des espaces. Si la destination est &quot;?&quot;, Ultracopier demandera à l&apos;utilisateur</translation>
- </message>
- <message>
- <source>Command line not understand</source>
- <translation type="obsolete">Ligne de commands non comprise</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation>Aide</translation>
</message>
@@ -112,38 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation>Avertissement</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation>Impossible de trouver un moteur avec le support du déplacement</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation>Ce moteur de copie ne supporte pas les déplacements</translation>
</message>
<message>
- <source>Cannot find any copy engine with motions support</source>
- <translation type="obsolete">Impossible de trouver un moteur de copie avec le support des déplacements</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation>Impossible de trouver un moteur de copie compatible!</translation>
</message>
<message>
- <source>This copy engine does not support motions</source>
- <translation type="obsolete">Ce moteur de copie ne supporte pas les déplacements</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation>Impossible de trouver un moteur portant ce nom: %1</translation>
</message>
@@ -151,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation>Erreur pendant la réception de la liste de copy/déplacement
@@ -166,91 +134,83 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation>Impossible d&apos;obtenir une instance du moteur de copie</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation>Grouper des fenêtres</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation>Voulez vous grouper le transfert avec le transfert actuel?</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation>Impossible d&apos;otenir une instance du moteur de copie</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation>L&apos;argument pour le mode n&apos;est pas valide</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation>Voulez vous faire une copie? Si vous repondez non alors il sera déplacé.</translation>
</message>
<message>
- <source>The argument for the mode is not understand</source>
- <translation type="obsolete">L&apos;argument pour le mode n&apos;est pas compris</translation>
- </message>
- <message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation>Impossible de charger l&apos;interface, copie annulée</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation>Impossible de charger le moteur de copie, copie annulée</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation>Mode de transfert</translation>
</message>
- <message>
- <source>Do you want to copy? If you reply no, it will be moved.</source>
- <translation type="obsolete">Voulez vous faire une copie? Si vous repondez nous alors il sera déplacé.</translation>
- </message>
</context>
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation>Clef</translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation>Donnez la clef de ce logiciel, plus d&apos;information sur &lt;a href=&quot;http://ultracopier-fr.first-world.info/&quot;&gt;ultracopier-fr.first-world.info&lt;/a&gt;</translation>
</message>
@@ -258,263 +218,259 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation>Moteur de copie</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation>Copie</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation>Déplacer</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation>Pause</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation>Reprendre</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation>Passer</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation>Illimité</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation>s</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation>Trop grand</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation>o</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation>Ko</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation>Mo</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation>Go</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation>To</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation>Po</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation>Eo</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation>Zo</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation>Yo</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation>Moins de %10 secondes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation>Environ %10 secondes restantes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation>Environ %1 minutes restantes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation>Environ %1 heures restantes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation>Transfert</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation>Démarrer</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation>Source</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation>Taille</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation>Destination</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation>Quitter</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation>Cible</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation>Temps restant:</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translatorcomment>Création de la liste? Listage?</translatorcomment>
<translation>Listing</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translatorcomment>Copie en cour -&gt; copying in progress</translatorcomment>
<translation>Copie</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation>Listing et copie</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation>Demander</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation>Écraser</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation>Écraser si plus récent</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation>Écraser si les dates de modification sont différentes</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation>Renommer</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation>Mettre à la fin</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation>Fini en %1</translation>
</message>
<message>
- <source>Put to end of the list</source>
- <translation type="obsolete">Mettre à la fin</translation>
- </message>
- <message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation>Sélectionner un dossier source</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation>Sélectionner un dossier de destination</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation>Erreur interne</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation>Sélectionner un ou des fichiers à ouvrir</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation>Tous les fichiers</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation>Sauvegarder la liste de transfert</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation>Ouvrir la liste de transfert</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation>Liste de transfert</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation>Pas supporté sur cette platforme</translation>
</message>
@@ -522,7 +478,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation>À propos d&apos;Ultracopier</translation>
</message>
@@ -561,49 +517,42 @@ Cette version est compilée comme version : %1.</translation>
<translation>Fermer</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation>À propos de Supercopier</translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation>Pour http://portableapps.com/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation>Portable et tout en un</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation>Version portable</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation>Tout en un</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation>Version normale</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation>http://ultracopier-fr.first-world.info/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation>http://ultracopier-fr.first-world.info/shop.html</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation>http://ultracopier-fr.first-world.info/telecharger.html</translation>
</message>
@@ -617,12 +566,12 @@ Cette version est compilée comme version : %1.</translation>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation>Avertissement</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation>Timeout pendant la recompossition des données des clients connectés</translation>
</message>
@@ -630,27 +579,23 @@ Cette version est compilée comme version : %1.</translation>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation>Fichier de log déjà ouvert, erreur: %1</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation>Impossible d&apos;ouvrir le fichier de log, erreur: %1</translation>
</message>
- <message>
- <source>Unable to open file to keep the log file, error: %1</source>
- <translation type="obsolete">Impossible d&apos;ouvrir le fichier de log, erreur: %1</translation>
- </message>
</context>
<context>
<name>OSSpecific</name>
@@ -670,10 +615,6 @@ Cette version est compilée comme version : %1.</translation>
<translation>Ok</translation>
</message>
<message>
- <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
- <translation type="obsolete">Le remplacement du systéme de copie/déplacement n&apos;est pas supporté par le gestionnaire de fichier (Dolphin, Nautilus, ...).&lt;br /&gt;Demander aux developpeurs de le supporter.&lt;br /&gt;Vous devez faire la copie/déplacement manuellement.</translation>
- </message>
- <message>
<location filename="../../../OSSpecific.cpp" line="23"/>
<source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Ask the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>Le remplacement du systéme de copie/déplacement n&apos;est pas supporté par le gestionnaire de fichier (Dolphin, Nautilus, ...).&lt;br /&gt;Demander aux developpeurs de le supporter.&lt;br /&gt;Vous devez faire la copie/déplacement manuellement.</translation>
@@ -693,21 +634,6 @@ Cette version est compilée comme version : %1.</translation>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>Le remplacement du systéme de copie/déplacement n&apos;est pas supporté par le gestionnaire de fichier.&lt;br /&gt;Demander aux developpeurs de le supporter.&lt;br /&gt;Vous devez faire la copie/déplacement manuellement.</translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation>Considérez Supercopier comme obsolète, préférez Ultracopier</translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation>Cette version utilise 100% de votre carte graphique/GPU (votre ordinateur peu devenir bruyant ou buggé) en échange d&apos;un accés gratuit à la version Ultimate. Si vous ne le voulez pas téléchargez la version normal qui as une petite publicité (juste un lien sur la fenêtre principal) ou acheter votre version pour financer le projet.</translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation>http://ultracopier-fr.first-world.info/telecharger.html</translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -730,7 +656,7 @@ Cette version est compilée comme version : %1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation>Moteurs de copie</translation>
</message>
@@ -746,28 +672,16 @@ Cette version est compilée comme version : %1.</translation>
<translation>Logs</translation>
</message>
<message>
- <source>Load at the session loading:</source>
- <translation type="obsolete">Lancer à l&apos;ouverture de la session:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="222"/>
<source>Confirm to group the windows</source>
<translation>Confirmer pour grouper les fenêtres</translation>
</message>
<message>
- <source>Display the OS warning:</source>
- <translation type="obsolete">Afficher les avertissements de l&apos;OS:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="245"/>
<source>Check for updates</source>
<translation>Vérifier les mise à jour</translation>
</message>
<message>
- <source>Give GPU time to Ultracopier</source>
- <translation type="obsolete">Donner du temps GPU à Ultracopier</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="312"/>
<source>Name</source>
<translation>Nom</translation>
@@ -785,29 +699,25 @@ Cette version est compilée comme version : %1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation>Écouteur</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation>Chargeur de plugin</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation>Chargeur de session</translation>
</message>
<message>
- <source>Check the update</source>
- <translation type="obsolete">Vérifié les mise à jour</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="117"/>
<source>Force the language</source>
<translation>Forcer la langue</translation>
@@ -918,10 +828,6 @@ Cette version est compilée comme version : %1.</translation>
<translation>Écrire les opérations dossier</translation>
</message>
<message>
- <source>Write directly the file when it receive a new entry (can produce 50% of lost of performance)</source>
- <translation type="obsolete">Écrire directement le fichier quand il reçoit une nouvelle entrée (peut entrainer 50% de perte de performances)</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="748"/>
<source>The variables are %time%, %source%, %size%, %destination%</source>
<extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment>
@@ -944,152 +850,80 @@ Cette version est compilée comme version : %1.</translation>
<translation>Écrire le fichier journal dans:</translation>
</message>
<message>
- <source>Force the language:</source>
- <translation type="obsolete">Forcer la langue:</translation>
- </message>
- <message>
- <source>Replace the default copy and move system:</source>
- <translation type="obsolete">Remplacer le système de copie/déplacement par défaut:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="728"/>
<source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source>
<translation>Écrire directement le fichier quand il reçoit une nouvelle entrée (peut entrainer 50% de perte de performances)</translation>
</message>
<message>
- <source>Write the transfers:</source>
- <translation type="obsolete">Écrire les transferts:</translation>
- </message>
- <message>
- <source>Write the errors:</source>
- <translation type="obsolete">Écrire les erreurs:</translation>
- </message>
- <message>
- <source>Write the folder operations:</source>
- <translation type="obsolete">Écrire les opérations dossier:</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation>Charger</translation>
</message>
<message>
- <source>Load the themes?</source>
- <translation type="obsolete">Charger les thèmes?</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation>Charger le thème?</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation>Charger la langue?</translation>
</message>
<message>
- <source>Disabled because you have any SessionLoader plugin</source>
- <translation type="obsolete">Désactivé car vous n&apos;avez aucun plugin SessionLoader</translation>
- </message>
- <message>
- <source>Allow cgminer</source>
- <translation type="obsolete">Autoriser cgminer</translation>
- </message>
- <message>
- <source>Allow OpenCL</source>
- <translation type="obsolete">Autorisé OpenCL</translation>
- </message>
- <message>
- <source>This Ultimate version is only if cgminer is allowed by your antivirus. You can get the normal free version (without cgminer)</source>
- <translation type="obsolete">Cette version Ultimate est seuelement is cgminer</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation>Autorisé l&apos;application</translation>
- </message>
- <message>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. You can get the normal free version</source>
- <translation type="obsolete">Cette version Ultimate gratuite est seulement is %1 est autorisé par votre antivirus.</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation>Cette version Ultimate gratuite est seulement si %1 est autorisé par votre antivirus. Sinon vous pouvez obtenir la version gratuite normale</translation>
- </message>
- <message>
- <source>This Ultimate version is only if OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="obsolete">Cette version Ultimate gratuite est seulement si . Sinon vous pouvez obtenir la version gratuite normale</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation>Activé l&apos;OpenCL</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation>Cette version Ultimate gratuite est seulement si l&apos;OpenCL est installé avec vos drivers graphiques. Sinon vous pouvez obtenir la version gratuite normale</translation>
- </message>
- <message>
- <source>Disabled because you do not have any SessionLoader plugin</source>
- <translation type="obsolete">Désactivé car vous n&apos;avez aucun plugin SessionLoader</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation>Ne rien faire</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation>Demander la source comme un dossier</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation>Demander la sources comme des fichiers</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation>Jamais</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation>Quand la source est la même</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation>Quand la destination est la même</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation>Quand la destination et la source sont les mêmes</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation>Quand la destination ou la source sont les mêmes</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation>Toujours</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation>Les variables sont %1</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation>Sauvegarder les logs sous: </translation>
</message>
@@ -1099,14 +933,6 @@ Cette version est compilée comme version : %1.</translation>
<translation>Log synchronisé</translation>
</message>
<message>
- <source>When manual open:</source>
- <translation type="obsolete">Quand ouverture manuel:</translation>
- </message>
- <message>
- <source>Group the windows when:</source>
- <translation type="obsolete">Grouper les fenêtres quand:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="811"/>
<source>The variables are %path%, %operation%</source>
<extracomment>%path%, %operation% should not be translated</extracomment>
@@ -1116,10 +942,10 @@ Cette version est compilée comme version : %1.</translation>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation>La variable n&apos;a pas été trouvée: %1 %2</translation>
</message>
@@ -1162,42 +988,42 @@ Cette version est compilée comme version : %1.</translation>
<translation>Version:</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation>Moteur de copie</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation>Langues</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation>Écouteur</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation>Chargeur de plugin</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation>Chargeur de session</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation>Thèmes</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation>Inconnu</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation>Informations à propos de %1</translation>
</message>
@@ -1215,137 +1041,127 @@ Cette version est compilée comme version : %1.</translation>
<context>
<name>PluginsManager</name>
<message>
- <source>informations.xml not found into the plugin</source>
- <translatorcomment>En anglais c&apos;est: the file informations.xml was not found into the plugin ou the informations.xml file was not found into the plugin?</translatorcomment>
- <translation type="obsolete">Le fichier informations.xml n&apos;a pas été trouvé dans le plugin</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation>informations.xml n&apos;est pas accessible</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation>Le fichier informations.xml n&apos;a pas été trouvé dans le plugin</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation>Texte anglais manquant dans le informations.xml pour la balise: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation>Les dépendances sont fausses</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation>Des dépendances %1 ne sont pas satisfaites, pour le plugin: %2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation>Chargeur de plugin</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation>Supprimer %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation>Informations</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation>%1, erreur à la ligne %2, à l&apos;emplacement %3: %4</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation>La balise racine &quot;package&quot; n&apos;a pas été trouvée pour le fichier xml</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translatorcomment>Le plugins courrant est un doublont, donc déjà chargé!</translatorcomment>
<translation>Plugin dupliqué trouvé, déjà chargé!</translation>
</message>
<message>
- <source>English text missing into the informations.xml for the tag: %1</source>
- <translation type="obsolete">Texte anglais manquant dans le informations.xml pour la balise: %1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation>Balise non trouvée: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation>Êtes vous sûr de vouloir supprimer &quot;%1&quot; en version %2?</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation>Erreur pendant la suppression du plugin, merci de vérifier les droits du dossier:
-%1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation>Importation précédente en cours...</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation>Ouvrir un plugin d&apos;Ultracopier</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation>Plugin d&apos;Ultracopier (*.urc)</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation>Impossible d&apos;ouvrir le plugin: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation>Impossible de charger le contenu du plugin, veuillez le vérifier: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation>Impossible de créer un dossier pour installer le plugin:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
@@ -1354,16 +1170,16 @@ since:%2</source>
depuis:%2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation>Le répertoire est déjà présent, on saute l&apos;installation du plugin:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation>Impossible de charger le contenu du plugin, veuillez le vérifier</translation>
</message>
@@ -1416,137 +1232,32 @@ depuis:%2</translation>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation>Pas d&apos;écouteur trouvé. Effectuez la copie manuellement par clic droit sur l&apos;icône dans la zone de notification (près de l&apos;horloge).</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation>Recherche d&apos;informations...</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation>Ne remplace pas la copie/déplacement de l&apos;explorateur</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation>L&apos;action sur l&apos;icône de la zone de notifications est inconnue!</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation>&amp;À propos/Debug</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation>&amp;À propos d&apos;ultracopier</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation>Nouvelle version: %1</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation>Cliquez içi pour aller sur la page de téléchargement</translation>
- </message>
- <message>
- <source>Click here to go to the shop and login.
-Download the new version into the order details</source>
- <translation type="obsolete">Cliquez içi pour aller sur la boutique et vous logger.
-Téléchargez la novuelle version dans les détails de la commande</translation>
- </message>
- <message>
- <source>&amp;Save bug Report</source>
- <translation type="obsolete">&amp;Sauvergarder le rapport de bug</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation>&amp;Sauvergarder le rapport de bug</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation>&amp;Quitter</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation>&amp;Options</translation>
- </message>
- <message>
- <source>New version: %1
-Site: %2</source>
- <translation type="obsolete">Nouvelle version: %1
-Site: %2</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation>&amp;Copie</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation>&amp;Transfert</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation>&amp;Déplacer</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation>Ajouter une &amp;copie</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation>Ajouter un &amp;transfert</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation>Ajouter un &amp;déplacement</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation>&amp;Ajouter une copie/déplacement</translation>
- </message>
- <message>
- <source>Not replace the explorer copy/move</source>
- <translation type="obsolete">Ne remplace pas la copie/déplacement de l&apos;explorateur</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation>Remplace partiellement la copie/déplacement de l&apos;explorateur</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation>Remplace la copie/déplacement de l&apos;explorateur</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation>Avertissement</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation>Informations</translation>
</message>
diff --git a/plugins/Languages/hi/informations.xml b/plugins/Languages/hi/informations.xml
index e093732..d0453f3 100644
--- a/plugins/Languages/hi/informations.xml
+++ b/plugins/Languages/hi/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to hindi. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>hi</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/hi/translation.ts b/plugins/Languages/hi/translation.ts
index 2514652..8b70d26 100644
--- a/plugins/Languages/hi/translation.ts
+++ b/plugins/Languages/hi/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="hi">
+<TS version="2.1" language="hi">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/hu/informations.xml b/plugins/Languages/hu/informations.xml
index 19a1b38..1cee401 100644
--- a/plugins/Languages/hu/informations.xml
+++ b/plugins/Languages/hu/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Hungarian translation of 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>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>hu</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/hu/translation.ts b/plugins/Languages/hu/translation.ts
index a78377e..fb5e79a 100644
--- a/plugins/Languages/hu/translation.ts
+++ b/plugins/Languages/hu/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="hu">
+<TS version="2.1" language="hu">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation>Figyelmeztetés</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation>Az Ultracopier már fut, kattints a jobb egérombbal a tálcaikonjára (az óra mellett) a használatához</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation>Probléma a fájl olvasásánál vagy a fájlméret 0</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation>A lehetséges argumentumok:</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation>A beállítások megjelenítéséhez</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation>Kilépés a többi példányból (ha fut)</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>A forrás másolása a célba, szóközzel elválasztva. Ha a cél &quot;?&quot;, az Ultracopier rákérdez a felhasználónál</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>A forrás mozgatása a célba, szóközzel elválasztva. Ha a cél &quot;?&quot;, az Ultracopier rákérdez a felhasználónál</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation>A parancs nem érvényes</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation>Ez a fájl nem támogatott átviteli lista</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation>Az átviteli listafájl megnyitása nem lehetséges</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation>Ennek a súgónak a megjelenítéséhez</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation>Átviteli lista megnyitása</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation>Súgó</translation>
</message>
@@ -88,38 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation>Figyelmzetetés</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Cannot find any copy engine with motions support</source>
- <translation type="obsolete">Nem található másolási motor mozgatási támogatással</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation>Nem található semmilyen kompatibilis motor!</translation>
</message>
<message>
- <source>This copy engine does not support motions</source>
- <translation type="obsolete">Ez a másoló motor nem támogatja a mozgatást</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation>Nem található motor ezzel a névvel: %1</translation>
</message>
@@ -127,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation>Hiba a másolási/mozgatási lista fogadásakor
@@ -142,70 +134,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation>Nem lehetséges másoló motor példány észlelése</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation>Motor állapot lekérése nem lehetséges</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation>A mód argumentuma nem érvényes</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation>Szeretnél másolni? Ha nem, akkor átmozgatva lesz.</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation>Kezelőfelület betöltése nem lehetséges, másolás megszakítva</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation>Másoló motor betöltése nem lehetséges, másolás megszakítva</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation>Átviteli mód</translation>
</message>
@@ -213,12 +205,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -226,257 +218,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation>mp</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation>Túl nagy</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation>B</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation>KB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation>MB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation>GB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation>TB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation>PB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation>EB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation>ZB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation>YB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation>Kevesebb mint %10 másodperc</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation>Körülbelül %10 másodperc van hátra</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation>Körülbelül %1 perc van hátra</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation>Körülbelül %1 óra van hátra</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation>Másoló motor</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation>Másolás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation>Átvitel</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation>Mozgatás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation>Indítás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation>Szünet</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation>Folytatás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation>Kihagyás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation>Korlátlan</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation>Forrás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation>Méret</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation>Cél</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation>Kilépés</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation>Cél</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation>Hátralévő idő:</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation>Listázás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation>Másolás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation>Listázás és másolás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation>Rákérdez</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation>Felülírás</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation>Felülírás, ha újabb</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation>Felülír, ha az legutóbbi módosítás dátumai különböznek</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation>Átnevezés</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation>Helyezze a lista végére</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation>Válassz forrásmappát</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation>Válassz célmappát</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation>Belső hiba</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation>Válassz egy vagy több fájlt megnyitásra</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation>Minden fájl</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation>Átviteli lista mentése</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation>Átviteli lista megnyitása</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation>Átviteli lista</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation>Ezen a platformon nem támogatott</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation>Befejezve %1 alatt</translation>
</message>
@@ -484,7 +476,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation>Az Ultracopier névjegye</translation>
</message>
@@ -529,49 +521,42 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<translation>Bezárás</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation>A Supercopier névjegye</translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation>http://portableapps.com/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation>Hordozható és teljes verzió</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation>Hordozható verzió</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation>Teljes verzió</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation>Normál verzió</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation>http://ultracopier.first-world.info/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -579,12 +564,12 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation>Figyelmeztetés</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation>Időtúllépés történt az adatok összeilesztése közben a kapcsolódott kliensektől</translation>
</message>
@@ -592,20 +577,20 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation>Naplófájl már meg van nyitva, hiba: %1</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation>Naplófájl megnyitása nem lehetséges, hiba: %1</translation>
</message>
@@ -648,21 +633,6 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>Az alapértelmezett másoló/mozgató rendszer lecserélését nem szabad támogatnia a fájlkezelőnek.&lt;br /&gt;Kérd meg a fejlesztőt, hogy támogassa.&lt;br /&gt;A másolás/mozgatást manuálisan kell elvégezned.</translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -685,28 +655,28 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation>Másoló motor</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation>Figyelő</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation>Beépüő betöltő</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation>Folyamat betöltő</translation>
</message>
@@ -895,99 +865,75 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<translation>A változók: %path%, %operation%</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation>Alkalmazás engedélyezése</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation>Ez az Ultimate ingyenes verzió csak akkor működik, ha a(z) %1-t engedélyezted a vírusirtódban. Egyéb esetben használd a normál ingyenes verziót</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation>OpenCL engedélyezése</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation>Ez az Ultimate ingyenes verzió csak akkor működik, ha az OpenCL telepítve van a videókártya driverrel. Egyéb esetben használd a normál ingyenes verziót</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation>Betöltés</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation>Téma betöltése?</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation>Nyelv betöltése?</translation>
</message>
<message>
- <source>Disabled because you do not have any SessionLoader plugin</source>
- <translation type="obsolete">Letiltva, mert nem rendelkezel SessionLoader beépülővel</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation>Ne tegyen semmit</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation>Rákérdezés a forrás mint mappa</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation>Rákérdezés a forrásokra mint fájlok</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation>Soha</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation>Amikor a forrás ugyanaz</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation>Amikor a cél ugyanaz</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation>Amikor a forrás és a cél ugyanaz</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation>Amikor a forrás vagy cél ugyanaz</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation>Mindig</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation>A változók: %1</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation>Napló mentése mint:</translation>
</message>
@@ -995,10 +941,10 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation>A változó nem található: %1 %2</translation>
</message>
@@ -1051,42 +997,42 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<translation>Cím:</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation>Másoló motor</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation>Nyelvek</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation>Figyelő</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation>Beépülő betöltő</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation>Folyamat betöltő</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation>Témák</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation>%1 információi</translation>
</message>
@@ -1094,126 +1040,126 @@ Ez a verzió a következő verzióként került lefordításra: %1.</translation
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation>informations.xml nem férhető hozzá</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation>%1, elemzési hiba a(z) %2. sorban, %3. oszlopban: %4</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation>&quot;package&quot; gyökércímke nem található az xml fájlban</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation>Duplikált beépülő található, már be van töltve!</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation>informations.xml nem található a beépülőhöz</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation>Angol szöveg hiányzik az informations.xml-ből a címkéhez: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation>Címke nem található: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation>A függőségek rész hibás</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation>A(z) %1 függőségek nem megfelelőek a következő beépülőhöz: %2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation>%1 eltávolítása</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation>Biztosan el akarod távolítani &quot;%1&quot;-t a(z) %2 verzióban?</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation>Hiba</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error while the removing plugin, please check the rights on the folder:
%1</source>
- <translation>Hiba történt a beépülő eltávolítása közben, kérlek ellenőrizd a jogokat a mappán: %1</translation>
+ <translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation>Információ</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation>Előző importálás folyamatban van...</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation>Ultracopier beépülő megnyitása</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation>Ultracopier beépülő (*.urc)</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation>Beépülő betöltő</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation>Beéülő megnyitása nem lehetséges: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation>Beépülő tartalmának betöltése nem lehetséges, kérlek ellenőrizd: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation>Mappa létrehozása a beépülő telepítéséhez nem lehetséges:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
@@ -1222,16 +1168,16 @@ since:%2</source>
óta:%2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation>Mappa már létezik ilyen néven, beépülő telepítésének kihagyása:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation>Beépülő tartalmának betöltése nem lehetséges, kérlek ellenőrizd</translation>
</message>
@@ -1284,129 +1230,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished">Nem található másoló figyelő. Végezd el manuálisan a másolást a jobb egérgombbal a tálcaikonra kattintva.</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished">Információ</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished">Információ keresése...</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished">Ne cserélje le az Intéző másolását/mozgatását</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished">Az Intéző másolás/mozgatás félig lecserélése</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished">Az Intéző másolás/mozgatás lecserélése</translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished">Figyelmeztetés</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished">A művelet a tálcaikonon ismeretlen!</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished">Né&amp;vjegy/Hibajelentés</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished">&amp;Névjegy</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>&amp;Save bug Report</source>
- <translation type="obsolete">&amp;Hibajelentés mentése</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished">&amp;Kilépés</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished">&amp;Beállítások</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished">Más&amp;olás/mozgatás hozzáadása</translation>
- </message>
- <message>
- <source>New version: %1
-Site: %2</source>
- <translation type="obsolete">Új verzió: %1
-Honlap: %2</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished">&amp;Másolás</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished">&amp;Átvitel</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished">M&amp;ozgatás</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished">Má&amp;solás hozzáadása</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished">&amp;Átvitel hozzáadása</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished">&amp;Mozgatás hozzáadása</translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/id/informations.xml b/plugins/Languages/id/informations.xml
index 3821ee0..79ea152 100644
--- a/plugins/Languages/id/informations.xml
+++ b/plugins/Languages/id/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to indonesian. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>id</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/id/translation.ts b/plugins/Languages/id/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/id/translation.ts
+++ b/plugins/Languages/id/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/it/informations.xml b/plugins/Languages/it/informations.xml
index 20f5298..181b891 100644
--- a/plugins/Languages/it/informations.xml
+++ b/plugins/Languages/it/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to italian. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>it</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/it/translation.ts b/plugins/Languages/it/translation.ts
index 594562c..28f5b6b 100644
--- a/plugins/Languages/it/translation.ts
+++ b/plugins/Languages/it/translation.ts
@@ -1,110 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="it" sourcelanguage="en">
+<TS version="2.1" language="it" sourcelanguage="en">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation>Avviso</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation>Il programma è gia in esecuzione, fare clic con il tasto destro del mouse sulla sua icona della barra di sistema (vicino l&apos;orologio) per usarlo</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation>Problema di lettura o dimensione nulla del file</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation>Gli argomenti possibili sono:</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation>Mostra le opzioni</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>Copiare i file di origine alla destinazione separati da uno spazio. Se la destinazione è &quot;?&quot;, Ultracopier chiederà all&apos;utente</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation>Spostare i file di origine alla destinazione separati da uno spazio. Se la destinazione è &quot;?&quot;, Ultracopier chiederà all&apos;utente</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation>Comando non valido</translation>
</message>
<message>
- <source>Problem at the reading, or file size is null</source>
- <translation type="obsolete">Problema di lettura o dimensione nulla del file</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation>Questo file non è supportato dalla lista dei trasferimenti</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation>Impossibile aprire il file della lista dei trasferimenti</translation>
</message>
<message>
- <source>The arguments possibles are:</source>
- <translation type="obsolete">Gli argomenti possibili sono:</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation>Mostra questo aiuto</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation>Chiudere le altre istanze (se in esecuzione)</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation>Apri la lista dei trasferimenti</translation>
</message>
<message>
- <source>To quit the other instance running (if have)</source>
- <translation type="obsolete">Chiudere l&apos;altra istanza in esecuzione (se necessario)</translation>
- </message>
- <message>
- <source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask it to the user</source>
- <translation type="obsolete">Copiare i file di origine alla destinazione separati da uno spazio. Se la destinazione è &quot;?&quot;, Ultracopier chiederà all&apos;utente</translation>
- </message>
- <message>
- <source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask it to the user</source>
- <translation type="obsolete">Spostare i file di origine alla destinazione separati da uno spazio. Se la destinazione è &quot;?&quot;, Ultracopier chiederà all&apos;utente</translation>
- </message>
- <message>
- <source>Command line not understand</source>
- <translation type="obsolete">Riga di comando non idonea</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation>Aiuto</translation>
</message>
@@ -112,38 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation>Avviso</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Cannot find any copy engine with motions support</source>
- <translation type="obsolete">Impossibile trovare alcun motore per la copia con supporto trasferimenti</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation>Impossibile trovare un motore per la copia compatibile!</translation>
</message>
<message>
- <source>This copy engine does not support motions</source>
- <translation type="obsolete">Questo motore per la copia non supporta trasferimenti</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation>Impossibile trovare un motore per la copia con questo nome: %1</translation>
</message>
@@ -151,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation>Errore durante la ricezione della lista di copia/spostamento
@@ -166,74 +134,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation>Impossibile ottenere un&apos;istanza dal motore per la copia</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation>Raggruppa finestre</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation>Vuoi un altro gruppo di trasferimento con un altro trasferimento attualmente avviato?</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation>Impossibile ottenere un&apos;istanza dal motore per la copia</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation>L&apos;argomento per la modalità non è valido</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation>Vuoi copiarlo? se no, verrà spostato.</translation>
</message>
<message>
- <source>The argument for the mode is not understand</source>
- <translation type="obsolete">L&apos;argomento per la modalità non è idoneo</translation>
- </message>
- <message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation>Impossibile avviare l&apos;interfaccia, copia interrotta</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation>Impossibile avviare il motore per la copia, copia interrotta</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation>Modalità di trasferimento</translation>
</message>
@@ -241,12 +205,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -254,262 +218,258 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation>Motore per la copia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation>Copia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation>Sposta</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation>Pausa</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation>Riprendi</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation>Salta</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation>Illimitato</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation>s</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation>Troppo grande</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation>B</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation>KB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation>MB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation>GB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation>TB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation>PB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation>EB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation>ZB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation>YB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation>Meno di %10 secondi</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation>Circa %10 secondi rimanenti</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation>Circa %1 minuti rimanenti</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation>Circa %1 ore rimanenti</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation>Trasferisci</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translatorcomment>Uno spostamento</translatorcomment>
<translation>Avvia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation>Cartella di origine</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation>Dimensione</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation>Cartella di destinazione</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation>Esci</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation>Obiettivo</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation>Tempo residuo:</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation>Elenco</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation>Copiatura</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation>Elenca e copia</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation>Chiedi</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation>Sovrascrivi</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation>Sovrascrivi se più recente</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation>Sovrascrivi se sono diverse le date dell&apos;ultima modifica</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation>Rinomina</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation>Metti in coda alla lista</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation>Completato in %1</translation>
</message>
<message>
- <source>Put to end of the list</source>
- <translation type="obsolete">Metti in coda alla lista</translation>
- </message>
- <message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation>Selezionare la cartella di origine</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation>Selezionare la cartella di destinazione</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation>Errore interno</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation>Selezionare uno o più file da aprire</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation>Tutti i file</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation>Salvare la lista dei trasferimenti</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation>Aprire lista dei trasferimenti</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation>Lista dei trasferimenti</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation>Non supportato su questa piattaforma</translation>
</message>
@@ -517,7 +477,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation>Informazioni su Ultracopier</translation>
</message>
@@ -558,50 +518,43 @@ Compilata come versione: %1.</translation>
<translation>Chiudi</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation>Info su Supercopier</translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation>Su http://portableapps.com/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation>Versione portatile e pluricomprensiva</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation>Versione portatile</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation>Versione pluricomprensiva</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation>Versione normale</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translatorcomment>Questo dovrebbe essere il sito ufficiale di Ultracopier in italiano</translatorcomment>
<translation>http://ultracopier-it.first-world.info/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation>http://ultracopier.first-world.info/download.html</translation>
</message>
@@ -616,12 +569,12 @@ Compilata come versione: %1.</translation>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation>Avviso</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation>Tempo scaduto durante la ricomposizione dei dati dai client collegati</translation>
</message>
@@ -629,27 +582,23 @@ Compilata come versione: %1.</translation>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation>File log già aperto, errore: %1</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation>Impossibile aprire il file di log, errore: %1</translation>
</message>
- <message>
- <source>Unable to open file to keep the log file, error: %1</source>
- <translation type="obsolete">Impossibile aprire il file che contiene il log, errore: %1</translation>
- </message>
</context>
<context>
<name>OSSpecific</name>
@@ -669,10 +618,6 @@ Compilata come versione: %1.</translation>
<translation>Ok</translation>
</message>
<message>
- <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
- <translation type="obsolete">Il ripristino del sistema predefinito di copia/spostamento non è supportato dal file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Chiedere supporto allo sviluppatore.&lt;br /&gt;Bisogna fare la copia/spostamento manuale.</translation>
- </message>
- <message>
<location filename="../../../OSSpecific.cpp" line="23"/>
<source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Ask the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>Il ripristino del sistema predefinito di copia/spostamento non è supportato dal file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Chiedere supporto allo sviluppatore.&lt;br /&gt;Bisogna fare la copia/spostamento manuale.</translation>
@@ -692,21 +637,6 @@ Compilata come versione: %1.</translation>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation>Il ripristino del sistema predefinito di copia/spostamento potrebbe non essere supportato dal file manager.&lt;br /&gt;Chiedere supporto allo sviluppatore.&lt;br /&gt;Bisogna fare la copia/spostamento manuale.</translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation>Considera Supercopier obsoleto, preferisco Ultracopier</translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation>Questa versione utilizza il 100% della tua scheda grafica/GPU (il computer può essere rumoroso, o lento durante i giochi) in cambio del libero accesso alla versione Ultimate. Se non lo desideri, scarica la versione normale con un piccolo annuncio (solo un link sulla finestra principale) o acquista la versione Ultimate per finanziare il progetto.</translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation>http://ultracopier.first-world.info/download.html</translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -729,7 +659,7 @@ Compilata come versione: %1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation>Motore per la copia</translation>
</message>
@@ -745,14 +675,6 @@ Compilata come versione: %1.</translation>
<translation>Log</translation>
</message>
<message>
- <source>Load at the session loading:</source>
- <translation type="obsolete">Carica il programma all&apos;avvio:</translation>
- </message>
- <message>
- <source>Display the OS warning:</source>
- <translation type="obsolete">Mostra l&apos;avviso del Sistema Operativo:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="245"/>
<source>Check for updates</source>
<translation>Controlla aggiornamenti automaticamente</translation>
@@ -775,21 +697,21 @@ Compilata come versione: %1.</translation>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation>Rilevatore</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation>Caricatore di plug-in</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation>Caricatore di sessione</translation>
</message>
@@ -824,10 +746,6 @@ Compilata come versione: %1.</translation>
<translation>Conferma il raggruppamento delle finestre</translation>
</message>
<message>
- <source>Check the update</source>
- <translation type="obsolete">Controllare aggiornamenti</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="229"/>
<source>Display the OS warning</source>
<translation>Mostra l&apos;avviso del Sistema Operativo</translation>
@@ -913,10 +831,6 @@ Compilata come versione: %1.</translation>
<translation>Scrivere le operazioni di cartella</translation>
</message>
<message>
- <source>Write directly the file when it receive a new entry (can produce 50% of lost of performance)</source>
- <translation type="obsolete">Scrivere direttamente il file quando si riceve una nuova voce (può causare il 50% di perdita di prestazioni)</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="748"/>
<source>The variables are %time%, %source%, %size%, %destination%</source>
<extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment>
@@ -941,132 +855,80 @@ Compilata come versione: %1.</translation>
<translation>Scrivere il file di log in:</translation>
</message>
<message>
- <source>Force the language:</source>
- <translation type="obsolete">Utilizzare la lingua:</translation>
- </message>
- <message>
- <source>Replace the default copy and move system:</source>
- <translation type="obsolete">Ripristina il sistema di copia e spostamento predefinito:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="728"/>
<source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source>
<translation>Scrivere direttamente il file quando si riceve una nuova voce (può causare il 50% di perdita di prestazioni)</translation>
</message>
<message>
- <source>Write the transfers:</source>
- <translation type="obsolete">Scrivere i trasferimenti:</translation>
- </message>
- <message>
- <source>Write the errors:</source>
- <translation type="obsolete">Scrivere gli errori:</translation>
- </message>
- <message>
- <source>Write the folder operations:</source>
- <translation type="obsolete">Scrivere le operazioni di cartella:</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation>Carica</translation>
</message>
<message>
- <source>Load the themes?</source>
- <translation type="obsolete">Caricare i temi?</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation>Caricare i temi?</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation>Caricare questa lingua?</translation>
</message>
<message>
- <source>Disabled because you have any SessionLoader plugin</source>
- <translation type="obsolete">Disattivato perché non c&apos;è nessun plug-in SessionLoader</translation>
- </message>
- <message>
- <source>Disabled because you do not have any SessionLoader plugin</source>
- <translation type="obsolete">Disattivato perché non si dispone di alcun plug-in SessionLoader</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation>Non fare nulla</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation>Chiedere la cartella di origine</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation>Chiedere i file di origine</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation>Mai</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation>Quando la cartella di origine è uguale</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation>Quando la cartella di destinazione è uguale</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation>Quando sia le cartelle di origine che di destinazione sono uguali</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation>Quando le cartelle di origine o di destinazione coincidono</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation>Sempre</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation>Le variabili sono %1</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation>Consentire l&apos;applicazione</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation>Questa versione Ultimate è gratuita solo se %1 è consentita dal tuo antivirus. Altrimenti si può ottenere la versione normale gratuita</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation>Abilita le OpenCL</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation>Questa versione Ultimate è solo per chi ha installato OpenCL con i driver della scheda grafica. Diversamente puoi ottenere la versione gratuita</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation>Salvare i log come: </translation>
</message>
@@ -1076,14 +938,6 @@ Compilata come versione: %1.</translation>
<translation>Log sincronizzato</translation>
</message>
<message>
- <source>When manual open:</source>
- <translation type="obsolete">Se avviato manualmente:</translation>
- </message>
- <message>
- <source>Group the windows when:</source>
- <translation type="obsolete">Raggruppa le finestre quando:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="811"/>
<source>The variables are %path%, %operation%</source>
<extracomment>%path%, %operation% should not be translated</extracomment>
@@ -1094,10 +948,10 @@ Compilata come versione: %1.</translation>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation>Variabile non trovata: %1 %2</translation>
</message>
@@ -1140,42 +994,42 @@ Compilata come versione: %1.</translation>
<translation>Versione:</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation>Motore per la copia</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation>Lingue</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation>Rilevatore</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation>Caricatore di plug-in</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation>Caricatore di sessione</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation>Temi</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation>Sconosciuto</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation>Informazioni su %1</translation>
</message>
@@ -1193,135 +1047,126 @@ Compilata come versione: %1.</translation>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation>informations.xml non è accessibile</translation>
</message>
<message>
- <source>informations.xml not found into the plugin</source>
- <translation type="obsolete">informations.xml non trovato nel plug-in</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation>Alcune dipendenze non sono idonee</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation>Le dipendenze %1 per il plug-in: %2, non sono soddisfatte</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation>Elimina %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation>Informazioni</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation>%1, errore di analisi alla riga %2, colonna %3: %4</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation>informations.xml non trovato per il plug-in</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation>Tag root &quot;package&quot; non trovato nel file xml</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation>Trovato plug-in duplicato, già caricato!</translation>
</message>
<message>
- <source>English text missing into the informations.xml for the tag: %1</source>
- <translation type="obsolete">Testo in inglese mancante in informations.xml per il tag: %1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation>Testo in inglese mancante in informations.xml per il tag: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation>Tag non trovato: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation>Si desidera eliminare &quot;%1&quot; nella versione %2?</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation>Errore durante l&apos;eliminazione del plug-in, controllare le autorizzazioni per la cartella:
-%1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation>Importazione precedente in corso ...</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation>Apri plug-in di Ultracopier</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation>Plug-in di Ultracopier (*.urc)</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation>Caricatore di plug-in</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation>Impossibile aprire il plug-in: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation>Impossibile caricare il contenuto del plug-in, si prega di controllare: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation>Impossibile creare una cartella per installare il plug-in:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
@@ -1330,16 +1175,16 @@ since:%2</source>
da: %2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation>E&apos; presente una cartella con lo stesso nome, non sarà installato il plug-in:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation>Impossibile caricare il contenuto del plug-in, si prega di controllare</translation>
</message>
@@ -1392,131 +1237,34 @@ da: %2</translation>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation>Nessuna copia del rilevatore trovata. Fare una copia manualmente cliccando col tasto destro del mouse sull&apos;icona nella barra di sistema.</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation>Informazioni</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation>Ricerca informazioni...</translation>
</message>
<message>
- <source>Not replace the explorer copy/move</source>
- <translation type="obsolete">Non ripristinare la copia/spostamento di Windows explorer</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation>Non ripristinare la copia/spostamento di Windows explorer</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation>Ripristinare parzialmente la copia/spostamento di Windows explorer</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation>Ripristina la copia/spostamento di Windows explorer</translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation>Avviso</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation>Azione non idonea nell&apos;area di notifica!</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation>&amp;Informazioni/Rapporto di Debug</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation>&amp;Informazioni</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation>&amp;Salva il bug</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation>&amp;Esci</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation>&amp;Opzioni</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation>&amp;Aggiungi copia/spostamento</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation>Nuova versione: %1</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation>Clicca qui per accedere alla pagina di download</translation>
- </message>
- <message>
- <source>Click here to go to the shop and login.
-Download the new version into the order details.
-The new version have been sended by email too, look into your spams if needed.</source>
- <translation type="obsolete">Clicca qui per andare al negozio ed effettuare il login.
-Scarica la nuova versione nei dettagli dell&apos;ordine.
-La nuova versione è stata inviata anche via e-mail, controlla negli spam se necessario.</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation>&amp;Copia</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation>&amp;Trasferisci</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation>&amp;Sposta</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation>Aggiungi &amp;copia</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation>Aggiungi &amp;trasferimento</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation>Aggiungi &amp;spostamento</translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/ja/informations.xml b/plugins/Languages/ja/informations.xml
index 555a952..7e5e3b6 100644
--- a/plugins/Languages/ja/informations.xml
+++ b/plugins/Languages/ja/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to japanese. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>jp</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/ja/translation.ts b/plugins/Languages/ja/translation.ts
index 8a6d55f..ffb9111 100644
--- a/plugins/Languages/ja/translation.ts
+++ b/plugins/Languages/ja/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -519,49 +519,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -723,21 +701,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -879,95 +857,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/ko/informations.xml b/plugins/Languages/ko/informations.xml
index 877111a..6baf140 100644
--- a/plugins/Languages/ko/informations.xml
+++ b/plugins/Languages/ko/informations.xml
@@ -13,7 +13,7 @@
<description xml:lang="en"><![CDATA[File to define all English language related, Ultracopier is written in English, then not translation file needed]]></description>
<description xml:lang="ko"><![CDATA[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>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>ko</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/ko/translation.ts b/plugins/Languages/ko/translation.ts
index e6c41b2..41d1700 100644
--- a/plugins/Languages/ko/translation.ts
+++ b/plugins/Languages/ko/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="ko_KR">
+<TS version="2.1" language="ko_KR">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation>알림</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation>Ultracopier가 이미 실행중입니다. 사용하려면 트레이 아이콘에서 우클릭하십시오</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,38 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation>알림</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Cannot find any copy engine with motions support</source>
- <translation type="obsolete">동작 감지를 지원하는 복사 엔진을 찾을 수 없습니다</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation>호환되는 엔진을 찾을 수 없습니다!</translation>
</message>
<message>
- <source>This copy engine does not support motions</source>
- <translation type="obsolete">이 복사 엔진은 동작 감지를 지원하지 않습니다</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -127,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished">오류</translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -141,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation>오류</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation>인터페이스를 불러올 수 없음, 복사가 취소되었습니다</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation>복사 엔진을 불러올 수 없음, 복사가 취소되었습니다</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -212,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -225,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation>복사 엔진</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation>복사</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation>이동</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation>일시 중지</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation>다시 시작</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation>건너뛰기</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation>무제한</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation>초</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation>너무 큽니다</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation>B</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation>KB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation>MB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation>GB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation>TB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation>PB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation>EB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation>ZB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation>YB</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished">오류</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -483,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -527,49 +519,42 @@ This version is compiled as version: %1.</source>
<translation>닫기</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation>http://portableapps.com을 위해</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation>포터블 버전</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation>일반 버전</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation>http://ultracopier.first-world.info/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -577,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation>알림</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation>연결된 클라이언트로부터 데이터를 재구성하는 동안에 시간이 초과되었습니다</translation>
</message>
@@ -590,27 +575,23 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation>오류</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <source>Unable to open file to keep the log file, error: %1</source>
- <translation type="obsolete">로그 파일로 보존할 파일을 열 수 없습니다. 오류: %1</translation>
- </message>
</context>
<context>
<name>OSSpecific</name>
@@ -649,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -686,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation>복사 엔진</translation>
</message>
@@ -702,10 +668,6 @@ This version is compiled as version: %1.</source>
<translation>로그</translation>
</message>
<message>
- <source>Load at the session loading:</source>
- <translation type="obsolete">세션 시작시 프로그램 실행:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="222"/>
<source>Confirm to group the windows</source>
<translation type="unfinished"></translation>
@@ -749,21 +711,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation>리스너</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation>플러그인 로더</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation>섹션 로더</translation>
</message>
@@ -895,111 +857,75 @@ This version is compiled as version: %1.</source>
<translation>로그 파일 작성:</translation>
</message>
<message>
- <source>Write the transfers:</source>
- <translation type="obsolete">전송 내역 작성:</translation>
- </message>
- <message>
- <source>Write the errors:</source>
- <translation type="obsolete">오류 내역 작성:</translation>
- </message>
- <message>
- <source>Write the folder operations:</source>
- <translation type="obsolete">폴더 작업 작성:</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Disabled because you have any SessionLoader plugin</source>
- <translation type="obsolete">어떤 세션로더 플러그인을 보유중이므로 비활성화되었습니다</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation>로그 따로 저장:</translation>
</message>
@@ -1012,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1058,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation>버전:</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished">복사 엔진</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation>언어</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation>리스너</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished">플러그인 로더</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished">섹션 로더</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation>테마</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation>%1 파일 정보</translation>
</message>
@@ -1111,134 +1037,126 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation>informations.xml 파일에 연결할 수 없습니다</translation>
</message>
<message>
- <source>informations.xml not found into the plugin</source>
- <translation type="obsolete">플러그인에서 informations.xml 파일을 찾을 수 없습니다</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation>종속된 부분이 잘못되었습니다</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation>플러그인 %2에 대한 %1 종속성이 충족되지 않습니다</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation>%1 제거</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation>오류</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation>정보</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation>%1, %2 라인에서 문법 오류, %3 열: %4</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation>xml 파일을 위한 &quot;패키지&quot; 루트 태그를 찾을 수 없습니다</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation>중복된 플러그인 발견, 이미 호출되었습니다!</translation>
</message>
<message>
- <source>English text missing into the informations.xml for the tag: %1</source>
- <translation type="obsolete">태그 표시를 위한 informations.xml 파일에서 누락된 영문 텍스트: %1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation>태그를 찾을 수 없음: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation>%2 버전에서 %1을 제거하시겠습니까?</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation>이전의 가져오기가 진행중입니다...</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation>Ultracopier 플러그인 열기</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation>Ultracopier (*.urc)</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation>플러그인 로더</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation>플러그인 열기 불가: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation>플러그인 내용을 불러올 수 없습니다. 확인해주십시오: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation>플러그인을 설치할 폴더를 생성할 수 없음:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
@@ -1247,16 +1165,16 @@ since:%2</source>
since:%2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation>동일한 이름의 폴더가 존재합니다. 플러그인 설치 건너뛰기:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation>플러그인 컨태츠를 불러올 수 없습니다. 확인해주십시오</translation>
</message>
@@ -1309,119 +1227,34 @@ since:%2</translation>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished">복사 리스너를 찾을 수 없습니다. 트레이 아이콘에서 우클릭하여 수동으로 복사하십시오.</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished">정보</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished">정보 검색중...</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished">알림</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished">&amp;정보/디버그 보고서</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished">&amp;정보</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished">&amp;끝내기</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished">&amp;옵션</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished">복사/이동 &amp;추가</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished">&amp;복사 추가</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished">&amp;전송 추가</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished">&amp;이동 추가</translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/nl/informations.xml b/plugins/Languages/nl/informations.xml
index f24488a..f5d04f8 100644
--- a/plugins/Languages/nl/informations.xml
+++ b/plugins/Languages/nl/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to dutch. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>nl</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/nl/translation.ts b/plugins/Languages/nl/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/nl/translation.ts
+++ b/plugins/Languages/nl/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/no/informations.xml b/plugins/Languages/no/informations.xml
index e1a0a1a..5cb447b 100644
--- a/plugins/Languages/no/informations.xml
+++ b/plugins/Languages/no/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to norwegian. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>no</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/no/translation.ts b/plugins/Languages/no/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/no/translation.ts
+++ b/plugins/Languages/no/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/pl/informations.xml b/plugins/Languages/pl/informations.xml
index a9f04be..847ef03 100644
--- a/plugins/Languages/pl/informations.xml
+++ b/plugins/Languages/pl/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to polish. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>pl</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/pl/translation.ts b/plugins/Languages/pl/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/pl/translation.ts
+++ b/plugins/Languages/pl/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/pt/informations.xml b/plugins/Languages/pt/informations.xml
index f7ed085..744ab32 100644
--- a/plugins/Languages/pt/informations.xml
+++ b/plugins/Languages/pt/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to portuguese. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>pt</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/pt/translation.ts b/plugins/Languages/pt/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/pt/translation.ts
+++ b/plugins/Languages/pt/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/ru/informations.xml b/plugins/Languages/ru/informations.xml
index 6a8fb5b..f663205 100644
--- a/plugins/Languages/ru/informations.xml
+++ b/plugins/Languages/ru/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to russian. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>ru</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/ru/translation.ts b/plugins/Languages/ru/translation.ts
index a8f30f0..444e5ab 100644
--- a/plugins/Languages/ru/translation.ts
+++ b/plugins/Languages/ru/translation.ts
@@ -1,102 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="ru" sourcelanguage="en">
+<TS version="2.1" language="ru" sourcelanguage="en">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation>Предупреждение</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation>Ultracopier уже запущен, щелкните правой кнопкой мыши на значок панели задач (рядом с часами), чтобы использовать его</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
- <translation type="unfinished"></translation>
+ <translation>Проблема с чтением файла, или размер файла равен 0</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
- <translation type="unfinished"></translation>
+ <translation>Возможные аргументы:</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
- <translation type="unfinished"></translation>
+ <translation>Чтобы отобразить опции</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
- <translation type="unfinished"></translation>
+ <translation>Чтобы копировать исходники в место назначения, разделенными пробелом. If destination is &quot;?&quot;, ultracopier will ask the user</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Problem at the reading, or file size is null</source>
- <translation type="obsolete">Проблема при чтении или размер файла нулевой</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation>Этот файл не поддерживается передача списка</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation>Не удается открыть файл трансфер</translation>
</message>
<message>
- <source>The arguments possibles are:</source>
- <translation type="obsolete">Аргументы possibles являются:</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished">Откройте трансфер</translation>
</message>
<message>
- <source>To quit the other instance running (if have)</source>
- <translation type="obsolete">Для выхода из другой запущенный экземпляр (если есть)</translation>
- </message>
- <message>
- <source>Command line not understand</source>
- <translation type="obsolete">Командная строка не понимаю</translation>
- </message>
- <message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation>Помогите</translation>
</message>
@@ -104,38 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation>Предупреждение</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Cannot find any copy engine with motions support</source>
- <translation type="obsolete">Не могу найти копию двигателя движения поддержки</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation>Не могу найти любой совместимый двигатель!</translation>
</message>
<message>
- <source>This copy engine does not support motions</source>
- <translation type="obsolete">Эта копия двигателя не поддерживает движение</translation>
- </message>
- <message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation>Не могу найти любой двигатель с таким именем: %1</translation>
</message>
@@ -143,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished">ошибка</translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -157,74 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation>ошибка</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation>Не удалось получить экземпляр копии двигателей</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>The argument for the mode is not understand</source>
- <translation type="obsolete">Аргументом в пользу этого режима не понимаю</translation>
- </message>
- <message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation>Не удалось загрузить интерфейс, копирование прервана</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation>Не удается загрузить копию двигателя, скопируйте прервана</translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation>режим передачи</translation>
</message>
@@ -232,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -245,261 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation>Копировать двигатель</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation>копия</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation>двигаться</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation>пауза</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation>резюме</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation>пропускать</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation>неограниченный</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation>Слишком большой</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation>Менее %10 секунд</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation>О %10 секунды осталось</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation>О %1 минуты до конца</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation>О %1 часов, оставшихся</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation>источник</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation>размер</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation>назначение</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation>выход</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation>цель</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation>Оставшееся время:</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation>список</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation>копирование</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation>Листинг и копирования</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation>просить</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation>переписывать</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation>Заменить, если новее</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation>Заменить, если последняя даты модификации отличаются</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation>переименовать</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Put to end of the list</source>
- <translation type="obsolete">Положить в конец списка</translation>
- </message>
- <message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation>Выберите исходный каталог</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation>Выберите папку назначения</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation>Внутренняя ошибка</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation>Выберите один или более файлов, чтобы открыть</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation>Все файлы</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation>Сохранить трансфер</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation>Откройте трансфер</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation>Передача списка</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation>ошибка</translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation>Не поддерживается на этой платформе</translation>
</message>
@@ -507,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -545,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation>закрывать</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation>для http://portableapps.com/</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation>Портативная версия</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation>Нормальная версия</translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -601,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation>Предупреждение</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation>Тайм-аут в то время как композицию кадра данных из подключенных клиентов</translation>
</message>
@@ -614,27 +575,23 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation>ошибка</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation>Лог-файл уже открыт, ошибки: %1</translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <source>Unable to open file to keep the log file, error: %1</source>
- <translation type="obsolete">Не удается открыть файл сохранить файл журнала, ошибка: %1</translation>
- </message>
</context>
<context>
<name>OSSpecific</name>
@@ -673,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -710,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation>Копировать двигатель</translation>
</message>
@@ -726,10 +668,6 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Load at the session loading:</source>
- <translation type="obsolete">Загрузить на заседании загрузки:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="222"/>
<source>Confirm to group the windows</source>
<translation type="unfinished"></translation>
@@ -757,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation>слушатель</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation>плагин погрузчика</translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation>сессия погрузчика</translation>
</message>
@@ -903,111 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Write the transfers:</source>
- <translation type="obsolete">Запись передач:</translation>
- </message>
- <message>
- <source>Write the errors:</source>
- <translation type="obsolete">Пишите ошибки:</translation>
- </message>
- <message>
- <source>Write the folder operations:</source>
- <translation type="obsolete">Write the folder operations:</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Disabled because you have any SessionLoader plugin</source>
- <translation type="obsolete">Отключено, потому что у вас есть плагин SessionLoader</translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation>ничего не делать</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation>Спросите источника папку</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation>Спросите источников в виде файлов</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation>никогда</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation>Когда же источник</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation>Когда же назначения</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation>Когда источника и назначения те же</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation>Когда источника или назначения те же</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation>всегда</translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation>Сохранить журналы, как: </translation>
</message>
@@ -1017,14 +919,6 @@ This version is compiled as version: %1.</source>
<translation>Синхронное журнала</translation>
</message>
<message>
- <source>When manual open:</source>
- <translation type="obsolete">Когда руководство открыто:</translation>
- </message>
- <message>
- <source>Group the windows when:</source>
- <translation type="obsolete">Группа окна, когда:</translation>
- </message>
- <message>
<location filename="../../../OptionDialog.ui" line="666"/>
<source>No option for this plugin</source>
<translation>Нет опции для этого плагина</translation>
@@ -1044,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1090,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation>Версия:</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished">Копировать двигатель</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation>Языки</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation>слушатель</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished">плагин погрузчика</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished">сессия погрузчика</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation>Темы</translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation>Информация о %1</translation>
</message>
@@ -1143,135 +1037,126 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation>informations.xml не доступен</translation>
</message>
<message>
- <source>informations.xml not found into the plugin</source>
- <translation type="obsolete">informations.xml не нашел в плагине</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation>Зависимости часть неправильно</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation>Зависимости %1 не выполняется, для плагина: %2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation>удаление: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation>ошибка</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation>информация</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation>%1, вызовет ошибку в строке %2, столбце %3: %4</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation>&quot;package&quot; Корневой тег не найден для XML-файла</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation>Дублированный плагин нашел, уже загружены!</translation>
</message>
<message>
- <source>English text missing into the informations.xml for the tag: %1</source>
- <translation type="obsolete">Английский текст отсутствует в informations.xml для тега: %1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation>Тег не найден: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation>Вы уверены, что об удалении &quot;%1&quot; в версии %2?</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation>Ошибка при удалении плагина, пожалуйста, проверьте права на папку:
-%1</translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation>Предыдущая импорта идет ...</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation>Открытое плагин Ultracopier</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation>Ultracopier плагина (*.urc)</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation>плагин погрузчика</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation>Невозможно открыть плагин: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation>Не удается загрузить плагин содержания, пожалуйста, проверьте его: %1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation>Невозможно создать папку для установки плагина:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
@@ -1280,16 +1165,16 @@ since:%2</source>
С: %2</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation>Папка с таким же именем существует, пропустить установки плагина:
%1</translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation>Не удается загрузить плагин содержания, пожалуйста, проверьте его</translation>
</message>
@@ -1342,119 +1227,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished">Нет копии слушатель найдено. Сделайте копию вручную, щелкните правой кнопкой мыши один из иконки в системном трее.</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished">информация</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished">Поиск информации ...</translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished">Предупреждение</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished">О компании/Debug отчет</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished">о</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished">выход</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished">опции</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished">Добавить копирования/перемещения</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished">Добавить копию</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished">Добавить перевод</translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished">Добавить двигаться</translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/th/informations.xml b/plugins/Languages/th/informations.xml
index 1615a99..4bd5bb9 100644
--- a/plugins/Languages/th/informations.xml
+++ b/plugins/Languages/th/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to thai. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>th</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/th/translation.ts b/plugins/Languages/th/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/th/translation.ts
+++ b/plugins/Languages/th/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/tr/informations.xml b/plugins/Languages/tr/informations.xml
index c264d3c..f1620ec 100644
--- a/plugins/Languages/tr/informations.xml
+++ b/plugins/Languages/tr/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to turkish. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>tr</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/tr/translation.ts b/plugins/Languages/tr/translation.ts
index b02bb87..d364f81 100644
--- a/plugins/Languages/tr/translation.ts
+++ b/plugins/Languages/tr/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -513,49 +513,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -717,21 +695,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -863,95 +841,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
- <source>Error while the removing plugin, please check the rights on the folder:
-%1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/zh/informations.xml b/plugins/Languages/zh/informations.xml
index 151e854..853da7c 100644
--- a/plugins/Languages/zh/informations.xml
+++ b/plugins/Languages/zh/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Translation of Ultracopier to chinese. For more details see the web site.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>ch</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Languages/zh/translation.ts b/plugins/Languages/zh/translation.ts
index 8a6d55f..4172800 100644
--- a/plugins/Languages/zh/translation.ts
+++ b/plugins/Languages/zh/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0">
+<TS version="2.1">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">警告</translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
- <translation type="unfinished"></translation>
+ <translation>警告</translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -519,49 +519,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">警告</translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -605,7 +598,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OSSpecific.ui" line="26"/>
<source>Warning</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">警告</translation>
</message>
<message>
<location filename="../../../OSSpecific.ui" line="58"/>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,7 +652,7 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
@@ -723,21 +701,21 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -879,95 +857,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1026,42 +984,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error while the removing plugin, please check the rights on the folder:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/plugins/Languages/zh_TW/flag.png b/plugins/Languages/zh_TW/flag.png
new file mode 100644
index 0000000..4f00c2d
--- /dev/null
+++ b/plugins/Languages/zh_TW/flag.png
Binary files differ
diff --git a/plugins/Languages/zh_TW/informations.xml b/plugins/Languages/zh_TW/informations.xml
new file mode 100644
index 0000000..fc37a1e
--- /dev/null
+++ b/plugins/Languages/zh_TW/informations.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package>
+ <title xml:lang="en"><![CDATA[Translation of Ultracopier to chinese traditional]]></title><!-- english is required -->
+ <!-- What kind of plugin this is -->
+ <category>Languages</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 -->
+ <!-- the date-time format should be in timestamps format -->
+ <pubDate>1287496800</pubDate>
+ <!-- Detailed description -->
+ <description xml:lang="en"><![CDATA[Translation of Ultracopier to chinese traditional. For more details see the web site.]]></description>
+ <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
+ <version>1.4.0.3</version>
+ <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
+ <name>zh_tw</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[
+ ]]></dependencies>
+ <!-- Additional information that is specific to the category (in this case Language). -->
+ <categorySpecific>
+ <!-- The full name in the language we're translating to. -->
+ <fullName><![CDATA[台灣]]></fullName>
+ <!-- Short name, language name in English -->
+ <shortName><![CDATA[Chinese Traditional]]></shortName>
+ <!-- Short name, language ISO code -->
+ <shortName mainCode="true"><![CDATA[zh_TW]]></shortName>
+ <!-- Short name, language ISO country code -->
+ <shortName><![CDATA[zh_TW]]></shortName>
+ </categorySpecific>
+</package>
diff --git a/plugins/Languages/zh_TW/translation.ts b/plugins/Languages/zh_TW/translation.ts
new file mode 100644
index 0000000..cfe9ac3
--- /dev/null
+++ b/plugins/Languages/zh_TW/translation.ts
@@ -0,0 +1,1256 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="zh_TW">
+<context>
+ <name>CliParser</name>
+ <message>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
+ <source>Warning</source>
+ <translation>警告</translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
+ <translation type="unfinished">Ultracopier 正在執行中,right click on its system tray icon (near the clock) to use it</translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <source>Problem reading file, or file size is 0</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
+ <source>The arguments possible are:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
+ <source>To display the options</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
+ <source>To quit the other instances (if running)</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
+ <source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
+ <source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="170"/>
+ <source>Command not valid</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <source>This file is not supported transfer list</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <source>Unable to open the transfer list file</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
+ <source>To display this help</source>
+ <translation>顯示幫助</translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
+ <source>Open transfer list</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CliParser.cpp" line="182"/>
+ <source>Help</source>
+ <translation>幫助</translation>
+ </message>
+</context>
+<context>
+ <name>CopyEngineManager</name>
+ <message>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
+ <source>Warning</source>
+ <translation>警告</translation>
+ </message>
+ <message>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <source>Cannot find any copy engine with move support</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <source>This copy engine does not support move</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <source>Cannot find any compatible engine!</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
+ <source>Cannot find any engine with this name: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>CopyListener</name>
+ <message>
+ <location filename="../../../CopyListener.cpp" line="159"/>
+ <source>Error</source>
+ <translation>錯誤</translation>
+ </message>
+ <message>
+ <location filename="../../../CopyListener.cpp" line="159"/>
+ <source>Error during the reception of the copy/move list
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>Core</name>
+ <message>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
+ <source>Error</source>
+ <translation>錯誤</translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <source>Unable to get a copy engine instance</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="94"/>
+ <source>Group window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="94"/>
+ <source>Do you want group the transfer with another actual running transfer?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="117"/>
+ <source>Unable to get a engine instance</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="217"/>
+ <source>The argument for the mode is not valid</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="1136"/>
+ <source>Do you want to copy? If no, it will be moved.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <source>Unable to load the interface, copy aborted</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="393"/>
+ <source>Unable to load the copy engine, copy aborted</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../Core.cpp" line="1136"/>
+ <source>Transfer mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>EventDispatcher</name>
+ <message>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
+ <source>Key</source>
+ <translation>金鑰</translation>
+ </message>
+ <message>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
+ <source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>FacilityEngine</name>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
+ <source>Copy engine</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <source>Copy</source>
+ <extracomment>a copy</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <source>Move</source>
+ <extracomment>a move</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <source>Pause</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <source>Resume</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <source>Skip</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <source>Unlimited</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <source>s</source>
+ <translation>秒</translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <source>Too big</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <source>B</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <source>KB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <source>MB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
+ <source>GB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <source>TB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
+ <source>PB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <source>EB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
+ <source>ZB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <source>YB</source>
+ <translation></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
+ <source>Less than %10 seconds</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <source>About %10 seconds remaining</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <source>About %1 minutes remaining</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <source>About %1 hours remaining</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <source>Transfer</source>
+ <extracomment>a transfer</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
+ <source>Start</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
+ <source>Source</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <source>Size</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <source>Destination</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <source>Quit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <source>Target</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <source>Time remaining:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <source>Listing</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <source>Copying</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <source>Listing and copying</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <source>Ask</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <source>Overwrite</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <source>Overwrite if newer</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <source>Overwrite if the last modification dates are different</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <source>Rename</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <source>Put to the end of the list</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <source>Select source directory</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
+ <source>Select destination directory</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
+ <source>Internal error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
+ <source>Select one or more files to open</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
+ <source>All files</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
+ <source>Save transfer list</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
+ <source>Open transfer list</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
+ <source>Transfer list</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
+ <source>Error</source>
+ <translation type="unfinished">錯誤</translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
+ <source>Not supported on this platform</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
+ <source>Completed in %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>HelpDialog</name>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
+ <source>About Ultracopier</source>
+ <translation>關於 Ultracopier</translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.ui" line="67"/>
+ <source>Based on Qt. Advanced utility to copy files under GPL3 license.
+This version is compiled as version: %1.</source>
+ <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.ui" line="75"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;For more information see the website &lt;a href=&quot;%1&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0057ae;&quot;&gt;%1&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.ui" line="85"/>
+ <source>Platform: %1</source>
+ <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.ui" line="121"/>
+ <source>About Qt</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.ui" line="141"/>
+ <source>Do a crash</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.ui" line="148"/>
+ <source>Save bug report</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.ui" line="155"/>
+ <source>Close</source>
+ <translation>關閉</translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
+ <source>For http://portableapps.com/</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
+ <source>Portable and all in one version</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
+ <source>Portable version</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
+ <source>All in one version</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
+ <source>Normal version</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
+ <source>http://ultracopier.first-world.info/</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
+ <source>http://ultracopier.first-world.info/shop.html</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
+ <source>http://ultracopier.first-world.info/download.html</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>LocalListener</name>
+ <message>
+ <location filename="../../../LocalListener.cpp" line="160"/>
+ <source>Warning</source>
+ <translation>警告</translation>
+ </message>
+ <message>
+ <location filename="../../../LocalListener.cpp" line="160"/>
+ <source>Timeout while recomposing data from connected clients</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>LogThread</name>
+ <message>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
+ <source>Error</source>
+ <translation>錯誤</translation>
+ </message>
+ <message>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <source>Log file already open, error: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
+ <source>Unable to open the log file, error: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>OSSpecific</name>
+ <message>
+ <location filename="../../../OSSpecific.ui" line="26"/>
+ <source>Warning</source>
+ <translation>警告</translation>
+ </message>
+ <message>
+ <location filename="../../../OSSpecific.ui" line="58"/>
+ <source>Don&apos;t show again</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OSSpecific.ui" line="83"/>
+ <source>Ok</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OSSpecific.cpp" line="23"/>
+ <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).&lt;br /&gt;Ask the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OSSpecific.cpp" line="25"/>
+ <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OSSpecific.cpp" line="27"/>
+ <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.&lt;br /&gt;You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OSSpecific.cpp" line="29"/>
+ <source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>OptionDialog</name>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="14"/>
+ <location filename="../../../OptionDialog.ui" line="51"/>
+ <source>Options</source>
+ <translation type="unfinished">選項</translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="56"/>
+ <source>General</source>
+ <translation>一般</translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="61"/>
+ <source>Plugins</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="66"/>
+ <location filename="../../../OptionDialog.ui" line="322"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
+ <source>Copy engine</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="92"/>
+ <location filename="../../../OptionDialog.ui" line="350"/>
+ <source>Themes</source>
+ <translation>佈景</translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="97"/>
+ <source>Log</source>
+ <translation>紀錄</translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="312"/>
+ <source>Name</source>
+ <translation>名稱</translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="317"/>
+ <source>Version</source>
+ <translation>版本</translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="327"/>
+ <source>Language</source>
+ <translation>語言</translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="498"/>
+ <source>Client connected</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="801"/>
+ <source>Write the folder operations</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="811"/>
+ <source>The variables are %path%, %operation%</source>
+ <extracomment>%path%, %operation% should not be translated</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="71"/>
+ <location filename="../../../OptionDialog.ui" line="335"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
+ <source>Listener</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="76"/>
+ <location filename="../../../OptionDialog.ui" line="340"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
+ <source>Plugin loader</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="84"/>
+ <location filename="../../../OptionDialog.ui" line="345"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
+ <source>Session loader</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="117"/>
+ <source>Force the language</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="127"/>
+ <source>Replace the default copy and move system</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="141"/>
+ <source>Load at the session loading</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="155"/>
+ <source>When manual open</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="181"/>
+ <source>Group the windows when</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="222"/>
+ <source>Confirm to group the windows</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="229"/>
+ <source>Display the OS warning</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="245"/>
+ <source>Check for updates</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="255"/>
+ <source>Give GPU time to fund the development</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="262"/>
+ <source>Remaining time algorithm</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="270"/>
+ <source>Traditional</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="275"/>
+ <source>Logarithmic</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="358"/>
+ <source>Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="377"/>
+ <source>Add</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="390"/>
+ <source>Remove</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="400"/>
+ <source>Information</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="427"/>
+ <source>Copy engine by order of preference:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="554"/>
+ <source>Themes:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="616"/>
+ <source>Unable to load the themes plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="666"/>
+ <source>No option for this plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="716"/>
+ <source>Browse</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="728"/>
+ <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="741"/>
+ <source>Write the transfers</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="748"/>
+ <source>The variables are %time%, %source%, %size%, %destination%</source>
+ <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="771"/>
+ <source>Write the errors</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="778"/>
+ <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source>
+ <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="697"/>
+ <source>Write the log file into:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
+ <source>Load</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <source>Load the theme?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
+ <source>Load the language?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
+ <source>Do nothing</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
+ <source>Ask source as folder</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
+ <source>Ask sources as files</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
+ <source>Never</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
+ <source>When source is same</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
+ <source>When destination is same</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
+ <source>When source and destination are same</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
+ <source>When source or destination are same</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
+ <source>Always</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
+ <source>The variables are %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
+ <source>Save logs as: </source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../OptionDialog.ui" line="731"/>
+ <source>Synchronized log</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>OptionEngine</name>
+ <message>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
+ <source>The variable was not found: %1 %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>PluginInformation</name>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="14"/>
+ <source>About this plugin</source>
+ <translation type="unfinished">關於這的插件</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="23"/>
+ <source>Name:</source>
+ <translation>名稱:</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="37"/>
+ <source>Category:</source>
+ <translation>分類:</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="51"/>
+ <source>Author:</source>
+ <translation>作者:</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="79"/>
+ <source>Date:</source>
+ <translation>日期:</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="93"/>
+ <source>Description:</source>
+ <translation>描述:</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="107"/>
+ <source>Version:</source>
+ <translation>版本:</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
+ <source>Copy engine</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
+ <source>Languages</source>
+ <translation>語言</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
+ <source>Listener</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
+ <source>Plugin loader</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
+ <source>Session loader</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
+ <source>Themes</source>
+ <translation>佈景</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
+ <source>Unknown</source>
+ <translation>未知</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
+ <source>Information about %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="65"/>
+ <source>Website:</source>
+ <translation>網站:</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginInformation.ui" line="121"/>
+ <source>Title:</source>
+ <translation>標題:</translation>
+ </message>
+</context>
+<context>
+ <name>PluginsManager</name>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
+ <source>informations.xml is not accessible</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
+ <source>Dependencies part is wrong</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
+ <source>Dependencies %1 are not satisfied, for plugin: %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
+ <source>Remove %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error</source>
+ <translation type="unfinished">錯誤</translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
+ <source>Error while the removing plugin, please check the rights on the folder:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
+ <source>Information</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
+ <source>%1, parse error at line %2, column %3: %4</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
+ <source>informations.xml not found for the plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
+ <source>&quot;package&quot; root tag not found for the xml file</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
+ <source>Duplicated plugin found, already loaded!</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
+ <source>English text missing in the informations.xml for the tag: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
+ <source>Tag not found: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
+ <source>Are you sure about removing &quot;%1&quot; in version %2?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
+ <source>Previous import is in progress...</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
+ <source>Open Ultracopier plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
+ <source>Ultracopier plugin (*.urc)</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
+ <source>Plugin loader</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <source>Unable to open the plugin: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
+ <source>Unable to load the plugin content, please check it: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <source>Unable to create a folder to install the plugin:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <source>Unable to create a file to install the plugin:
+%1
+since:%2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <source>Folder with same name is present, skip the plugin installation:
+%1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
+ <source>Unable to load the plugin content, please check it</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>QXzDecode</name>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/>
+ <source>Memory allocation failed</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/>
+ <source>Write error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/>
+ <source>Memory usage limit reached</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/>
+ <source>Not a .xz file</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/>
+ <source>Unsupported options in the .xz headers</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/>
+ <source>The file is corrupted</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/>
+ <source>Bug!</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/>
+ <source>The input data is too short</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>SystrayIcon</name>
+ <message>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
+ <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
+ <source>Information</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
+ <source>Searching information...</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
+ <source>Do not replace the explorer copy/move</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
+ <source>Semi replace the explorer copy/move</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
+ <source>Replace the explorer copy/move</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>
diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp
index d7492d0..c466630 100644
--- a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp
+++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp
@@ -10,370 +10,370 @@
ClientCatchcopy::ClientCatchcopy()
{
- disconnectedFromSocket();
- error_string="Unknown error";
- detectTimeOut.setSingleShot(true);
- detectTimeOut.setInterval(CATCHCOPY_COMMUNICATION_TIMEOUT); // the max time to without send packet
- connect(&socket, SIGNAL(connected()), this, SIGNAL(connected()));
- connect(&socket, SIGNAL(disconnected()), this, SIGNAL(disconnected()));
- connect(&socket, SIGNAL(disconnected()), this, SLOT(disconnectedFromSocket()));
- connect(&socket, SIGNAL(stateChanged(QLocalSocket::LocalSocketState)), this, SIGNAL(stateChanged(QLocalSocket::LocalSocketState)));
- connect(&socket, SIGNAL(error(QLocalSocket::LocalSocketError)), this, SIGNAL(errorSocket(QLocalSocket::LocalSocketError)));
- connect(&socket, SIGNAL(readyRead()), this, SLOT(readyRead()));
- connect(&detectTimeOut, SIGNAL(timeout()), this, SLOT(checkTimeOut()));
- connect(&socket, SIGNAL(connected()), this, SLOT(socketIsConnected()));
+ disconnectedFromSocket();
+ error_string="Unknown error";
+ detectTimeOut.setSingleShot(true);
+ detectTimeOut.setInterval(CATCHCOPY_COMMUNICATION_TIMEOUT); // the max time to without send packet
+ connect(&socket, SIGNAL(connected()), this, SIGNAL(connected()));
+ connect(&socket, SIGNAL(disconnected()), this, SIGNAL(disconnected()));
+ connect(&socket, SIGNAL(disconnected()), this, SLOT(disconnectedFromSocket()));
+ connect(&socket, SIGNAL(stateChanged(QLocalSocket::LocalSocketState)), this, SIGNAL(stateChanged(QLocalSocket::LocalSocketState)));
+ connect(&socket, SIGNAL(error(QLocalSocket::LocalSocketError)), this, SIGNAL(errorSocket(QLocalSocket::LocalSocketError)));
+ connect(&socket, SIGNAL(readyRead()), this, SLOT(readyRead()));
+ connect(&detectTimeOut, SIGNAL(timeout()), this, SLOT(checkTimeOut()));
+ connect(&socket, SIGNAL(connected()), this, SLOT(socketIsConnected()));
}
void ClientCatchcopy::checkTimeOut()
{
- if(haveData)
- {
- error_string="The server is too long to send the next part of the reply";
- emit error(error_string);
- disconnectFromServer();
- }
+ if(haveData)
+ {
+ error_string="The server is too long to send the next part of the reply";
+ emit error(error_string);
+ disconnectFromServer();
+ }
}
const QString ClientCatchcopy::errorString()
{
- return error_string;
+ return error_string;
}
void ClientCatchcopy::socketIsConnected()
{
- orderIdFirstSendProtocol=sendProtocol();
+ orderIdFirstSendProtocol=sendProtocol();
}
void ClientCatchcopy::connectToServer()
{
- socket.connectToServer(ExtraSocketCatchcopy::pathSocket());
+ socket.connectToServer(QString::fromStdString(ExtraSocketCatchcopy::pathSocket()));
}
void ClientCatchcopy::disconnectFromServer()
{
- socket.abort();
- socket.disconnectFromServer();
+ socket.abort();
+ socket.disconnectFromServer();
}
const QString ClientCatchcopy::errorStringSocket()
{
- return socket.errorString();
+ return socket.errorString();
}
/// \brief to send stream of string list
quint32 ClientCatchcopy::sendRawOrderList(const QStringList & order)
{
- if(!socket.isValid())
- {
- error_string="Socket is not valid, try send: "+order.join(";");
- emit error(error_string);
- return -1;
- }
- if(socket.state()!=QLocalSocket::ConnectedState)
- {
- error_string="Socket is not connected "+QString::number(socket.state());
- emit error(error_string);
- return -1;
- }
- do
- {
- idNextOrder++;
- if(idNextOrder>2000000000)
- idNextOrder=0;
- } while(notRepliedQuery.contains(idNextOrder));
- notRepliedQuery << idNextOrder;
- QByteArray block;
- QDataStream out(&block, QIODevice::WriteOnly);
- out.setVersion(QDataStream::Qt_4_4);
- out << int(0);
- out << idNextOrder;
- out << order;
- out.device()->seek(0);
- out << block.size();
- if(idNextOrder!=1) // drop if internal protocol send
- {
- emit dataSend(idNextOrder,block);
- emit dataSend(idNextOrder,order);
- }
- do //cut string list and send it as block of 32KB
- {
- QByteArray blockToSend;
- int byteWriten;
- blockToSend=block.left(32*1024);//32KB
- block.remove(0,blockToSend.size());
- byteWriten = socket.write(blockToSend);
- if(!socket.isValid())
- {
- error_string="Socket is not valid";
- emit error(error_string);
- return -1;
- }
- if(socket.errorString()!="Unknown error" && socket.errorString()!="")
- {
- error_string=socket.errorString();
- emit error(error_string);
- return -1;
- }
- if(blockToSend.size()!=byteWriten)
- {
- error_string="All the bytes have not be written";
- emit error(error_string);
- return -1;
- }
- }
- while(block.size());
- return idNextOrder;
+ if(!socket.isValid())
+ {
+ error_string="Socket is not valid, try send: "+order.join(";");
+ emit error(error_string);
+ return -1;
+ }
+ if(socket.state()!=QLocalSocket::ConnectedState)
+ {
+ error_string="Socket is not connected "+QString::number(socket.state());
+ emit error(error_string);
+ return -1;
+ }
+ do
+ {
+ idNextOrder++;
+ if(idNextOrder>2000000000)
+ idNextOrder=0;
+ } while(notRepliedQuery.contains(idNextOrder));
+ notRepliedQuery << idNextOrder;
+ QByteArray block;
+ QDataStream out(&block, QIODevice::WriteOnly);
+ out.setVersion(QDataStream::Qt_4_4);
+ out << int(0);
+ out << idNextOrder;
+ out << order;
+ out.device()->seek(0);
+ out << block.size();
+ if(idNextOrder!=1) // drop if internal protocol send
+ {
+ emit dataSend(idNextOrder,block);
+ emit dataSend(idNextOrder,order);
+ }
+ do //cut string list and send it as block of 32KB
+ {
+ QByteArray blockToSend;
+ int byteWriten;
+ blockToSend=block.left(32*1024);//32KB
+ block.remove(0,blockToSend.size());
+ byteWriten = socket.write(blockToSend);
+ if(!socket.isValid())
+ {
+ error_string="Socket is not valid";
+ emit error(error_string);
+ return -1;
+ }
+ if(socket.errorString()!="Unknown error" && socket.errorString()!="")
+ {
+ error_string=socket.errorString();
+ emit error(error_string);
+ return -1;
+ }
+ if(blockToSend.size()!=byteWriten)
+ {
+ error_string="All the bytes have not be written";
+ emit error(error_string);
+ return -1;
+ }
+ }
+ while(block.size());
+ return idNextOrder;
}
void ClientCatchcopy::readyRead()
{
- while(socket.bytesAvailable()>0)
- {
- if(!haveData)
- {
- if(socket.bytesAvailable()<(int)sizeof(int))//int of size cuted
- {
- /* error_string="Bytes available is not sufficient to do a int";
- emit error(error_string);
- disconnectFromServer();*/
- return;
- }
- QDataStream in(&socket);
- in.setVersion(QDataStream::Qt_4_4);
- in >> dataSize;
- dataSize-=sizeof(int);
- if(dataSize>64*1024*1024) // 64MB
- {
- error_string="Reply size is >64MB, seam corrupted";
- emit error(error_string);
- disconnectFromServer();
- return;
- }
- if(dataSize<(int)(sizeof(int) //orderId
- + sizeof(quint32) //returnCode
- + sizeof(quint32) //string list size
- ))
- {
- error_string="Reply size is too small to have correct code";
- emit error(error_string);
- disconnectFromServer();
- return;
- }
- }
- if(dataSize<(data.size()+socket.bytesAvailable()))
- data.append(socket.read(dataSize-data.size()));
- else
- data.append(socket.readAll());
- if(dataSize==data.size())
- {
- if(!checkDataIntegrity(data))
- {
- data.clear();
- qWarning() << "Data of the reply is wrong";
- return;
- }
- QStringList returnList;
- quint32 orderId;
- quint32 returnCode;
- QDataStream in(data);
- in.setVersion(QDataStream::Qt_4_4);
- in >> orderId;
- in >> returnCode;
- in >> returnList;
- data.clear();
- if(orderId!=orderIdFirstSendProtocol)
- {
- if(!notRepliedQuery.contains(orderId))
- qWarning() << "Unknown query not replied:" << orderId;
- else
- {
- if(!parseReply(orderId,returnCode,returnList))
- emit unknowReply(orderId);
- emit newReply(orderId,returnCode,returnList);
- }
- }
- else
- {
- if(!sendProtocolReplied)
- {
- sendProtocolReplied=true;
- if(returnCode!=1000)
- {
- error_string="Protocol not supported";
- emit error(error_string);
- disconnectFromServer();
- return;
- }
- }
- else
- {
- error_string=QStringLiteral("First send protocol send with the query id %1 have been already previously replied").arg(orderIdFirstSendProtocol);
- emit error(error_string);
- disconnectFromServer();
- return;
- }
- }
- }
- }
- if(haveData)
- detectTimeOut.start();
- else
- detectTimeOut.stop();
+ while(socket.bytesAvailable()>0)
+ {
+ if(!haveData)
+ {
+ if(socket.bytesAvailable()<(int)sizeof(int))//int of size cuted
+ {
+ /* error_string="Bytes available is not sufficient to do a int";
+ emit error(error_string);
+ disconnectFromServer();*/
+ return;
+ }
+ QDataStream in(&socket);
+ in.setVersion(QDataStream::Qt_4_4);
+ in >> dataSize;
+ dataSize-=sizeof(int);
+ if(dataSize>64*1024*1024) // 64MB
+ {
+ error_string="Reply size is >64MB, seam corrupted";
+ emit error(error_string);
+ disconnectFromServer();
+ return;
+ }
+ if(dataSize<(int)(sizeof(int) //orderId
+ + sizeof(quint32) //returnCode
+ + sizeof(quint32) //string list size
+ ))
+ {
+ error_string="Reply size is too small to have correct code";
+ emit error(error_string);
+ disconnectFromServer();
+ return;
+ }
+ }
+ if(dataSize<(data.size()+socket.bytesAvailable()))
+ data.append(socket.read(dataSize-data.size()));
+ else
+ data.append(socket.readAll());
+ if(dataSize==data.size())
+ {
+ if(!checkDataIntegrity(data))
+ {
+ data.clear();
+ qWarning() << "Data of the reply is wrong";
+ return;
+ }
+ QStringList returnList;
+ quint32 orderId;
+ quint32 returnCode;
+ QDataStream in(data);
+ in.setVersion(QDataStream::Qt_4_4);
+ in >> orderId;
+ in >> returnCode;
+ in >> returnList;
+ data.clear();
+ if(orderId!=orderIdFirstSendProtocol)
+ {
+ if(!notRepliedQuery.contains(orderId))
+ qWarning() << "Unknown query not replied:" << orderId;
+ else
+ {
+ if(!parseReply(orderId,returnCode,returnList))
+ emit unknowReply(orderId);
+ emit newReply(orderId,returnCode,returnList);
+ }
+ }
+ else
+ {
+ if(!sendProtocolReplied)
+ {
+ sendProtocolReplied=true;
+ if(returnCode!=1000)
+ {
+ error_string="Protocol not supported";
+ emit error(error_string);
+ disconnectFromServer();
+ return;
+ }
+ }
+ else
+ {
+ error_string=QStringLiteral("First send protocol send with the query id %1 have been already previously replied").arg(orderIdFirstSendProtocol);
+ emit error(error_string);
+ disconnectFromServer();
+ return;
+ }
+ }
+ }
+ }
+ if(haveData)
+ detectTimeOut.start();
+ else
+ detectTimeOut.stop();
}
bool ClientCatchcopy::checkDataIntegrity(QByteArray data)
{
- quint32 orderId;
- qint32 replyCode;
- qint32 listSize;
- QDataStream in(data);
- in.setVersion(QDataStream::Qt_4_4);
- in >> orderId;
- in >> replyCode;
- in >> listSize;
- if(listSize>65535)
- {
- emit error("List size is wrong");
- qWarning() << "List size is wrong";
- return false;
- }
- int index=0;
- while(index<listSize)
- {
- qint32 stringSize;
- in >> stringSize;
- if(stringSize>65535)
- {
- emit error("String size is wrong");
- qWarning() << "String size is wrong";
- return false;
- }
- if(stringSize>(in.device()->size()-in.device()->pos()))
- {
- emit error(QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos()));
- qWarning() << QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos());
- return false;
- }
- in.device()->seek(in.device()->pos()+stringSize);
- index++;
- }
- if(in.device()->size()!=in.device()->pos())
- {
- emit error("Remaining data after string list parsing");
- qWarning() << "Remaining data after string list parsing";
- return false;
- }
- return true;
+ quint32 orderId;
+ qint32 replyCode;
+ qint32 listSize;
+ QDataStream in(data);
+ in.setVersion(QDataStream::Qt_4_4);
+ in >> orderId;
+ in >> replyCode;
+ in >> listSize;
+ if(listSize>65535)
+ {
+ emit error("List size is wrong");
+ qWarning() << "List size is wrong";
+ return false;
+ }
+ int index=0;
+ while(index<listSize)
+ {
+ qint32 stringSize;
+ in >> stringSize;
+ if(stringSize>65535)
+ {
+ emit error("String size is wrong");
+ qWarning() << "String size is wrong";
+ return false;
+ }
+ if(stringSize>(in.device()->size()-in.device()->pos()))
+ {
+ emit error(QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos()));
+ qWarning() << QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos());
+ return false;
+ }
+ in.device()->seek(in.device()->pos()+stringSize);
+ index++;
+ }
+ if(in.device()->size()!=in.device()->pos())
+ {
+ emit error("Remaining data after string list parsing");
+ qWarning() << "Remaining data after string list parsing";
+ return false;
+ }
+ return true;
}
QLocalSocket::LocalSocketState ClientCatchcopy::state()
{
- return socket.state();
+ return socket.state();
}
void ClientCatchcopy::disconnectedFromSocket()
{
- haveData = false;
- orderIdFirstSendProtocol= 0;
- idNextOrder = 0;
- sendProtocolReplied = false;
- notRepliedQuery.clear();
+ haveData = false;
+ orderIdFirstSendProtocol= 0;
+ idNextOrder = 0;
+ sendProtocolReplied = false;
+ notRepliedQuery.clear();
}
/// \brief to send the protocol version used
quint32 ClientCatchcopy::sendProtocol()
{
- return sendRawOrderList(QStringList() << "protocol" << CATCHCOPY_PROTOCOL_VERSION);
+ return sendRawOrderList(QStringList() << "protocol" << CATCHCOPY_PROTOCOL_VERSION);
}
quint32 ClientCatchcopy::askServerName()
{
- return sendRawOrderList(QStringList() << "server" << "name?");
+ return sendRawOrderList(QStringList() << "server" << "name?");
}
quint32 ClientCatchcopy::setClientName(const QString & name)
{
- return sendRawOrderList(QStringList() << "client" << name);
+ return sendRawOrderList(QStringList() << "client" << name);
}
quint32 ClientCatchcopy::checkProtocolExtension(const QString & name)
{
- return sendRawOrderList(QStringList() << "protocol extension" << name);
+ return sendRawOrderList(QStringList() << "protocol extension" << name);
}
quint32 ClientCatchcopy::checkProtocolExtension(const QString & name,const QString & version)
{
- return sendRawOrderList(QStringList() << "protocol extension" << name << version);
+ return sendRawOrderList(QStringList() << "protocol extension" << name << version);
}
quint32 ClientCatchcopy::addCopyWithDestination(const QStringList & sources,const QString & destination)
{
- return sendRawOrderList(QStringList() << "cp" << sources << destination);
+ return sendRawOrderList(QStringList() << "cp" << sources << destination);
}
quint32 ClientCatchcopy::addCopyWithoutDestination(const QStringList & sources)
{
- return sendRawOrderList(QStringList() << "cp-?" << sources);
+ return sendRawOrderList(QStringList() << "cp-?" << sources);
}
quint32 ClientCatchcopy::addMoveWithDestination(const QStringList & sources,const QString & destination)
{
- return sendRawOrderList(QStringList() << "mv" << sources << destination);
+ return sendRawOrderList(QStringList() << "mv" << sources << destination);
}
quint32 ClientCatchcopy::addMoveWithoutDestination(const QStringList & sources)
{
- return sendRawOrderList(QStringList() << "mv-?" << sources);
+ return sendRawOrderList(QStringList() << "mv-?" << sources);
}
bool ClientCatchcopy::parseReply(quint32 orderId,quint32 returnCode,QStringList returnList)
{
- switch(returnCode)
- {
- case 1000:
- emit protocolSupported(orderId);
- break;
- case 1001:
- case 1002:
- if(returnCode==1001)
- emit protocolExtensionSupported(orderId,true);
- else
- emit protocolExtensionSupported(orderId,false);
- break;
- case 1003:
- emit clientRegistered(orderId);
- break;
- case 1004:
- if(returnList.size()!=1)
- emit unknowOrder(orderId);
- else
- emit serverName(orderId,returnList.last());
- break;
- case 1005:
- case 1006:
- if(returnCode==1005)
- emit copyFinished(orderId,false);
- else
- emit copyFinished(orderId,true);
- break;
- case 1007:
- emit copyCanceled(orderId);
- break;
- case 5000:
- emit incorrectArgumentListSize(orderId);
- break;
- case 5001:
- emit incorrectArgument(orderId);
- break;
- case 5002:
- emit unknowOrder(orderId); //the server have not understand the order
- break;
- case 5003:
- emit protocolNotSupported(orderId);
- break;
- default:
- return false;
- }
- return true;
+ switch(returnCode)
+ {
+ case 1000:
+ emit protocolSupported(orderId);
+ break;
+ case 1001:
+ case 1002:
+ if(returnCode==1001)
+ emit protocolExtensionSupported(orderId,true);
+ else
+ emit protocolExtensionSupported(orderId,false);
+ break;
+ case 1003:
+ emit clientRegistered(orderId);
+ break;
+ case 1004:
+ if(returnList.size()!=1)
+ emit unknowOrder(orderId);
+ else
+ emit serverName(orderId,returnList.last());
+ break;
+ case 1005:
+ case 1006:
+ if(returnCode==1005)
+ emit copyFinished(orderId,false);
+ else
+ emit copyFinished(orderId,true);
+ break;
+ case 1007:
+ emit copyCanceled(orderId);
+ break;
+ case 5000:
+ emit incorrectArgumentListSize(orderId);
+ break;
+ case 5001:
+ emit incorrectArgument(orderId);
+ break;
+ case 5002:
+ emit unknowOrder(orderId); //the server have not understand the order
+ break;
+ case 5003:
+ emit protocolNotSupported(orderId);
+ break;
+ default:
+ return false;
+ }
+ return true;
}
diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp
index 5330492..9cd8373 100644
--- a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp
+++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp
@@ -6,17 +6,17 @@
#include <stdio.h>
-const QString ExtraSocketCatchcopy::pathSocket()
+const std::string ExtraSocketCatchcopy::pathSocket()
{
#ifdef Q_OS_UNIX
- return "advanced-copier-"+QString::number(getuid());
+ return "advanced-copier-"+std::to_string(getuid());
#else
QString userName;
char uname[1024];
DWORD len=1023;
if(GetUserNameA(uname, &len)!=FALSE)
userName=QString::fromLatin1(toHex(uname));
- return "advanced-copier-"+userName;
+ return "advanced-copier-"+userName.toStdString();
#endif
}
diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h
index 59c8f93..fb4201c 100644
--- a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h
+++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h
@@ -6,6 +6,7 @@
#ifndef EXTRASOCKETCATCHCOPY_H
#define EXTRASOCKETCATCHCOPY_H
+#include <string>
#include <QString>
#ifdef Q_OS_UNIX
@@ -23,7 +24,7 @@ class ExtraSocketCatchcopy
{
public:
/// \brief to get the socket path
- static const QString pathSocket();
+ static const std::string pathSocket();
static char * toHex(const char *str);
};
diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp
index 83c8790..6fd1172 100644
--- a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp
+++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp
@@ -8,6 +8,22 @@
#include <QFile>
#include <QDataStream>
+#include <queue>
+#include <vector>
+#include <string>
+
+std::string stringimplode2(const std::vector<std::string>& elems, const std::string &delim)
+{
+ std::string newString;
+ for (std::vector<std::string>::const_iterator ii = elems.begin(); ii != elems.cend(); ++ii)
+ {
+ newString += (*ii);
+ if ( ii + 1 != elems.end() ) {
+ newString += delim;
+ }
+ }
+ return newString;
+}
ServerCatchcopy::ServerCatchcopy()
{
@@ -27,25 +43,25 @@ bool ServerCatchcopy::isListening() const
return server.isListening();
}
-void ServerCatchcopy::setName(const QString & name)
+void ServerCatchcopy::setName(const std::string & name)
{
this->name=name;
}
-QString ServerCatchcopy::getName() const
+std::string ServerCatchcopy::getName() const
{
return name;
}
/// \brief to get a client list
-QStringList ServerCatchcopy::clientsList() const
+std::vector<std::string> ServerCatchcopy::clientsList() const
{
- QStringList clients;
+ std::vector<std::string> clients;
int index=0;
int size=clientList.size();
while(index<size)
{
- clients << clientList[index].name;
+ clients.push_back(clientList[index].name);
index++;
}
return clients;
@@ -55,7 +71,7 @@ bool ServerCatchcopy::listen()
{
QLocalSocket socketTestConnection;
pathSocket=ExtraSocketCatchcopy::pathSocket();
- socketTestConnection.connectToServer(pathSocket);
+ socketTestConnection.connectToServer(QString::fromStdString(pathSocket));
if(socketTestConnection.waitForConnected(CATCHCOPY_COMMUNICATION_TIMEOUT))
{
error_string="Other server is listening";
@@ -64,7 +80,7 @@ bool ServerCatchcopy::listen()
}
else
{
- if(!server.removeServer(pathSocket))
+ if(!server.removeServer(QString::fromStdString(pathSocket)))
{
error_string="Unable to remove the old server";
emit error(error_string);
@@ -72,11 +88,11 @@ bool ServerCatchcopy::listen()
#ifndef Q_OS_MAC
server.setSocketOptions(QLocalServer::UserAccessOption);
#endif
- if(server.listen(pathSocket))
+ if(server.listen(QString::fromStdString(pathSocket)))
return true;
else
{
- error_string=QStringLiteral("Unable to listen %1: %2").arg(pathSocket).arg(server.errorString());
+ error_string=QStringLiteral("Unable to listen %1: %2").arg(QString::fromStdString(pathSocket)).arg(server.errorString()).toStdString();
emit error(error_string);
return false;
}
@@ -94,7 +110,7 @@ void ServerCatchcopy::close()
index++;
}
server.close();
- if(!server.removeServer(pathSocket))
+ if(!server.removeServer(QString::fromStdString(pathSocket)))
{
error_string="Unable to remove the old server";
emit error(error_string);
@@ -102,12 +118,12 @@ void ServerCatchcopy::close()
}
}
-const QString ServerCatchcopy::errorStringServer() const
+const std::string ServerCatchcopy::errorStringServer() const
{
- return server.errorString();
+ return server.errorString().toStdString();
}
-const QString ServerCatchcopy::errorString() const
+const std::string ServerCatchcopy::errorString() const
{
return error_string;
}
@@ -145,7 +161,7 @@ void ServerCatchcopy::newConnection()
}
}
-bool ServerCatchcopy::clientIdFound(const quint32 &id) const
+bool ServerCatchcopy::clientIdFound(const uint32_t &id) const
{
int index=0;
while(index<clientList.size())
@@ -195,7 +211,7 @@ void ServerCatchcopy::disconnected()
{
if(clientList.at(index).socket==socket)
{
- const quint32 &id=clientList.at(index).id;
+ const uint32_t &id=clientList.at(index).id;
//ClientList.at(index).socket->disconnectFromServer();//already disconnected
delete clientList.at(index).detectTimeOut;
clientList.at(index).socket->deleteLater();
@@ -208,7 +224,7 @@ void ServerCatchcopy::disconnected()
qWarning() << "Unlocated client!";
}
-void ServerCatchcopy::disconnectClient(const quint32 &id)
+void ServerCatchcopy::disconnectClient(const uint32_t &id)
{
int index=0;
while(index<clientList.size())
@@ -259,8 +275,8 @@ void ServerCatchcopy::readyRead()
return;
}
if(clientList.at(index).dataSize<(int)(sizeof(int) //orderId
- + sizeof(quint32) //returnCode
- + sizeof(quint32) //string list size
+ + sizeof(uint32_t) //returnCode
+ + sizeof(uint32_t) //string list size
))
{
error_string="Reply size is too small to have correct code";
@@ -274,22 +290,31 @@ void ServerCatchcopy::readyRead()
clientList[index].data.append(socket->read(clientList.at(index).dataSize-clientList.at(index).data.size()));
else
clientList[index].data.append(socket->readAll());
- if(clientList.at(index).dataSize==(quint32)clientList.at(index).data.size())
+ if(clientList.at(index).dataSize==(uint32_t)clientList.at(index).data.size())
{
if(!checkDataIntegrity(clientList.at(index).data))
{
- emit communicationError("Data integrity wrong: "+QString(clientList.at(index).data.toHex()));
+ emit communicationError("Data integrity wrong: "+QString(clientList.at(index).data.toHex()).toStdString());
clientList[index].data.clear();
clientList[index].haveData=false;
qWarning() << "Data integrity wrong";
return;
}
- QStringList returnList;
- quint32 orderId;
+ std::vector<std::string> returnList;
+ QStringList returnListQt;
+ uint32_t orderId;
QDataStream in(clientList.at(index).data);
in.setVersion(QDataStream::Qt_4_4);
in >> orderId;
- in >> returnList;
+ in >> returnListQt;
+ {
+ int index=0;
+ while(index<returnListQt.size())
+ {
+ returnList.push_back(returnListQt.at(index).toStdString());
+ index++;
+ }
+ }
clientList[index].data.clear();
clientList[index].haveData=false;
if(clientList.at(index).queryNoReplied.contains(orderId))
@@ -299,10 +324,10 @@ void ServerCatchcopy::readyRead()
return;
}
clientList[index].queryNoReplied << orderId;
- if(!clientList.at(index).firstProtocolReplied && returnList.size()==2 && returnList.first()=="protocol")
+ if(!clientList.at(index).firstProtocolReplied && returnList.size()==2 && returnList.front()=="protocol")
{
clientList[index].firstProtocolReplied=true;
- protocolSupported(clientList.at(index).id,orderId,(returnList.last()==CATCHCOPY_PROTOCOL_VERSION));
+ protocolSupported(clientList.at(index).id,orderId,(returnList.back()==CATCHCOPY_PROTOCOL_VERSION));
}
else
parseInput(clientList.at(index).id,orderId,returnList);
@@ -322,7 +347,7 @@ void ServerCatchcopy::readyRead()
bool ServerCatchcopy::checkDataIntegrity(const QByteArray &data)
{
- quint32 orderId;
+ uint32_t orderId;
qint32 listSize;
QDataStream in(data);
in.setVersion(QDataStream::Qt_4_4);
@@ -346,7 +371,7 @@ bool ServerCatchcopy::checkDataIntegrity(const QByteArray &data)
}
if(stringSize>(in.device()->size()-in.device()->pos()))
{
- emit error(QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos()));
+ emit error(QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos()).toStdString());
return false;
}
in.device()->seek(in.device()->pos()+stringSize);
@@ -360,7 +385,7 @@ bool ServerCatchcopy::checkDataIntegrity(const QByteArray &data)
return true;
}
-void ServerCatchcopy::parseInput(const quint32 &client,const quint32 &orderId,const QStringList &returnList)
+void ServerCatchcopy::parseInput(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList)
{
const ServerCatchcopy::inputReturnType returnVal=parseInputCurrentProtocol(client,orderId,returnList);
switch(returnVal)
@@ -380,24 +405,24 @@ void ServerCatchcopy::parseInput(const quint32 &client,const quint32 &orderId,co
incorrectArgumentListSize(client,orderId);
break;
case UnknowOrder:
- emit error("Unknown query: "+QString::number(returnVal)+", with client: "+QString::number(client)+", orderId: "+QString::number(orderId)+", returnList: "+returnList.join(", "));
+ emit error("Unknown query: "+std::to_string(returnVal)+", with client: "+std::to_string(client)+", orderId: "+std::to_string(orderId)+", returnList: "+stringimplode2(returnList,", "));
qWarning() << "Unknown query";
unknowOrder(client,orderId);
break;
}
}
-ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(const quint32 &client,const quint32 &orderId,const QStringList &returnList)
+ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList)
{
if(returnList.size()==0)
return WrongArgumentListSize;
//if is supported
- QString firstArgument=returnList.first();
+ std::string firstArgument=returnList.front();
if(firstArgument=="protocol")
{
if(returnList.size()!=2)
return WrongArgumentListSize;
- emit askProtocolCompatibility(client,orderId,returnList.last());
+ emit askProtocolCompatibility(client,orderId,returnList.back());
return Ok;
}
else if(firstArgument=="protocol extension")
@@ -416,12 +441,12 @@ ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(cons
{
if(clientList.at(index).id==client)
{
- clientList[index].name=returnList.last();
+ clientList[index].name=returnList.back();
break;
}
index++;
}
- emit clientName(client,returnList.last());
+ emit clientName(client,returnList.back());
clientRegistered(client,orderId);
return Replied;
}
@@ -429,7 +454,7 @@ ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(cons
{
if(returnList.size()!=2)
return WrongArgumentListSize;
- if(returnList.last()!="name?")
+ if(returnList.back()!="name?")
return WrongArgument;
serverName(client,orderId,name);
return Replied;
@@ -438,18 +463,18 @@ ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(cons
{
if(returnList.size()<3)
return WrongArgumentListSize;
- QStringList sourceList=returnList;
- sourceList.removeFirst();
- sourceList.removeLast();
- emitNewCopy(client,orderId,sourceList,returnList.last());
+ std::vector<std::string> sourceList=returnList;
+ sourceList.erase(sourceList.cbegin());
+ sourceList.pop_back();
+ emitNewCopy(client,orderId,sourceList,returnList.back());
return Ok;
}
else if(firstArgument=="cp-?")
{
if(returnList.size()<2)
return WrongArgumentListSize;
- QStringList sourceList=returnList;
- sourceList.removeFirst();
+ std::vector<std::string> sourceList=returnList;
+ sourceList.erase(sourceList.cbegin());
emitNewCopyWithoutDestination(client,orderId,sourceList);
return Ok;
}
@@ -457,18 +482,18 @@ ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(cons
{
if(returnList.size()<3)
return WrongArgumentListSize;
- QStringList sourceList=returnList;
- sourceList.removeFirst();
- sourceList.removeLast();
- emitNewMove(client,orderId,sourceList,returnList.last());
+ std::vector<std::string> sourceList=returnList;
+ sourceList.erase(sourceList.cbegin());
+ sourceList.pop_back();
+ emitNewMove(client,orderId,sourceList,returnList.back());
return Ok;
}
else if(firstArgument=="mv-?")
{
if(returnList.size()<2)
return WrongArgumentListSize;
- QStringList sourceList=returnList;
- sourceList.removeFirst();
+ std::vector<std::string> sourceList=returnList;
+ sourceList.erase(sourceList.cbegin());
emitNewMoveWithoutDestination(client,orderId,sourceList);
return Ok;
}
@@ -476,7 +501,7 @@ ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(cons
return UnknowOrder;
}
-void ServerCatchcopy::emitNewCopyWithoutDestination(const quint32 &client,const quint32 &orderId,const QStringList &sources)
+void ServerCatchcopy::emitNewCopyWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources)
{
LinkGlobalToLocalClient newAssociation;
newAssociation.idClient=client;
@@ -486,7 +511,7 @@ void ServerCatchcopy::emitNewCopyWithoutDestination(const quint32 &client,const
emit newCopyWithoutDestination(newAssociation.globalOrderId,sources);
}
-void ServerCatchcopy::emitNewCopy(const quint32 &client,const quint32 &orderId,const QStringList &sources,const QString &destination)
+void ServerCatchcopy::emitNewCopy(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination)
{
LinkGlobalToLocalClient newAssociation;
newAssociation.idClient=client;
@@ -496,7 +521,7 @@ void ServerCatchcopy::emitNewCopy(const quint32 &client,const quint32 &orderId,c
emit newCopy(newAssociation.globalOrderId,sources,destination);
}
-void ServerCatchcopy::emitNewMoveWithoutDestination(const quint32 &client,const quint32 &orderId,const QStringList &sources)
+void ServerCatchcopy::emitNewMoveWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources)
{
LinkGlobalToLocalClient newAssociation;
newAssociation.idClient=client;
@@ -506,7 +531,7 @@ void ServerCatchcopy::emitNewMoveWithoutDestination(const quint32 &client,const
emit newMoveWithoutDestination(newAssociation.globalOrderId,sources);
}
-void ServerCatchcopy::emitNewMove(const quint32 &client,const quint32 &orderId,const QStringList &sources,const QString &destination)
+void ServerCatchcopy::emitNewMove(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination)
{
LinkGlobalToLocalClient newAssociation;
newAssociation.idClient=client;
@@ -516,7 +541,7 @@ void ServerCatchcopy::emitNewMove(const quint32 &client,const quint32 &orderId,c
emit newMove(newAssociation.globalOrderId,sources,destination);
}
-void ServerCatchcopy::copyFinished(const quint32 &globalOrderId,const bool &withError)
+void ServerCatchcopy::copyFinished(const uint32_t &globalOrderId,const bool &withError)
{
int index=0;
while(index<LinkGlobalToLocalClientList.size())
@@ -532,7 +557,7 @@ void ServerCatchcopy::copyFinished(const quint32 &globalOrderId,const bool &with
}
}
-void ServerCatchcopy::copyCanceled(const quint32 &globalOrderId)
+void ServerCatchcopy::copyCanceled(const uint32_t &globalOrderId)
{
int index=0;
while(index<LinkGlobalToLocalClientList.size())
@@ -548,12 +573,14 @@ void ServerCatchcopy::copyCanceled(const quint32 &globalOrderId)
}
}
-void ServerCatchcopy::reply(const quint32 &client,const quint32 &orderId,const quint32 &returnCode,const QString &returnString)
+void ServerCatchcopy::reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::string &returnString)
{
- reply(client,orderId,returnCode,QStringList() << returnString);
+ std::vector<std::string> returnList;
+ returnList.push_back(returnString);
+ reply(client,orderId,returnCode,returnList);
}
-void ServerCatchcopy::reply(const quint32 &client,const quint32 &orderId,const quint32 &returnCode,const QStringList &returnList)
+void ServerCatchcopy::reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::vector<std::string> &returnList)
{
int index=0;
while(index<clientList.size())
@@ -575,7 +602,16 @@ void ServerCatchcopy::reply(const quint32 &client,const quint32 &orderId,const q
out << int(0);
out << orderId;
out << returnCode;
- out << returnList;
+ QStringList returnListQt;
+ {
+ unsigned int index=0;
+ while(index<returnList.size())
+ {
+ returnListQt << QString::fromStdString(returnList.at(index));
+ index++;
+ }
+ }
+ out << returnListQt;
out.device()->seek(0);
out << block.size();
do
@@ -593,7 +629,7 @@ void ServerCatchcopy::reply(const quint32 &client,const quint32 &orderId,const q
}
if(clientList[index].socket->error()!=QLocalSocket::UnknownSocketError && clientList[index].socket->error()!=QLocalSocket::PeerClosedError)
{
- error_string="Error with socket: "+clientList[index].socket->errorString();
+ error_string="Error with socket: "+clientList[index].socket->errorString().toStdString();
emit error(error_string);
return;
}
@@ -618,7 +654,7 @@ void ServerCatchcopy::reply(const quint32 &client,const quint32 &orderId,const q
qWarning() << "Client id not found:" << client;
}
-void ServerCatchcopy::protocolSupported(const quint32 &client,const quint32 &orderId,const bool &value)
+void ServerCatchcopy::protocolSupported(const uint32_t &client,const uint32_t &orderId,const bool &value)
{
if(value)
reply(client,orderId,1000,"protocol supported");
@@ -626,27 +662,27 @@ void ServerCatchcopy::protocolSupported(const quint32 &client,const quint32 &ord
reply(client,orderId,5003,"protocol not supported");
}
-void ServerCatchcopy::incorrectArgumentListSize(const quint32 &client,const quint32 &orderId)
+void ServerCatchcopy::incorrectArgumentListSize(const uint32_t &client,const uint32_t &orderId)
{
reply(client,orderId,5000,"incorrect argument list size");
}
-void ServerCatchcopy::incorrectArgument(const quint32 &client,const quint32 &orderId)
+void ServerCatchcopy::incorrectArgument(const uint32_t &client,const uint32_t &orderId)
{
reply(client,orderId,5001,"incorrect argument");
}
-void ServerCatchcopy::clientRegistered(const quint32 &client,const quint32 &orderId)
+void ServerCatchcopy::clientRegistered(const uint32_t &client,const uint32_t &orderId)
{
reply(client,orderId,1003,"client registered");
}
-void ServerCatchcopy::serverName(const quint32 &client,const quint32 &orderId,const QString &name)
+void ServerCatchcopy::serverName(const uint32_t &client,const uint32_t &orderId,const std::string &name)
{
reply(client,orderId,1004,name);
}
-void ServerCatchcopy::copyFinished(const quint32 &client,const quint32 &orderId,const bool &withError)
+void ServerCatchcopy::copyFinished(const uint32_t &client,const uint32_t &orderId,const bool &withError)
{
if(!withError)
reply(client,orderId,1005,"finished");
@@ -654,12 +690,12 @@ void ServerCatchcopy::copyFinished(const quint32 &client,const quint32 &orderId,
reply(client,orderId,1006,"finished with error(s)");
}
-void ServerCatchcopy::copyCanceled(const quint32 &client,const quint32 &orderId)
+void ServerCatchcopy::copyCanceled(const uint32_t &client,const uint32_t &orderId)
{
reply(client,orderId,1007,"canceled");
}
-void ServerCatchcopy::unknowOrder(const quint32 &client,const quint32 &orderId)
+void ServerCatchcopy::unknowOrder(const uint32_t &client,const uint32_t &orderId)
{
reply(client,orderId,5002,"unknown order");
}
@@ -680,7 +716,7 @@ void ServerCatchcopy::checkTimeOut()
clientList.at(index).detectTimeOut->stop();
if(clientList.at(index).haveData)
{
- error_string="The client is too long to send the next part of the reply: "+clientList.at(index).data;
+ error_string="The client is too long to send the next part of the reply: "+QString(clientList.at(index).data.toHex()).toStdString();
clientList[index].haveData=false;
clientList[index].data.clear();
clientList.at(index).socket->disconnectFromServer();
@@ -692,7 +728,7 @@ void ServerCatchcopy::checkTimeOut()
}
}
-quint32 ServerCatchcopy::incrementOrderId()
+uint32_t ServerCatchcopy::incrementOrderId()
{
do
{
diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h
index 1314d73..85acff9 100644
--- a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h
+++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h
@@ -9,8 +9,8 @@
#include <QObject>
#include <QLocalSocket>
#include <QLocalServer>
-#include <QStringList>
-#include <QString>
+#include <vector>
+#include <string>
#include <QByteArray>
#include <QTimer>
@@ -28,54 +28,54 @@ class ServerCatchcopy : public QObject
/// \brief try close the server
void close();
/// \brief get the error string on the QLocalServer
- const QString errorStringServer() const;
+ const std::string errorStringServer() const;
/// \brief get the general error string
- const QString errorString() const;
+ const std::string errorString() const;
/// \brief set the name of the server
- void setName(const QString & name);
+ void setName(const std::string & name);
/// \brief get the name
- QString getName() const;
+ std::string getName() const;
/// \brief to get a client list
- QStringList clientsList() const;
+ std::vector<std::string> clientsList() const;
private:
- QString pathSocket;
- QString name;
- QString error_string;
+ std::string pathSocket;
+ std::string name;
+ std::string error_string;
QLocalServer server;
- quint32 idNextClient;
+ uint32_t idNextClient;
struct Client
{
- quint32 id;
+ uint32_t id;
QLocalSocket *socket;
QByteArray data;
bool haveData;
- quint32 dataSize;
+ uint32_t dataSize;
bool firstProtocolReplied;
- QList<quint32> queryNoReplied;
+ QList<uint32_t> queryNoReplied;
QTimer *detectTimeOut;
- QString name;
+ std::string name;
};
QList<Client> clientList;
struct LinkGlobalToLocalClient
{
- quint32 idClient;
- quint32 orderId;
- quint32 globalOrderId;
+ uint32_t idClient;
+ uint32_t orderId;
+ uint32_t globalOrderId;
};
QList<LinkGlobalToLocalClient> LinkGlobalToLocalClientList;
enum inputReturnType{Ok,Replied,ExtensionWrong,WrongArgument,WrongArgumentListSize,UnknowOrder};
- inputReturnType parseInputCurrentProtocol(const quint32 &client,const quint32 &orderId,const QStringList &returnList);
- bool clientIdFound(const quint32 &id) const;
- quint32 nextOrderId;
- QList<quint32> orderList;
- quint32 incrementOrderId();
- void emitNewCopyWithoutDestination(const quint32 &client,const quint32 &orderId,const QStringList &sources);
- void emitNewCopy(const quint32 &client,const quint32 &orderId,const QStringList &sources,const QString &destination);
- void emitNewMoveWithoutDestination(const quint32 &client,const quint32 &orderId,const QStringList &sources);
- void emitNewMove(const quint32 &client,const quint32 &orderId,const QStringList &sources,const QString &destination);
+ inputReturnType parseInputCurrentProtocol(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList);
+ bool clientIdFound(const uint32_t &id) const;
+ uint32_t nextOrderId;
+ QList<uint32_t> orderList;
+ uint32_t incrementOrderId();
+ void emitNewCopyWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources);
+ void emitNewCopy(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination);
+ void emitNewMoveWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources);
+ void emitNewMove(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination);
bool checkDataIntegrity(const QByteArray &data);
protected:
- void parseInput(const quint32 &client,const quint32 &orderId,const QStringList &returnList);
+ void parseInput(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList);
private slots:
void newConnection();
void connectionError(const QLocalSocket::LocalSocketError &error);
@@ -84,61 +84,61 @@ class ServerCatchcopy : public QObject
void checkTimeOut();
public slots:
/// \brief disconnect one client
- void disconnectClient(const quint32 &id);
- /// \brief reply to a client with QStringList
- void reply(const quint32 &client,const quint32 &orderId,const quint32 &returnCode,const QStringList &returnList);
+ void disconnectClient(const uint32_t &id);
+ /// \brief reply to a client with std::vector<std::string>
+ void reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::vector<std::string> &returnList);
/// \brief reply to a client
- void reply(const quint32 &client,const quint32 &orderId,const quint32 &returnCode,const QString &returnString);
+ void reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::string &returnString);
//reply
/// \brief send if the protocol is supported
- void protocolSupported(const quint32 &client,const quint32 &orderId,const bool &value);
+ void protocolSupported(const uint32_t &client,const uint32_t &orderId,const bool &value);
/// \brief send incorrect arguement list size
- void incorrectArgumentListSize(const quint32 &client,const quint32 &orderId);
+ void incorrectArgumentListSize(const uint32_t &client,const uint32_t &orderId);
/// \brief send incorrect arguement
- void incorrectArgument(const quint32 &client,const quint32 &orderId);
+ void incorrectArgument(const uint32_t &client,const uint32_t &orderId);
/// \brief the client is registred
- void clientRegistered(const quint32 &client,const quint32 &orderId);
+ void clientRegistered(const uint32_t &client,const uint32_t &orderId);
/// \brief send the server name
- void serverName(const quint32 &client,const quint32 &orderId,const QString &name);
+ void serverName(const uint32_t &client,const uint32_t &orderId,const std::string &name);
/// \brief send the copy is finished
- void copyFinished(const quint32 &client,const quint32 &orderId,const bool &withError);
+ void copyFinished(const uint32_t &client,const uint32_t &orderId,const bool &withError);
/// \brief send the copy is canceled
- void copyCanceled(const quint32 &client,const quint32 &orderId);
+ void copyCanceled(const uint32_t &client,const uint32_t &orderId);
/// \brief send the copy is finished by global is order
- void copyFinished(const quint32 &globalOrderId,const bool &withError);
+ void copyFinished(const uint32_t &globalOrderId,const bool &withError);
/// \brief send copy cancel by global is order
- void copyCanceled(const quint32 &globalOrderId);
+ void copyCanceled(const uint32_t &globalOrderId);
/// \brief send the unknow order
- void unknowOrder(const quint32 &client,const quint32 &orderId);
+ void unknowOrder(const uint32_t &client,const uint32_t &orderId);
signals:
/// \brief send connected client
- void connectedClient(const quint32 &id);
+ void connectedClient(const uint32_t &id);
/// \brief send disconnect client
- void disconnectedClient(const quint32 &id);
+ void disconnectedClient(const uint32_t &id);
/// \brief have new query
- void newQuery(const quint32 &client,const quint32 &orderId,const QStringList &returnList);
+ void newQuery(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList);
/// \brief have new error
- void error(const QString &error);
- void communicationError(const QString &error);
+ void error(const std::string &error);
+ void communicationError(const std::string &error);
//query
/// \brief ask the protocol compatility
- void askProtocolCompatibility(const quint32 &client,const quint32 &orderId,const QString &version);
+ void askProtocolCompatibility(const uint32_t &client,const uint32_t &orderId,const std::string &version);
/// \brief ask protocol extension
- void askProtocolExtension(const quint32 &client,const quint32 &orderId,const QString &extension);
+ void askProtocolExtension(const uint32_t &client,const uint32_t &orderId,const std::string &extension);
/// \brief ask protocol extension with version
- void askProtocolExtension(const quint32 &client,const quint32 &orderId,const QString &extension,const QString &version);
+ void askProtocolExtension(const uint32_t &client,const uint32_t &orderId,const std::string &extension,const std::string &version);
/// \brief send the client name, without query id
- void clientName(const quint32 &client,const QString &name);
+ void clientName(const uint32_t &client,const std::string &name);
/// \brief send the client have ask the server name
- void askServerName(const quint32 &client,const quint32 &orderId);
+ void askServerName(const uint32_t &client,const uint32_t &orderId);
/// \brief copy is send, by globalOrderId, without destination
- void newCopyWithoutDestination(const quint32 &globalOrderId,const QStringList &sources);
+ void newCopyWithoutDestination(const uint32_t &globalOrderId,const std::vector<std::string> &sources);
/// \brief copy is send, by globalOrderId, with destination
- void newCopy(const quint32 &globalOrderId,const QStringList &sources,const QString &destination);
+ void newCopy(const uint32_t &globalOrderId,const std::vector<std::string> &sources,const std::string &destination);
/// \brief move is send, by globalOrderId, without destination
- void newMoveWithoutDestination(const quint32 &globalOrderId,const QStringList &sources);
+ void newMoveWithoutDestination(const uint32_t &globalOrderId,const std::vector<std::string> &sources);
/// \brief move is send, by globalOrderId, with destination
- void newMove(const quint32 &globalOrderId,const QStringList &sources,const QString &destination);
+ void newMove(const uint32_t &globalOrderId,const std::vector<std::string> &sources,const std::string &destination);
};
#endif // SERVERCATCHCOPY_H
diff --git a/plugins/Listener/catchcopy-v0002/documentation.dox b/plugins/Listener/catchcopy-v0002/documentation.dox
index b143ecc..51aa937 100644
--- a/plugins/Listener/catchcopy-v0002/documentation.dox
+++ b/plugins/Listener/catchcopy-v0002/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Protocol
@@ -30,4 +30,3 @@
The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4.
*/
-
diff --git a/plugins/Listener/catchcopy-v0002/informations.xml b/plugins/Listener/catchcopy-v0002/informations.xml
index bc0efc6..b98adc2 100644
--- a/plugins/Listener/catchcopy-v0002/informations.xml
+++ b/plugins/Listener/catchcopy-v0002/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Listener for catchcopy v0002. Allow to receive copy list from plugin/explorer compatible with catchcopy.]]></description>
<description xml:lang="fr"><![CDATA[Écouteur pour catchcopy v0002. Permet de recevoir un liste de copie venant d'un plugin/explorateur avec catchcopy.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>catchcopy-v0002</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Listener/catchcopy-v0002/listener.cpp b/plugins/Listener/catchcopy-v0002/listener.cpp
index 55c254b..e45a08b 100644
--- a/plugins/Listener/catchcopy-v0002/listener.cpp
+++ b/plugins/Listener/catchcopy-v0002/listener.cpp
@@ -1,9 +1,10 @@
#include "listener.h"
#include "catchcopy-api-0002/ExtraSocketCatchcopy.h"
+#include "../../../cpp11addition.h"
Listener::Listener()
{
- server.setName(tr("Ultracopier"));
+ server.setName(tr("Ultracopier").toStdString());
connect(&server,&ServerCatchcopy::newCopyWithoutDestination, this,&Listener::copyWithoutDestination);
connect(&server,&ServerCatchcopy::newCopy, this,&Listener::copy);
connect(&server,&ServerCatchcopy::newMoveWithoutDestination, this,&Listener::moveWithoutDestination);
@@ -19,7 +20,7 @@ Listener::Listener()
void Listener::listen()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start: %1").arg(ExtraSocketCatchcopy::pathSocket()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+ExtraSocketCatchcopy::pathSocket());
if(server.listen())
emit newState(Ultracopier::FullListening);
else
@@ -32,12 +33,12 @@ void Listener::close()
emit newState(Ultracopier::NotListening);
}
-const QString Listener::errorString() const
+const std::string Listener::errorString() const
{
return server.errorString();
}
-void Listener::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion)
+void Listener::setResources(OptionInterface * options, const std::string &writePath, const std::string &pluginPath, const bool &portableVersion)
{
Q_UNUSED(options);
Q_UNUSED(writePath);
@@ -52,20 +53,20 @@ QWidget * Listener::options()
}
/// \brief to get a client list
-QStringList Listener::clientsList() const
+std::vector<std::string> Listener::clientsList() const
{
return server.clientsList();
}
-void Listener::transferFinished(const quint32 &orderId,const bool &withError)
+void Listener::transferFinished(const uint32_t &orderId, const bool &withError)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, orderId: "+QString::number(orderId)+", withError: "+QString::number(withError));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, orderId: "+std::to_string(orderId)+", withError: "+std::to_string(withError));
server.copyFinished(orderId,withError);
}
-void Listener::transferCanceled(const quint32 &orderId)
+void Listener::transferCanceled(const uint32_t &orderId)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, orderId: "+QString::number(orderId));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, orderId: "+std::to_string(orderId));
server.copyCanceled(orderId);
}
@@ -74,45 +75,49 @@ void Listener::newLanguageLoaded()
{
}
-void Listener::errorInternal(const QString &string)
+void Listener::errorInternal(const std::string &string)
{
Q_UNUSED(string);
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"warning emited from Catchcopy lib: "+string);
}
-void Listener::communicationErrorInternal(const QString &string)
+void Listener::communicationErrorInternal(const std::string &string)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"warning emited from Catchcopy lib: "+string);
emit error(string);
}
-void Listener::clientName(quint32 client,QString name)
+void Listener::clientName(uint32_t client,std::string name)
{
Q_UNUSED(client);
Q_UNUSED(name);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("clientName: %1, for the id: %2").arg(name).arg(client));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("clientName: %1, for the id: %2").arg(QString::fromStdString(name)).arg(client).toStdString());
}
-void Listener::copyWithoutDestination(const quint32 &orderId,const QStringList &sources)
+void Listener::copyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("copyWithoutDestination(%1,%2)").arg(orderId).arg(sources.join(";")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("copyWithoutDestination(%1,%2)")
+ .arg(orderId)
+ .arg(QString::fromStdString(stringimplode(sources,";")))
+ .toStdString()
+ );
emit newCopyWithoutDestination(orderId,sources);
}
-void Listener::copy(const quint32 &orderId,const QStringList &sources,const QString &destination)
+void Listener::copy(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("copy(%1,%2,%3)").arg(orderId).arg(sources.join(";")).arg(destination));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("copy(%1,%2,%3)").arg(orderId).arg(QString::fromStdString(stringimplode(sources,";")).arg(QString::fromStdString(destination))).toStdString());
emit newCopy(orderId,sources,destination);
}
-void Listener::moveWithoutDestination(const quint32 &orderId,const QStringList &sources)
+void Listener::moveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("moveWithoutDestination(%1,%2)").arg(orderId).arg(sources.join(";")));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("moveWithoutDestination(%1,%2)").arg(orderId).arg(QString::fromStdString(stringimplode(sources,";"))).toStdString());
emit newMoveWithoutDestination(orderId,sources);
}
-void Listener::move(const quint32 &orderId,const QStringList &sources,const QString &destination)
+void Listener::move(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("move(%1,%2,%3)").arg(orderId).arg(sources.join(";")).arg(destination));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("move(%1,%2,%3)").arg(orderId).arg(QString::fromStdString(stringimplode(sources,";")).arg(QString::fromStdString(destination))).toStdString());
emit newMove(orderId,sources,destination);
}
diff --git a/plugins/Listener/catchcopy-v0002/listener.h b/plugins/Listener/catchcopy-v0002/listener.h
index 8956abc..8cab248 100644
--- a/plugins/Listener/catchcopy-v0002/listener.h
+++ b/plugins/Listener/catchcopy-v0002/listener.h
@@ -6,7 +6,7 @@
#ifndef SERVER_H
#define SERVER_H
-#include <QString>
+#include <string>
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
#include <QtPlugin>
#endif
@@ -30,30 +30,30 @@ public:
/// \brief stop listen to copy/move
void close();
/// \brief return the error strong
- const QString errorString() const;
+ const std::string errorString() const;
/// \brief set resources for this plugins
- void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion);
+ void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion);
/// \brief to get the options widget, NULL if not have
QWidget * options();
/// \brief to get a client list
- QStringList clientsList() const;
+ std::vector<std::string> clientsList() const;
public slots:
/// \brief say to the client that's the copy/move is finished
- void transferFinished(const quint32 &orderId,const bool &withError);
+ void transferFinished(const uint32_t &orderId,const bool &withError);
/// \brief say to the client that's the copy/move is finished
- void transferCanceled(const quint32 &orderId);
+ void transferCanceled(const uint32_t &orderId);
/// \brief to reload the translation, because the new language have been loaded
void newLanguageLoaded();
private:
ServerCatchcopy server;
private slots:
- void errorInternal(const QString &string);
- void communicationErrorInternal(const QString &string);
- void clientName(quint32 client,QString name);
- void copyWithoutDestination(const quint32 &orderId,const QStringList &sources);
- void copy(const quint32 &orderId,const QStringList &sources,const QString &destination);
- void moveWithoutDestination(const quint32 &orderId,const QStringList &sources);
- void move(const quint32 &orderId,const QStringList &sources,const QString &destination);
+ void errorInternal(const std::string &string);
+ void communicationErrorInternal(const std::string &string);
+ void clientName(uint32_t client,std::string name);
+ void copyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources);
+ void copy(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination);
+ void moveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources);
+ void move(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination);
};
#endif // SERVER_H
diff --git a/plugins/Listener/catchcopy-v0002/listener.pro b/plugins/Listener/catchcopy-v0002/listener.pro
index f1706c5..b21289a 100644
--- a/plugins/Listener/catchcopy-v0002/listener.pro
+++ b/plugins/Listener/catchcopy-v0002/listener.pro
@@ -6,16 +6,21 @@ TEMPLATE = lib
CONFIG += plugin
QT += network
win32:LIBS += -ladvapi32
-HEADERS = listener.h \
- catchcopy-api-0002/VariablesCatchcopy.h \
- catchcopy-api-0002/ServerCatchcopy.h \
- catchcopy-api-0002/ExtraSocketCatchcopy.h \
- Environment.h \
- Variable.h \
- DebugEngineMacro.h \
- StructEnumDefinition.h \
- ../../../interface/PluginInterface_Listener.h
-SOURCES = listener.cpp \
- catchcopy-api-0002/ServerCatchcopy.cpp \
- catchcopy-api-0002/ExtraSocketCatchcopy.cpp
+HEADERS = \
+ $$PWD/listener.h \
+ $$PWD/catchcopy-api-0002/VariablesCatchcopy.h \
+ $$PWD/catchcopy-api-0002/ServerCatchcopy.h \
+ $$PWD/catchcopy-api-0002/ExtraSocketCatchcopy.h \
+ $$PWD/Environment.h \
+ $$PWD/Variable.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/../../../interface/PluginInterface_Listener.h \
+ $$PWD/../../../cpp11addition.h
+SOURCES = \
+ $$PWD/listener.cpp \
+ $$PWD/catchcopy-api-0002/ServerCatchcopy.cpp \
+ $$PWD/catchcopy-api-0002/ExtraSocketCatchcopy.cpp \
+ $$PWD/../../../cpp11addition.cpp \
+ $$PWD/../../../cpp11additionstringtointcpp.cpp
TARGET = $$qtLibraryTarget(listener)
diff --git a/plugins/Listener/dbus/listener.pro b/plugins/Listener/dbus/listener.pro
deleted file mode 100644
index 59abd12..0000000
--- a/plugins/Listener/dbus/listener.pro
+++ /dev/null
@@ -1,13 +0,0 @@
-TEMPLATE = lib
-CONFIG += plugin
-QT += network dbus
-HEADERS = listener.h \
- Environment.h \
- Variable.h \
- DebugEngineMacro.h \
- StructEnumDefinition.h \
- ../../../interface/PluginInterface_Listener.h \
- Catchcopy.h
-SOURCES = listener.cpp \
- Catchcopy.cpp
-TARGET = $$qtLibraryTarget(listener)
diff --git a/plugins/PluginLoader/catchcopy-v0002/documentation.dox b/plugins/PluginLoader/catchcopy-v0002/documentation.dox
index 08ccc4a..b9c9d13 100644
--- a/plugins/PluginLoader/catchcopy-v0002/documentation.dox
+++ b/plugins/PluginLoader/catchcopy-v0002/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Requirements
@@ -31,4 +31,3 @@
The code source is under GPL3.
*/
-
diff --git a/plugins/PluginLoader/catchcopy-v0002/informations.xml b/plugins/PluginLoader/catchcopy-v0002/informations.xml
index 0b62f30..9257d3a 100644
--- a/plugins/PluginLoader/catchcopy-v0002/informations.xml
+++ b/plugins/PluginLoader/catchcopy-v0002/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Plugin loader for catchcopy v0002. Allow to receive copy list from plugin/explorer compatible with catchcopy.]]></description>
<description xml:lang="fr"><![CDATA[Chargeur de plugin pour catchcopy v0002. Permet de recevoir un liste de copie venant d'un plugin/explorateur avec catchcopy.]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>catchcopy-v0002</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp
index 2009e0a..363f372 100644
--- a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp
+++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp
@@ -4,6 +4,7 @@
#include "pluginLoader.h"
#include "PlatformMacro.h"
+#include "../../../cpp11addition.h"
#include <QFile>
#include <QDir>
@@ -74,7 +75,7 @@ void WindowsExplorerLoader::setEnabled(const bool &needBeRegistred)
}
if(this->needBeRegistred==needBeRegistred)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Double event dropped: %1").arg(needBeRegistred));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Double event dropped: %1").arg(needBeRegistred).toStdString());
if(needBeRegistred)
emit newState(Ultracopier::Caught);
else
@@ -82,14 +83,14 @@ void WindowsExplorerLoader::setEnabled(const bool &needBeRegistred)
return;
}
this->needBeRegistred=needBeRegistred;
- int index=0;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, needBeRegistred: %1, allDllIsImportant: %2").arg(needBeRegistred).arg(allDllIsImportant));
+ unsigned int index=0;
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, needBeRegistred: %1, allDllIsImportant: %2").arg(needBeRegistred).arg(allDllIsImportant).toStdString());
bool oneHaveFound=false;
index=0;
while(index<importantDll.size())
{
- if(QFile::exists(pluginPath+importantDll.at(index)))
+ if(QFile::exists(QString::fromStdString(pluginPath+importantDll.at(index))))
{
oneHaveFound=true;
break;
@@ -101,7 +102,7 @@ void WindowsExplorerLoader::setEnabled(const bool &needBeRegistred)
index=0;
while(index<secondDll.size())
{
- if(QFile::exists(pluginPath+secondDll.at(index)))
+ if(QFile::exists(QString::fromStdString(pluginPath+secondDll.at(index))))
{
oneHaveFound=true;
break;
@@ -111,7 +112,7 @@ void WindowsExplorerLoader::setEnabled(const bool &needBeRegistred)
}
if(!oneHaveFound)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("No dll have found"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"No dll have found");
emit newState(Ultracopier::Uncaught);
if(!needBeRegistred)
correctlyLoaded.clear();
@@ -128,7 +129,7 @@ void WindowsExplorerLoader::setEnabled(const bool &needBeRegistred)
!(
(needBeRegistred)
||
- (!needBeRegistred && correctlyLoaded.contains(importantDll.at(index)))
+ (!needBeRegistred && correctlyLoaded.find(importantDll.at(index))!=correctlyLoaded.cend())
)
))
{
@@ -155,7 +156,7 @@ void WindowsExplorerLoader::setEnabled(const bool &needBeRegistred)
!(
(needBeRegistred && allDllIsImportant)
||
- (!needBeRegistred && correctlyLoaded.contains(secondDll.at(index)))
+ (!needBeRegistred && correctlyLoaded.find(secondDll.at(index))!=correctlyLoaded.cend())
)
))
{
@@ -234,25 +235,29 @@ bool WindowsExplorerLoader::checkExistsDll()
if(is64Bits)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"64Bits is important");
- importantDll << CATCHCOPY_DLL_64;
- secondDll << CATCHCOPY_DLL_32;
+ importantDll.push_back(CATCHCOPY_DLL_64);
+ secondDll.push_back(CATCHCOPY_DLL_32);
}
else
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"32Bits is important");
- importantDll << CATCHCOPY_DLL_32;
- secondDll << CATCHCOPY_DLL_64;
+ importantDll.push_back(CATCHCOPY_DLL_32);
+ secondDll.push_back(CATCHCOPY_DLL_64);
}
- int index=0;
+ unsigned int index=0;
while(index<importantDll.size())
{
- if(!QFile::exists(pluginPath+importantDll.at(index)+NORMAL_EXT))
+ if(!QFile::exists(QString::fromStdString(pluginPath+importantDll.at(index)+NORMAL_EXT)))
{
- if(!QFile::exists(pluginPath+importantDll.at(index)+SECOND_EXT))
+ if(!QFile::exists(QString::fromStdString(pluginPath+importantDll.at(index)+SECOND_EXT)))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("file not found, drop to the list: %1 and %2").arg(pluginPath+importantDll.at(index)+NORMAL_EXT).arg(pluginPath+importantDll.at(index)+SECOND_EXT));
- importantDll.removeAt(index);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"file not found, drop to the list: "+
+ pluginPath+importantDll.at(index)+NORMAL_EXT+
+ " and "+
+ pluginPath+importantDll.at(index)+SECOND_EXT
+ );
+ importantDll.erase(importantDll.cbegin()+index);
index--;
}
else
@@ -265,12 +270,15 @@ bool WindowsExplorerLoader::checkExistsDll()
index=0;
while(index<secondDll.size())
{
- if(!QFile::exists(pluginPath+secondDll.at(index)+NORMAL_EXT))
+ if(!QFile::exists(QString::fromStdString(pluginPath+secondDll.at(index)+NORMAL_EXT)))
{
- if(!QFile::exists(pluginPath+secondDll.at(index)+SECOND_EXT))
+ if(!QFile::exists(QString::fromStdString(pluginPath+secondDll.at(index)+SECOND_EXT)))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("file not found, drop to the list: %1 and %2").arg(pluginPath+secondDll.at(index)+NORMAL_EXT).arg(pluginPath+secondDll.at(index)+SECOND_EXT));
- secondDll.removeAt(index);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,
+ "file not found, drop to the list: "+pluginPath+secondDll.at(index)+NORMAL_EXT+
+ " and "+pluginPath+secondDll.at(index)+SECOND_EXT
+ );
+ secondDll.erase(secondDll.cbegin()+index);
index--;
}
else
@@ -286,49 +294,49 @@ bool WindowsExplorerLoader::checkExistsDll()
return false;
}
-void WindowsExplorerLoader::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion)
+void WindowsExplorerLoader::setResources(OptionInterface * options, const std::string &writePath, const std::string &pluginPath, const bool &portableVersion)
{
Q_UNUSED(options);
Q_UNUSED(writePath);
Q_UNUSED(pluginPath);
Q_UNUSED(portableVersion);
#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE
- this->pluginPath=QCoreApplication::applicationDirPath()+"/";
+ this->pluginPath=QCoreApplication::applicationDirPath().toStdString()+"/";
#else
this->pluginPath=pluginPath;
#endif
this->optionsEngine=options;
if(optionsEngine!=NULL)
{
- QList<QPair<QString, QVariant> > KeysList;
- KeysList.append(qMakePair(QStringLiteral("allDllIsImportant"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("Debug"),QVariant(false)));
+ std::vector<std::pair<std::string, std::string> > KeysList;
+ KeysList.push_back(std::pair<std::string, std::string>("allDllIsImportant","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("Debug","false"));
optionsEngine->addOptionGroup(KeysList);
- allDllIsImportant=optionsEngine->getOptionValue("allDllIsImportant").toBool();
- Debug=optionsEngine->getOptionValue("Debug").toBool();
+ allDllIsImportant=stringtobool(optionsEngine->getOptionValue("allDllIsImportant"));
+ Debug=stringtobool(optionsEngine->getOptionValue("Debug"));
optionsWidget->setAllDllIsImportant(allDllIsImportant);
optionsWidget->setDebug(Debug);
}
}
-bool WindowsExplorerLoader::RegisterShellExtDll(const QString &dllPath, const bool &bRegister,const bool &quiet)
+bool WindowsExplorerLoader::RegisterShellExtDll(const std::string &dllPath, const bool &bRegister, const bool &quiet)
{
if(Debug)
{
- QString message;
+ std::string message;
if(bRegister)
- message+=QStringLiteral("Try load the dll: %1, and ").arg(dllPath);
+ message+="Try load the dll: %1, and "+dllPath;
else
- message+=QStringLiteral("Try unload the dll: %1, and ").arg(dllPath);
+ message+="Try unload the dll: %1, and "+dllPath;
if(quiet)
- message+=QStringLiteral("don't open the UAC");
+ message+="don't open the UAC";
else
- message+=QStringLiteral("open the UAC if needed");
- QMessageBox::information(NULL,"Debug",message);
+ message+="open the UAC if needed";
+ QMessageBox::information(NULL,"Debug",QString::fromStdString(message));
}
- if(bRegister && correctlyLoaded.contains(dllPath))
+ if(bRegister && correctlyLoaded.find(dllPath)!=correctlyLoaded.cend())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Try dual load: %1").arg(dllPath));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Try dual load: "+dllPath);
return false;
}
////////////////////////////// First way to load //////////////////////////////
@@ -337,8 +345,8 @@ bool WindowsExplorerLoader::RegisterShellExtDll(const QString &dllPath, const bo
arguments.append("/s");
if(!bRegister)
arguments.append("/u");
- arguments.append(dllPath);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: regsvr32 "+arguments.join(" "));
+ arguments.append(QString::fromStdString(dllPath));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: regsvr32 "+arguments.join(" ").toStdString());
int result;
#ifdef Q_OS_WIN32
QProcess process;
@@ -353,9 +361,9 @@ bool WindowsExplorerLoader::RegisterShellExtDll(const QString &dllPath, const bo
QString out=QString::fromLocal8Bit(process.readAllStandardOutput());
QString outError=QString::fromLocal8Bit(process.readAllStandardError());
if(!out.isEmpty())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 output: "+out);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 output: "+out.toStdString());
if(!outError.isEmpty())
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 error output: "+outError);
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 error output: "+outError.toStdString());
}
#else
result=0;
@@ -364,14 +372,14 @@ bool WindowsExplorerLoader::RegisterShellExtDll(const QString &dllPath, const bo
if(result==0)
{
if(bRegister)
- correctlyLoaded << dllPath;
+ correctlyLoaded.insert(dllPath);
ok=true;
}
#if ! defined(_M_X64)
if(result==999 && !changeOfArchDetected)//code of wrong arch for the dll
{
changeOfArchDetected=true;
- QStringList temp;
+ std::vector<std::string> temp;
temp = importantDll;
secondDll = importantDll;
importantDll = temp;
@@ -380,7 +388,7 @@ bool WindowsExplorerLoader::RegisterShellExtDll(const QString &dllPath, const bo
#endif
if(result==5)
{
- if(!quiet || (!bRegister && correctlyLoaded.contains(dllPath)))
+ if(!quiet || (!bRegister && correctlyLoaded.find(dllPath)!=correctlyLoaded.cend()))
{
arguments.last()=QStringLiteral("\"%1\"").arg(arguments.last());
////////////////////////////// Last way to load //////////////////////////////
@@ -398,7 +406,7 @@ bool WindowsExplorerLoader::RegisterShellExtDll(const QString &dllPath, const bo
sei.fMask = SEE_MASK_UNICODE;
sei.lpVerb = TEXT("runas");
sei.lpFile = TEXT("regsvr32.exe");
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"in win32 mode: arrayArg: "+QString::fromWCharArray(arrayArg,size_lenght));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"in win32 mode: arrayArg: "+QString::fromWCharArray(arrayArg,size_lenght).toStdString());
sei.lpParameters = arrayArg;
sei.nShow = SW_SHOW;
ok=ShellExecuteEx(&sei);
@@ -406,15 +414,15 @@ bool WindowsExplorerLoader::RegisterShellExtDll(const QString &dllPath, const bo
ok=true;
#endif
if(ok && bRegister)
- correctlyLoaded << dllPath;
+ correctlyLoaded.insert(dllPath);
}
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"not try because need be quiet: "+dllPath);
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("regsvr32 terminated with: %1").arg(result));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 terminated with: "+std::to_string(result));
if(!bRegister)
- correctlyLoaded.remove(dllPath);
+ correctlyLoaded.erase(dllPath);
return ok;
}
@@ -432,11 +440,11 @@ void WindowsExplorerLoader::newLanguageLoaded()
void WindowsExplorerLoader::setAllDllIsImportant(bool allDllIsImportant)
{
this->allDllIsImportant=allDllIsImportant;
- optionsEngine->setOptionValue("allDllIsImportant",allDllIsImportant);
+ optionsEngine->setOptionValue("allDllIsImportant",std::to_string(allDllIsImportant));
}
void WindowsExplorerLoader::setDebug(bool Debug)
{
this->Debug=Debug;
- optionsEngine->setOptionValue("Debug",Debug);
+ optionsEngine->setOptionValue("Debug",std::to_string(Debug));
}
diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h
index 0246cd1..d18248d 100644
--- a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h
+++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h
@@ -8,6 +8,7 @@
#include <QObject>
#include <QMessageBox>
+#include <unordered_set>
#include <QString>
#include <QStringList>
@@ -29,7 +30,7 @@
class WindowsExplorerLoader : public PluginInterface_PluginLoader
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.PluginLoader/1.0.0.0" FILE "plugin.json")
+ Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.PluginLoader/1.2.4.0" FILE "plugin.json")
Q_INTERFACES(PluginInterface_PluginLoader)
public:
WindowsExplorerLoader();
@@ -37,17 +38,17 @@ public:
/// \brief try enable/disable the catching
void setEnabled(const bool &needBeRegistred);
/// \brief to set resources, writePath can be empty if read only mode
- void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion);
+ void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion);
/// \brief to get the options widget, NULL if not have
QWidget * options();
public slots:
/// \brief to reload the translation, because the new language have been loaded
void newLanguageLoaded();
private:
- QString pluginPath;
- QStringList importantDll,secondDll;
- QSet<QString> correctlyLoaded;
- bool RegisterShellExtDll(const QString &dllPath, const bool &bRegister,const bool &quiet);
+ std::string pluginPath;
+ std::vector<std::string> importantDll,secondDll;
+ std::unordered_set<std::string> correctlyLoaded;
+ bool RegisterShellExtDll(const std::string &dllPath, const bool &bRegister,const bool &quiet);
bool checkExistsDll();
bool dllChecked;
bool needBeRegistred;
diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro
index 0d11721..40d5e5e 100644
--- a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro
+++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro
@@ -6,45 +6,48 @@ QT += widgets
TEMPLATE = lib
CONFIG += plugin
HEADERS = \
- StructEnumDefinition.h \
- pluginLoader.h \
- DebugEngineMacro.h \
- Environment.h \
- Variable.h \
- PlatformMacro.h \
- ../../../interface/PluginInterface_PluginLoader.h \
- OptionsWidget.h
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/pluginLoader.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/Environment.h \
+ $$PWD/Variable.h \
+ $$PWD/PlatformMacro.h \
+ $$PWD/../../../interface/PluginInterface_PluginLoader.h \
+ $$PWD/../../../cpp11addition.h \
+ $$PWD/OptionsWidget.h
SOURCES = \
- pluginLoader.cpp \
- OptionsWidget.cpp
+ $$PWD/pluginLoader.cpp \
+ $$PWD/OptionsWidget.cpp \
+ $$PWD/../../../cpp11addition.cpp \
+ $$PWD/../../../cpp11additionstringtointcpp.cpp
TARGET = $$qtLibraryTarget(pluginLoader)
-TRANSLATIONS += Languages/ar/translation.ts \
- Languages/de/translation.ts \
- Languages/el/translation.ts \
- Languages/en/translation.ts \
- Languages/es/translation.ts \
- Languages/fr/translation.ts \
- Languages/hi/translation.ts \
- Languages/hu/translation.ts \
- Languages/id/translation.ts \
- Languages/it/translation.ts \
- Languages/ja/translation.ts \
- Languages/ko/translation.ts \
- Languages/nl/translation.ts \
- Languages/no/translation.ts \
- Languages/pl/translation.ts \
- Languages/pt/translation.ts \
- Languages/ru/translation.ts \
- Languages/th/translation.ts \
- Languages/tr/translation.ts \
- Languages/zh/translation.ts
+TRANSLATIONS += \
+ $$PWD/Languages/ar/translation.ts \
+ $$PWD/Languages/de/translation.ts \
+ $$PWD/Languages/el/translation.ts \
+ $$PWD/Languages/en/translation.ts \
+ $$PWD/Languages/es/translation.ts \
+ $$PWD/Languages/fr/translation.ts \
+ $$PWD/Languages/hi/translation.ts \
+ $$PWD/Languages/hu/translation.ts \
+ $$PWD/Languages/id/translation.ts \
+ $$PWD/Languages/it/translation.ts \
+ $$PWD/Languages/ja/translation.ts \
+ $$PWD/Languages/ko/translation.ts \
+ $$PWD/Languages/nl/translation.ts \
+ $$PWD/Languages/no/translation.ts \
+ $$PWD/Languages/pl/translation.ts \
+ $$PWD/Languages/pt/translation.ts \
+ $$PWD/Languages/ru/translation.ts \
+ $$PWD/Languages/th/translation.ts \
+ $$PWD/Languages/tr/translation.ts \
+ $$PWD/Languages/zh/translation.ts
win32:LIBS += -lole32 -lshell32
FORMS += \
- OptionsWidget.ui
+ $$PWD/OptionsWidget.ui
CONFIG(static, static|shared) {
DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
}
-
diff --git a/plugins/SessionLoader/KDE4/DebugEngineMacro.h b/plugins/SessionLoader/KDE4/DebugEngineMacro.h
deleted file mode 100644
index 4582010..0000000
--- a/plugins/SessionLoader/KDE4/DebugEngineMacro.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/** \file DebugEngineMacro.h
-\brief Define the macro for the debug
-\author alpha_one_x86
-\licence GPL3, see the file COPYING */
-
-#ifndef DEBUGENGINEMACRO_H
-#define DEBUGENGINEMACRO_H
-
-#ifdef WIN32
-# define __func__ __FUNCTION__
-#endif
-
-/// \brief Macro for the debug log
-#ifdef ULTRACOPIER_PLUGIN_DEBUG
- #if defined (__FILE__) && defined (__LINE__)
- #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__)
- #else
- #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b)
- #endif
-#else // ULTRACOPIER_DEBUG
- #define ULTRACOPIER_DEBUGCONSOLE(a,b) void()
-#endif // ULTRACOPIER_DEBUG
-
-#endif // DEBUGENGINEMACRO_H
-
-
-
-
diff --git a/plugins/SessionLoader/KDE4/Environment.h b/plugins/SessionLoader/KDE4/Environment.h
deleted file mode 100644
index 265a5a6..0000000
--- a/plugins/SessionLoader/KDE4/Environment.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/** \file Environment.h
-\brief Define the environment variable and global function
-\author alpha_one_x86
-\licence GPL3, see the file COPYING */
-
-#include "Variable.h"
-/// \brief The global include
-#include "StructEnumDefinition.h"
-#include "DebugEngineMacro.h"
-
diff --git a/plugins/SessionLoader/KDE4/StructEnumDefinition.h b/plugins/SessionLoader/KDE4/StructEnumDefinition.h
deleted file mode 100644
index c1758f4..0000000
--- a/plugins/SessionLoader/KDE4/StructEnumDefinition.h
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../../StructEnumDefinition.h"
diff --git a/plugins/SessionLoader/KDE4/Variable.h b/plugins/SessionLoader/KDE4/Variable.h
deleted file mode 100644
index 963d0c8..0000000
--- a/plugins/SessionLoader/KDE4/Variable.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/** \file Variable.h
-\brief Define the environment variable
-\author alpha_one_x86
-\licence GPL3, see the file COPYING */
-
-#ifndef VARIABLE_H
-#define VARIABLE_H
-
-//Un-comment this next line to put ultracopier plugin in debug mode
-#define ULTRACOPIER_PLUGIN_DEBUG
-
-#endif // VARIABLE_H
-
-
-
diff --git a/plugins/SessionLoader/KDE4/plugin.json b/plugins/SessionLoader/KDE4/plugin.json
deleted file mode 100644
index 9e26dfe..0000000
--- a/plugins/SessionLoader/KDE4/plugin.json
+++ /dev/null
@@ -1 +0,0 @@
-{} \ No newline at end of file
diff --git a/plugins/SessionLoader/KDE4/sessionLoader.pro.user.2.7pre1 b/plugins/SessionLoader/KDE4/sessionLoader.pro.user.2.7pre1
deleted file mode 100644
index 7741b0d..0000000
--- a/plugins/SessionLoader/KDE4/sessionLoader.pro.user.2.7pre1
+++ /dev/null
@@ -1,208 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE QtCreatorProject>
-<!-- Written by Qt Creator 2.6.2, 2013-03-18T13:36:56. -->
-<qtcreator>
- <data>
- <variable>ProjectExplorer.Project.ActiveTarget</variable>
- <value type="int">0</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.EditorSettings</variable>
- <valuemap type="QVariantMap">
- <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
- <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
- <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
- <value type="QString" key="language">Cpp</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QString" key="CurrentPreferences">CppGlobal</value>
- </valuemap>
- </valuemap>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
- <value type="QString" key="language">QmlJS</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
- </valuemap>
- </valuemap>
- <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
- <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
- <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
- <value type="int" key="EditorConfiguration.IndentSize">4</value>
- <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
- <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
- <value type="int" key="EditorConfiguration.PaddingMode">1</value>
- <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
- <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
- <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
- <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
- <value type="int" key="EditorConfiguration.TabSize">8</value>
- <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
- <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
- <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
- <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
- <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
- <value type="bool" key="EditorConfiguration.inEntireDocument">true</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.PluginSettings</variable>
- <valuemap type="QVariantMap"/>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Target.0</variable>
- <valuemap type="QVariantMap">
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 5.01 (qt5-linux)</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 5.01 (qt5-linux)</value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">{55d7d977-66a3-4d72-9331-2ae779c6252a}</value>
- <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
- <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/user/Desktop/ultracopier/sources/plugins/SessionLoader/sessionLoader-build-Desktop_Qt_5_01_qt5_linux-Debug</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/user/Desktop/ultracopier/sources/plugins/SessionLoader/sessionLoader-build-Desktop_Qt_5_01_qt5_linux-Release</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
- <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
- <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
- <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
- <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
- <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
- <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.TargetCount</variable>
- <value type="int">1</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
- <value type="QString">{74ab603f-f657-4135-92cf-c93af71b2f91}</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
- <value type="int">12</value>
- </data>
-</qtcreator>
diff --git a/plugins/SessionLoader/Windows/documentation.dox b/plugins/SessionLoader/Windows/documentation.dox
index 67ea43f..bfe77f3 100644
--- a/plugins/SessionLoader/Windows/documentation.dox
+++ b/plugins/SessionLoader/Windows/documentation.dox
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section mainpage_algorithm Method
@@ -30,4 +30,3 @@
The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4.
*/
-
diff --git a/plugins/SessionLoader/Windows/informations.xml b/plugins/SessionLoader/Windows/informations.xml
index b91bd28..1042f96 100644
--- a/plugins/SessionLoader/Windows/informations.xml
+++ b/plugins/SessionLoader/Windows/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[This plugin allow Ultracopier to be loaded at the session opening under windows]]></description>
<description xml:lang="fr"><![CDATA[Ce plugin permet de charger Ultracopier à l'ouverture de la sessions sous windows]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>Windows</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/SessionLoader/Windows/sessionLoader.cpp b/plugins/SessionLoader/Windows/sessionLoader.cpp
index 5080bdc..121bae0 100644
--- a/plugins/SessionLoader/Windows/sessionLoader.cpp
+++ b/plugins/SessionLoader/Windows/sessionLoader.cpp
@@ -17,7 +17,7 @@
void WindowsSessionLoader::setEnabled(const bool &newValue)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, newValue: "+QString::number(newValue));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, newValue: "+std::to_string(newValue));
//set value into the variable
HKEY ultracopier_regkey;
//for autostart
@@ -30,12 +30,12 @@ void WindowsSessionLoader::setEnabled(const bool &newValue)
if(newValue)
{
if(RegSetValueEx(ultracopier_regkey, TEXT("ultracopier"), 0, REG_SZ, (BYTE*)windowsString, runStringApp.length()*2)!=ERROR_SUCCESS)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+QString::number(newValue)+" failed");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed");
}
else
{
if(RegDeleteValue(ultracopier_regkey, TEXT("ultracopier"))!=ERROR_SUCCESS)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+QString::number(newValue)+" failed");
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed");
}
RegCloseKey(ultracopier_regkey);
}
@@ -60,7 +60,7 @@ bool WindowsSessionLoader::getEnabled() const
return temp;
}
-void WindowsSessionLoader::setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion)
+void WindowsSessionLoader::setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion)
{
Q_UNUSED(options);
Q_UNUSED(writePath);
diff --git a/plugins/SessionLoader/Windows/sessionLoader.h b/plugins/SessionLoader/Windows/sessionLoader.h
index bc8615e..b064e50 100644
--- a/plugins/SessionLoader/Windows/sessionLoader.h
+++ b/plugins/SessionLoader/Windows/sessionLoader.h
@@ -22,7 +22,7 @@ public:
/// \brief to get if is enabled
bool getEnabled() const;
/// \brief set the resources for the plugins
- void setResources(OptionInterface * options,const QString &writePath,const QString &pluginPath,const bool &portableVersion);
+ void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion);
/// \brief to get the options widget, NULL if not have
QWidget * options();
public slots:
diff --git a/plugins/SessionLoader/Windows/sessionLoader.pro b/plugins/SessionLoader/Windows/sessionLoader.pro
index 071db7e..1059692 100644
--- a/plugins/SessionLoader/Windows/sessionLoader.pro
+++ b/plugins/SessionLoader/Windows/sessionLoader.pro
@@ -5,12 +5,12 @@ mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
TEMPLATE = lib
CONFIG += plugin
LIBS += -ladvapi32
-HEADERS = sessionLoader.h \
- StructEnumDefinition.h \
- Variable.h \
- Environment.h \
- DebugEngineMacro.h \
- ../../../interface/PluginInterface_SessionLoader.h
+HEADERS = \
+ $$PWD/sessionLoader.h \
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/Variable.h \
+ $$PWD/Environment.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/../../../interface/PluginInterface_SessionLoader.h
SOURCES = sessionLoader.cpp
TARGET = $$qtLibraryTarget(sessionLoader)
-
diff --git a/plugins/Themes/Oxygen/Languages/ar/translation.ts b/plugins/Themes/Oxygen/Languages/ar/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/ar/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/ar/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/de/translation.ts b/plugins/Themes/Oxygen/Languages/de/translation.ts
index 34c8bef..74d215d 100644
--- a/plugins/Themes/Oxygen/Languages/de/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/de/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation>Kaufe die Ultimate Version um die Entwicklung zu finanzieren</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation>Datei %1/%2, Größe:%3/%4</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation>Zu kopierende Dateien</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation>Zu verschiebende Dateien</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation>Nicht schließen, wenn Fehler aufgetreten sind</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation>Niemals schließen</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation>Immer schließen</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation>Dateiname, 0KB</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation>Farbe auswählen</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation>Nicht schließen, wenn Fehler aufgetreten sind</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation>Niemals schließen</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation>Immer schließen</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation>Wählen Sie eine Farbe</translation>
</message>
@@ -116,10 +122,6 @@
<translation>Abbrechen (&amp;C)</translation>
</message>
<message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Kopiergeschwindigkeit begrenzen bei:</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="329"/>
<source>Transfer list</source>
<translation>Dateiliste</translation>
@@ -295,14 +297,6 @@
<translation>Zum Bearbeiten der Farbe klicken</translation>
</message>
<message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">Am Ende der Kopie: </translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Kopiergeschwindigkeit begrenzen bei:</translation>
- </message>
- <message>
<location filename="../../themesOptions.ui" line="147"/>
<source> KB/s</source>
<translation> KB/s</translation>
diff --git a/plugins/Themes/Oxygen/Languages/el/translation.ts b/plugins/Themes/Oxygen/Languages/el/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/el/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/el/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/en/translation.ts b/plugins/Themes/Oxygen/Languages/en/translation.ts
index 717ea08..6cbd884 100644
--- a/plugins/Themes/Oxygen/Languages/en/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/en/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/es/translation.ts b/plugins/Themes/Oxygen/Languages/es/translation.ts
index a6ded18..46b67a9 100644
--- a/plugins/Themes/Oxygen/Languages/es/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/es/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation>Comprar la versión Ultimate para financiar el desarrollo</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation>El archivo %1/%2, el tamaño: %3/%4</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation>Lista de copia</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation>Lista de movimiento</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation>No cierre si se encuentran errores</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation>Nunca cierre</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation>Siempre cerrar</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation>Nombre de archivo, 0KB</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation>Seleccione un color</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation>No cierre si se encuentran errores</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation>Nunca cierre</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation>Siempre cerrar</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation>Seleccione un color</translation>
</message>
@@ -96,10 +102,6 @@
<translation>Para:</translation>
</message>
<message>
- <source>Close at the end of the transfers</source>
- <translation type="obsolete">Cerca al final de las transferencias</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="226"/>
<source>&amp;More</source>
<translation>&amp;Más</translation>
@@ -120,10 +122,6 @@
<translation>&amp;Cancelar</translation>
</message>
<message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limitar la velocidad de copia en:</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="118"/>
<source>Close on transfer completion</source>
<translation>Cerca de finalización de transferencia</translation>
@@ -299,14 +297,6 @@
<translation>Haga clic para editar el color</translation>
</message>
<message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">Al final de la copia: </translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limitar la velocidad de copia en:</translation>
- </message>
- <message>
<location filename="../../themesOptions.ui" line="147"/>
<source> KB/s</source>
<translation> KB/s</translation>
diff --git a/plugins/Themes/Oxygen/Languages/fr/translation.ts b/plugins/Themes/Oxygen/Languages/fr/translation.ts
index 628347d..9a89964 100644
--- a/plugins/Themes/Oxygen/Languages/fr/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/fr/translation.ts
@@ -4,17 +4,23 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="+240"/>
+ <location filename="../../interface.cpp" line="+298"/>
+ <location line="+11"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+2"/>
<source>Buy the Ultimate version to fund development</source>
<translation>Achetez la version Ultimate pour financer le développement</translation>
</message>
<message>
- <location line="+70"/>
+ <location line="+85"/>
<source>File %1/%2, size: %3/%4</source>
<translation>Fichier %1/%2, taille: %3/%4</translation>
</message>
<message>
- <location line="+214"/>
+ <location line="+234"/>
<source>Copy list</source>
<translation>Liste de copies</translation>
</message>
@@ -44,7 +50,7 @@
<translation>Nom de fichier, 0Ko</translation>
</message>
<message>
- <location line="+183"/>
+ <location line="+187"/>
<location line="+12"/>
<location line="+12"/>
<source>Select a color</source>
@@ -61,7 +67,7 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="+223"/>
+ <location filename="../../ThemesFactory.cpp" line="+224"/>
<source>Don&apos;t close if errors are found</source>
<translation>Garder ouvert s&apos;il y a des erreurs</translation>
</message>
@@ -96,10 +102,6 @@
<translation>Vers:</translation>
</message>
<message>
- <source>Close at the end of the transfers</source>
- <translation type="obsolete">Fermer à la fin des transferts</translation>
- </message>
- <message>
<location line="+161"/>
<source>&amp;More</source>
<translation>Pl&amp;us</translation>
@@ -120,10 +122,6 @@
<translation>&amp;Annuler</translation>
</message>
<message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limiter la vitesse de copie à:</translation>
- </message>
- <message>
<location line="-153"/>
<source>Close on transfer completion</source>
<translation>Fermer à la fin des transferts</translation>
@@ -299,18 +297,6 @@
<translation>Cliquer pour éditer la couleur</translation>
</message>
<message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">À la fin de la copie:</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Limiter la vitesse de copie à:</translation>
- </message>
- <message>
- <source>Limit copy speed to:</source>
- <translation type="obsolete">Limiter la vitesse de copie à:</translation>
- </message>
- <message>
<location line="-145"/>
<source> KB/s</source>
<translation> Ko/s</translation>
diff --git a/plugins/Themes/Oxygen/Languages/hi/translation.ts b/plugins/Themes/Oxygen/Languages/hi/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/hi/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/hi/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/hu/translation.ts b/plugins/Themes/Oxygen/Languages/hu/translation.ts
index ce37a23..ecf3eb5 100644
--- a/plugins/Themes/Oxygen/Languages/hu/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/hu/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation>Vásárold meg az Ultimate verziót a fejlesztés támogatásához</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation>Fájl %1/%2, méret: %3/%4</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation>Lista másolása</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation>Lista mozgatása</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation>Ne zárja be, ha hiba történik</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation>Sose zárja be</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation>Mindig zárja be</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation>Fájlnév, 0KB</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation>Válassz egy színt</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation>Ne zárja be, ha hiba történik</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation>Sose zárja be</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation>Mindig zárja be</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation>Válassz egy színt</translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/id/translation.ts b/plugins/Themes/Oxygen/Languages/id/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/id/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/id/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/it/translation.ts b/plugins/Themes/Oxygen/Languages/it/translation.ts
index d9e20f0..5ca6a07 100644
--- a/plugins/Themes/Oxygen/Languages/it/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/it/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation>Acquista la versione Ultimate per finanziare lo sviluppo del programma</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation>File %1/%2, dimensione: %3/%4</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation>Lista della copia</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation>Lista dello spostamento</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation>Non chiudere se vengono rilevati errori</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation>Non chiudere mai</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation>Chiudere sempre</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation>Nome del file, 0KB</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation>Scegliere un colore</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation>%1 %2% di %3</translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation>Non chiudere se vengono rilevati errori</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation>Non chiudere mai</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation>Chiudere sempre</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation>Scegliere un colore</translation>
</message>
@@ -96,10 +102,6 @@
<translation>a:</translation>
</message>
<message>
- <source>Close at the end of the transfers</source>
- <translation type="obsolete">Chiudi alla fine dei trasferimenti</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="226"/>
<source>&amp;More</source>
<translation>Altr&amp;o</translation>
@@ -120,10 +122,6 @@
<translation>&amp;Annulla</translation>
</message>
<message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Ridurre la velocità di copia a:</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="118"/>
<source>Close on transfer completion</source>
<translation>Arresta il sistema a trasferimento comletato</translation>
@@ -299,14 +297,6 @@
<translation>Clicca per modificare il colore</translation>
</message>
<message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">Alla fine della copia: </translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Ridurre la velocità di copia a:</translation>
- </message>
- <message>
<location filename="../../themesOptions.ui" line="147"/>
<source> KB/s</source>
<translation> KB/s</translation>
diff --git a/plugins/Themes/Oxygen/Languages/ja/translation.ts b/plugins/Themes/Oxygen/Languages/ja/translation.ts
index 1ee75a9..facdce1 100644
--- a/plugins/Themes/Oxygen/Languages/ja/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/ja/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/ko/translation.ts b/plugins/Themes/Oxygen/Languages/ko/translation.ts
index 2d9b2f8..86a2b04 100644
--- a/plugins/Themes/Oxygen/Languages/ko/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/ko/translation.ts
@@ -4,17 +4,23 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="+240"/>
+ <location filename="../../interface.cpp" line="+298"/>
+ <location line="+11"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+2"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+70"/>
+ <location line="+85"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished">파일 %1/%2, 크기: %3/%4</translation>
</message>
<message>
- <location line="+214"/>
+ <location line="+234"/>
<source>Copy list</source>
<translation type="unfinished">복사 목록</translation>
</message>
@@ -44,7 +50,7 @@
<translation type="unfinished">파일명, 0KB</translation>
</message>
<message>
- <location line="+183"/>
+ <location line="+187"/>
<location line="+12"/>
<location line="+12"/>
<source>Select a color</source>
@@ -61,7 +67,7 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="+223"/>
+ <location filename="../../ThemesFactory.cpp" line="+224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished">오류 발견시 종료 안함</translation>
</message>
@@ -116,10 +122,6 @@
<translation type="unfinished">&amp;취소</translation>
</message>
<message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">복사 속도 제한:</translation>
- </message>
- <message>
<location line="+58"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
@@ -295,14 +297,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">복사 종료시:</translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">복사 속도 제한:</translation>
- </message>
- <message>
<location line="-145"/>
<source> KB/s</source>
<translation type="unfinished"> KB/초</translation>
diff --git a/plugins/Themes/Oxygen/Languages/nl/translation.ts b/plugins/Themes/Oxygen/Languages/nl/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/nl/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/nl/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/no/translation.ts b/plugins/Themes/Oxygen/Languages/no/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/no/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/no/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/pl/translation.ts b/plugins/Themes/Oxygen/Languages/pl/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/pl/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/pl/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/pt/translation.ts b/plugins/Themes/Oxygen/Languages/pt/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/pt/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/pt/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/ru/translation.ts b/plugins/Themes/Oxygen/Languages/ru/translation.ts
index 9ffa0a1..ac18a39 100644
--- a/plugins/Themes/Oxygen/Languages/ru/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/ru/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation>Файл %1/%2, размер: %3/%4</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished">Копировать список</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished">Не закрывать, если найдены ошибки</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished">Никогда не закрывать</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished">Всегда закрывайте</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation>Имя файла, 0KB</translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished">Не закрывать, если найдены ошибки</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished">Никогда не закрывать</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished">Всегда закрывайте</translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
@@ -116,10 +122,6 @@
<translation>отменить</translation>
</message>
<message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Предельная скорость копирования по адресу:</translation>
- </message>
- <message>
<location filename="../../interface.ui" line="118"/>
<source>Close on transfer completion</source>
<translation type="unfinished"></translation>
@@ -295,14 +297,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>At the end of the copy: </source>
- <translation type="obsolete">В конце копии: </translation>
- </message>
- <message>
- <source>Limit copy speed at:</source>
- <translation type="obsolete">Предельная скорость копирования по адресу:</translation>
- </message>
- <message>
<location filename="../../themesOptions.ui" line="147"/>
<source> KB/s</source>
<translation type="unfinished"> Кб/с</translation>
diff --git a/plugins/Themes/Oxygen/Languages/th/translation.ts b/plugins/Themes/Oxygen/Languages/th/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/th/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/th/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/tr/translation.ts b/plugins/Themes/Oxygen/Languages/tr/translation.ts
index ae86b54..483e140 100644
--- a/plugins/Themes/Oxygen/Languages/tr/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/tr/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/Languages/zh/translation.ts b/plugins/Themes/Oxygen/Languages/zh/translation.ts
index 1ee75a9..facdce1 100644
--- a/plugins/Themes/Oxygen/Languages/zh/translation.ts
+++ b/plugins/Themes/Oxygen/Languages/zh/translation.ts
@@ -4,56 +4,62 @@
<context>
<name>Themes</name>
<message>
- <location filename="../../interface.cpp" line="240"/>
+ <location filename="../../interface.cpp" line="298"/>
+ <location filename="../../interface.cpp" line="309"/>
+ <source>%1 is deprecated, Use %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../../interface.cpp" line="311"/>
<source>Buy the Ultimate version to fund development</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="310"/>
+ <location filename="../../interface.cpp" line="396"/>
<source>File %1/%2, size: %3/%4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="524"/>
+ <location filename="../../interface.cpp" line="630"/>
<source>Copy list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="526"/>
+ <location filename="../../interface.cpp" line="632"/>
<source>Move list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="947"/>
+ <location filename="../../interface.cpp" line="1053"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="948"/>
+ <location filename="../../interface.cpp" line="1054"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="949"/>
+ <location filename="../../interface.cpp" line="1055"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="951"/>
+ <location filename="../../interface.cpp" line="1057"/>
<source>File Name, 0KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1134"/>
- <location filename="../../interface.cpp" line="1146"/>
- <location filename="../../interface.cpp" line="1158"/>
+ <location filename="../../interface.cpp" line="1244"/>
+ <location filename="../../interface.cpp" line="1256"/>
+ <location filename="../../interface.cpp" line="1268"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../interface.cpp" line="1233"/>
- <location filename="../../interface.cpp" line="1237"/>
- <location filename="../../interface.cpp" line="1239"/>
+ <location filename="../../interface.cpp" line="1343"/>
+ <location filename="../../interface.cpp" line="1347"/>
+ <location filename="../../interface.cpp" line="1349"/>
<source>%1 %2% of %3</source>
<translation type="unfinished"></translation>
</message>
@@ -61,24 +67,24 @@
<context>
<name>ThemesFactory</name>
<message>
- <location filename="../../ThemesFactory.cpp" line="223"/>
+ <location filename="../../ThemesFactory.cpp" line="224"/>
<source>Don&apos;t close if errors are found</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="224"/>
+ <location filename="../../ThemesFactory.cpp" line="225"/>
<source>Never close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="225"/>
+ <location filename="../../ThemesFactory.cpp" line="226"/>
<source>Always close</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../ThemesFactory.cpp" line="421"/>
- <location filename="../../ThemesFactory.cpp" line="436"/>
- <location filename="../../ThemesFactory.cpp" line="451"/>
+ <location filename="../../ThemesFactory.cpp" line="422"/>
+ <location filename="../../ThemesFactory.cpp" line="437"/>
+ <location filename="../../ThemesFactory.cpp" line="452"/>
<source>Select a color</source>
<translation type="unfinished"></translation>
</message>
diff --git a/plugins/Themes/Oxygen/ThemesFactory.cpp b/plugins/Themes/Oxygen/ThemesFactory.cpp
index 595ed71..28961f0 100644
--- a/plugins/Themes/Oxygen/ThemesFactory.cpp
+++ b/plugins/Themes/Oxygen/ThemesFactory.cpp
@@ -5,6 +5,7 @@
#include <QColorDialog>
#include "ThemesFactory.h"
+#include "../../../cpp11addition.h"
ThemesFactory::ThemesFactory()
{
@@ -25,7 +26,7 @@ ThemesFactory::~ThemesFactory()
PluginInterface_Themes * ThemesFactory::getInstance()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, currentSpeed: %1").arg(currentSpeed));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, currentSpeed: "+std::to_string(currentSpeed));
Themes * newInterface=new Themes(
ui->alwaysOnTop->isChecked(),
@@ -48,11 +49,11 @@ PluginInterface_Themes * ThemesFactory::getInstance()
return newInterface;
}
-void ThemesFactory::setResources(OptionInterface * optionsEngine,const QString &
+void ThemesFactory::setResources(OptionInterface * optionsEngine,const std::string &
#ifdef ULTRACOPIER_PLUGIN_DEBUG
writePath
#endif
- ,const QString &
+ ,const std::string &
#ifdef ULTRACOPIER_PLUGIN_DEBUG
pluginPath
#endif
@@ -65,20 +66,20 @@ void ThemesFactory::setResources(OptionInterface * optionsEngine,const QString &
{
this->optionsEngine=optionsEngine;
//load the options
- QList<QPair<QString, QVariant> > KeysList;
- KeysList.append(qMakePair(QStringLiteral("checkBoxShowSpeed"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("moreButtonPushed"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("speedWithProgressBar"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("currentSpeed"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("comboBox_copyEnd"),QVariant(0)));
- KeysList.append(qMakePair(QStringLiteral("showDualProgression"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("showProgressionInTheTitle"),QVariant(true)));
- KeysList.append(qMakePair(QStringLiteral("progressColorWrite"),QVariant(QApplication::palette().color(QPalette::Highlight))));
- KeysList.append(qMakePair(QStringLiteral("progressColorRead"),QVariant(QApplication::palette().color(QPalette::AlternateBase))));
- KeysList.append(qMakePair(QStringLiteral("progressColorRemaining"),QVariant(QApplication::palette().color(QPalette::Base))));
- KeysList.append(qMakePair(QStringLiteral("alwaysOnTop"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("minimizeToSystray"),QVariant(false)));
- KeysList.append(qMakePair(QStringLiteral("startMinimized"),QVariant(false)));
+ std::vector<std::pair<std::string, std::string> > KeysList;
+ KeysList.push_back(std::pair<std::string, std::string>("checkBoxShowSpeed","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("moreButtonPushed","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("speedWithProgressBar","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("currentSpeed","0"));
+ KeysList.push_back(std::pair<std::string, std::string>("comboBox_copyEnd","0"));
+ KeysList.push_back(std::pair<std::string, std::string>("showDualProgression","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("showProgressionInTheTitle","true"));
+ KeysList.push_back(std::pair<std::string, std::string>("progressColorWrite",QApplication::palette().color(QPalette::Highlight).name().toStdString()));
+ KeysList.push_back(std::pair<std::string, std::string>("progressColorRead",QApplication::palette().color(QPalette::AlternateBase).name().toStdString()));
+ KeysList.push_back(std::pair<std::string, std::string>("progressColorRemaining",QApplication::palette().color(QPalette::Base).name().toStdString()));
+ KeysList.push_back(std::pair<std::string, std::string>("alwaysOnTop","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("minimizeToSystray","false"));
+ KeysList.push_back(std::pair<std::string, std::string>("startMinimized","false"));
optionsEngine->addOptionGroup(KeysList);
connect(optionsEngine,&OptionInterface::resetOptions,this,&ThemesFactory::resetOptions);
updateSpeed();
@@ -95,22 +96,22 @@ QWidget * ThemesFactory::options()
if(optionsEngine!=NULL)
{
bool ok;
- currentSpeed=optionsEngine->getOptionValue(QStringLiteral("currentSpeed")).toUInt(&ok);
+ currentSpeed=stringtouint32(optionsEngine->getOptionValue("currentSpeed"),&ok);
if(!ok)
currentSpeed=0;
- ui->comboBox_copyEnd->setCurrentIndex(optionsEngine->getOptionValue(QStringLiteral("comboBox_copyEnd")).toUInt());
- ui->speedWithProgressBar->setChecked(optionsEngine->getOptionValue(QStringLiteral("speedWithProgressBar")).toBool());
- ui->checkBoxShowSpeed->setChecked(optionsEngine->getOptionValue(QStringLiteral("checkBoxShowSpeed")).toBool());
- ui->checkBoxStartWithMoreButtonPushed->setChecked(optionsEngine->getOptionValue(QStringLiteral("moreButtonPushed")).toBool());
- ui->showDualProgression->setChecked(optionsEngine->getOptionValue(QStringLiteral("showDualProgression")).toBool());
- ui->showProgressionInTheTitle->setChecked(optionsEngine->getOptionValue(QStringLiteral("showProgressionInTheTitle")).toBool());
- ui->alwaysOnTop->setChecked(optionsEngine->getOptionValue(QStringLiteral("alwaysOnTop")).toBool());
- ui->minimizeToSystray->setChecked(optionsEngine->getOptionValue(QStringLiteral("minimizeToSystray")).toBool());
- ui->startMinimized->setChecked(optionsEngine->getOptionValue(QStringLiteral("startMinimized")).toBool());
-
- progressColorWrite=optionsEngine->getOptionValue(QStringLiteral("progressColorWrite")).value<QColor>();
- progressColorRead=optionsEngine->getOptionValue(QStringLiteral("progressColorRead")).value<QColor>();
- progressColorRemaining=optionsEngine->getOptionValue(QStringLiteral("progressColorRemaining")).value<QColor>();
+ ui->comboBox_copyEnd->setCurrentIndex(stringtouint32(optionsEngine->getOptionValue("comboBox_copyEnd")));
+ ui->speedWithProgressBar->setChecked(stringtobool(optionsEngine->getOptionValue("speedWithProgressBar")));
+ ui->checkBoxShowSpeed->setChecked(stringtobool(optionsEngine->getOptionValue("checkBoxShowSpeed")));
+ ui->checkBoxStartWithMoreButtonPushed->setChecked(stringtobool(optionsEngine->getOptionValue("moreButtonPushed")));
+ ui->showDualProgression->setChecked(stringtobool(optionsEngine->getOptionValue("showDualProgression")));
+ ui->showProgressionInTheTitle->setChecked(stringtobool(optionsEngine->getOptionValue("showProgressionInTheTitle")));
+ ui->alwaysOnTop->setChecked(stringtobool(optionsEngine->getOptionValue("alwaysOnTop")));
+ ui->minimizeToSystray->setChecked(stringtobool(optionsEngine->getOptionValue("minimizeToSystray")));
+ ui->startMinimized->setChecked(stringtobool(optionsEngine->getOptionValue("startMinimized")));
+
+ progressColorWrite=QVariant(QString::fromStdString(optionsEngine->getOptionValue("progressColorWrite"))).value<QColor>();
+ progressColorRead=QVariant(QString::fromStdString(optionsEngine->getOptionValue("progressColorRead"))).value<QColor>();
+ progressColorRemaining=QVariant(QString::fromStdString(optionsEngine->getOptionValue("progressColorRemaining"))).value<QColor>();
QPixmap pixmap(75,20);
pixmap.fill(progressColorWrite);
@@ -146,33 +147,37 @@ QWidget * ThemesFactory::options()
return tempWidget;
}
-QIcon ThemesFactory::getIcon(const QString &fileName) const
+QIcon ThemesFactory::getIcon(const std::string &fileName) const
{
- if(fileName==QStringLiteral("SystemTrayIcon/exit.png"))
+ if(fileName=="SystemTrayIcon/exit.png")
{
- QIcon tempIcon=QIcon::fromTheme(QStringLiteral("application-exit"));
+ QIcon tempIcon=QIcon::fromTheme("application-exit");
if(!tempIcon.isNull())
return tempIcon;
}
- else if(fileName==QStringLiteral("SystemTrayIcon/add.png"))
+ else if(fileName=="SystemTrayIcon/add.png")
{
- QIcon tempIcon=QIcon::fromTheme(QStringLiteral("list-add"));
+ QIcon tempIcon=QIcon::fromTheme("list-add");
if(!tempIcon.isNull())
return tempIcon;
}
- else if(fileName==QStringLiteral("SystemTrayIcon/informations.png"))
+ else if(fileName=="SystemTrayIcon/informations.png")
{
- QIcon tempIcon=QIcon::fromTheme(QStringLiteral("help-about"));
+ QIcon tempIcon=QIcon::fromTheme("help-about");
if(!tempIcon.isNull())
return tempIcon;
}
- else if(fileName==QStringLiteral("SystemTrayIcon/options.png"))
+ else if(fileName=="SystemTrayIcon/options.png")
{
- QIcon tempIcon=QIcon::fromTheme(QStringLiteral("applications-system"));
+ QIcon tempIcon=QIcon::fromTheme("applications-system");
if(!tempIcon.isNull())
return tempIcon;
}
- return QIcon(QStringLiteral(":/Themes/Oxygen/resources/")+fileName);
+ #ifdef SUPERCOPIER
+ return QIcon(":/Themes/Supercopier/resources/"+QString::fromStdString(fileName));
+ #else
+ return QIcon(":/Themes/Oxygen/resources/"+QString::fromStdString(fileName));
+ #endif
}
void ThemesFactory::resetOptions()
@@ -185,7 +190,7 @@ void ThemesFactory::checkBoxShowSpeedHaveChanged(bool toggled)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("checkBoxShowSpeed"),toggled);
+ optionsEngine->setOptionValue("checkBoxShowSpeed",std::to_string(toggled));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -194,7 +199,7 @@ void ThemesFactory::checkBoxStartWithMoreButtonPushedHaveChanged(bool toggled)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("moreButtonPushed"),toggled);
+ optionsEngine->setOptionValue("moreButtonPushed",std::to_string(toggled));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -203,7 +208,7 @@ void ThemesFactory::comboBox_copyEnd(int value)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("comboBox_copyEnd"),value);
+ optionsEngine->setOptionValue("comboBox_copyEnd",std::to_string(value));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -212,7 +217,7 @@ void ThemesFactory::speedWithProgressBar(bool toggled)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("speedWithProgressBar"),toggled);
+ optionsEngine->setOptionValue("speedWithProgressBar",std::to_string(toggled));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -237,7 +242,7 @@ void ThemesFactory::minimizeToSystray(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("minimizeToSystray"),checked);
+ optionsEngine->setOptionValue("minimizeToSystray",std::to_string(checked));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -246,7 +251,7 @@ void ThemesFactory::alwaysOnTop(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("alwaysOnTop"),checked);
+ optionsEngine->setOptionValue("alwaysOnTop",std::to_string(checked));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -255,7 +260,7 @@ void ThemesFactory::showDualProgression(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("showDualProgression"),checked);
+ optionsEngine->setOptionValue("showDualProgression",std::to_string(checked));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -264,7 +269,7 @@ void ThemesFactory::startMinimized(bool checked)
{
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed");
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("startMinimized"),checked);
+ optionsEngine->setOptionValue("startMinimized",std::to_string(checked));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -275,7 +280,7 @@ void ThemesFactory::on_SliderSpeed_valueChanged(int value)
return;
if(!ui->checkBoxShowSpeed->isChecked())
return;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("value: %1").arg(value));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"value: "+std::to_string(value));
switch(value)
{
case 0:
@@ -298,7 +303,7 @@ void ThemesFactory::on_SliderSpeed_valueChanged(int value)
break;
}
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
+ optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
updateSpeed();
@@ -314,9 +319,9 @@ void ThemesFactory::uiUpdateSpeed()
currentSpeed=0;
else
currentSpeed=ui->limitSpeed->value();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("emit newSpeedLimitation(%1)").arg(currentSpeed));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit newSpeedLimitation: "+std::to_string(currentSpeed));
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
+ optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -333,12 +338,12 @@ void ThemesFactory::updateSpeed()
if(ui->checkBoxShowSpeed->isChecked())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("checked, currentSpeed: %1").arg(currentSpeed));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"checked, currentSpeed: "+std::to_string(currentSpeed));
ui->limitSpeed->setEnabled(false);
if(currentSpeed==0)
{
ui->SliderSpeed->setValue(0);
- ui->label_SpeedMaxValue->setText(facilityEngine->translateText("Unlimited"));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->translateText("Unlimited")));
}
else if(currentSpeed<=1024)
{
@@ -346,12 +351,12 @@ void ThemesFactory::updateSpeed()
{
currentSpeed=1024;
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
+ optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
ui->SliderSpeed->setValue(1);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*1));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*1)));
}
else if(currentSpeed<=1024*4)
{
@@ -359,12 +364,12 @@ void ThemesFactory::updateSpeed()
{
currentSpeed=1024*4;
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
+ optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
ui->SliderSpeed->setValue(2);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*4));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*4)));
}
else if(currentSpeed<=1024*16)
{
@@ -372,12 +377,12 @@ void ThemesFactory::updateSpeed()
{
currentSpeed=1024*16;
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
+ optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
ui->SliderSpeed->setValue(3);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*16));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*16)));
}
else if(currentSpeed<=1024*64)
{
@@ -385,12 +390,12 @@ void ThemesFactory::updateSpeed()
{
currentSpeed=1024*64;
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
+ optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
ui->SliderSpeed->setValue(4);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*64));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*64)));
}
else
{
@@ -398,12 +403,12 @@ void ThemesFactory::updateSpeed()
{
currentSpeed=1024*128;
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("currentSpeed"),currentSpeed);
+ optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
ui->SliderSpeed->setValue(5);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*128));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*128)));
}
}
else
@@ -426,7 +431,7 @@ void ThemesFactory::progressColorWrite_clicked()
pixmap.fill(progressColorWrite);
ui->progressColorWrite->setIcon(pixmap);
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("progressColorWrite"),progressColorWrite);
+ optionsEngine->setOptionValue("progressColorWrite",progressColorWrite.name().toStdString());
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -441,7 +446,7 @@ void ThemesFactory::progressColorRead_clicked()
pixmap.fill(progressColorRead);
ui->progressColorRead->setIcon(pixmap);
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("progressColorRead"),progressColorRead);
+ optionsEngine->setOptionValue("progressColorRead",progressColorRead.name().toStdString());
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -456,7 +461,7 @@ void ThemesFactory::progressColorRemaining_clicked()
pixmap.fill(progressColorRemaining);
ui->progressColorRemaining->setIcon(pixmap);
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("progressColorRemaining"),progressColorRemaining);
+ optionsEngine->setOptionValue("progressColorRemaining",progressColorRemaining.name().toStdString());
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
@@ -470,7 +475,7 @@ void ThemesFactory::updateProgressionColorBar()
void ThemesFactory::setShowProgressionInTheTitle()
{
if(optionsEngine!=NULL)
- optionsEngine->setOptionValue(QStringLiteral("showProgressionInTheTitle"),ui->showProgressionInTheTitle->isChecked());
+ optionsEngine->setOptionValue("showProgressionInTheTitle",std::to_string(ui->showProgressionInTheTitle->isChecked()));
else
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented");
}
diff --git a/plugins/Themes/Oxygen/ThemesFactory.h b/plugins/Themes/Oxygen/ThemesFactory.h
index 895e32d..f5e304f 100644
--- a/plugins/Themes/Oxygen/ThemesFactory.h
+++ b/plugins/Themes/Oxygen/ThemesFactory.h
@@ -38,11 +38,11 @@ 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 &
+ void setResources(OptionInterface * optionsEngine,const std::string &
#ifdef ULTRACOPIER_PLUGIN_DEBUG
writePath
#endif
- ,const QString &
+ ,const std::string &
#ifdef ULTRACOPIER_PLUGIN_DEBUG
pluginPath
#endif
@@ -50,7 +50,7 @@ public:
/// \brief to get the default options widget
QWidget * options();
/// \brief to get a resource icon
- QIcon getIcon(const QString &fileName) const;
+ QIcon getIcon(const std::string &fileName) const;
private slots:
void checkBoxShowSpeedHaveChanged(bool toggled);
void checkBoxStartWithMoreButtonPushedHaveChanged(bool toggled);
@@ -77,7 +77,7 @@ private:
Ui::themesOptions *ui;
QWidget *tempWidget;
FacilityInterface * facilityEngine;
- qint32 currentSpeed;///< in KB/s, assume as 0KB/s as default like every where
+ int32_t currentSpeed;///< in KB/s, assume as 0KB/s as default like every where
QColor progressColorWrite,progressColorRead,progressColorRemaining;
signals:
void reloadLanguage() const;
diff --git a/plugins/Themes/Oxygen/TransferModel.cpp b/plugins/Themes/Oxygen/TransferModel.cpp
index ff09d93..2959598 100644
--- a/plugins/Themes/Oxygen/TransferModel.cpp
+++ b/plugins/Themes/Oxygen/TransferModel.cpp
@@ -1,4 +1,5 @@
#include "TransferModel.h"
+#include "../../../cpp11addition.h"
#define COLUMN_COUNT 3
@@ -35,24 +36,24 @@ QVariant TransferModel::data( const QModelIndex& index, int role ) const
int row,column;
row=index.row();
column=index.column();
- if(index.parent()!=QModelIndex() || row < 0 || row >= transfertItemList.count() || column < 0 || column >= COLUMN_COUNT)
+ if(index.parent()!=QModelIndex() || row < 0 || (unsigned int)row >= transfertItemList.size() || column < 0 || column >= COLUMN_COUNT)
return QVariant();
const TransfertItem& item = transfertItemList.at(row);
if(role==Qt::UserRole)
- return item.id;
+ return (quint64)item.id;
else if(role==Qt::DisplayRole)
{
switch(column)
{
case 0:
- return item.source;
+ return QString::fromStdString(item.source);
break;
case 1:
- return item.size;
+ return QString::fromStdString(item.size);
break;
case 2:
- return item.destination;
+ return QString::fromStdString(item.destination);
break;
default:
return QVariant();
@@ -63,9 +64,9 @@ QVariant TransferModel::data( const QModelIndex& index, int role ) const
switch(column)
{
case 0:
- if(stopId.contains(item.id))
+ if(stopId.find(item.id)!=stopId.cend())
return *stop;
- else if(startId.contains(item.id))
+ else if(startId.find(item.id)!=startId.cend())
return *start;
else
return QVariant();
@@ -76,7 +77,8 @@ QVariant TransferModel::data( const QModelIndex& index, int role ) const
}
else if(role==Qt::BackgroundRole)
{
- if(!search_text.isEmpty() && (item.source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || item.destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1))
+ if(!search_text.empty() && (item.source.find(search_text)!=std::string::npos ||
+ item.destination.find(search_text)!=std::string::npos))
{
if(haveSearchItem && searchId==item.id)
return QColor(255,150,150,100);
@@ -91,13 +93,13 @@ QVariant TransferModel::data( const QModelIndex& index, int role ) const
int TransferModel::rowCount( const QModelIndex& parent ) const
{
- return parent == QModelIndex() ? transfertItemList.count() : 0;
+ return parent == QModelIndex() ? transfertItemList.size() : 0;
}
-quint64 TransferModel::firstId() const
+uint64_t TransferModel::firstId() const
{
- if(transfertItemList.count()>0)
- return transfertItemList.first().id;
+ if(transfertItemList.size()>0)
+ return transfertItemList.front().id;
else
return 0;
}
@@ -109,11 +111,11 @@ QVariant TransferModel::headerData( int section, Qt::Orientation orientation, in
if ( role == Qt::DisplayRole && orientation == Qt::Horizontal && section >= 0 && section < COLUMN_COUNT ) {
switch ( section ) {
case 0:
- return facilityEngine->translateText(QStringLiteral("Source"));
+ return QString::fromStdString(facilityEngine->translateText("Source"));
case 1:
- return facilityEngine->translateText(QStringLiteral("Size"));
+ return QString::fromStdString(facilityEngine->translateText("Size"));
case 2:
- return facilityEngine->translateText(QStringLiteral("Destination"));
+ return QString::fromStdString(facilityEngine->translateText("Destination"));
}
}
@@ -124,7 +126,7 @@ bool TransferModel::setData( const QModelIndex& index, const QVariant& value, in
{
row=index.row();
column=index.column();
- if(index.parent()!=QModelIndex() || row < 0 || row >= transfertItemList.count() || column < 0 || column >= COLUMN_COUNT)
+ if(index.parent()!=QModelIndex() || row < 0 || (unsigned int)row >= transfertItemList.size() || column < 0 || column >= COLUMN_COUNT)
return false;
TransfertItem& item = transfertItemList[row];
@@ -138,17 +140,17 @@ bool TransferModel::setData( const QModelIndex& index, const QVariant& value, in
switch(column)
{
case 0:
- item.source=value.toString();
+ item.source=value.toString().toStdString();
emit dataChanged(index,index);
return true;
break;
case 1:
- item.size=value.toString();
+ item.size=value.toString().toStdString();
emit dataChanged(index,index);
return true;
break;
case 2:
- item.destination=value.toString();
+ item.destination=value.toString().toStdString();
emit dataChanged(index,index);
return true;
break;
@@ -164,7 +166,7 @@ bool TransferModel::setData( const QModelIndex& index, const QVariant& value, in
Return[1]: totalSize
Return[2]: currentFile
*/
-QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnActionOnCopyList>& returnActions)
+std::vector<uint64_t> TransferModel::synchronizeItems(const std::vector<Ultracopier::ReturnActionOnCopyList>& returnActions)
{
const QModelIndexList oldIndexes = persistentIndexList();
QModelIndexList newIndexes=oldIndexes;
@@ -191,7 +193,7 @@ QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnAc
newItem.source=action.addAction.sourceFullPath;
newItem.size=facilityEngine->sizeToString(action.addAction.size);
newItem.destination=action.addAction.destinationFullPath;
- transfertItemList<<newItem;
+ transfertItemList.push_back(newItem);
totalFile++;
totalSize+=action.addAction.size;
}
@@ -201,30 +203,32 @@ QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnAc
//bool current_entry=
if(action.userAction.position<0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString());
break;
}
- if(action.userAction.position>(transfertItemList.size()-1))
+ if((unsigned int)action.userAction.position>(transfertItemList.size()-1))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString());
break;
}
if(action.userAction.moveAt<0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString());
break;
}
- if(action.userAction.moveAt>(transfertItemList.size()-1))
+ if((unsigned int)action.userAction.moveAt>(transfertItemList.size()-1))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString());
break;
}
if(action.userAction.position==action.userAction.moveAt)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, move at same position: %2").arg(action.addAction.id).arg(action.userAction.position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, move at same position: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString());
break;
}
- transfertItemList.move(action.userAction.position,action.userAction.moveAt);
+ const TransfertItem transfertItem=transfertItemList.at(action.userAction.position);
+ transfertItemList.erase(transfertItemList.cbegin()+action.userAction.position);
+ transfertItemList.insert(transfertItemList.cbegin()+action.userAction.moveAt,transfertItem);
//newIndexes.move(action.userAction.position,action.userAction.moveAt);
}
break;
@@ -234,19 +238,19 @@ QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnAc
currentIndexSearch--;
if(action.userAction.position<0)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position).toStdString());
break;
}
- if(action.userAction.position>(transfertItemList.size()-1))
+ if((unsigned int)action.userAction.position>(transfertItemList.size()-1))
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position).toStdString());
break;
}
- transfertItemList.removeAt(action.userAction.position);
+ transfertItemList.erase(transfertItemList.cbegin()+action.userAction.position);
currentFile++;
- startId.remove(action.addAction.id);
- stopId.remove(action.addAction.id);
- internalRunningOperation.remove(action.addAction.id);
+ startId.erase(action.addAction.id);
+ stopId.erase(action.addAction.id);
+ internalRunningOperation.erase(action.addAction.id);
//newIndexes.remove(action.userAction.moveAt);
}
break;
@@ -262,20 +266,20 @@ QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnAc
break;
case Ultracopier::Transfer:
{
- if(!startId.contains(action.addAction.id))
- startId << action.addAction.id;
- stopId.remove(action.addAction.id);
- if(internalRunningOperation.contains(action.addAction.id))
+ if(startId.find(action.addAction.id)==startId.cend())
+ startId.insert(action.addAction.id);
+ stopId.erase(action.addAction.id);
+ if(internalRunningOperation.find(action.addAction.id)!=internalRunningOperation.cend())
internalRunningOperation[action.addAction.id].actionType=action.type;
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to found entry for file %1: actionType: Transfer").arg(action.addAction.id));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to found entry for file %1: actionType: Transfer").arg(action.addAction.id).toStdString());
}
break;
case Ultracopier::PostOperation:
{
- if(!stopId.contains(action.addAction.id))
- stopId << action.addAction.id;
- startId.remove(action.addAction.id);
+ if(stopId.find(action.addAction.id)==stopId.cend())
+ stopId.insert(action.addAction.id);
+ startId.erase(action.addAction.id);
}
break;
case Ultracopier::CustomOperation:
@@ -284,18 +288,21 @@ QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnAc
//without progression
if(custom_with_progression)
{
- if(startId.remove(action.addAction.id))
- if(!stopId.contains(action.addAction.id))
- stopId << action.addAction.id;
+ if(startId.find(action.addAction.id)!=startId.cend())
+ {
+ startId.erase(action.addAction.id);
+ if(stopId.find(action.addAction.id)==stopId.cend())
+ stopId.insert(action.addAction.id);
+ }
}
//with progression
else
{
- stopId.remove(action.addAction.id);
- if(!startId.contains(action.addAction.id))
- startId << action.addAction.id;
+ stopId.erase(action.addAction.id);
+ if(startId.find(action.addAction.id)==startId.cend())
+ startId.insert(action.addAction.id);
}
- if(internalRunningOperation.contains(action.addAction.id))
+ if(internalRunningOperation.find(action.addAction.id)!=internalRunningOperation.cend())
{
ItemOfCopyListWithMoreInformations &item=internalRunningOperation[action.addAction.id];
item.actionType=action.type;
@@ -316,7 +323,7 @@ QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnAc
{
const QSet<quint64> ids = oldMapping.values().toSet();
- for ( int i = 0; i < transfertItemList.count(); i++ ) {
+ for ( unsigned int i = 0; i < transfertItemList.size(); i++ ) {
const TransferModel::TransfertItem& item = transfertItemList.at(i);
if ( ids.contains( item.id ) ) {
@@ -333,7 +340,14 @@ QList<quint64> TransferModel::synchronizeItems(const QList<Ultracopier::ReturnAc
changePersistentIndexList( oldIndexes, newIndexes );
emit layoutChanged();
- return QList<quint64>() << totalFile << totalSize << currentFile;
+ {
+ std::vector<uint64_t> newList;
+ newList.resize(3);
+ newList[0]=totalFile;
+ newList[1]=totalSize;
+ newList[2]=currentFile;
+ return newList;
+ }
}
void TransferModel::setFacilityEngine(FacilityInterface * facilityEngine)
@@ -341,14 +355,14 @@ void TransferModel::setFacilityEngine(FacilityInterface * facilityEngine)
this->facilityEngine=facilityEngine;
}
-int TransferModel::search(const QString &text,bool searchNext)
+int TransferModel::search(const std::string &text, bool searchNext)
{
emit layoutAboutToBeChanged();
search_text=text;
emit layoutChanged();
if(transfertItemList.size()==0)
return -1;
- if(text.isEmpty())
+ if(text.empty())
return -1;
if(searchNext)
{
@@ -360,7 +374,9 @@ int TransferModel::search(const QString &text,bool searchNext)
loop_size=transfertItemList.size();
while(index_for_loop<loop_size)
{
- if(transfertItemList.at(currentIndexSearch).source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || transfertItemList.at(currentIndexSearch).destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1)
+ const TransfertItem &transfertItem=transfertItemList.at(currentIndexSearch);
+ if(transfertItem.source.find(search_text)!=std::string::npos ||
+ transfertItem.destination.find(search_text)!=std::string::npos)
{
haveSearchItem=true;
searchId=transfertItemList.at(currentIndexSearch).id;
@@ -375,14 +391,14 @@ int TransferModel::search(const QString &text,bool searchNext)
return -1;
}
-int TransferModel::searchPrev(const QString &text)
+int TransferModel::searchPrev(const std::string &text)
{
emit layoutAboutToBeChanged();
search_text=text;
emit layoutChanged();
if(transfertItemList.size()==0)
return -1;
- if(text.isEmpty())
+ if(text.empty())
return -1;
if(currentIndexSearch==0)
currentIndexSearch=loop_size-1;
@@ -392,7 +408,9 @@ int TransferModel::searchPrev(const QString &text)
loop_size=transfertItemList.size();
while(index_for_loop<loop_size)
{
- if(transfertItemList.at(currentIndexSearch).source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || transfertItemList.at(currentIndexSearch).destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1)
+ const TransfertItem &transfertItem=transfertItemList.at(currentIndexSearch);
+ if(transfertItem.source.find(search_text)!=std::string::npos ||
+ transfertItem.destination.find(search_text)!=std::string::npos)
{
haveSearchItem=true;
searchId=transfertItemList.at(currentIndexSearch).id;
@@ -408,19 +426,19 @@ int TransferModel::searchPrev(const QString &text)
return -1;
}
-void TransferModel::setFileProgression(QList<Ultracopier::ProgressionItem> &progressionList)
+void TransferModel::setFileProgression(std::vector<Ultracopier::ProgressionItem> &progressionList)
{
loop_size=progressionList.size();
index_for_loop=0;
while(index_for_loop<loop_size)
{
- if(internalRunningOperation.contains(progressionList.at(index_for_loop).id))
+ if(internalRunningOperation.find(progressionList.at(index_for_loop).id)!=internalRunningOperation.cend())
{
internalRunningOperation[progressionList.at(index_for_loop).id].generalData.size=progressionList.at(index_for_loop).total;
internalRunningOperation[progressionList.at(index_for_loop).id].currentReadProgression=progressionList.at(index_for_loop).currentRead;
internalRunningOperation[progressionList.at(index_for_loop).id].currentWriteProgression=progressionList.at(index_for_loop).currentWrite;
#ifdef ULTRACOPIER_PLUGIN_DEBUG
- progressionList.removeAt(index_for_loop);
+ progressionList.erase(progressionList.cbegin()+index_for_loop);
index_for_loop--;
loop_size--;
#endif
@@ -429,7 +447,7 @@ void TransferModel::setFileProgression(QList<Ultracopier::ProgressionItem> &prog
}
#ifdef ULTRACOPIER_PLUGIN_DEBUG
if(progressionList.size()>0)
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("progression remaning items"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"progression remaning items");
#endif
}
@@ -441,15 +459,15 @@ TransferModel::currentTransfertItem TransferModel::getCurrentTransfertItem() con
returnItem.haveItem=startId.size()>0;
if(returnItem.haveItem)
{
- if(!internalRunningOperation.contains(*startId.constBegin()))
+ if(internalRunningOperation.find(*startId.cbegin())==internalRunningOperation.cend())
{
returnItem.haveItem=false;
return returnItem;
}
- const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.value(*startId.constBegin());
+ const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.at(*startId.cbegin());
returnItem.from=itemTransfer.generalData.sourceFullPath;
returnItem.to=itemTransfer.generalData.destinationFullPath;
- returnItem.current_file=itemTransfer.generalData.destinationFileName+QStringLiteral(", ")+facilityEngine->sizeToString(itemTransfer.generalData.size);
+ returnItem.current_file=itemTransfer.generalData.destinationFileName+", "+facilityEngine->sizeToString(itemTransfer.generalData.size);
returnItem.id=itemTransfer.generalData.id;
switch(itemTransfer.actionType)
{
@@ -481,20 +499,20 @@ TransferModel::currentTransfertItem TransferModel::getCurrentTransfertItem() con
break;
//should never pass here
case Ultracopier::PostOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString());
returnItem.progressBar_read=65535;
returnItem.progressBar_write=65535;
break;
//should never pass here
case Ultracopier::PreOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString());
returnItem.progressBar_read=0;
returnItem.progressBar_write=0;
break;
default:
returnItem.progressBar_read=0;
returnItem.progressBar_write=0;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString());
break;
}
}
@@ -503,15 +521,15 @@ TransferModel::currentTransfertItem TransferModel::getCurrentTransfertItem() con
returnItem.haveItem=stopId.size()>0;
if(returnItem.haveItem)
{
- if(!internalRunningOperation.contains(*stopId.constBegin()))
+ if(internalRunningOperation.find(*stopId.cbegin())==internalRunningOperation.cend())
{
returnItem.haveItem=false;
return returnItem;
}
- const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.value(*stopId.constBegin());
+ const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.at(*stopId.cbegin());
returnItem.from=itemTransfer.generalData.sourceFullPath;
returnItem.to=itemTransfer.generalData.destinationFullPath;
- returnItem.current_file=itemTransfer.generalData.destinationFileName+QStringLiteral(", ")+facilityEngine->sizeToString(itemTransfer.generalData.size);
+ returnItem.current_file=itemTransfer.generalData.destinationFileName+", "+facilityEngine->sizeToString(itemTransfer.generalData.size);
returnItem.id=itemTransfer.generalData.id;
switch(itemTransfer.actionType)
{
@@ -542,20 +560,20 @@ TransferModel::currentTransfertItem TransferModel::getCurrentTransfertItem() con
}
break;
case Ultracopier::PostOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString());
returnItem.progressBar_read=65535;
returnItem.progressBar_write=65535;
break;
//should never pass here
case Ultracopier::PreOperation:
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString());
returnItem.progressBar_read=0;
returnItem.progressBar_write=0;
break;
default:
returnItem.progressBar_read=65535;
returnItem.progressBar_write=65535;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString());
break;
}
}
diff --git a/plugins/Themes/Oxygen/TransferModel.h b/plugins/Themes/Oxygen/TransferModel.h
index d2a4a1c..e572f9e 100644
--- a/plugins/Themes/Oxygen/TransferModel.h
+++ b/plugins/Themes/Oxygen/TransferModel.h
@@ -9,6 +9,10 @@
#include <QSet>
#include <QIcon>
#include <QString>
+#include <unordered_map>
+#include <unordered_set>
+#include <set>
+#include <vector>
#include "StructEnumDefinition.h"
#include "Environment.h"
@@ -23,15 +27,15 @@ public:
/// \brief the transfer item displayed
struct TransfertItem
{
- quint64 id;
- QString source;
- QString size;
- QString destination;
+ uint64_t id;
+ std::string source;
+ std::string size;
+ std::string destination;
};
/// \brief the transfer item with progression
struct ItemOfCopyListWithMoreInformations
{
- quint64 currentReadProgression,currentWriteProgression;
+ uint64_t currentReadProgression,currentWriteProgression;
Ultracopier::ItemOfCopyList generalData;
Ultracopier::ActionTypeCopyList actionType;
bool custom_with_progression;
@@ -39,11 +43,11 @@ public:
/// \brief returned first transfer item
struct currentTransfertItem
{
- quint64 id;
+ uint64_t id;
bool haveItem;
- QString from;
- QString to;
- QString current_file;
+ std::string from;
+ std::string to;
+ std::string current_file;
int progressBar_read,progressBar_write;
};
@@ -55,37 +59,37 @@ public:
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
- QList<quint64> synchronizeItems(const QList<Ultracopier::ReturnActionOnCopyList>& returnActions);
+ std::vector<uint64_t> synchronizeItems(const std::vector<Ultracopier::ReturnActionOnCopyList>& returnActions);
void setFacilityEngine(FacilityInterface * facilityEngine);
- int search(const QString &text,bool searchNext);
- int searchPrev(const QString &text);
+ int search(const std::string &text,bool searchNext);
+ int searchPrev(const std::string &text);
- void setFileProgression(QList<Ultracopier::ProgressionItem> &progressionList);
+ void setFileProgression(std::vector<Ultracopier::ProgressionItem> &progressionList);
currentTransfertItem getCurrentTransfertItem() const;
- quint64 firstId() const;
+ uint64_t firstId() const;
protected:
- QList<TransfertItem> transfertItemList;///< To have a transfer list for the user
- QSet<quint64> startId,stopId;///< To show what is started, what is stopped
- QHash<quint64,ItemOfCopyListWithMoreInformations> internalRunningOperation;///< to have progression and stat
+ std::vector<TransfertItem> transfertItemList;///< To have a transfer list for the user
+ std::set<uint64_t> startId,stopId;///< To show what is started, what is stopped
+ std::unordered_map<uint64_t,ItemOfCopyListWithMoreInformations> internalRunningOperation;///< to have progression and stat
private:
int loop_size,index_for_loop;
int sub_loop_size,sub_index_for_loop;
int row,column;
FacilityInterface * facilityEngine;
- QString search_text;
+ std::string search_text;
/// \brief index from start the search, decresed by remove before it
int currentIndexSearch;
bool haveSearchItem;
- quint64 searchId;
+ uint64_t searchId;
static QIcon *start;
static QIcon *stop;
signals:
#ifdef ULTRACOPIER_PLUGIN_DEBUG
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,QString fonction,QString text,QString file,int ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const;
#endif
};
diff --git a/plugins/Themes/Oxygen/documentation.dox b/plugins/Themes/Oxygen/documentation.dox
index 629330b..d94ce0b 100644
--- a/plugins/Themes/Oxygen/documentation.dox
+++ b/plugins/Themes/Oxygen/documentation.dox
@@ -10,7 +10,7 @@
\section mainpage_overview Overview
- It's the default interface for Ultracopier. The first version, it's greatly inspirated by Supercopier. But have well evolued.\n
+ It's the default interface for Ultracopier.\n
More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>.
\section mainpage_platforms Platforms
@@ -20,7 +20,7 @@
\section mainpage_downloads Downloads
- You can found link on <a href="http://ultracopier.first-world.info/">Ultracopier (Supercopier/Teracopy)</a> project page, via git, snapshot sources, ...
+ You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ...
\section license GPL Version 3
The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4.\n
@@ -29,4 +29,3 @@
And 16x16/categories/applications-development.png -> SystemTrayIcon/options.png
*/
-
diff --git a/plugins/Themes/Oxygen/informations.xml b/plugins/Themes/Oxygen/informations.xml
index d81313d..6cfe489 100644
--- a/plugins/Themes/Oxygen/informations.xml
+++ b/plugins/Themes/Oxygen/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Oxygen style for Ultracopier]]></description>
<description xml:lang="fr"><![CDATA[Style oxygen 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>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>Oxygen</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->
diff --git a/plugins/Themes/Oxygen/interface.cpp b/plugins/Themes/Oxygen/interface.cpp
index 703f3b2..84b4dd6 100644
--- a/plugins/Themes/Oxygen/interface.cpp
+++ b/plugins/Themes/Oxygen/interface.cpp
@@ -8,7 +8,10 @@
#include <QColorDialog>
#include <QRect>
#include <QPainter>
+#include <QDebug>
#include <cmath>
+#include <chrono>
+#include <ctime>
#ifdef Q_OS_WIN
#ifndef NOMINMAX
#define NOMINMAX
@@ -158,6 +161,12 @@ Themes::Themes(const bool &alwaysOnTop,
/// \note important for drag and drop, \see dropEvent()
setAcceptDrops(true);
+ #ifdef SUPERCOPIER
+ const QString themePath=":/Themes/Supercopier/";
+ #else
+ const QString themePath=":/Themes/Oxygen/";
+ #endif
+
// try set the OS icon
if(!iconLoaded)
{
@@ -166,10 +175,10 @@ Themes::Themes(const bool &alwaysOnTop,
editDelete=QIcon::fromTheme(QStringLiteral("edit-delete"));
player_pause=QIcon::fromTheme(QStringLiteral("media-playback-pause"));
if(player_pause.isNull())
- player_pause=QIcon(QStringLiteral(":/Themes/Oxygen/resources/player_pause.png"));
+ player_pause=QIcon(themePath+QStringLiteral("resources/player_pause.png"));
player_play=QIcon::fromTheme(QStringLiteral("media-playback-play"));
if(player_play.isNull())
- player_play=QIcon(QStringLiteral(":/Themes/Oxygen/resources/player_play.png"));
+ player_play=QIcon(themePath+QStringLiteral("resources/player_play.png"));
skinIcon=QIcon::fromTheme(QStringLiteral("media-skip-forward"));
editFind=QIcon::fromTheme(QStringLiteral("edit-find"));
documentOpen=QIcon::fromTheme(QStringLiteral("document-open"));
@@ -208,14 +217,68 @@ Themes::Themes(const bool &alwaysOnTop,
ui->actionAddFolderToMove->setIcon(listAdd);
}
#ifdef Q_OS_WIN32
- pixmapTop=QPixmap(QStringLiteral(":/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Windows.png"));
- pixmapBottom=QPixmap(QStringLiteral(":/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Windows.png"));
+ pixmapTop=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Uncaught_Windows.png"));
+ pixmapBottom=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Caught_Windows.png"));
#else
- pixmapTop=QPixmap(QStringLiteral(":/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Unix.png"));
- pixmapBottom=QPixmap(QStringLiteral(":/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Unix.png"));
+ pixmapTop=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Uncaught_Unix.png"));
+ pixmapBottom=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Caught_Unix.png"));
#endif
- shutdown=facilityEngine->haveFunctionality(QStringLiteral("shutdown"));
+ #ifdef SUPERCOPIER
+ /*QIcon icon;
+ icon.addFile(themePath+QStringLiteral("resources/main.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->interfaceCopy->setWindowIcon(icon);*/
+ QIcon icon1;
+ icon1.addFile(themePath+QStringLiteral("resources/add.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->actionAddFile->setIcon(icon1);
+ QIcon icon2;
+ icon2.addFile(themePath+QStringLiteral("resources/SystemTrayIcon/exit.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->shutdown->setIcon(icon2);
+ QIcon icon3;
+ icon3.addFile(themePath+QStringLiteral("resources/moveDown.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->moreButton->setIcon(icon3);
+ ui->pushDown->setIcon(icon3);
+ if(!QFile::exists(themePath+QStringLiteral("resources/moveDown.png")))
+ {
+ qDebug() << "File not found, can't continue: " << themePath+QStringLiteral("resources/moveDown.png");
+ abort();
+ }
+ QIcon icon4;
+ icon4.addFile(themePath+QStringLiteral("resources/player_pause.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->pauseButton->setIcon(icon4);
+ QIcon icon5;
+ icon5.addFile(themePath+QStringLiteral("resources/player_end.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->skipButton->setIcon(icon5);
+ QIcon icon6;
+ icon6.addFile(themePath+QStringLiteral("resources/cancel.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->cancelButton->setIcon(icon6);
+ QIcon icon7;
+ icon7.addFile(themePath+QStringLiteral("resources/putOnTop.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->putOnTop->setIcon(icon7);
+ QIcon icon8;
+ icon8.addFile(themePath+QStringLiteral("resources/moveUp.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->pushUp->setIcon(icon8);
+ QIcon icon9;
+ icon9.addFile(themePath+QStringLiteral("resources/putOnBottom.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->putOnBottom->setIcon(icon9);
+ QIcon icon10;
+ icon10.addFile(themePath+QStringLiteral("resources/remove.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->del->setIcon(icon10);
+ QIcon icon11;
+ icon11.addFile(themePath+QStringLiteral("resources/search.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->searchButton->setIcon(icon11);
+ QIcon icon12;
+ icon12.addFile(themePath+QStringLiteral("resources/export-transfer-list.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->exportTransferList->setIcon(icon12);
+ QIcon icon13;
+ icon13.addFile(themePath+QStringLiteral("resources/import-transfer-list.png"), QSize(), QIcon::Normal, QIcon::Off);
+ ui->importTransferList->setIcon(icon13);
+ QIcon icon14;
+ icon14.addFile(themePath+QStringLiteral("resources/main.png"), QSize(), QIcon::Normal, QIcon::Off);
+ this->setWindowIcon(icon14);
+ #endif
+
+ shutdown=facilityEngine->haveFunctionality("shutdown");
ui->shutdown->setVisible(shutdown);
selectionModel=ui->TransferList->selectionModel();
@@ -231,13 +294,43 @@ Themes::Themes(const bool &alwaysOnTop,
uiOptions->alwaysOnTop->hide();
#endif*/
#ifdef ULTRACOPIER_VERSION_ULTIMATE
- ui->ad_ultimate->hide();
+ #ifdef SUPERCOPIER
+ ui->ad_ultimate->setText(tr("%1 is deprecated, Use %2").arg("<span style=\"color:#ee0000\">Super</span><span style=\"color:#0000cc\">Copier</span>").arg("<a href=\"http://ultracopier.first-world.info/\">Ultracopier</a>"));
+ #else
+ #ifdef Q_OS_MACOS
+ ui->ad_ultimate->setText(tr("This will be the last version for Mac, but you can compile from source"));
+ #else
+ ui->ad_ultimate->hide();
+ #endif
+ #endif
#else
- QString ultimateUrl=facilityEngine->ultimateUrl();
+ QString ultimateUrl=QString::fromStdString(facilityEngine->ultimateUrl());
if(ultimateUrl.isEmpty())
ui->ad_ultimate->hide();
else
- ui->ad_ultimate->setText(QStringLiteral("<a href=\"%1\">%2</a>").arg(ultimateUrl).arg(tr("Buy the Ultimate version to fund development")));
+ ui->ad_ultimate->setText(
+ #ifdef SUPERCOPIER
+ tr("%1 is deprecated, Use %2").arg("<span style=\"color:#ee0000\">Super</span><span style=\"color:#0000cc\">copier</span>").arg("<a href=\"http://ultracopier.first-world.info/\">Ultracopier</a><br />")+
+ #endif
+ #ifdef Q_OS_MACOS
+ tr("This will be the last version for Mac, but you can compile from source")+
+ #endif
+ QStringLiteral("<a href=\"%1\">%2</a>").arg(ultimateUrl).arg(tr("Buy the Ultimate version to fund development")));
+ #endif
+
+ #ifdef SUPERCOPIER
+ uiOptions->labelDualProgression->hide();
+ uiOptions->showDualProgression->hide();
+ ui->progressBar_all->setMaximumHeight(17);
+ ui->progressBar_file->setMaximumHeight(17);
+ ui->progressBarCurrentSpeed->setMaximumHeight(17);
+ ui->progressBar_all->setMinimumHeight(17);
+ ui->progressBar_file->setMinimumHeight(17);
+ ui->progressBarCurrentSpeed->setMinimumHeight(17);
+ ui->progressBar_all->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}"));
+ ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}"));
+ ui->progressBarCurrentSpeed->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}"));
+ this->setWindowTitle("Supercopier");
#endif
show();
@@ -248,7 +341,7 @@ Themes::Themes(const bool &alwaysOnTop,
Themes::~Themes()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
//disconnect(ui->actionAddFile);
//disconnect(ui->actionAddFolder);
delete selectionModel;
@@ -268,14 +361,14 @@ void Themes::getOptionsEngineEnabled(const bool &isEnabled)
QScrollArea *scrollArea=new QScrollArea(ui->tabWidget);
scrollArea->setWidgetResizable(true);
scrollArea->setWidget(&optionEngineWidget);
- ui->tabWidget->addTab(scrollArea,facilityEngine->translateText(QStringLiteral("Copy engine")));
+ ui->tabWidget->addTab(scrollArea,QString::fromStdString(facilityEngine->translateText("Copy engine")));
}
}
void Themes::closeEvent(QCloseEvent *event)
{
event->ignore();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
this->hide();
if(uiOptions->minimizeToSystray->isChecked())
{
@@ -290,7 +383,7 @@ void Themes::updateSysTrayIcon()
{
if(totalSize==0)
{
- sysTrayIcon->setIcon(dynaIcon(0,QStringLiteral("-")));
+ sysTrayIcon->setIcon(dynaIcon(0,"-"));
return;
}
quint64 currentNew=currentSize*100;
@@ -307,12 +400,17 @@ void Themes::updateOverallInformation()
{
if(uiOptions->showProgressionInTheTitle->isChecked())
updateTitle();
- ui->overall->setText(tr("File %1/%2, size: %3/%4").arg(currentFile).arg(totalFile).arg(facilityEngine->sizeToString(currentSize)).arg(facilityEngine->sizeToString(totalSize)));
+ ui->overall->setText(tr("File %1/%2, size: %3/%4")
+ .arg(currentFile)
+ .arg(totalFile)
+ .arg(QString::fromStdString(facilityEngine->sizeToString(currentSize)))
+ .arg(QString::fromStdString(facilityEngine->sizeToString(totalSize)))
+ );
}
void Themes::actionInProgess(const Ultracopier::EngineActionInProgress &action)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("start: ")+QString::number(action));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"start: "+std::to_string(action));
this->action=action;
switch(action)
{
@@ -332,7 +430,7 @@ void Themes::actionInProgess(const Ultracopier::EngineActionInProgress &action)
{
if(shutdown && ui->shutdown->isChecked())
{
- facilityEngine->callFunctionality(QStringLiteral("shutdown"));
+ facilityEngine->callFunctionality("shutdown");
return;
}
switch(uiOptions->comboBox_copyEnd->currentIndex())
@@ -352,9 +450,16 @@ void Themes::actionInProgess(const Ultracopier::EngineActionInProgress &action)
stat = status_stopped;
if(durationStarted)
{
- Ultracopier::TimeDecomposition time=facilityEngine->secondsToTimeDecomposition(duration.elapsed()/1000);
- ui->labelTimeRemaining->setText(QStringLiteral("<html><body style=\"white-space:nowrap;\">")+facilityEngine->translateText(QStringLiteral("Completed in %1")).arg(
- QString::number(time.hour)+QStringLiteral(":")+QString::number(time.minute).rightJustified(2,'0')+QStringLiteral(":")+QString::number(time.second).rightJustified(2,'0')
+ Ultracopier::TimeDecomposition time=facilityEngine->secondsToTimeDecomposition(
+ (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count()-
+ duration)
+ /1000);
+ ui->labelTimeRemaining->setText(QStringLiteral("<html><body style=\"white-space:nowrap;\">")+
+ QString::fromStdString(facilityEngine->translateText("Completed in %1")).arg(
+ QString::number(time.hour)+QStringLiteral(":")+
+ QString::number(time.minute).rightJustified(2,'0')+
+ QStringLiteral(":")+
+ QString::number(time.second).rightJustified(2,'0')
)+QStringLiteral("</body></html>"));
}
}
@@ -370,11 +475,11 @@ void Themes::actionInProgess(const Ultracopier::EngineActionInProgress &action)
ui->pauseButton->setEnabled(true);
if(!durationStarted)
{
- duration.start();
+ duration=std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
durationStarted=true;
}
haveStarted=true;
- ui->cancelButton->setText(facilityEngine->translateText(QStringLiteral("Quit")));
+ ui->cancelButton->setText(QString::fromStdString(facilityEngine->translateText("Quit")));
updatePause();
break;
case Ultracopier::Listing:
@@ -389,17 +494,17 @@ void Themes::actionInProgess(const Ultracopier::EngineActionInProgress &action)
}
}
-void Themes::newFolderListing(const QString &path)
+void Themes::newFolderListing(const std::string &path)
{
- QString newPath=path;
+ QString newPath=QString::fromStdString(path);
if(newPath.size()>(64+3))
newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(action==Ultracopier::Listing)
ui->from->setText(newPath);
}
-void Themes::detectedSpeed(const quint64 &speed)//in byte per seconds
+void Themes::detectedSpeed(const uint64_t &speed)//in byte per seconds
{
if(uiOptions->speedWithProgressBar->isChecked())
{
@@ -408,19 +513,23 @@ void Themes::detectedSpeed(const quint64 &speed)//in byte per seconds
tempSpeed=999999999;
if(tempSpeed>(quint64)ui->progressBarCurrentSpeed->maximum())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("set max speed to: %1").arg(tempSpeed));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set max speed to: "+std::to_string(tempSpeed));
ui->progressBarCurrentSpeed->setMaximum(tempSpeed);
}
ui->progressBarCurrentSpeed->setValue(tempSpeed);
- ui->progressBarCurrentSpeed->setFormat(facilityEngine->speedToString(speed));
+ ui->progressBarCurrentSpeed->setFormat(QString::fromStdString(facilityEngine->speedToString(speed)));
}
else
- ui->currentSpeed->setText(facilityEngine->speedToString(speed));
+ ui->currentSpeed->setText(QString::fromStdString(facilityEngine->speedToString(speed)));
}
void Themes::remainingTime(const int &remainingSeconds)
{
- QString labelTimeRemaining(QStringLiteral("<html><body style=\"white-space:nowrap;\">")+facilityEngine->translateText(QStringLiteral("Time remaining:"))+QStringLiteral(" "));
+ QString labelTimeRemaining(QStringLiteral(
+ "<html><body style=\"white-space:nowrap;\">")+
+ QString::fromStdString(facilityEngine->translateText("Time remaining:"))+
+ QStringLiteral(" ")
+ );
if(remainingSeconds==-1)
labelTimeRemaining+=QStringLiteral("&#8734;");
else
@@ -438,9 +547,13 @@ void Themes::errorDetected()
}
/// \brief new error
-void Themes::errorToRetry(const QString &source,const QString &destination,const QString &error)
+void Themes::errorToRetry(const std::string &source,const std::string &destination,const std::string &error)
{
- ui->errorList->addTopLevelItem(new QTreeWidgetItem(QStringList() << source << destination << error));
+ ui->errorList->addTopLevelItem(new QTreeWidgetItem(QStringList()
+ << QString::fromStdString(source)
+ << QString::fromStdString(destination)
+ << QString::fromStdString(error)
+ ));
}
/** \brief support speed limitation */
@@ -459,7 +572,7 @@ void Themes::setSupportSpeedLimitation(const bool &supportSpeedLimitationBool)
}
//get information about the copy
-void Themes::setGeneralProgression(const quint64 &current,const quint64 &total)
+void Themes::setGeneralProgression(const uint64_t &current,const uint64_t &total)
{
currentSize=current;
totalSize=total;
@@ -477,22 +590,22 @@ void Themes::setGeneralProgression(const quint64 &current,const quint64 &total)
updateSysTrayIcon();
}
-void Themes::setFileProgression(const QList<Ultracopier::ProgressionItem> &progressionList)
+void Themes::setFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList)
{
- QList<Ultracopier::ProgressionItem> progressionListBis=progressionList;
+ std::vector<Ultracopier::ProgressionItem> progressionListBis=progressionList;
transferModel.setFileProgression(progressionListBis);
updateCurrentFileInformation();
}
//edit the transfer list
/// \todo check and re-enable to selection
-void Themes::getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &returnActions)
+void Themes::getActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &returnActions)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, returnActions.size(): ")+QString::number(returnActions.size()));
- QList<quint64> returnValue=transferModel.synchronizeItems(returnActions);
- totalFile+=returnValue.first();
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, returnActions.size(): "+std::to_string(returnActions.size()));
+ std::vector<uint64_t> returnValue=transferModel.synchronizeItems(returnActions);
+ totalFile+=returnValue.front();
totalSize+=returnValue.at(1);
- currentFile+=returnValue.last();
+ currentFile+=returnValue.back();
if(transferModel.rowCount()==0)
{
ui->skipButton->setEnabled(false);
@@ -505,19 +618,19 @@ void Themes::getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &r
else
ui->skipButton->setEnabled(true);
updateOverallInformation();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("transferModel.rowCount(): ")+QString::number(transferModel.rowCount()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferModel.rowCount(): "+std::to_string(transferModel.rowCount()));
}
void Themes::setCopyType(const Ultracopier::CopyType &type)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
this->type=type;
updateModeAndType();
}
void Themes::forceCopyMode(const Ultracopier::CopyMode &mode)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
modeIsForced=true;
this->mode=mode;
if(mode==Ultracopier::Copy)
@@ -536,13 +649,13 @@ void Themes::setTransferListOperation(const Ultracopier::TransferListOperation &
void Themes::haveExternalOrder()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
// ui->moreButton->toggle();
}
void Themes::isInPause(const bool &isInPause)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("isInPause: ")+QString::number(isInPause));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"isInPause: "+std::to_string(isInPause));
//resume in auto the pause
storeIsInPause=isInPause;
updatePause();
@@ -554,14 +667,14 @@ void Themes::updatePause()
{
ui->pauseButton->setIcon(player_play);
if(stat == status_started)
- ui->pauseButton->setText(facilityEngine->translateText(QStringLiteral("Resume")));
+ ui->pauseButton->setText(QString::fromStdString(facilityEngine->translateText("Resume")));
else
- ui->pauseButton->setText(facilityEngine->translateText(QStringLiteral("Start")));
+ ui->pauseButton->setText(QString::fromStdString(facilityEngine->translateText("Start")));
}
else
{
ui->pauseButton->setIcon(player_pause);
- ui->pauseButton->setText(facilityEngine->translateText(QStringLiteral("Pause")));
+ ui->pauseButton->setText(QString::fromStdString(facilityEngine->translateText("Pause")));
}
}
@@ -570,15 +683,15 @@ void Themes::updateCurrentFileInformation()
TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem();
if(transfertItem.haveItem)
{
- QString newPath=transfertItem.from;
+ QString newPath=QString::fromStdString(transfertItem.from);
if(newPath.size()>(64+3))
newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32);
ui->from->setText(newPath);
- newPath=transfertItem.to;
+ newPath=QString::fromStdString(transfertItem.to);
if(newPath.size()>(64+3))
newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32);
ui->to->setText(newPath);
- ui->current_file->setText(transfertItem.current_file);
+ ui->current_file->setText(QString::fromStdString(transfertItem.current_file));
if(transfertItem.progressBar_read!=-1)
{
ui->progressBar_file->setRange(0,65535);
@@ -624,14 +737,14 @@ void Themes::updateCurrentFileInformation()
void Themes::on_putOnTop_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
selectedItems=selectionModel->selectedRows();
- QList<int> ids;
+ std::vector<uint64_t> ids;
int index=0;
const int &loop_size=selectedItems.size();
while(index<loop_size)
{
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
+ ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong());
index++;
}
if(ids.size()>0)
@@ -640,14 +753,14 @@ void Themes::on_putOnTop_clicked()
void Themes::on_pushUp_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
selectedItems=selectionModel->selectedRows();
- QList<int> ids;
+ std::vector<uint64_t> ids;
int index=0;
const int &loop_size=selectedItems.size();
while(index<loop_size)
{
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
+ ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong());
index++;
}
if(ids.size()>0)
@@ -656,14 +769,14 @@ void Themes::on_pushUp_clicked()
void Themes::on_pushDown_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
selectedItems=selectionModel->selectedRows();
- QList<int> ids;
+ std::vector<uint64_t> ids;
int index=0;
const int &loop_size=selectedItems.size();
while(index<loop_size)
{
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
+ ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong());
index++;
}
if(ids.size()>0)
@@ -672,14 +785,14 @@ void Themes::on_pushDown_clicked()
void Themes::on_putOnBottom_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
selectedItems=selectionModel->selectedRows();
- QList<int> ids;
+ std::vector<uint64_t> ids;
int index=0;
const int &loop_size=selectedItems.size();
while(index<loop_size)
{
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
+ ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong());
index++;
}
if(ids.size()>0)
@@ -688,14 +801,14 @@ void Themes::on_putOnBottom_clicked()
void Themes::on_del_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
selectedItems=selectionModel->selectedRows();
- QList<int> ids;
+ std::vector<uint64_t> ids;
int index=0;
const int &loop_size=selectedItems.size();
while(index<loop_size)
{
- ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong();
+ ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong());
index++;
}
if(ids.size()>0)
@@ -704,7 +817,7 @@ void Themes::on_del_clicked()
void Themes::on_cancelButton_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
this->hide();
emit cancel();
}
@@ -712,7 +825,7 @@ void Themes::on_cancelButton_clicked()
void Themes::speedWithProgressBar_toggled(bool checked)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
ui->progressBarCurrentSpeed->setVisible(checked);
ui->currentSpeed->setVisible(!checked);
}
@@ -720,13 +833,13 @@ void Themes::speedWithProgressBar_toggled(bool checked)
void Themes::showDualProgression_toggled(bool checked)
{
Q_UNUSED(checked);
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
updateProgressionColorBar();
}
void Themes::checkBoxShowSpeed_toggled(bool checked)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
Q_UNUSED(checked);
updateSpeed();
}
@@ -756,7 +869,7 @@ void Themes::on_SliderSpeed_valueChanged(int value)
currentSpeed=1024*128;
break;
}
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("value: %1").arg(value));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"value: "+std::to_string(value));
emit newSpeedLimitation(currentSpeed);
updateSpeed();
}
@@ -769,7 +882,7 @@ void Themes::uiUpdateSpeed()
currentSpeed=0;
else
currentSpeed=uiOptions->limitSpeed->value();
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("emit newSpeedLimitation(%1)").arg(currentSpeed));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit newSpeedLimitation"+std::to_string(currentSpeed));
emit newSpeedLimitation(currentSpeed);
}
@@ -783,12 +896,12 @@ void Themes::updateSpeed()
if(uiOptions->checkBoxShowSpeed->isChecked())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("checked, currentSpeed: %1").arg(currentSpeed));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"checked, currentSpeed: "+std::to_string(currentSpeed));
uiOptions->limitSpeed->setEnabled(false);
if(currentSpeed==0)
{
ui->SliderSpeed->setValue(0);
- ui->label_SpeedMaxValue->setText(facilityEngine->translateText(QStringLiteral("Unlimited")));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->translateText("Unlimited")));
}
else if(currentSpeed<=1024)
{
@@ -798,7 +911,7 @@ void Themes::updateSpeed()
emit newSpeedLimitation(currentSpeed);
}
ui->SliderSpeed->setValue(1);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*1));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*1)));
}
else if(currentSpeed<=1024*4)
{
@@ -808,7 +921,7 @@ void Themes::updateSpeed()
emit newSpeedLimitation(currentSpeed);
}
ui->SliderSpeed->setValue(2);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*4));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*4)));
}
else if(currentSpeed<=1024*16)
{
@@ -818,7 +931,7 @@ void Themes::updateSpeed()
emit newSpeedLimitation(currentSpeed);
}
ui->SliderSpeed->setValue(3);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*16));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*16)));
}
else if(currentSpeed<=1024*64)
{
@@ -828,7 +941,7 @@ void Themes::updateSpeed()
emit newSpeedLimitation(currentSpeed);
}
ui->SliderSpeed->setValue(4);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*64));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*64)));
}
else
{
@@ -838,7 +951,7 @@ void Themes::updateSpeed()
emit newSpeedLimitation(currentSpeed);
}
ui->SliderSpeed->setValue(5);
- ui->label_SpeedMaxValue->setText(facilityEngine->speedToString((double)(1024*1024)*128));
+ ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*128)));
}
}
else
@@ -853,7 +966,7 @@ void Themes::updateSpeed()
void Themes::on_pauseButton_clicked()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(storeIsInPause)
emit resume();
else
@@ -865,14 +978,14 @@ void Themes::on_skipButton_clicked()
TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem();
if(transfertItem.haveItem)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("skip at running: %1").arg(transfertItem.id));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"skip at running: "+std::to_string(transfertItem.id));
emit skip(transfertItem.id);
}
else
{
if(transferModel.rowCount()>1)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("skip at idle: %1").arg(transferModel.firstId()));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"skip at idle: "+std::to_string(transferModel.firstId()));
emit skip(transferModel.firstId());
}
else
@@ -903,43 +1016,43 @@ void Themes::updateModeAndType()
void Themes::forcedModeAddFile()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
emit userAddFile(mode);
}
void Themes::forcedModeAddFolder()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
emit userAddFolder(mode);
}
void Themes::forcedModeAddFileToCopy()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
emit userAddFile(Ultracopier::Copy);
}
void Themes::forcedModeAddFolderToCopy()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
emit userAddFolder(Ultracopier::Copy);
}
void Themes::forcedModeAddFileToMove()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
emit userAddFile(Ultracopier::Move);
}
void Themes::forcedModeAddFolderToMove()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
emit userAddFolder(Ultracopier::Move);
}
void Themes::newLanguageLoaded()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
if(modeIsForced)
forceCopyMode(mode);
ui->retranslateUi(this);
@@ -954,7 +1067,8 @@ void Themes::newLanguageLoaded()
updateOverallInformation();
updateSpeed();
if(ui->tabWidget->count()>=4)
- ui->tabWidget->setTabText(ui->tabWidget->count()-1,facilityEngine->translateText(QStringLiteral("Copy engine")));
+ ui->tabWidget->setTabText(ui->tabWidget->count()-1,
+ QString::fromStdString(facilityEngine->translateText("Copy engine")));
on_moreButton_toggled(ui->moreButton->isChecked());
}
@@ -995,7 +1109,7 @@ void Themes::searchBoxShortcut()
//hilight the search
void Themes::hilightTheSearch(bool searchNext)
{
- int result=transferModel.search(ui->lineEditSearch->text(),searchNext);
+ int result=transferModel.search(ui->lineEditSearch->text().toStdString(),searchNext);
if(ui->lineEditSearch->text().isEmpty())
ui->lineEditSearch->setStyleSheet("");
else
@@ -1017,7 +1131,7 @@ void Themes::hilightTheSearchSlot()
void Themes::on_pushButtonSearchPrev_clicked()
{
- int result=transferModel.searchPrev(ui->lineEditSearch->text());
+ int result=transferModel.searchPrev(ui->lineEditSearch->text().toStdString());
if(ui->lineEditSearch->text().isEmpty())
ui->lineEditSearch->setStyleSheet("");
else
@@ -1075,24 +1189,27 @@ void dragLeaveEvent(QDragLeaveEvent* event);
*/
void Themes::dropEvent(QDropEvent *event)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
const QMimeData* mimeData = event->mimeData();
if(mimeData->hasUrls())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("hasUrls"));
- emit urlDropped(mimeData->urls());
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"hasUrls");
+ std::vector<std::string> urls;
+ foreach (QUrl url, mimeData->urls())
+ urls.push_back(url.toString().toStdString());
+ emit urlDropped(urls);
event->acceptProposedAction();
}
}
void Themes::dragEnterEvent(QDragEnterEvent* event)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
// if some actions should not be usable, like move, this code must be adopted
const QMimeData* mimeData = event->mimeData();
if(mimeData->hasUrls())
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("hasUrls"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"hasUrls");
event->acceptProposedAction();
}
}
@@ -1107,7 +1224,7 @@ void Themes::dragMoveEvent(QDragMoveEvent* event)
void Themes::dragLeaveEvent(QDragLeaveEvent* event)
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
event->accept();
}
@@ -1184,7 +1301,7 @@ void Themes::alwaysOnTop_clicked(bool reshow)
flags=flags | Qt::WindowStaysOnTopHint;
else
flags=flags & ~Qt::WindowStaysOnTopHint;
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"uiOptions->alwaysOnTop->isChecked(): "+QString::number(uiOptions->alwaysOnTop->isChecked())+", flags: "+QString::number(flags));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"uiOptions->alwaysOnTop->isChecked(): "+std::to_string(uiOptions->alwaysOnTop->isChecked())+", flags: "+std::to_string(flags));
setWindowFlags(flags);
if(reshow)
show();
@@ -1197,7 +1314,7 @@ void Themes::alwaysOnTop_clickedSlot()
void Themes::updateProgressionColorBar()
{
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
uiOptions->labelProgressionColor->setVisible(uiOptions->showDualProgression->isChecked());
uiOptions->frameProgressionColor->setVisible(uiOptions->showDualProgression->isChecked());
if(!uiOptions->showDualProgression->isChecked())
@@ -1230,25 +1347,25 @@ void Themes::updateTitle()
if(uiOptions->showProgressionInTheTitle->isChecked() && totalSize>0)
{
if(!modeIsForced)
- this->setWindowTitle(tr("%1 %2% of %3").arg(facilityEngine->translateText(QStringLiteral("Transfer"))).arg((currentSize*100)/totalSize).arg(facilityEngine->sizeToString(totalSize))+QStringLiteral(" - ")+facilityEngine->softwareName());
+ this->setWindowTitle(tr("%1 %2% of %3").arg(QString::fromStdString(facilityEngine->translateText("Transfer"))).arg((currentSize*100)/totalSize).arg(QString::fromStdString(facilityEngine->sizeToString(totalSize)))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName()));
else
{
if(mode==Ultracopier::Copy)
- this->setWindowTitle(tr("%1 %2% of %3").arg(facilityEngine->translateText(QStringLiteral("Copy"))).arg((currentSize*100)/totalSize).arg(facilityEngine->sizeToString(totalSize))+QStringLiteral(" - ")+facilityEngine->softwareName());
+ this->setWindowTitle(tr("%1 %2% of %3").arg(QString::fromStdString(facilityEngine->translateText("Copy"))).arg((currentSize*100)/totalSize).arg(QString::fromStdString(facilityEngine->sizeToString(totalSize)))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName()));
else
- this->setWindowTitle(tr("%1 %2% of %3").arg(facilityEngine->translateText(QStringLiteral("Move"))).arg((currentSize*100)/totalSize).arg(facilityEngine->sizeToString(totalSize))+QStringLiteral(" - ")+facilityEngine->softwareName());
+ this->setWindowTitle(tr("%1 %2% of %3").arg(QString::fromStdString(facilityEngine->translateText("Move"))).arg((currentSize*100)/totalSize).arg(QString::fromStdString(facilityEngine->sizeToString(totalSize)))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName()));
}
}
else
{
if(!modeIsForced)
- this->setWindowTitle(QStringLiteral("%1").arg(facilityEngine->translateText(QStringLiteral("Transfer")))+QStringLiteral(" - ")+facilityEngine->softwareName());
+ this->setWindowTitle(QStringLiteral("%1").arg(QString::fromStdString(facilityEngine->translateText("Transfer")))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName()));
else
{
if(mode==Ultracopier::Copy)
- this->setWindowTitle(QStringLiteral("%1").arg(facilityEngine->translateText(QStringLiteral("Copy")))+QStringLiteral(" - ")+facilityEngine->softwareName());
+ this->setWindowTitle(QStringLiteral("%1").arg(QString::fromStdString(facilityEngine->translateText("Copy")))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName()));
else
- this->setWindowTitle(QStringLiteral("%1").arg(facilityEngine->translateText(QStringLiteral("Move")))+QStringLiteral(" - ")+facilityEngine->softwareName());
+ this->setWindowTitle(QStringLiteral("%1").arg(QString::fromStdString(facilityEngine->translateText("Move")))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName()));
}
}
}
@@ -1263,7 +1380,7 @@ Do by mongaulois, remake by alpha_one_x86.
\return QIcon of the final image
\note Can be used as it: dynaIcon(75,"...")
*/
-QIcon Themes::dynaIcon(int percent,QString text) const
+QIcon Themes::dynaIcon(int percent,std::string text) const
{
#ifdef ULTRACOPIER_PLUGIN_DEBUG
if(pixmapTop.isNull() || pixmapBottom.isNull())
@@ -1320,13 +1437,13 @@ QIcon Themes::dynaIcon(int percent,QString text) const
qint8 textxOffset=0;
qint8 textyOffset=0;
- if(text.isEmpty())
+ if(text.empty())
{
if(percent!=100)
- text=QString::number(percent);
+ text=std::to_string(percent);
else
{
- text=QStringLiteral(":)");
+ text=":)";
#ifdef Q_OS_WIN32
textyOffset-=2;
#else
@@ -1352,9 +1469,9 @@ QIcon Themes::dynaIcon(int percent,QString text) const
textyOffset+=3;
#endif
painter.setPen(QPen(Qt::black));
- painter.drawText(3+textxOffset,13+textyOffset,text);
+ painter.drawText(3+textxOffset,13+textyOffset,QString::fromStdString(text));
painter.setPen(QPen(Qt::white));
- painter.drawText(2+textxOffset,12+textyOffset,text);
+ painter.drawText(2+textxOffset,12+textyOffset,QString::fromStdString(text));
}
return QIcon(resultImage);
}
@@ -1371,7 +1488,7 @@ void Themes::catchAction(QSystemTrayIcon::ActivationReason reason)
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Double Click detected");
}
else
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("reason: %1").arg(reason));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"reason: "+std::to_string(reason));
}
void Themes::on_exportErrorToTransferList_clicked()
diff --git a/plugins/Themes/Oxygen/interface.h b/plugins/Themes/Oxygen/interface.h
index ee3cadd..acca141 100644
--- a/plugins/Themes/Oxygen/interface.h
+++ b/plugins/Themes/Oxygen/interface.h
@@ -58,28 +58,28 @@ public:
/// \brief to set the action in progress
void actionInProgess(const Ultracopier::EngineActionInProgress &);
/// \brief the new folder is listing
- void newFolderListing(const QString &path);
+ void newFolderListing(const std::string &path);
/** \brief show the detected speed
* in byte per seconds */
- void detectedSpeed(const quint64 &speed);
+ void detectedSpeed(const uint64_t &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);
+ void newCollisionAction(const std::string &action);
/// \brief set the current error action
- void newErrorAction(const QString &action);
+ void newErrorAction(const std::string &action);
/// \brief set one error is detected
void errorDetected();
/// \brief new error
- void errorToRetry(const QString &source,const QString &destination,const QString &error);
+ void errorToRetry(const std::string &source,const std::string &destination,const std::string &error);
/** \brief support speed limitation */
void setSupportSpeedLimitation(const bool &supportSpeedLimitationBool);
//get information about the copy
/// \brief show the general progression
- void setGeneralProgression(const quint64 &current,const quint64 &total);
+ void setGeneralProgression(const uint64_t &current,const uint64_t &total);
/// \brief show the file progression
- void setFileProgression(const QList<Ultracopier::ProgressionItem> &progressionList);
+ void setFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList);
/// \brief set the copyType -> file or folder
void setCopyType(const Ultracopier::CopyType &);
/// \brief set the copyMove -> copy or move, to force in copy or move, else support both
@@ -88,7 +88,7 @@ public:
void setTransferListOperation(const Ultracopier::TransferListOperation &transferListOperation);
//edit the transfer list
/// \brief get action on the transfer list (add/move/remove)
- void getActionOnList(const QList<Ultracopier::ReturnActionOnCopyList> &returnActions);
+ void getActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &returnActions);
/** \brief set if the order is external (like file manager copy)
* to notify the interface, which can hide add folder/filer button */
void haveExternalOrder();
@@ -150,24 +150,24 @@ private slots:
void catchAction(QSystemTrayIcon::ActivationReason reason);
void on_exportErrorToTransferList_clicked();
private:
- QTime duration;
+ uint64_t duration;
bool durationStarted;
QPixmap pixmapTop,pixmapBottom;
QColor progressColorWrite,progressColorRead,progressColorRemaining;
Ui::interfaceCopy *ui;
Ui::themesOptions *uiOptions;
- quint64 currentFile;
- quint64 totalFile;
- quint64 currentSize;
- quint64 totalSize;
- quint8 getOldProgression;
+ uint64_t currentFile;
+ uint64_t totalFile;
+ uint64_t currentSize;
+ uint64_t totalSize;
+ uint8_t getOldProgression;
QSystemTrayIcon *sysTrayIcon;
void updateOverallInformation();
void updateCurrentFileInformation();
QMenu *menu;
Ultracopier::EngineActionInProgress action;
void closeEvent(QCloseEvent *event);
- qint32 currentSpeed;///< in KB/s, assume as 0KB/s as default like every where
+ int32_t currentSpeed;///< in KB/s, assume as 0KB/s as default like every where
void updateSpeed();
bool storeIsInPause;
bool modeIsForced;
@@ -212,11 +212,11 @@ private:
//have functionality
bool shutdown;
void updatePause();
- QIcon dynaIcon(int percent,QString text="") const;
+ QIcon dynaIcon(int percent,std::string text="") const;
void updateSysTrayIcon();
signals:
/// \brief To debug source
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
};
#endif // INTERFACE_H
diff --git a/plugins/Themes/Oxygen/interface.pro b/plugins/Themes/Oxygen/interface.pro
index 8ddf147..9b4923d 100644
--- a/plugins/Themes/Oxygen/interface.pro
+++ b/plugins/Themes/Oxygen/interface.pro
@@ -1,59 +1,8 @@
-CONFIG += c++11
-QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
-mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
-
-QT += widgets
-TEMPLATE = lib
-CONFIG += plugin
-HEADERS = ThemesFactory.h \
- StructEnumDefinition.h \
- DebugEngineMacro.h \
- Environment.h \
- Variable.h \
- ../../../interface/PluginInterface_Themes.h \
- ../../../interface/FacilityInterface.h \
- ../../../interface/OptionInterface.h \
- TransferModel.h \
- interface.h
-SOURCES = ThemesFactory.cpp \
- TransferModel.cpp \
- interface.cpp
-TARGET = $$qtLibraryTarget(interface)
-TRANSLATIONS += Languages/ar/translation.ts \
- Languages/de/translation.ts \
- Languages/el/translation.ts \
- Languages/en/translation.ts \
- Languages/es/translation.ts \
- Languages/fr/translation.ts \
- Languages/hi/translation.ts \
- Languages/hu/translation.ts \
- Languages/id/translation.ts \
- Languages/it/translation.ts \
- Languages/ja/translation.ts \
- Languages/ko/translation.ts \
- Languages/nl/translation.ts \
- Languages/no/translation.ts \
- Languages/pl/translation.ts \
- Languages/pt/translation.ts \
- Languages/ru/translation.ts \
- Languages/th/translation.ts \
- Languages/tr/translation.ts \
- Languages/zh/translation.ts
-
-win32 {
- RESOURCES +=
-}
-!win32 {
- RESOURCES +=
-}
+include($$PWD/../Oxygen/interfaceInclude.pri)
!CONFIG(static) {
RESOURCES += \
- interfaceResources.qrc \
- interfaceResources_unix.qrc \
- interfaceResources_windows.qrc
+ $$PWD/../Oxygen/interfaceResources.qrc \
+ $$PWD/../Oxygen/interfaceResources_unix.qrc \
+ $$PWD/../Oxygen/interfaceResources_windows.qrc
}
-
-FORMS += \
- interface.ui \
- themesOptions.ui
diff --git a/plugins/Themes/Oxygen/interfaceInclude.pri b/plugins/Themes/Oxygen/interfaceInclude.pri
new file mode 100644
index 0000000..5f7317b
--- /dev/null
+++ b/plugins/Themes/Oxygen/interfaceInclude.pri
@@ -0,0 +1,51 @@
+CONFIG += c++11
+QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
+mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
+
+QT += widgets
+TEMPLATE = lib
+CONFIG += plugin
+HEADERS = \
+ $$PWD/ThemesFactory.h \
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/Environment.h \
+ $$PWD/Variable.h \
+ $$PWD/../../../interface/PluginInterface_Themes.h \
+ $$PWD/../../../interface/FacilityInterface.h \
+ $$PWD/../../../interface/OptionInterface.h \
+ $$PWD/../../../cpp11addition.h \
+ $$PWD/TransferModel.h \
+ $$PWD/interface.h
+SOURCES = \
+ $$PWD/ThemesFactory.cpp \
+ $$PWD/TransferModel.cpp \
+ $$PWD/interface.cpp \
+ $$PWD/../../../cpp11addition.cpp \
+ $$PWD/../../../cpp11additionstringtointcpp.cpp
+TARGET = $$qtLibraryTarget(interface)
+TRANSLATIONS += \
+ $$PWD/Languages/ar/translation.ts \
+ $$PWD/Languages/de/translation.ts \
+ $$PWD/Languages/el/translation.ts \
+ $$PWD/Languages/en/translation.ts \
+ $$PWD/Languages/es/translation.ts \
+ $$PWD/Languages/fr/translation.ts \
+ $$PWD/Languages/hi/translation.ts \
+ $$PWD/Languages/hu/translation.ts \
+ $$PWD/Languages/id/translation.ts \
+ $$PWD/Languages/it/translation.ts \
+ $$PWD/Languages/ja/translation.ts \
+ $$PWD/Languages/ko/translation.ts \
+ $$PWD/Languages/nl/translation.ts \
+ $$PWD/Languages/no/translation.ts \
+ $$PWD/Languages/pl/translation.ts \
+ $$PWD/Languages/pt/translation.ts \
+ $$PWD/Languages/ru/translation.ts \
+ $$PWD/Languages/th/translation.ts \
+ $$PWD/Languages/tr/translation.ts \
+ $$PWD/Languages/zh/translation.ts
+
+FORMS += \
+ $$PWD/interface.ui \
+ $$PWD/themesOptions.ui
diff --git a/plugins-alternative/Themes/Supercopier/informations.xml b/plugins/Themes/Supercopier/informations.xml
index 25a77f9..476e5f5 100644
--- a/plugins-alternative/Themes/Supercopier/informations.xml
+++ b/plugins/Themes/Supercopier/informations.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<package>
<title xml:lang="en"><![CDATA[Supercopier style for Ultracopier]]></title><!-- english is required -->
- <title xml:lang="fr"><![CDATA[Style Supercopier pour Ultracopier]]></title>
+ <title xml:lang="fr"><![CDATA[Style supercopier pour Ultracopier]]></title>
<!-- What kind of plugin this is -->
<category>Themes</category>
<!-- Who wrote this plugin -->
@@ -15,12 +15,12 @@
<architecture>windows-x86</architecture>
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[Supercopier style for Ultracopier]]></description>
- <description xml:lang="fr"><![CDATA[Style Supercopier pour Ultracopier]]></description>
+ <description xml:lang="fr"><![CDATA[Style supercopier 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>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>Supercopier</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[
]]></dependencies>
-</package> \ No newline at end of file
+</package>
diff --git a/plugins/Themes/Supercopier/interface.pro b/plugins/Themes/Supercopier/interface.pro
new file mode 100644
index 0000000..1b0ef2e
--- /dev/null
+++ b/plugins/Themes/Supercopier/interface.pro
@@ -0,0 +1,10 @@
+DEFINES+=SUPERCOPIER
+
+include($$PWD/../Oxygen/interfaceInclude.pri)
+
+!CONFIG(static) {
+RESOURCES += \
+ $$PWD/../Supercopier/interfaceResources.qrc \
+ $$PWD/../Supercopier/interfaceResources_unix.qrc \
+ $$PWD/../Supercopier/interfaceResources_windows.qrc
+}
diff --git a/plugins-alternative/Themes/Supercopier/interfaceResources.qrc b/plugins/Themes/Supercopier/interfaceResources.qrc
index d8990aa..d8990aa 100644
--- a/plugins-alternative/Themes/Supercopier/interfaceResources.qrc
+++ b/plugins/Themes/Supercopier/interfaceResources.qrc
diff --git a/plugins-alternative/Themes/Supercopier/interfaceResources_unix.qrc b/plugins/Themes/Supercopier/interfaceResources_unix.qrc
index 52bc325..2cf979f 100644
--- a/plugins-alternative/Themes/Supercopier/interfaceResources_unix.qrc
+++ b/plugins/Themes/Supercopier/interfaceResources_unix.qrc
@@ -3,7 +3,5 @@
<file>resources/SystemTrayIcon/systray_Caught_Unix.png</file>
<file>resources/SystemTrayIcon/systray_Semiuncaught_Unix.png</file>
<file>resources/SystemTrayIcon/systray_Uncaught_Unix.png</file>
- <file>resources/SystemTrayIcon/systray_Top_Progress_Unix.png</file>
- <file>resources/SystemTrayIcon/systray_Bottom_Progress_Unix.png</file>
</qresource>
</RCC>
diff --git a/plugins-alternative/Themes/Supercopier/interfaceResources_windows.qrc b/plugins/Themes/Supercopier/interfaceResources_windows.qrc
index aed7063..abbedba 100644
--- a/plugins-alternative/Themes/Supercopier/interfaceResources_windows.qrc
+++ b/plugins/Themes/Supercopier/interfaceResources_windows.qrc
@@ -3,7 +3,5 @@
<file>resources/SystemTrayIcon/systray_Caught_Windows.png</file>
<file>resources/SystemTrayIcon/systray_Semiuncaught_Windows.png</file>
<file>resources/SystemTrayIcon/systray_Uncaught_Windows.png</file>
- <file>resources/SystemTrayIcon/systray_Top_Progress_Windows.png</file>
- <file>resources/SystemTrayIcon/systray_Bottom_Progress_Windows.png</file>
</qresource>
</RCC>
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/add.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/add.png
index d41fce6..d41fce6 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/add.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/add.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/exit.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/exit.png
index 9599bba..9599bba 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/exit.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/exit.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/informations.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/informations.png
index 86c9ba6..86c9ba6 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/informations.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/informations.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/options.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/options.png
index cf699d5..cf699d5 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/options.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/options.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png
index be2ba20..be2ba20 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png
index 9c597af..9c597af 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png
index be2ba20..be2ba20 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png
index 9c597af..9c597af 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png
index 4da8cc0..4da8cc0 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png
index 8bfbcf9..8bfbcf9 100644
--- a/plugins-alternative/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png
+++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/add.png b/plugins/Themes/Supercopier/resources/add.png
index af8a401..af8a401 100644
--- a/plugins-alternative/Themes/Supercopier/resources/add.png
+++ b/plugins/Themes/Supercopier/resources/add.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/cancel.png b/plugins/Themes/Supercopier/resources/cancel.png
index 1e7579c..1e7579c 100644
--- a/plugins-alternative/Themes/Supercopier/resources/cancel.png
+++ b/plugins/Themes/Supercopier/resources/cancel.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/export-transfer-list.png b/plugins/Themes/Supercopier/resources/export-transfer-list.png
index 2bcc455..2bcc455 100644
--- a/plugins-alternative/Themes/Supercopier/resources/export-transfer-list.png
+++ b/plugins/Themes/Supercopier/resources/export-transfer-list.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/import-transfer-list.png b/plugins/Themes/Supercopier/resources/import-transfer-list.png
index d208342..d208342 100644
--- a/plugins-alternative/Themes/Supercopier/resources/import-transfer-list.png
+++ b/plugins/Themes/Supercopier/resources/import-transfer-list.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/main.png b/plugins/Themes/Supercopier/resources/main.png
index 9bec399..9bec399 100644
--- a/plugins-alternative/Themes/Supercopier/resources/main.png
+++ b/plugins/Themes/Supercopier/resources/main.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/moveDown.png b/plugins/Themes/Supercopier/resources/moveDown.png
index 7f4ff27..7f4ff27 100644
--- a/plugins-alternative/Themes/Supercopier/resources/moveDown.png
+++ b/plugins/Themes/Supercopier/resources/moveDown.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/moveUp.png b/plugins/Themes/Supercopier/resources/moveUp.png
index 9397b76..9397b76 100644
--- a/plugins-alternative/Themes/Supercopier/resources/moveUp.png
+++ b/plugins/Themes/Supercopier/resources/moveUp.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/player_end.png b/plugins/Themes/Supercopier/resources/player_end.png
index 9730302..9730302 100644
--- a/plugins-alternative/Themes/Supercopier/resources/player_end.png
+++ b/plugins/Themes/Supercopier/resources/player_end.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/player_pause.png b/plugins/Themes/Supercopier/resources/player_pause.png
index 429ae43..429ae43 100644
--- a/plugins-alternative/Themes/Supercopier/resources/player_pause.png
+++ b/plugins/Themes/Supercopier/resources/player_pause.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/player_play.png b/plugins/Themes/Supercopier/resources/player_play.png
index a28ac73..a28ac73 100644
--- a/plugins-alternative/Themes/Supercopier/resources/player_play.png
+++ b/plugins/Themes/Supercopier/resources/player_play.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/progressbarleft.png b/plugins/Themes/Supercopier/resources/progressbarleft.png
index bbee9c8..bbee9c8 100644
--- a/plugins-alternative/Themes/Supercopier/resources/progressbarleft.png
+++ b/plugins/Themes/Supercopier/resources/progressbarleft.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/progressbarright.png b/plugins/Themes/Supercopier/resources/progressbarright.png
index 93e5781..93e5781 100644
--- a/plugins-alternative/Themes/Supercopier/resources/progressbarright.png
+++ b/plugins/Themes/Supercopier/resources/progressbarright.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/putOnBottom.png b/plugins/Themes/Supercopier/resources/putOnBottom.png
index 9ac517c..9ac517c 100644
--- a/plugins-alternative/Themes/Supercopier/resources/putOnBottom.png
+++ b/plugins/Themes/Supercopier/resources/putOnBottom.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/putOnTop.png b/plugins/Themes/Supercopier/resources/putOnTop.png
index 5682829..5682829 100644
--- a/plugins-alternative/Themes/Supercopier/resources/putOnTop.png
+++ b/plugins/Themes/Supercopier/resources/putOnTop.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/remove.png b/plugins/Themes/Supercopier/resources/remove.png
index 3a2a9f1..3a2a9f1 100644
--- a/plugins-alternative/Themes/Supercopier/resources/remove.png
+++ b/plugins/Themes/Supercopier/resources/remove.png
Binary files differ
diff --git a/plugins-alternative/Themes/Supercopier/resources/search.png b/plugins/Themes/Supercopier/resources/search.png
index 567f498..567f498 100644
--- a/plugins-alternative/Themes/Supercopier/resources/search.png
+++ b/plugins/Themes/Supercopier/resources/search.png
Binary files differ
diff --git a/resources/Languages/en/informations.xml b/resources/Languages/en/informations.xml
index 671ac15..979d729 100644
--- a/resources/Languages/en/informations.xml
+++ b/resources/Languages/en/informations.xml
@@ -12,7 +12,7 @@
<!-- Detailed description -->
<description xml:lang="en"><![CDATA[File to define all English language related, Ultracopier is written in English, then not translation file needed]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>1.2.3.6</version>
+ <version>1.4.0.3</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>en</name>
<dependencies><![CDATA[
diff --git a/resources/Languages/en/translation.ts b/resources/Languages/en/translation.ts
index e827a0a..604c4dd 100644
--- a/resources/Languages/en/translation.ts
+++ b/resources/Languages/en/translation.ts
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="en">
+<TS version="2.1" language="en">
<context>
<name>CliParser</name>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
- <location filename="../../../CliParser.cpp" line="71"/>
- <location filename="../../../CliParser.cpp" line="84"/>
- <location filename="../../../CliParser.cpp" line="94"/>
- <location filename="../../../CliParser.cpp" line="179"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
+ <location filename="../../../CliParser.cpp" line="180"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="25"/>
+ <location filename="../../../CliParser.cpp" line="26"/>
<source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="71"/>
+ <location filename="../../../CliParser.cpp" line="72"/>
<source>Problem reading file, or file size is 0</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="159"/>
- <location filename="../../../CliParser.cpp" line="170"/>
+ <location filename="../../../CliParser.cpp" line="160"/>
+ <location filename="../../../CliParser.cpp" line="171"/>
<source>The arguments possible are:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="161"/>
- <location filename="../../../CliParser.cpp" line="172"/>
+ <location filename="../../../CliParser.cpp" line="162"/>
+ <location filename="../../../CliParser.cpp" line="173"/>
<source>To display the options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="162"/>
- <location filename="../../../CliParser.cpp" line="173"/>
+ <location filename="../../../CliParser.cpp" line="163"/>
+ <location filename="../../../CliParser.cpp" line="174"/>
<source>To quit the other instances (if running)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="164"/>
- <location filename="../../../CliParser.cpp" line="175"/>
+ <location filename="../../../CliParser.cpp" line="165"/>
+ <location filename="../../../CliParser.cpp" line="176"/>
<source>To copy sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="165"/>
- <location filename="../../../CliParser.cpp" line="176"/>
+ <location filename="../../../CliParser.cpp" line="166"/>
+ <location filename="../../../CliParser.cpp" line="177"/>
<source>To move sources to destination, separated by space. If destination is &quot;?&quot;, ultracopier will ask the user</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="169"/>
+ <location filename="../../../CliParser.cpp" line="170"/>
<source>Command not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="84"/>
+ <location filename="../../../CliParser.cpp" line="85"/>
<source>This file is not supported transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="94"/>
+ <location filename="../../../CliParser.cpp" line="95"/>
<source>Unable to open the transfer list file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="160"/>
- <location filename="../../../CliParser.cpp" line="171"/>
+ <location filename="../../../CliParser.cpp" line="161"/>
+ <location filename="../../../CliParser.cpp" line="172"/>
<source>To display this help</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="163"/>
- <location filename="../../../CliParser.cpp" line="174"/>
+ <location filename="../../../CliParser.cpp" line="164"/>
+ <location filename="../../../CliParser.cpp" line="175"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CliParser.cpp" line="181"/>
+ <location filename="../../../CliParser.cpp" line="182"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
@@ -88,30 +88,30 @@
<context>
<name>CopyEngineManager</name>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="229"/>
+ <location filename="../../../CopyEngineManager.cpp" line="231"/>
<source>Cannot find any copy engine with move support</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="257"/>
+ <location filename="../../../CopyEngineManager.cpp" line="259"/>
<source>This copy engine does not support move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="234"/>
+ <location filename="../../../CopyEngineManager.cpp" line="236"/>
<source>Cannot find any compatible engine!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyEngineManager.cpp" line="271"/>
+ <location filename="../../../CopyEngineManager.cpp" line="273"/>
<source>Cannot find any engine with this name: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -119,12 +119,12 @@
<context>
<name>CopyListener</name>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../CopyListener.cpp" line="158"/>
+ <location filename="../../../CopyListener.cpp" line="159"/>
<source>Error during the reception of the copy/move list
%1</source>
<translation type="unfinished"></translation>
@@ -133,70 +133,70 @@
<context>
<name>Core</name>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="116"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
- <location filename="../../../Core.cpp" line="216"/>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="117"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
+ <location filename="../../../Core.cpp" line="217"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="45"/>
- <location filename="../../../Core.cpp" line="142"/>
- <location filename="../../../Core.cpp" line="157"/>
- <location filename="../../../Core.cpp" line="177"/>
- <location filename="../../../Core.cpp" line="191"/>
- <location filename="../../../Core.cpp" line="200"/>
- <location filename="../../../Core.cpp" line="209"/>
+ <location filename="../../../Core.cpp" line="46"/>
+ <location filename="../../../Core.cpp" line="143"/>
+ <location filename="../../../Core.cpp" line="158"/>
+ <location filename="../../../Core.cpp" line="178"/>
+ <location filename="../../../Core.cpp" line="192"/>
+ <location filename="../../../Core.cpp" line="201"/>
+ <location filename="../../../Core.cpp" line="210"/>
<source>Unable to get a copy engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Group window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="93"/>
+ <location filename="../../../Core.cpp" line="94"/>
<source>Do you want group the transfer with another actual running transfer?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="116"/>
+ <location filename="../../../Core.cpp" line="117"/>
<source>Unable to get a engine instance</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="216"/>
+ <location filename="../../../Core.cpp" line="217"/>
<source>The argument for the mode is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Do you want to copy? If no, it will be moved.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="250"/>
- <location filename="../../../Core.cpp" line="387"/>
+ <location filename="../../../Core.cpp" line="251"/>
+ <location filename="../../../Core.cpp" line="388"/>
<source>Unable to load the interface, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="392"/>
+ <location filename="../../../Core.cpp" line="393"/>
<source>Unable to load the copy engine, copy aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../Core.cpp" line="1133"/>
+ <location filename="../../../Core.cpp" line="1136"/>
<source>Transfer mode</source>
<translation type="unfinished"></translation>
</message>
@@ -204,12 +204,12 @@
<context>
<name>EventDispatcher</name>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../EventDispatcher.cpp" line="155"/>
+ <location filename="../../../EventDispatcher.cpp" line="152"/>
<source>Give the key of this software, more information on &lt;a href=&quot;http://ultracopier.first-world.info/&quot;&gt;ultracopier.first-world.info&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
@@ -217,257 +217,257 @@
<context>
<name>FacilityEngine</name>
<message>
- <location filename="../../../FacilityEngine.cpp" line="27"/>
+ <location filename="../../../FacilityEngine.cpp" line="37"/>
<source>s</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="28"/>
+ <location filename="../../../FacilityEngine.cpp" line="38"/>
<source>Too big</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="29"/>
+ <location filename="../../../FacilityEngine.cpp" line="39"/>
<source>B</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="30"/>
+ <location filename="../../../FacilityEngine.cpp" line="40"/>
<source>KB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="31"/>
+ <location filename="../../../FacilityEngine.cpp" line="41"/>
<source>MB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="32"/>
+ <location filename="../../../FacilityEngine.cpp" line="42"/>
<source>GB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="33"/>
+ <location filename="../../../FacilityEngine.cpp" line="43"/>
<source>TB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="34"/>
+ <location filename="../../../FacilityEngine.cpp" line="44"/>
<source>PB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="35"/>
+ <location filename="../../../FacilityEngine.cpp" line="45"/>
<source>EB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="36"/>
+ <location filename="../../../FacilityEngine.cpp" line="46"/>
<source>ZB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="37"/>
+ <location filename="../../../FacilityEngine.cpp" line="47"/>
<source>YB</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="38"/>
+ <location filename="../../../FacilityEngine.cpp" line="48"/>
<source>Less than %10 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="39"/>
+ <location filename="../../../FacilityEngine.cpp" line="49"/>
<source>About %10 seconds remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="40"/>
+ <location filename="../../../FacilityEngine.cpp" line="50"/>
<source>About %1 minutes remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="41"/>
+ <location filename="../../../FacilityEngine.cpp" line="51"/>
<source>About %1 hours remaining</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="43"/>
+ <location filename="../../../FacilityEngine.cpp" line="53"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="45"/>
+ <location filename="../../../FacilityEngine.cpp" line="55"/>
<source>Copy</source>
<extracomment>a copy</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="47"/>
+ <location filename="../../../FacilityEngine.cpp" line="57"/>
<source>Transfer</source>
<extracomment>a transfer</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="49"/>
+ <location filename="../../../FacilityEngine.cpp" line="59"/>
<source>Move</source>
<extracomment>a move</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="50"/>
+ <location filename="../../../FacilityEngine.cpp" line="60"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="51"/>
+ <location filename="../../../FacilityEngine.cpp" line="61"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="52"/>
+ <location filename="../../../FacilityEngine.cpp" line="62"/>
<source>Resume</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="53"/>
- <location filename="../../../FacilityEngine.cpp" line="67"/>
+ <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="77"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="54"/>
+ <location filename="../../../FacilityEngine.cpp" line="64"/>
<source>Unlimited</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="55"/>
+ <location filename="../../../FacilityEngine.cpp" line="65"/>
<source>Source</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="56"/>
+ <location filename="../../../FacilityEngine.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="57"/>
+ <location filename="../../../FacilityEngine.cpp" line="67"/>
<source>Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="58"/>
+ <location filename="../../../FacilityEngine.cpp" line="68"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="59"/>
+ <location filename="../../../FacilityEngine.cpp" line="69"/>
<source>Target</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="60"/>
- <location filename="../../../FacilityEngine.cpp" line="64"/>
+ <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="74"/>
<source>Time remaining:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="61"/>
+ <location filename="../../../FacilityEngine.cpp" line="71"/>
<source>Listing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="62"/>
+ <location filename="../../../FacilityEngine.cpp" line="72"/>
<source>Copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="63"/>
+ <location filename="../../../FacilityEngine.cpp" line="73"/>
<source>Listing and copying</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="66"/>
+ <location filename="../../../FacilityEngine.cpp" line="76"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="68"/>
+ <location filename="../../../FacilityEngine.cpp" line="78"/>
<source>Overwrite</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="69"/>
+ <location filename="../../../FacilityEngine.cpp" line="79"/>
<source>Overwrite if newer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="70"/>
+ <location filename="../../../FacilityEngine.cpp" line="80"/>
<source>Overwrite if the last modification dates are different</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="71"/>
+ <location filename="../../../FacilityEngine.cpp" line="81"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="72"/>
+ <location filename="../../../FacilityEngine.cpp" line="82"/>
<source>Put to the end of the list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="73"/>
+ <location filename="../../../FacilityEngine.cpp" line="83"/>
<source>Select source directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="74"/>
+ <location filename="../../../FacilityEngine.cpp" line="84"/>
<source>Select destination directory</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="75"/>
+ <location filename="../../../FacilityEngine.cpp" line="85"/>
<source>Internal error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="76"/>
+ <location filename="../../../FacilityEngine.cpp" line="86"/>
<source>Select one or more files to open</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="77"/>
+ <location filename="../../../FacilityEngine.cpp" line="87"/>
<source>All files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="78"/>
+ <location filename="../../../FacilityEngine.cpp" line="88"/>
<source>Save transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="79"/>
+ <location filename="../../../FacilityEngine.cpp" line="89"/>
<source>Open transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="80"/>
+ <location filename="../../../FacilityEngine.cpp" line="90"/>
<source>Transfer list</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="81"/>
+ <location filename="../../../FacilityEngine.cpp" line="91"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="82"/>
+ <location filename="../../../FacilityEngine.cpp" line="92"/>
<source>Not supported on this platform</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../FacilityEngine.cpp" line="83"/>
+ <location filename="../../../FacilityEngine.cpp" line="93"/>
<source>Completed in %1</source>
<translation type="unfinished"></translation>
</message>
@@ -475,7 +475,7 @@
<context>
<name>HelpDialog</name>
<message>
- <location filename="../../../HelpDialog.cpp" line="37"/>
+ <location filename="../../../HelpDialog.cpp" line="34"/>
<source>About Ultracopier</source>
<translation type="unfinished"></translation>
</message>
@@ -519,49 +519,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="35"/>
- <source>About Supercopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../HelpDialog.cpp" line="80"/>
+ <location filename="../../../HelpDialog.cpp" line="73"/>
<source>For http://portableapps.com/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="83"/>
+ <location filename="../../../HelpDialog.cpp" line="76"/>
<source>Portable and all in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="85"/>
+ <location filename="../../../HelpDialog.cpp" line="78"/>
<source>Portable version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="90"/>
+ <location filename="../../../HelpDialog.cpp" line="83"/>
<source>All in one version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="92"/>
+ <location filename="../../../HelpDialog.cpp" line="85"/>
<source>Normal version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="110"/>
- <location filename="../../../HelpDialog.cpp" line="112"/>
- <location filename="../../../HelpDialog.cpp" line="123"/>
+ <location filename="../../../HelpDialog.cpp" line="102"/>
<source>http://ultracopier.first-world.info/</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="120"/>
+ <location filename="../../../HelpDialog.cpp" line="109"/>
<source>http://ultracopier.first-world.info/shop.html</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../HelpDialog.cpp" line="125"/>
+ <location filename="../../../HelpDialog.cpp" line="111"/>
<source>http://ultracopier.first-world.info/download.html</source>
<translation type="unfinished"></translation>
</message>
@@ -569,12 +562,12 @@ This version is compiled as version: %1.</source>
<context>
<name>LocalListener</name>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LocalListener.cpp" line="146"/>
+ <location filename="../../../LocalListener.cpp" line="160"/>
<source>Timeout while recomposing data from connected clients</source>
<translation type="unfinished"></translation>
</message>
@@ -582,20 +575,20 @@ This version is compiled as version: %1.</source>
<context>
<name>LogThread</name>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="106"/>
+ <location filename="../../../LogThread.cpp" line="107"/>
<source>Log file already open, error: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../LogThread.cpp" line="115"/>
- <location filename="../../../LogThread.cpp" line="125"/>
+ <location filename="../../../LogThread.cpp" line="116"/>
+ <location filename="../../../LogThread.cpp" line="126"/>
<source>Unable to open the log file, error: %1</source>
<translation type="unfinished"></translation>
</message>
@@ -637,21 +630,6 @@ This version is compiled as version: %1.</source>
<source>The replacement of default copy/move system should be not supported by the file manager.&lt;br /&gt;Ask to the developer to support it.&lt;br /&gt;You need do the copy/move manually.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="32"/>
- <source>Consider Supercopier as deprecated, prefer Ultracopier</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="35"/>
- <source>This version use 100% of you graphic card/GPU (you computer can be noisy, or slow/buggy during the games) at exchange of free access to Ultimate version. If you don&apos;t wish it, download the normal version with a small advertisement (just a link on the main window) or buy the Ultimate version to fund the project.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OSSpecific.cpp" line="36"/>
- <source>http://ultracopier.first-world.info/download.html</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>OptionDialog</name>
@@ -674,28 +652,28 @@ This version is compiled as version: %1.</source>
<message>
<location filename="../../../OptionDialog.ui" line="66"/>
<location filename="../../../OptionDialog.ui" line="322"/>
- <location filename="../../../OptionDialog.cpp" line="354"/>
+ <location filename="../../../OptionDialog.cpp" line="286"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="71"/>
<location filename="../../../OptionDialog.ui" line="335"/>
- <location filename="../../../OptionDialog.cpp" line="355"/>
+ <location filename="../../../OptionDialog.cpp" line="287"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="76"/>
<location filename="../../../OptionDialog.ui" line="340"/>
- <location filename="../../../OptionDialog.cpp" line="356"/>
+ <location filename="../../../OptionDialog.cpp" line="288"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../OptionDialog.ui" line="84"/>
<location filename="../../../OptionDialog.ui" line="345"/>
- <location filename="../../../OptionDialog.cpp" line="357"/>
+ <location filename="../../../OptionDialog.cpp" line="289"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
@@ -884,95 +862,75 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>Allow the application</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="478"/>
- <source>This Ultimate free version is only if %1 is allowed by your antivirus. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>Enable the OpenCL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="483"/>
- <source>This Ultimate version is only if the OpenCL is installed with your graphic card drivers. Else you can get the normal free version</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="260"/>
+ <location filename="../../../OptionDialog.cpp" line="190"/>
<source>Load the theme?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="274"/>
+ <location filename="../../../OptionDialog.cpp" line="204"/>
<source>Load the language?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="362"/>
+ <location filename="../../../OptionDialog.cpp" line="294"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="363"/>
+ <location filename="../../../OptionDialog.cpp" line="295"/>
<source>Ask source as folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="364"/>
+ <location filename="../../../OptionDialog.cpp" line="296"/>
<source>Ask sources as files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="365"/>
+ <location filename="../../../OptionDialog.cpp" line="297"/>
<source>Never</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="366"/>
+ <location filename="../../../OptionDialog.cpp" line="298"/>
<source>When source is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="367"/>
+ <location filename="../../../OptionDialog.cpp" line="299"/>
<source>When destination is same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="368"/>
+ <location filename="../../../OptionDialog.cpp" line="300"/>
<source>When source and destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="369"/>
+ <location filename="../../../OptionDialog.cpp" line="301"/>
<source>When source or destination are same</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="370"/>
+ <location filename="../../../OptionDialog.cpp" line="302"/>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="384"/>
- <location filename="../../../OptionDialog.cpp" line="385"/>
- <location filename="../../../OptionDialog.cpp" line="386"/>
+ <location filename="../../../OptionDialog.cpp" line="316"/>
+ <location filename="../../../OptionDialog.cpp" line="317"/>
+ <location filename="../../../OptionDialog.cpp" line="318"/>
<source>The variables are %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../OptionDialog.cpp" line="1591"/>
+ <location filename="../../../OptionDialog.cpp" line="948"/>
<source>Save logs as: </source>
<translation type="unfinished"></translation>
</message>
@@ -980,10 +938,10 @@ This version is compiled as version: %1.</source>
<context>
<name>OptionEngine</name>
<message>
- <location filename="../../../OptionEngine.cpp" line="161"/>
- <location filename="../../../OptionEngine.cpp" line="165"/>
- <location filename="../../../OptionEngine.cpp" line="202"/>
- <location filename="../../../OptionEngine.cpp" line="206"/>
+ <location filename="../../../OptionEngine.cpp" line="162"/>
+ <location filename="../../../OptionEngine.cpp" line="169"/>
+ <location filename="../../../OptionEngine.cpp" line="211"/>
+ <location filename="../../../OptionEngine.cpp" line="215"/>
<source>The variable was not found: %1 %2</source>
<translation type="unfinished"></translation>
</message>
@@ -1036,42 +994,42 @@ This version is compiled as version: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="38"/>
+ <location filename="../../../PluginInformation.cpp" line="39"/>
<source>Copy engine</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="41"/>
+ <location filename="../../../PluginInformation.cpp" line="42"/>
<source>Languages</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="44"/>
+ <location filename="../../../PluginInformation.cpp" line="45"/>
<source>Listener</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="47"/>
+ <location filename="../../../PluginInformation.cpp" line="48"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="50"/>
+ <location filename="../../../PluginInformation.cpp" line="51"/>
<source>Session loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="53"/>
+ <location filename="../../../PluginInformation.cpp" line="54"/>
<source>Themes</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="57"/>
+ <location filename="../../../PluginInformation.cpp" line="58"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginInformation.cpp" line="67"/>
+ <location filename="../../../PluginInformation.cpp" line="68"/>
<source>Information about %1</source>
<translation type="unfinished"></translation>
</message>
@@ -1079,140 +1037,140 @@ This version is compiled as version: %1.</source>
<context>
<name>PluginsManager</name>
<message>
- <location filename="../../../PluginsManager.cpp" line="221"/>
+ <location filename="../../../PluginsManager.cpp" line="224"/>
<source>informations.xml is not accessible</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="253"/>
+ <location filename="../../../PluginsManager.cpp" line="256"/>
<source>%1, parse error at line %2, column %3: %4</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="261"/>
+ <location filename="../../../PluginsManager.cpp" line="264"/>
<source>&quot;package&quot; root tag not found for the xml file</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="337"/>
+ <location filename="../../../PluginsManager.cpp" line="340"/>
<source>Duplicated plugin found, already loaded!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="227"/>
+ <location filename="../../../PluginsManager.cpp" line="230"/>
<source>informations.xml not found for the plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="395"/>
+ <location filename="../../../PluginsManager.cpp" line="401"/>
<source>English text missing in the informations.xml for the tag: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="403"/>
+ <location filename="../../../PluginsManager.cpp" line="409"/>
<source>Tag not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="487"/>
+ <location filename="../../../PluginsManager.cpp" line="494"/>
<source>Dependencies part is wrong</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="508"/>
+ <location filename="../../../PluginsManager.cpp" line="515"/>
<source>Dependencies %1 are not satisfied, for plugin: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Remove %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="665"/>
+ <location filename="../../../PluginsManager.cpp" line="672"/>
<source>Are you sure about removing &quot;%1&quot; in version %2?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="676"/>
+ <location filename="../../../PluginsManager.cpp" line="683"/>
<source>Error while the removing plugin, please check the rights on the folder:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="700"/>
+ <location filename="../../../PluginsManager.cpp" line="707"/>
<source>Previous import is in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Open Ultracopier plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="703"/>
+ <location filename="../../../PluginsManager.cpp" line="710"/>
<source>Ultracopier plugin (*.urc)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="813"/>
- <location filename="../../../PluginsManager.cpp" line="826"/>
- <location filename="../../../PluginsManager.cpp" line="845"/>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
<location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Plugin loader</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="720"/>
+ <location filename="../../../PluginsManager.cpp" line="727"/>
<source>Unable to open the plugin: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="745"/>
- <location filename="../../../PluginsManager.cpp" line="863"/>
- <location filename="../../../PluginsManager.cpp" line="876"/>
+ <location filename="../../../PluginsManager.cpp" line="752"/>
+ <location filename="../../../PluginsManager.cpp" line="870"/>
+ <location filename="../../../PluginsManager.cpp" line="883"/>
<source>Unable to load the plugin content, please check it: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="813"/>
+ <location filename="../../../PluginsManager.cpp" line="820"/>
<source>Unable to create a folder to install the plugin:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="826"/>
+ <location filename="../../../PluginsManager.cpp" line="833"/>
<source>Unable to create a file to install the plugin:
%1
since:%2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="845"/>
+ <location filename="../../../PluginsManager.cpp" line="852"/>
<source>Folder with same name is present, skip the plugin installation:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../PluginsManager.cpp" line="851"/>
- <location filename="../../../PluginsManager.cpp" line="857"/>
- <location filename="../../../PluginsManager.cpp" line="869"/>
+ <location filename="../../../PluginsManager.cpp" line="858"/>
+ <location filename="../../../PluginsManager.cpp" line="864"/>
+ <location filename="../../../PluginsManager.cpp" line="876"/>
<source>Unable to load the plugin content, please check it</source>
<translation type="unfinished"></translation>
</message>
@@ -1265,119 +1223,34 @@ since:%2</source>
<context>
<name>SystrayIcon</name>
<message>
- <location filename="../../../SystrayIcon.cpp" line="163"/>
+ <location filename="../../../SystrayIcon.cpp" line="155"/>
<source>No copy listener found. Do the copy manually by right click one the system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="169"/>
+ <location filename="../../../SystrayIcon.cpp" line="161"/>
<source>Information</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="187"/>
+ <location filename="../../../SystrayIcon.cpp" line="179"/>
<source>Searching information...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="200"/>
+ <location filename="../../../SystrayIcon.cpp" line="192"/>
<source>Do not replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="205"/>
+ <location filename="../../../SystrayIcon.cpp" line="197"/>
<source>Semi replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../../SystrayIcon.cpp" line="210"/>
+ <location filename="../../../SystrayIcon.cpp" line="202"/>
<source>Replace the explorer copy/move</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>Warning</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="377"/>
- <source>The action on the systray icon is unknown!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="425"/>
- <source>&amp;About/Debug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="427"/>
- <source>&amp;About</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="430"/>
- <source>&amp;Save bug report</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="432"/>
- <source>&amp;Quit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="433"/>
- <source>&amp;Options</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="485"/>
- <source>A&amp;dd copy/moving</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>New version: %1</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="471"/>
- <source>Click here to go on download page</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="511"/>
- <source>&amp;Copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="525"/>
- <location filename="../../../SystrayIcon.cpp" line="539"/>
- <source>&amp;Transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="529"/>
- <location filename="../../../SystrayIcon.cpp" line="543"/>
- <source>&amp;Move</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="560"/>
- <location filename="../../../SystrayIcon.cpp" line="577"/>
- <source>Add &amp;copy</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="566"/>
- <location filename="../../../SystrayIcon.cpp" line="583"/>
- <source>Add &amp;transfer</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../../../SystrayIcon.cpp" line="570"/>
- <location filename="../../../SystrayIcon.cpp" line="587"/>
- <source>Add &amp;move</source>
- <translation type="unfinished"></translation>
- </message>
</context>
</TS>
diff --git a/static.pro b/static.pro
deleted file mode 100644
index a418564..0000000
--- a/static.pro
+++ /dev/null
@@ -1,33 +0,0 @@
-DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
-
-include(ultracopier-core.pro)
-
-RESOURCES += plugins/static-plugins.qrc \
- plugins/CopyEngine/Ultracopier/copyEngineResources.qrc
-
-win32:RESOURCES += plugins/static-plugins-windows.qrc
-
-LIBS = -Lplugins -lcopyEngine -linterface -llistener
-win32:LIBS += -lpluginLoader -lsessionLoader
-
-build_pass:CONFIG(debug, debug|release) {
-LIBS = -Lplugins -lcopyEngined -linterfaced -llistenerd
-win32:LIBS += -lpluginLoaderd -lsessionLoaderd
-}
-
-HEADERS -= lib/qt-tar-xz/xz.h \
- lib/qt-tar-xz/QXzDecodeThread.h \
- lib/qt-tar-xz/QXzDecode.h \
- lib/qt-tar-xz/QTarDecode.h \
- AuthPlugin.h
-SOURCES -= lib/qt-tar-xz/QXzDecodeThread.cpp \
- lib/qt-tar-xz/QXzDecode.cpp \
- lib/qt-tar-xz/QTarDecode.cpp \
- lib/qt-tar-xz/xz_crc32.c \
- lib/qt-tar-xz/xz_dec_stream.c \
- lib/qt-tar-xz/xz_dec_lzma2.c \
- lib/qt-tar-xz/xz_dec_bcj.c \
- AuthPlugin.cpp
-INCLUDEPATH -= lib/qt-tar-xz/
-
-RESOURCES -= resources/resources-windows-qt-plugin.qrc
diff --git a/supercopier-static.pro b/supercopier-static.pro
deleted file mode 100644
index 5a83029..0000000
--- a/supercopier-static.pro
+++ /dev/null
@@ -1,6 +0,0 @@
-include(static.pro)
-
-RESOURCES += plugins-alternative/static-plugins-supercopier.qrc \
- plugins-alternative/Themes/Supercopier/interfaceResources_windows.qrc \
- plugins-alternative/Themes/Supercopier/interfaceResources_unix.qrc \
- plugins-alternative/Themes/Supercopier/interfaceResources.qrc \ No newline at end of file
diff --git a/tools/doc/Doxyfile b/tools/doc/Doxyfile
new file mode 100644
index 0000000..a7b5793
--- /dev/null
+++ b/tools/doc/Doxyfile
@@ -0,0 +1,1790 @@
+# Doxyfile 1.7.5.1
+
+# This file describes the settings to be used by the documentation system
+# doxygen (www.doxygen.org) for a project
+#
+# All text after a hash (#) is considered a comment and will be ignored
+# The format is:
+# TAG = value [value, ...]
+# For lists items can also be appended using:
+# TAG += value [value, ...]
+# Values that contain spaces should be placed between quotes (" ")
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+
+# This tag specifies the encoding used for all characters in the config file
+# that follow. The default is UTF-8 which is also the encoding used for all
+# text before the first occurrence of this tag. Doxygen uses libiconv (or the
+# iconv built into libc) for the transcoding. See
+# http://www.gnu.org/software/libiconv for the list of possible encodings.
+
+DOXYFILE_ENCODING = UTF-8
+
+# The PROJECT_NAME tag is a single word (or sequence of words) that should
+# identify the project. Note that if you do not use Doxywizard you need
+# to put quotes around the project name if it contains spaces.
+
+PROJECT_NAME = Utracopier
+
+# The PROJECT_NUMBER tag can be used to enter a project or revision number.
+# This could be handy for archiving the generated documentation or
+# if some version control system is used.
+
+PROJECT_NUMBER = _PROJECT_NUMBER_
+
+# Using the PROJECT_BRIEF tag one can provide an optional one line description
+# for a project that appears at the top of each page and should give viewer
+# a quick idea about the purpose of the project. Keep the description short.
+
+PROJECT_BRIEF = "Tools to do advanced file copy"
+
+# With the PROJECT_LOGO tag one can specify an logo or icon that is
+# included in the documentation. The maximum height of the logo should not
+# exceed 55 pixels and the maximum width should not exceed 200 pixels.
+# Doxygen will copy the logo to the output directory.
+
+PROJECT_LOGO = /root/ultracopier/doc/ultracopier-logo.png
+
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
+# base path where the generated documentation will be put.
+# If a relative path is entered, it will be relative to the location
+# where doxygen was started. If left blank the current directory will be used.
+
+OUTPUT_DIRECTORY = TEMP_PATH/doc/tmp
+
+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
+# 4096 sub-directories (in 2 levels) under the output directory of each output
+# format and will distribute the generated files over these directories.
+# Enabling this option can be useful when feeding doxygen a huge amount of
+# source files, where putting all generated files in the same directory would
+# otherwise cause performance problems for the file system.
+
+CREATE_SUBDIRS = YES
+
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
+# documentation generated by doxygen is written. Doxygen will use this
+# information to generate all constant output in the proper language.
+# The default language is English, other supported languages are:
+# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
+# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
+# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
+# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
+# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
+# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
+
+OUTPUT_LANGUAGE = English
+
+# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
+# include brief member descriptions after the members that are listed in
+# the file and class documentation (similar to JavaDoc).
+# Set to NO to disable this.
+
+BRIEF_MEMBER_DESC = YES
+
+# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
+# the brief description of a member or function before the detailed description.
+# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
+# brief descriptions will be completely suppressed.
+
+REPEAT_BRIEF = YES
+
+# This tag implements a quasi-intelligent brief description abbreviator
+# that is used to form the text in various listings. Each string
+# in this list, if found as the leading text of the brief description, will be
+# stripped from the text and the result after processing the whole list, is
+# used as the annotated text. Otherwise, the brief description is used as-is.
+# If left blank, the following values are used ("$name" is automatically
+# replaced with the name of the entity): "The $name class" "The $name widget"
+# "The $name file" "is" "provides" "specifies" "contains"
+# "represents" "a" "an" "the"
+
+ABBREVIATE_BRIEF = "The $name class" \
+ "The $name widget" \
+ "The $name file" \
+ is \
+ provides \
+ specifies \
+ contains \
+ represents \
+ a \
+ an \
+ the
+
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
+# Doxygen will generate a detailed section even if there is only a brief
+# description.
+
+ALWAYS_DETAILED_SEC = NO
+
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
+# inherited members of a class in the documentation of that class as if those
+# members were ordinary class members. Constructors, destructors and assignment
+# operators of the base classes will not be shown.
+
+INLINE_INHERITED_MEMB = NO
+
+# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
+# path before files name in the file list and in the header files. If set
+# to NO the shortest path that makes the file name unique will be used.
+
+FULL_PATH_NAMES = YES
+
+# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
+# can be used to strip a user-defined part of the path. Stripping is
+# only done if one of the specified strings matches the left-hand part of
+# the path. The tag can be used to show relative paths in the file list.
+# If left blank the directory from which doxygen is run is used as the
+# path to strip.
+
+STRIP_FROM_PATH =
+
+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
+# the path mentioned in the documentation of a class, which tells
+# the reader which header file to include in order to use a class.
+# If left blank only the name of the header file containing the class
+# definition is used. Otherwise one should specify the include paths that
+# are normally passed to the compiler using the -I flag.
+
+STRIP_FROM_INC_PATH =
+
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
+# (but less readable) file names. This can be useful if your file system
+# doesn't support long names like on DOS, Mac, or CD-ROM.
+
+SHORT_NAMES = NO
+
+# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
+# will interpret the first line (until the first dot) of a JavaDoc-style
+# comment as the brief description. If set to NO, the JavaDoc
+# comments will behave just like regular Qt-style comments
+# (thus requiring an explicit @brief command for a brief description.)
+
+JAVADOC_AUTOBRIEF = NO
+
+# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
+# interpret the first line (until the first dot) of a Qt-style
+# comment as the brief description. If set to NO, the comments
+# will behave just like regular Qt-style comments (thus requiring
+# an explicit \brief command for a brief description.)
+
+QT_AUTOBRIEF = NO
+
+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
+# treat a multi-line C++ special comment block (i.e. a block of //! or ///
+# comments) as a brief description. This used to be the default behaviour.
+# The new default is to treat a multi-line C++ comment block as a detailed
+# description. Set this tag to YES if you prefer the old behaviour instead.
+
+MULTILINE_CPP_IS_BRIEF = NO
+
+# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
+# member inherits the documentation from any documented member that it
+# re-implements.
+
+INHERIT_DOCS = YES
+
+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
+# a new page for each member. If set to NO, the documentation of a member will
+# be part of the file/class/namespace that contains it.
+
+SEPARATE_MEMBER_PAGES = NO
+
+# The TAB_SIZE tag can be used to set the number of spaces in a tab.
+# Doxygen uses this value to replace tabs by spaces in code fragments.
+
+TAB_SIZE = 8
+
+# This tag can be used to specify a number of aliases that acts
+# as commands in the documentation. An alias has the form "name=value".
+# For example adding "sideeffect=\par Side Effects:\n" will allow you to
+# put the command \sideeffect (or @sideeffect) in the documentation, which
+# will result in a user-defined paragraph with heading "Side Effects:".
+# You can put \n's in the value part of an alias to insert newlines.
+
+ALIASES =
+
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
+# sources only. Doxygen will then generate output that is more tailored for C.
+# For instance, some of the names that are used will be different. The list
+# of all members will be omitted, etc.
+
+OPTIMIZE_OUTPUT_FOR_C = NO
+
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
+# sources only. Doxygen will then generate output that is more tailored for
+# Java. For instance, namespaces will be presented as packages, qualified
+# scopes will look different, etc.
+
+OPTIMIZE_OUTPUT_JAVA = NO
+
+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
+# sources only. Doxygen will then generate output that is more tailored for
+# Fortran.
+
+OPTIMIZE_FOR_FORTRAN = NO
+
+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
+# sources. Doxygen will then generate output that is tailored for
+# VHDL.
+
+OPTIMIZE_OUTPUT_VHDL = NO
+
+# Doxygen selects the parser to use depending on the extension of the files it
+# parses. With this tag you can assign which parser to use for a given extension.
+# Doxygen has a built-in mapping, but you can override or extend it using this
+# tag. The format is ext=language, where ext is a file extension, and language
+# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
+# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
+# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
+# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
+# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
+
+EXTENSION_MAPPING =
+
+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
+# to include (a tag file for) the STL sources as input, then you should
+# set this tag to YES in order to let doxygen match functions declarations and
+# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
+# func(std::string) {}). This also makes the inheritance and collaboration
+# diagrams that involve STL classes more complete and accurate.
+
+BUILTIN_STL_SUPPORT = NO
+
+# If you use Microsoft's C++/CLI language, you should set this option to YES to
+# enable parsing support.
+
+CPP_CLI_SUPPORT = NO
+
+# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
+# Doxygen will parse them like normal C++ but will assume all classes use public
+# instead of private inheritance when no explicit protection keyword is present.
+
+SIP_SUPPORT = NO
+
+# For Microsoft's IDL there are propget and propput attributes to indicate getter
+# and setter methods for a property. Setting this option to YES (the default)
+# will make doxygen replace the get and set methods by a property in the
+# documentation. This will only work if the methods are indeed getting or
+# setting a simple type. If this is not the case, or you want to show the
+# methods anyway, you should set this option to NO.
+
+IDL_PROPERTY_SUPPORT = YES
+
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
+# tag is set to YES, then doxygen will reuse the documentation of the first
+# member in the group (if any) for the other members of the group. By default
+# all members of a group must be documented explicitly.
+
+DISTRIBUTE_GROUP_DOC = NO
+
+# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
+# the same type (for instance a group of public functions) to be put as a
+# subgroup of that type (e.g. under the Public Functions section). Set it to
+# NO to prevent subgrouping. Alternatively, this can be done per class using
+# the \nosubgrouping command.
+
+SUBGROUPING = YES
+
+# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and
+# unions are shown inside the group in which they are included (e.g. using
+# @ingroup) instead of on a separate page (for HTML and Man pages) or
+# section (for LaTeX and RTF).
+
+INLINE_GROUPED_CLASSES = NO
+
+# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and
+# unions with only public data fields will be shown inline in the documentation
+# of the scope in which they are defined (i.e. file, namespace, or group
+# documentation), provided this scope is documented. If set to NO (the default),
+# structs, classes, and unions are shown on a separate page (for HTML and Man
+# pages) or section (for LaTeX and RTF).
+
+INLINE_SIMPLE_STRUCTS = NO
+
+# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
+# is documented as struct, union, or enum with the name of the typedef. So
+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
+# with name TypeT. When disabled the typedef will appear as a member of a file,
+# namespace, or class. And the struct will be named TypeS. This can typically
+# be useful for C code in case the coding convention dictates that all compound
+# types are typedef'ed and only the typedef is referenced, never the tag name.
+
+TYPEDEF_HIDES_STRUCT = NO
+
+# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
+# determine which symbols to keep in memory and which to flush to disk.
+# When the cache is full, less often used symbols will be written to disk.
+# For small to medium size projects (<1000 input files) the default value is
+# probably good enough. For larger projects a too small cache size can cause
+# doxygen to be busy swapping symbols to and from disk most of the time
+# causing a significant performance penalty.
+# If the system has enough physical memory increasing the cache will improve the
+# performance by keeping more symbols in memory. Note that the value works on
+# a logarithmic scale so increasing the size by one will roughly double the
+# memory usage. The cache size is given by this formula:
+# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
+# corresponding to a cache size of 2^16 = 65536 symbols
+
+SYMBOL_CACHE_SIZE = 0
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+
+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
+# documentation are documented, even if no documentation was available.
+# Private class members and static file members will be hidden unless
+# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
+
+EXTRACT_ALL = NO
+
+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
+# will be included in the documentation.
+
+EXTRACT_PRIVATE = NO
+
+# If the EXTRACT_STATIC tag is set to YES all static members of a file
+# will be included in the documentation.
+
+EXTRACT_STATIC = NO
+
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
+# defined locally in source files will be included in the documentation.
+# If set to NO only classes defined in header files are included.
+
+EXTRACT_LOCAL_CLASSES = YES
+
+# This flag is only useful for Objective-C code. When set to YES local
+# methods, which are defined in the implementation section but not in
+# the interface are included in the documentation.
+# If set to NO (the default) only methods in the interface are included.
+
+EXTRACT_LOCAL_METHODS = NO
+
+# If this flag is set to YES, the members of anonymous namespaces will be
+# extracted and appear in the documentation as a namespace called
+# 'anonymous_namespace{file}', where file will be replaced with the base
+# name of the file that contains the anonymous namespace. By default
+# anonymous namespaces are hidden.
+
+EXTRACT_ANON_NSPACES = NO
+
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
+# undocumented members of documented classes, files or namespaces.
+# If set to NO (the default) these members will be included in the
+# various overviews, but no documentation section is generated.
+# This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_MEMBERS = NO
+
+# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
+# undocumented classes that are normally visible in the class hierarchy.
+# If set to NO (the default) these classes will be included in the various
+# overviews. This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_CLASSES = NO
+
+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
+# friend (class|struct|union) declarations.
+# If set to NO (the default) these declarations will be included in the
+# documentation.
+
+HIDE_FRIEND_COMPOUNDS = NO
+
+# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
+# documentation blocks found inside the body of a function.
+# If set to NO (the default) these blocks will be appended to the
+# function's detailed documentation block.
+
+HIDE_IN_BODY_DOCS = NO
+
+# The INTERNAL_DOCS tag determines if documentation
+# that is typed after a \internal command is included. If the tag is set
+# to NO (the default) then the documentation will be excluded.
+# Set it to YES to include the internal documentation.
+
+INTERNAL_DOCS = NO
+
+# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
+# file names in lower-case letters. If set to YES upper-case letters are also
+# allowed. This is useful if you have classes or files whose names only differ
+# in case and if your file system supports case sensitive file names. Windows
+# and Mac users are advised to set this option to NO.
+
+CASE_SENSE_NAMES = NO
+
+# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
+# will show members with their full class and namespace scopes in the
+# documentation. If set to YES the scope will be hidden.
+
+HIDE_SCOPE_NAMES = NO
+
+# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
+# will put a list of the files that are included by a file in the documentation
+# of that file.
+
+SHOW_INCLUDE_FILES = YES
+
+# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
+# will list include files with double quotes in the documentation
+# rather than with sharp brackets.
+
+FORCE_LOCAL_INCLUDES = NO
+
+# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
+# is inserted in the documentation for inline members.
+
+INLINE_INFO = YES
+
+# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
+# will sort the (detailed) documentation of file and class members
+# alphabetically by member name. If set to NO the members will appear in
+# declaration order.
+
+SORT_MEMBER_DOCS = YES
+
+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
+# brief documentation of file, namespace and class members alphabetically
+# by member name. If set to NO (the default) the members will appear in
+# declaration order.
+
+SORT_BRIEF_DOCS = NO
+
+# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
+# will sort the (brief and detailed) documentation of class members so that
+# constructors and destructors are listed first. If set to NO (the default)
+# the constructors will appear in the respective orders defined by
+# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
+# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
+# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
+
+SORT_MEMBERS_CTORS_1ST = NO
+
+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
+# hierarchy of group names into alphabetical order. If set to NO (the default)
+# the group names will appear in their defined order.
+
+SORT_GROUP_NAMES = NO
+
+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
+# sorted by fully-qualified names, including namespaces. If set to
+# NO (the default), the class list will be sorted only by class name,
+# not including the namespace part.
+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
+# Note: This option applies only to the class list, not to the
+# alphabetical list.
+
+SORT_BY_SCOPE_NAME = NO
+
+# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
+# do proper type resolution of all parameters of a function it will reject a
+# match between the prototype and the implementation of a member function even
+# if there is only one candidate or it is obvious which candidate to choose
+# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen
+# will still accept a match between prototype and implementation in such cases.
+
+STRICT_PROTO_MATCHING = NO
+
+# The GENERATE_TODOLIST tag can be used to enable (YES) or
+# disable (NO) the todo list. This list is created by putting \todo
+# commands in the documentation.
+
+GENERATE_TODOLIST = YES
+
+# The GENERATE_TESTLIST tag can be used to enable (YES) or
+# disable (NO) the test list. This list is created by putting \test
+# commands in the documentation.
+
+GENERATE_TESTLIST = YES
+
+# The GENERATE_BUGLIST tag can be used to enable (YES) or
+# disable (NO) the bug list. This list is created by putting \bug
+# commands in the documentation.
+
+GENERATE_BUGLIST = YES
+
+# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
+# disable (NO) the deprecated list. This list is created by putting
+# \deprecated commands in the documentation.
+
+GENERATE_DEPRECATEDLIST= YES
+
+# The ENABLED_SECTIONS tag can be used to enable conditional
+# documentation sections, marked by \if sectionname ... \endif.
+
+ENABLED_SECTIONS =
+
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
+# the initial value of a variable or macro consists of for it to appear in
+# the documentation. If the initializer consists of more lines than specified
+# here it will be hidden. Use a value of 0 to hide initializers completely.
+# The appearance of the initializer of individual variables and macros in the
+# documentation can be controlled using \showinitializer or \hideinitializer
+# command in the documentation regardless of this setting.
+
+MAX_INITIALIZER_LINES = 30
+
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
+# at the bottom of the documentation of classes and structs. If set to YES the
+# list will mention the files that were used to generate the documentation.
+
+SHOW_USED_FILES = YES
+
+# If the sources in your project are distributed over multiple directories
+# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
+# in the documentation. The default is NO.
+
+SHOW_DIRECTORIES = NO
+
+# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
+# This will remove the Files entry from the Quick Index and from the
+# Folder Tree View (if specified). The default is YES.
+
+SHOW_FILES = YES
+
+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
+# Namespaces page. This will remove the Namespaces entry from the Quick Index
+# and from the Folder Tree View (if specified). The default is YES.
+
+SHOW_NAMESPACES = YES
+
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
+# doxygen should invoke to get the current version for each file (typically from
+# the version control system). Doxygen will invoke the program by executing (via
+# popen()) the command <command> <input-file>, where <command> is the value of
+# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
+# provided by doxygen. Whatever the program writes to standard output
+# is used as the file version. See the manual for examples.
+
+FILE_VERSION_FILTER =
+
+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
+# by doxygen. The layout file controls the global structure of the generated
+# output files in an output format independent way. The create the layout file
+# that represents doxygen's defaults, run doxygen with the -l option.
+# You can optionally specify a file name after the option, if omitted
+# DoxygenLayout.xml will be used as the name of the layout file.
+
+LAYOUT_FILE =
+
+# The CITE_BIB_FILES tag can be used to specify one or more bib files
+# containing the references data. This must be a list of .bib files. The
+# .bib extension is automatically appended if omitted. Using this command
+# requires the bibtex tool to be installed. See also
+# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style
+# of the bibliography can be controlled using LATEX_BIB_STYLE.
+
+CITE_BIB_FILES =
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+# The QUIET tag can be used to turn on/off the messages that are generated
+# by doxygen. Possible values are YES and NO. If left blank NO is used.
+
+QUIET = NO
+
+# The WARNINGS tag can be used to turn on/off the warning messages that are
+# generated by doxygen. Possible values are YES and NO. If left blank
+# NO is used.
+
+WARNINGS = YES
+
+# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
+# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
+# automatically be disabled.
+
+WARN_IF_UNDOCUMENTED = YES
+
+# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
+# potential errors in the documentation, such as not documenting some
+# parameters in a documented function, or documenting parameters that
+# don't exist or using markup commands wrongly.
+
+WARN_IF_DOC_ERROR = YES
+
+# The WARN_NO_PARAMDOC option can be enabled to get warnings for
+# functions that are documented, but have no documentation for their parameters
+# or return value. If set to NO (the default) doxygen will only warn about
+# wrong or incomplete parameter documentation, but not about the absence of
+# documentation.
+
+WARN_NO_PARAMDOC = NO
+
+# The WARN_FORMAT tag determines the format of the warning messages that
+# doxygen can produce. The string should contain the $file, $line, and $text
+# tags, which will be replaced by the file and line number from which the
+# warning originated and the warning text. Optionally the format may contain
+# $version, which will be replaced by the version of the file (if it could
+# be obtained via FILE_VERSION_FILTER)
+
+WARN_FORMAT = "$file:$line: $text"
+
+# The WARN_LOGFILE tag can be used to specify a file to which warning
+# and error messages should be written. If left blank the output is written
+# to stderr.
+
+WARN_LOGFILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+
+# The INPUT tag can be used to specify the files and/or directories that contain
+# documented source files. You may enter file names like "myfile.cpp" or
+# directories like "/usr/src/myproject". Separate the files or directories
+# with spaces.
+
+INPUT = ULTRACOPIERSOURCESPATH \
+ULTRACOPIERSOURCESPATH
+
+# This tag can be used to specify the character encoding of the source files
+# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
+# also the default input encoding. Doxygen uses libiconv (or the iconv built
+# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
+# the list of possible encodings.
+
+INPUT_ENCODING = UTF-8
+
+# If the value of the INPUT tag contains directories, you can use the
+# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank the following patterns are tested:
+# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
+# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
+# *.f90 *.f *.for *.vhd *.vhdl
+
+FILE_PATTERNS = *.c \
+ *.cc \
+ *.cxx \
+ *.cpp \
+ *.c++ \
+ *.d \
+ *.java \
+ *.ii \
+ *.ixx \
+ *.ipp \
+ *.i++ \
+ *.inl \
+ *.h \
+ *.hh \
+ *.hxx \
+ *.hpp \
+ *.h++ \
+ *.idl \
+ *.odl \
+ *.cs \
+ *.php \
+ *.php3 \
+ *.inc \
+ *.m \
+ *.mm \
+ *.dox \
+ *.py \
+ *.f90 \
+ *.f \
+ *.for \
+ *.vhd \
+ *.vhdl
+
+# The RECURSIVE tag can be used to turn specify whether or not subdirectories
+# should be searched for input files as well. Possible values are YES and NO.
+# If left blank NO is used.
+
+RECURSIVE = NO
+
+# The EXCLUDE tag can be used to specify files and/or directories that should
+# excluded from the INPUT source files. This way you can easily exclude a
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
+# Note that relative paths are relative to directory from which doxygen is run.
+
+EXCLUDE =
+
+# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
+# directories that are symbolic links (a Unix file system feature) are excluded
+# from the input.
+
+EXCLUDE_SYMLINKS = NO
+
+# If the value of the INPUT tag contains directories, you can use the
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
+# certain files from those directories. Note that the wildcards are matched
+# against the file with absolute path, so to exclude all test directories
+# for example use the pattern */test/*
+
+EXCLUDE_PATTERNS = xz_* xz.h
+
+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
+# (namespaces, classes, functions, etc.) that should be excluded from the
+# output. The symbol name can be a fully qualified name, a word, or if the
+# wildcard * is used, a substring. Examples: ANamespace, AClass,
+# AClass::ANamespace, ANamespace::*Test
+
+EXCLUDE_SYMBOLS =
+
+# The EXAMPLE_PATH tag can be used to specify one or more files or
+# directories that contain example code fragments that are included (see
+# the \include command).
+
+EXAMPLE_PATH =
+
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank all files are included.
+
+EXAMPLE_PATTERNS = *
+
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
+# searched for input files to be used with the \include or \dontinclude
+# commands irrespective of the value of the RECURSIVE tag.
+# Possible values are YES and NO. If left blank NO is used.
+
+EXAMPLE_RECURSIVE = NO
+
+# The IMAGE_PATH tag can be used to specify one or more files or
+# directories that contain image that are included in the documentation (see
+# the \image command).
+
+IMAGE_PATH =
+
+# The INPUT_FILTER tag can be used to specify a program that doxygen should
+# invoke to filter for each input file. Doxygen will invoke the filter program
+# by executing (via popen()) the command <filter> <input-file>, where <filter>
+# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
+# input file. Doxygen will then use the output that the filter program writes
+# to standard output. If FILTER_PATTERNS is specified, this tag will be
+# ignored.
+
+INPUT_FILTER =
+
+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
+# basis. Doxygen will compare the file name with each pattern and apply the
+# filter if there is a match. The filters are a list of the form:
+# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
+# info on how filters are used. If FILTER_PATTERNS is empty or if
+# non of the patterns match the file name, INPUT_FILTER is applied.
+
+FILTER_PATTERNS =
+
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
+# INPUT_FILTER) will be used to filter the input files when producing source
+# files to browse (i.e. when SOURCE_BROWSER is set to YES).
+
+FILTER_SOURCE_FILES = NO
+
+# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
+# pattern. A pattern will override the setting for FILTER_PATTERN (if any)
+# and it is also possible to disable source filtering for a specific pattern
+# using *.ext= (so without naming a filter). This option only has effect when
+# FILTER_SOURCE_FILES is enabled.
+
+FILTER_SOURCE_PATTERNS =
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will
+# be generated. Documented entities will be cross-referenced with these sources.
+# Note: To get rid of all source code in the generated output, make sure also
+# VERBATIM_HEADERS is set to NO.
+
+SOURCE_BROWSER = NO
+
+# Setting the INLINE_SOURCES tag to YES will include the body
+# of functions and classes directly in the documentation.
+
+INLINE_SOURCES = NO
+
+# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
+# doxygen to hide any special comment blocks from generated source code
+# fragments. Normal C and C++ comments will always remain visible.
+
+STRIP_CODE_COMMENTS = YES
+
+# If the REFERENCED_BY_RELATION tag is set to YES
+# then for each documented function all documented
+# functions referencing it will be listed.
+
+REFERENCED_BY_RELATION = NO
+
+# If the REFERENCES_RELATION tag is set to YES
+# then for each documented function all documented entities
+# called/used by that function will be listed.
+
+REFERENCES_RELATION = NO
+
+# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
+# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
+# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
+# link to the source code. Otherwise they will link to the documentation.
+
+REFERENCES_LINK_SOURCE = YES
+
+# If the USE_HTAGS tag is set to YES then the references to source code
+# will point to the HTML generated by the htags(1) tool instead of doxygen
+# built-in source browser. The htags tool is part of GNU's global source
+# tagging system (see http://www.gnu.org/software/global/global.html). You
+# will need version 4.8.6 or higher.
+
+USE_HTAGS = NO
+
+# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
+# will generate a verbatim copy of the header file for each class for
+# which an include is specified. Set to NO to disable this.
+
+VERBATIM_HEADERS = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
+# of all compounds will be generated. Enable this if the project
+# contains a lot of classes, structs, unions or interfaces.
+
+ALPHABETICAL_INDEX = YES
+
+# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
+# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
+# in which this list will be split (can be a number in the range [1..20])
+
+COLS_IN_ALPHA_INDEX = 5
+
+# In case all classes in a project start with a common prefix, all
+# classes will be put under the same header in the alphabetical index.
+# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
+# should be ignored while generating the index headers.
+
+IGNORE_PREFIX =
+
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
+# generate HTML output.
+
+GENERATE_HTML = YES
+
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `html' will be used as the default path.
+
+HTML_OUTPUT = html
+
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
+# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
+# doxygen will generate files with .html extension.
+
+HTML_FILE_EXTENSION = .html
+
+# The HTML_HEADER tag can be used to specify a personal HTML header for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard header. Note that when using a custom header you are responsible
+# for the proper inclusion of any scripts and style sheets that doxygen
+# needs, which is dependent on the configuration options used.
+# It is adviced to generate a default header using "doxygen -w html
+# header.html footer.html stylesheet.css YourConfigFile" and then modify
+# that header. Note that the header is subject to change so you typically
+# have to redo this when upgrading to a newer version of doxygen or when
+# changing the value of configuration settings such as GENERATE_TREEVIEW!
+
+HTML_HEADER =
+
+# The HTML_FOOTER tag can be used to specify a personal HTML footer for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard footer.
+
+HTML_FOOTER = footer.html
+
+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
+# style sheet that is used by each HTML page. It can be used to
+# fine-tune the look of the HTML output. If the tag is left blank doxygen
+# will generate a default style sheet. Note that doxygen will try to copy
+# the style sheet file to the HTML output directory, so don't put your own
+# stylesheet in the HTML output directory as well, or it will be erased!
+
+HTML_STYLESHEET =
+
+# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
+# other source files which should be copied to the HTML output directory. Note
+# that these files will be copied to the base HTML output directory. Use the
+# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
+# files. In the HTML_STYLESHEET file, use the file name only. Also note that
+# the files will be copied as-is; there are no commands or markers available.
+
+HTML_EXTRA_FILES =
+
+# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.
+# Doxygen will adjust the colors in the stylesheet and background images
+# according to this color. Hue is specified as an angle on a colorwheel,
+# see http://en.wikipedia.org/wiki/Hue for more information.
+# For instance the value 0 represents red, 60 is yellow, 120 is green,
+# 180 is cyan, 240 is blue, 300 purple, and 360 is red again.
+# The allowed range is 0 to 359.
+
+HTML_COLORSTYLE_HUE = 220
+
+# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
+# the colors in the HTML output. For a value of 0 the output will use
+# grayscales only. A value of 255 will produce the most vivid colors.
+
+HTML_COLORSTYLE_SAT = 100
+
+# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
+# the luminance component of the colors in the HTML output. Values below
+# 100 gradually make the output lighter, whereas values above 100 make
+# the output darker. The value divided by 100 is the actual gamma applied,
+# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
+# and 100 does not change the gamma.
+
+HTML_COLORSTYLE_GAMMA = 80
+
+# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
+# page will contain the date and time when the page was generated. Setting
+# this to NO can help when comparing the output of multiple runs.
+
+HTML_TIMESTAMP = YES
+
+# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
+# files or namespaces will be aligned in HTML using tables. If set to
+# NO a bullet list will be used.
+
+HTML_ALIGN_MEMBERS = YES
+
+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
+# documentation will contain sections that can be hidden and shown after the
+# page has loaded. For this to work a browser that supports
+# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
+# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
+
+HTML_DYNAMIC_SECTIONS = NO
+
+# If the GENERATE_DOCSET tag is set to YES, additional index files
+# will be generated that can be used as input for Apple's Xcode 3
+# integrated development environment, introduced with OSX 10.5 (Leopard).
+# To create a documentation set, doxygen will generate a Makefile in the
+# HTML output directory. Running make will produce the docset in that
+# directory and running "make install" will install the docset in
+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
+# it at startup.
+# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
+# for more information.
+
+GENERATE_DOCSET = NO
+
+# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
+# feed. A documentation feed provides an umbrella under which multiple
+# documentation sets from a single provider (such as a company or product suite)
+# can be grouped.
+
+DOCSET_FEEDNAME = "Doxygen generated docs"
+
+# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
+# should uniquely identify the documentation set bundle. This should be a
+# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
+# will append .docset to the name.
+
+DOCSET_BUNDLE_ID = org.doxygen.Project
+
+# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify
+# the documentation publisher. This should be a reverse domain-name style
+# string, e.g. com.mycompany.MyDocSet.documentation.
+
+DOCSET_PUBLISHER_ID = org.doxygen.Publisher
+
+# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
+
+DOCSET_PUBLISHER_NAME = Publisher
+
+# If the GENERATE_HTMLHELP tag is set to YES, additional index files
+# will be generated that can be used as input for tools like the
+# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
+# of the generated HTML documentation.
+
+GENERATE_HTMLHELP = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
+# be used to specify the file name of the resulting .chm file. You
+# can add a path in front of the file if the result should not be
+# written to the html output directory.
+
+CHM_FILE =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
+# be used to specify the location (absolute path including file name) of
+# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
+# the HTML help compiler on the generated index.hhp.
+
+HHC_LOCATION =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
+# controls if a separate .chi index file is generated (YES) or that
+# it should be included in the master .chm file (NO).
+
+GENERATE_CHI = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
+# is used to encode HtmlHelp index (hhk), content (hhc) and project file
+# content.
+
+CHM_INDEX_ENCODING =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
+# controls whether a binary table of contents is generated (YES) or a
+# normal table of contents (NO) in the .chm file.
+
+BINARY_TOC = NO
+
+# The TOC_EXPAND flag can be set to YES to add extra items for group members
+# to the contents of the HTML help documentation and to the tree view.
+
+TOC_EXPAND = NO
+
+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
+# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
+# that can be used as input for Qt's qhelpgenerator to generate a
+# Qt Compressed Help (.qch) of the generated HTML documentation.
+
+GENERATE_QHP = NO
+
+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
+# be used to specify the file name of the resulting .qch file.
+# The path specified is relative to the HTML output folder.
+
+QCH_FILE =
+
+# The QHP_NAMESPACE tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#namespace
+
+QHP_NAMESPACE = org.doxygen.Project
+
+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#virtual-folders
+
+QHP_VIRTUAL_FOLDER = doc
+
+# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to
+# add. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#custom-filters
+
+QHP_CUST_FILTER_NAME =
+
+# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the
+# custom filter to add. For more information please see
+# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">
+# Qt Help Project / Custom Filters</a>.
+
+QHP_CUST_FILTER_ATTRS =
+
+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
+# project's
+# filter section matches.
+# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">
+# Qt Help Project / Filter Attributes</a>.
+
+QHP_SECT_FILTER_ATTRS =
+
+# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
+# be used to specify the location of Qt's qhelpgenerator.
+# If non-empty doxygen will try to run qhelpgenerator on the generated
+# .qhp file.
+
+QHG_LOCATION =
+
+# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
+# will be generated, which together with the HTML files, form an Eclipse help
+# plugin. To install this plugin and make it available under the help contents
+# menu in Eclipse, the contents of the directory containing the HTML and XML
+# files needs to be copied into the plugins directory of eclipse. The name of
+# the directory within the plugins directory should be the same as
+# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before
+# the help appears.
+
+GENERATE_ECLIPSEHELP = NO
+
+# A unique identifier for the eclipse help plugin. When installing the plugin
+# the directory name containing the HTML and XML files should also have
+# this name.
+
+ECLIPSE_DOC_ID = org.doxygen.Project
+
+# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
+# top of each HTML page. The value NO (the default) enables the index and
+# the value YES disables it.
+
+DISABLE_INDEX = NO
+
+# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values
+# (range [0,1..20]) that doxygen will group on one line in the generated HTML
+# documentation. Note that a value of 0 will completely suppress the enum
+# values from appearing in the overview section.
+
+ENUM_VALUES_PER_LINE = 4
+
+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
+# structure should be generated to display hierarchical information.
+# If the tag value is set to YES, a side panel will be generated
+# containing a tree-like index structure (just like the one that
+# is generated for HTML Help). For this to work a browser that supports
+# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
+# Windows users are probably better off using the HTML help feature.
+
+GENERATE_TREEVIEW = NO
+
+# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
+# and Class Hierarchy pages using a tree view instead of an ordered list.
+
+USE_INLINE_TREES = NO
+
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
+# used to set the initial width (in pixels) of the frame in which the tree
+# is shown.
+
+TREEVIEW_WIDTH = 250
+
+# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open
+# links to external symbols imported via tag files in a separate window.
+
+EXT_LINKS_IN_WINDOW = NO
+
+# Use this tag to change the font size of Latex formulas included
+# as images in the HTML documentation. The default is 10. Note that
+# when you change the font size after a successful doxygen run you need
+# to manually remove any form_*.png images from the HTML output directory
+# to force them to be regenerated.
+
+FORMULA_FONTSIZE = 10
+
+# Use the FORMULA_TRANPARENT tag to determine whether or not the images
+# generated for formulas are transparent PNGs. Transparent PNGs are
+# not supported properly for IE 6.0, but are supported on all modern browsers.
+# Note that when changing this option you need to delete any form_*.png files
+# in the HTML output before the changes have effect.
+
+FORMULA_TRANSPARENT = YES
+
+# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax
+# (see http://www.mathjax.org) which uses client side Javascript for the
+# rendering instead of using prerendered bitmaps. Use this if you do not
+# have LaTeX installed or if you want to formulas look prettier in the HTML
+# output. When enabled you also need to install MathJax separately and
+# configure the path to it using the MATHJAX_RELPATH option.
+
+USE_MATHJAX = NO
+
+# When MathJax is enabled you need to specify the location relative to the
+# HTML output directory using the MATHJAX_RELPATH option. The destination
+# directory should contain the MathJax.js script. For instance, if the mathjax
+# directory is located at the same level as the HTML output directory, then
+# MATHJAX_RELPATH should be ../mathjax. The default value points to the
+# mathjax.org site, so you can quickly see the result without installing
+# MathJax, but it is strongly recommended to install a local copy of MathJax
+# before deployment.
+
+MATHJAX_RELPATH = http://www.mathjax.org/mathjax
+
+# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
+# names that should be enabled during MathJax rendering.
+
+MATHJAX_EXTENSIONS =
+
+# When the SEARCHENGINE tag is enabled doxygen will generate a search box
+# for the HTML output. The underlying search engine uses javascript
+# and DHTML and should work on any modern browser. Note that when using
+# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets
+# (GENERATE_DOCSET) there is already a search function so this one should
+# typically be disabled. For large projects the javascript based search engine
+# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
+
+SEARCHENGINE = NO
+
+# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
+# implemented using a PHP enabled web server instead of at the web client
+# using Javascript. Doxygen will generate the search PHP script and index
+# file to put on the web server. The advantage of the server
+# based approach is that it scales better to large projects and allows
+# full text search. The disadvantages are that it is more difficult to setup
+# and does not have live searching capabilities.
+
+SERVER_BASED_SEARCH = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
+# generate Latex output.
+
+GENERATE_LATEX = NO
+
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `latex' will be used as the default path.
+
+LATEX_OUTPUT = latex
+
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
+# invoked. If left blank `latex' will be used as the default command name.
+# Note that when enabling USE_PDFLATEX this option is only used for
+# generating bitmaps for formulas in the HTML output, but not in the
+# Makefile that is written to the output directory.
+
+LATEX_CMD_NAME = latex
+
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
+# generate index for LaTeX. If left blank `makeindex' will be used as the
+# default command name.
+
+MAKEINDEX_CMD_NAME = makeindex
+
+# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
+# LaTeX documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_LATEX = NO
+
+# The PAPER_TYPE tag can be used to set the paper type that is used
+# by the printer. Possible values are: a4, letter, legal and
+# executive. If left blank a4wide will be used.
+
+PAPER_TYPE = a4
+
+# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
+# packages that should be included in the LaTeX output.
+
+EXTRA_PACKAGES =
+
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
+# the generated latex document. The header should contain everything until
+# the first chapter. If it is left blank doxygen will generate a
+# standard header. Notice: only use this tag if you know what you are doing!
+
+LATEX_HEADER =
+
+# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for
+# the generated latex document. The footer should contain everything after
+# the last chapter. If it is left blank doxygen will generate a
+# standard footer. Notice: only use this tag if you know what you are doing!
+
+LATEX_FOOTER =
+
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
+# is prepared for conversion to pdf (using ps2pdf). The pdf file will
+# contain links (just like the HTML output) instead of page references
+# This makes the output suitable for online browsing using a pdf viewer.
+
+PDF_HYPERLINKS = YES
+
+# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
+# plain latex in the generated Makefile. Set this option to YES to get a
+# higher quality PDF documentation.
+
+USE_PDFLATEX = YES
+
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
+# command to the generated LaTeX files. This will instruct LaTeX to keep
+# running if errors occur, instead of asking the user for help.
+# This option is also used when generating formulas in HTML.
+
+LATEX_BATCHMODE = NO
+
+# If LATEX_HIDE_INDICES is set to YES then doxygen will not
+# include the index chapters (such as File Index, Compound Index, etc.)
+# in the output.
+
+LATEX_HIDE_INDICES = NO
+
+# If LATEX_SOURCE_CODE is set to YES then doxygen will include
+# source code with syntax highlighting in the LaTeX output.
+# Note that which sources are shown also depends on other settings
+# such as SOURCE_BROWSER.
+
+LATEX_SOURCE_CODE = NO
+
+# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
+# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See
+# http://en.wikipedia.org/wiki/BibTeX for more info.
+
+LATEX_BIB_STYLE = plain
+
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
+# The RTF output is optimized for Word 97 and may not look very pretty with
+# other RTF readers or editors.
+
+GENERATE_RTF = NO
+
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `rtf' will be used as the default path.
+
+RTF_OUTPUT = rtf
+
+# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
+# RTF documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_RTF = NO
+
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
+# will contain hyperlink fields. The RTF file will
+# contain links (just like the HTML output) instead of page references.
+# This makes the output suitable for online browsing using WORD or other
+# programs which support those fields.
+# Note: wordpad (write) and others do not support links.
+
+RTF_HYPERLINKS = NO
+
+# Load stylesheet definitions from file. Syntax is similar to doxygen's
+# config file, i.e. a series of assignments. You only have to provide
+# replacements, missing definitions are set to their default value.
+
+RTF_STYLESHEET_FILE =
+
+# Set optional variables used in the generation of an rtf document.
+# Syntax is similar to doxygen's config file.
+
+RTF_EXTENSIONS_FILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
+# generate man pages
+
+GENERATE_MAN = NO
+
+# The MAN_OUTPUT tag is used to specify where the man pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `man' will be used as the default path.
+
+MAN_OUTPUT = man
+
+# The MAN_EXTENSION tag determines the extension that is added to
+# the generated man pages (default is the subroutine's section .3)
+
+MAN_EXTENSION = .3
+
+# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
+# then it will generate one additional man file for each entity
+# documented in the real man page(s). These additional files
+# only source the real man page, but without them the man command
+# would be unable to find the correct page. The default is NO.
+
+MAN_LINKS = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_XML tag is set to YES Doxygen will
+# generate an XML file that captures the structure of
+# the code including all documentation.
+
+GENERATE_XML = NO
+
+# The XML_OUTPUT tag is used to specify where the XML pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `xml' will be used as the default path.
+
+XML_OUTPUT = xml
+
+# The XML_SCHEMA tag can be used to specify an XML schema,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_SCHEMA =
+
+# The XML_DTD tag can be used to specify an XML DTD,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_DTD =
+
+# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
+# dump the program listings (including syntax highlighting
+# and cross-referencing information) to the XML output. Note that
+# enabling this will significantly increase the size of the XML output.
+
+XML_PROGRAMLISTING = YES
+
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
+# generate an AutoGen Definitions (see autogen.sf.net) file
+# that captures the structure of the code including all
+# documentation. Note that this feature is still experimental
+# and incomplete at the moment.
+
+GENERATE_AUTOGEN_DEF = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_PERLMOD tag is set to YES Doxygen will
+# generate a Perl module file that captures the structure of
+# the code including all documentation. Note that this
+# feature is still experimental and incomplete at the
+# moment.
+
+GENERATE_PERLMOD = NO
+
+# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
+# the necessary Makefile rules, Perl scripts and LaTeX code to be able
+# to generate PDF and DVI output from the Perl module output.
+
+PERLMOD_LATEX = NO
+
+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
+# nicely formatted so it can be parsed by a human reader. This is useful
+# if you want to understand what is going on. On the other hand, if this
+# tag is set to NO the size of the Perl module output will be much smaller
+# and Perl will parse it just the same.
+
+PERLMOD_PRETTY = YES
+
+# The names of the make variables in the generated doxyrules.make file
+# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
+# This is useful so different doxyrules.make files included by the same
+# Makefile don't overwrite each other's variables.
+
+PERLMOD_MAKEVAR_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
+# evaluate all C-preprocessor directives found in the sources and include
+# files.
+
+ENABLE_PREPROCESSING = YES
+
+# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
+# names in the source code. If set to NO (the default) only conditional
+# compilation will be performed. Macro expansion can be done in a controlled
+# way by setting EXPAND_ONLY_PREDEF to YES.
+
+MACRO_EXPANSION = NO
+
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
+# then the macro expansion is limited to the macros specified with the
+# PREDEFINED and EXPAND_AS_DEFINED tags.
+
+EXPAND_ONLY_PREDEF = NO
+
+# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
+# pointed to by INCLUDE_PATH will be searched when a #include is found.
+
+SEARCH_INCLUDES = YES
+
+# The INCLUDE_PATH tag can be used to specify one or more directories that
+# contain include files that are not input files but should be processed by
+# the preprocessor.
+
+INCLUDE_PATH =
+
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
+# patterns (like *.h and *.hpp) to filter out the header-files in the
+# directories. If left blank, the patterns specified with FILE_PATTERNS will
+# be used.
+
+INCLUDE_FILE_PATTERNS =
+
+# The PREDEFINED tag can be used to specify one or more macro names that
+# are defined before the preprocessor is started (similar to the -D option of
+# gcc). The argument of the tag is a list of macros of the form: name
+# or name=definition (no spaces). If the definition and the = are
+# omitted =1 is assumed. To prevent a macro definition from being
+# undefined via #undef or recursively expanded use the := operator
+# instead of the = operator.
+
+PREDEFINED =
+
+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
+# this tag can be used to specify a list of macro names that should be expanded.
+# The macro definition that is found in the sources will be used.
+# Use the PREDEFINED tag if you want to use a different macro definition that
+# overrules the definition found in the source code.
+
+EXPAND_AS_DEFINED =
+
+# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
+# doxygen's preprocessor will remove all references to function-like macros
+# that are alone on a line, have an all uppercase name, and do not end with a
+# semicolon, because these will confuse the parser if not removed.
+
+SKIP_FUNCTION_MACROS = YES
+
+#---------------------------------------------------------------------------
+# Configuration::additions related to external references
+#---------------------------------------------------------------------------
+
+# The TAGFILES option can be used to specify one or more tagfiles.
+# Optionally an initial location of the external documentation
+# can be added for each tagfile. The format of a tag file without
+# this location is as follows:
+# TAGFILES = file1 file2 ...
+# Adding location for the tag files is done as follows:
+# TAGFILES = file1=loc1 "file2 = loc2" ...
+# where "loc1" and "loc2" can be relative or absolute paths or
+# URLs. If a location is present for each tag, the installdox tool
+# does not have to be run to correct the links.
+# Note that each tag file must have a unique name
+# (where the name does NOT include the path)
+# If a tag file is not located in the directory in which doxygen
+# is run, you must also specify the path to the tagfile here.
+
+TAGFILES =
+
+# When a file name is specified after GENERATE_TAGFILE, doxygen will create
+# a tag file that is based on the input files it reads.
+
+GENERATE_TAGFILE =
+
+# If the ALLEXTERNALS tag is set to YES all external classes will be listed
+# in the class index. If set to NO only the inherited external classes
+# will be listed.
+
+ALLEXTERNALS = NO
+
+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
+# in the modules index. If set to NO, only the current project's groups will
+# be listed.
+
+EXTERNAL_GROUPS = YES
+
+# The PERL_PATH should be the absolute path and name of the perl script
+# interpreter (i.e. the result of `which perl').
+
+PERL_PATH = /usr/bin/perl
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
+# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
+# or super classes. Setting the tag to NO turns the diagrams off. Note that
+# this option also works with HAVE_DOT disabled, but it is recommended to
+# install and use dot, since it yields more powerful graphs.
+
+CLASS_DIAGRAMS = YES
+
+# You can define message sequence charts within doxygen comments using the \msc
+# command. Doxygen will then run the mscgen tool (see
+# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
+# the mscgen tool resides. If left empty the tool is assumed to be found in the
+# default search path.
+
+MSCGEN_PATH =
+
+# If set to YES, the inheritance and collaboration graphs will hide
+# inheritance and usage relations if the target is undocumented
+# or is not a class.
+
+HIDE_UNDOC_RELATIONS = YES
+
+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
+# available from the path. This tool is part of Graphviz, a graph visualization
+# toolkit from AT&T and Lucent Bell Labs. The other options in this section
+# have no effect if this option is set to NO (the default)
+
+HAVE_DOT = NO
+
+# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
+# allowed to run in parallel. When set to 0 (the default) doxygen will
+# base this on the number of processors available in the system. You can set it
+# explicitly to a value larger than 0 to get control over the balance
+# between CPU load and processing speed.
+
+DOT_NUM_THREADS = 0
+
+# By default doxygen will use the Helvetica font for all dot files that
+# doxygen generates. When you want a differently looking font you can specify
+# the font name using DOT_FONTNAME. You need to make sure dot is able to find
+# the font, which can be done by putting it in a standard location or by setting
+# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the
+# directory containing the font.
+
+DOT_FONTNAME = Helvetica
+
+# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
+# The default size is 10pt.
+
+DOT_FONTSIZE = 10
+
+# By default doxygen will tell dot to use the Helvetica font.
+# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to
+# set the path where dot can find it.
+
+DOT_FONTPATH =
+
+# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect inheritance relations. Setting this tag to YES will force the
+# the CLASS_DIAGRAMS tag to NO.
+
+CLASS_GRAPH = YES
+
+# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect implementation dependencies (inheritance, containment, and
+# class references variables) of the class with other documented classes.
+
+COLLABORATION_GRAPH = YES
+
+# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for groups, showing the direct groups dependencies
+
+GROUP_GRAPHS = YES
+
+# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
+# collaboration diagrams in a style similar to the OMG's Unified Modeling
+# Language.
+
+UML_LOOK = NO
+
+# If set to YES, the inheritance and collaboration graphs will show the
+# relations between templates and their instances.
+
+TEMPLATE_RELATIONS = NO
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
+# tags are set to YES then doxygen will generate a graph for each documented
+# file showing the direct and indirect include dependencies of the file with
+# other documented files.
+
+INCLUDE_GRAPH = YES
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
+# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
+# documented header file showing the documented files that directly or
+# indirectly include this file.
+
+INCLUDED_BY_GRAPH = YES
+
+# If the CALL_GRAPH and HAVE_DOT options are set to YES then
+# doxygen will generate a call dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable call graphs
+# for selected functions only using the \callgraph command.
+
+CALL_GRAPH = NO
+
+# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
+# doxygen will generate a caller dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable caller
+# graphs for selected functions only using the \callergraph command.
+
+CALLER_GRAPH = NO
+
+# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
+# will generate a graphical hierarchy of all classes instead of a textual one.
+
+GRAPHICAL_HIERARCHY = YES
+
+# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
+# then doxygen will show the dependencies a directory has on other directories
+# in a graphical way. The dependency relations are determined by the #include
+# relations between the files in the directories.
+
+DIRECTORY_GRAPH = YES
+
+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
+# generated by dot. Possible values are svg, png, jpg, or gif.
+# If left blank png will be used. If you choose svg you need to set
+# HTML_FILE_EXTENSION to xhtml in order to make the SVG files
+# visible in IE 9+ (other browsers do not have this requirement).
+
+DOT_IMAGE_FORMAT = png
+
+# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
+# enable generation of interactive SVG images that allow zooming and panning.
+# Note that this requires a modern browser other than Internet Explorer.
+# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you
+# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files
+# visible. Older versions of IE do not have SVG support.
+
+INTERACTIVE_SVG = NO
+
+# The tag DOT_PATH can be used to specify the path where the dot tool can be
+# found. If left blank, it is assumed the dot tool can be found in the path.
+
+DOT_PATH =
+
+# The DOTFILE_DIRS tag can be used to specify one or more directories that
+# contain dot files that are included in the documentation (see the
+# \dotfile command).
+
+DOTFILE_DIRS =
+
+# The MSCFILE_DIRS tag can be used to specify one or more directories that
+# contain msc files that are included in the documentation (see the
+# \mscfile command).
+
+MSCFILE_DIRS =
+
+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
+# nodes that will be shown in the graph. If the number of nodes in a graph
+# becomes larger than this value, doxygen will truncate the graph, which is
+# visualized by representing a node as a red box. Note that doxygen if the
+# number of direct children of the root node in a graph is already larger than
+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
+# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
+
+DOT_GRAPH_MAX_NODES = 50
+
+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
+# graphs generated by dot. A depth value of 3 means that only nodes reachable
+# from the root by following a path via at most 3 edges will be shown. Nodes
+# that lay further from the root node will be omitted. Note that setting this
+# option to 1 or 2 may greatly reduce the computation time needed for large
+# code bases. Also note that the size of a graph can be further restricted by
+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
+
+MAX_DOT_GRAPH_DEPTH = 0
+
+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
+# background. This is disabled by default, because dot on Windows does not
+# seem to support this out of the box. Warning: Depending on the platform used,
+# enabling this option may lead to badly anti-aliased labels on the edges of
+# a graph (i.e. they become hard to read).
+
+DOT_TRANSPARENT = NO
+
+# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
+# files in one run (i.e. multiple -o and -T options on the command line). This
+# makes dot run faster, but since only newer versions of dot (>1.8.10)
+# support this, this feature is disabled by default.
+
+DOT_MULTI_TARGETS = NO
+
+# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
+# generate a legend page explaining the meaning of the various boxes and
+# arrows in the dot generated graphs.
+
+GENERATE_LEGEND = YES
+
+# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
+# remove the intermediate dot files that are used to generate
+# the various graphs.
+
+DOT_CLEANUP = YES
diff --git a/tools/doc/Doxyfile-plugin-template b/tools/doc/Doxyfile-plugin-template
new file mode 100644
index 0000000..99fcccd
--- /dev/null
+++ b/tools/doc/Doxyfile-plugin-template
@@ -0,0 +1,1789 @@
+# Doxyfile 1.7.5.1
+
+# This file describes the settings to be used by the documentation system
+# doxygen (www.doxygen.org) for a project
+#
+# All text after a hash (#) is considered a comment and will be ignored
+# The format is:
+# TAG = value [value, ...]
+# For lists items can also be appended using:
+# TAG += value [value, ...]
+# Values that contain spaces should be placed between quotes (" ")
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+
+# This tag specifies the encoding used for all characters in the config file
+# that follow. The default is UTF-8 which is also the encoding used for all
+# text before the first occurrence of this tag. Doxygen uses libiconv (or the
+# iconv built into libc) for the transcoding. See
+# http://www.gnu.org/software/libiconv for the list of possible encodings.
+
+DOXYFILE_ENCODING = UTF-8
+
+# The PROJECT_NAME tag is a single word (or sequence of words) that should
+# identify the project. Note that if you do not use Doxywizard you need
+# to put quotes around the project name if it contains spaces.
+
+PROJECT_NAME = "_ULTRACOPIER_PLUGIN_NAME_"
+
+# The PROJECT_NUMBER tag can be used to enter a project or revision number.
+# This could be handy for archiving the generated documentation or
+# if some version control system is used.
+
+PROJECT_NUMBER = _PROJECT_NUMBER_
+
+# Using the PROJECT_BRIEF tag one can provide an optional one line description
+# for a project that appears at the top of each page and should give viewer
+# a quick idea about the purpose of the project. Keep the description short.
+
+PROJECT_BRIEF = "_PROJECT_BRIEF_"
+
+# With the PROJECT_LOGO tag one can specify an logo or icon that is
+# included in the documentation. The maximum height of the logo should not
+# exceed 55 pixels and the maximum width should not exceed 200 pixels.
+# Doxygen will copy the logo to the output directory.
+
+PROJECT_LOGO = /root/ultracopier/doc/ultracopier-logo.png
+
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
+# base path where the generated documentation will be put.
+# If a relative path is entered, it will be relative to the location
+# where doxygen was started. If left blank the current directory will be used.
+
+OUTPUT_DIRECTORY = TEMP_PATH/doc/tmp
+
+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
+# 4096 sub-directories (in 2 levels) under the output directory of each output
+# format and will distribute the generated files over these directories.
+# Enabling this option can be useful when feeding doxygen a huge amount of
+# source files, where putting all generated files in the same directory would
+# otherwise cause performance problems for the file system.
+
+CREATE_SUBDIRS = YES
+
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
+# documentation generated by doxygen is written. Doxygen will use this
+# information to generate all constant output in the proper language.
+# The default language is English, other supported languages are:
+# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
+# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
+# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
+# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
+# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
+# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
+
+OUTPUT_LANGUAGE = English
+
+# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
+# include brief member descriptions after the members that are listed in
+# the file and class documentation (similar to JavaDoc).
+# Set to NO to disable this.
+
+BRIEF_MEMBER_DESC = YES
+
+# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
+# the brief description of a member or function before the detailed description.
+# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
+# brief descriptions will be completely suppressed.
+
+REPEAT_BRIEF = YES
+
+# This tag implements a quasi-intelligent brief description abbreviator
+# that is used to form the text in various listings. Each string
+# in this list, if found as the leading text of the brief description, will be
+# stripped from the text and the result after processing the whole list, is
+# used as the annotated text. Otherwise, the brief description is used as-is.
+# If left blank, the following values are used ("$name" is automatically
+# replaced with the name of the entity): "The $name class" "The $name widget"
+# "The $name file" "is" "provides" "specifies" "contains"
+# "represents" "a" "an" "the"
+
+ABBREVIATE_BRIEF = "The $name class" \
+ "The $name widget" \
+ "The $name file" \
+ is \
+ provides \
+ specifies \
+ contains \
+ represents \
+ a \
+ an \
+ the
+
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
+# Doxygen will generate a detailed section even if there is only a brief
+# description.
+
+ALWAYS_DETAILED_SEC = NO
+
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
+# inherited members of a class in the documentation of that class as if those
+# members were ordinary class members. Constructors, destructors and assignment
+# operators of the base classes will not be shown.
+
+INLINE_INHERITED_MEMB = NO
+
+# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
+# path before files name in the file list and in the header files. If set
+# to NO the shortest path that makes the file name unique will be used.
+
+FULL_PATH_NAMES = YES
+
+# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
+# can be used to strip a user-defined part of the path. Stripping is
+# only done if one of the specified strings matches the left-hand part of
+# the path. The tag can be used to show relative paths in the file list.
+# If left blank the directory from which doxygen is run is used as the
+# path to strip.
+
+STRIP_FROM_PATH =
+
+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
+# the path mentioned in the documentation of a class, which tells
+# the reader which header file to include in order to use a class.
+# If left blank only the name of the header file containing the class
+# definition is used. Otherwise one should specify the include paths that
+# are normally passed to the compiler using the -I flag.
+
+STRIP_FROM_INC_PATH =
+
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
+# (but less readable) file names. This can be useful if your file system
+# doesn't support long names like on DOS, Mac, or CD-ROM.
+
+SHORT_NAMES = NO
+
+# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
+# will interpret the first line (until the first dot) of a JavaDoc-style
+# comment as the brief description. If set to NO, the JavaDoc
+# comments will behave just like regular Qt-style comments
+# (thus requiring an explicit @brief command for a brief description.)
+
+JAVADOC_AUTOBRIEF = NO
+
+# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
+# interpret the first line (until the first dot) of a Qt-style
+# comment as the brief description. If set to NO, the comments
+# will behave just like regular Qt-style comments (thus requiring
+# an explicit \brief command for a brief description.)
+
+QT_AUTOBRIEF = NO
+
+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
+# treat a multi-line C++ special comment block (i.e. a block of //! or ///
+# comments) as a brief description. This used to be the default behaviour.
+# The new default is to treat a multi-line C++ comment block as a detailed
+# description. Set this tag to YES if you prefer the old behaviour instead.
+
+MULTILINE_CPP_IS_BRIEF = NO
+
+# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
+# member inherits the documentation from any documented member that it
+# re-implements.
+
+INHERIT_DOCS = YES
+
+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
+# a new page for each member. If set to NO, the documentation of a member will
+# be part of the file/class/namespace that contains it.
+
+SEPARATE_MEMBER_PAGES = NO
+
+# The TAB_SIZE tag can be used to set the number of spaces in a tab.
+# Doxygen uses this value to replace tabs by spaces in code fragments.
+
+TAB_SIZE = 8
+
+# This tag can be used to specify a number of aliases that acts
+# as commands in the documentation. An alias has the form "name=value".
+# For example adding "sideeffect=\par Side Effects:\n" will allow you to
+# put the command \sideeffect (or @sideeffect) in the documentation, which
+# will result in a user-defined paragraph with heading "Side Effects:".
+# You can put \n's in the value part of an alias to insert newlines.
+
+ALIASES =
+
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
+# sources only. Doxygen will then generate output that is more tailored for C.
+# For instance, some of the names that are used will be different. The list
+# of all members will be omitted, etc.
+
+OPTIMIZE_OUTPUT_FOR_C = NO
+
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
+# sources only. Doxygen will then generate output that is more tailored for
+# Java. For instance, namespaces will be presented as packages, qualified
+# scopes will look different, etc.
+
+OPTIMIZE_OUTPUT_JAVA = NO
+
+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
+# sources only. Doxygen will then generate output that is more tailored for
+# Fortran.
+
+OPTIMIZE_FOR_FORTRAN = NO
+
+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
+# sources. Doxygen will then generate output that is tailored for
+# VHDL.
+
+OPTIMIZE_OUTPUT_VHDL = NO
+
+# Doxygen selects the parser to use depending on the extension of the files it
+# parses. With this tag you can assign which parser to use for a given extension.
+# Doxygen has a built-in mapping, but you can override or extend it using this
+# tag. The format is ext=language, where ext is a file extension, and language
+# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
+# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
+# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
+# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
+# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
+
+EXTENSION_MAPPING =
+
+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
+# to include (a tag file for) the STL sources as input, then you should
+# set this tag to YES in order to let doxygen match functions declarations and
+# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
+# func(std::string) {}). This also makes the inheritance and collaboration
+# diagrams that involve STL classes more complete and accurate.
+
+BUILTIN_STL_SUPPORT = NO
+
+# If you use Microsoft's C++/CLI language, you should set this option to YES to
+# enable parsing support.
+
+CPP_CLI_SUPPORT = NO
+
+# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
+# Doxygen will parse them like normal C++ but will assume all classes use public
+# instead of private inheritance when no explicit protection keyword is present.
+
+SIP_SUPPORT = NO
+
+# For Microsoft's IDL there are propget and propput attributes to indicate getter
+# and setter methods for a property. Setting this option to YES (the default)
+# will make doxygen replace the get and set methods by a property in the
+# documentation. This will only work if the methods are indeed getting or
+# setting a simple type. If this is not the case, or you want to show the
+# methods anyway, you should set this option to NO.
+
+IDL_PROPERTY_SUPPORT = YES
+
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
+# tag is set to YES, then doxygen will reuse the documentation of the first
+# member in the group (if any) for the other members of the group. By default
+# all members of a group must be documented explicitly.
+
+DISTRIBUTE_GROUP_DOC = NO
+
+# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
+# the same type (for instance a group of public functions) to be put as a
+# subgroup of that type (e.g. under the Public Functions section). Set it to
+# NO to prevent subgrouping. Alternatively, this can be done per class using
+# the \nosubgrouping command.
+
+SUBGROUPING = YES
+
+# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and
+# unions are shown inside the group in which they are included (e.g. using
+# @ingroup) instead of on a separate page (for HTML and Man pages) or
+# section (for LaTeX and RTF).
+
+INLINE_GROUPED_CLASSES = NO
+
+# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and
+# unions with only public data fields will be shown inline in the documentation
+# of the scope in which they are defined (i.e. file, namespace, or group
+# documentation), provided this scope is documented. If set to NO (the default),
+# structs, classes, and unions are shown on a separate page (for HTML and Man
+# pages) or section (for LaTeX and RTF).
+
+INLINE_SIMPLE_STRUCTS = NO
+
+# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
+# is documented as struct, union, or enum with the name of the typedef. So
+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
+# with name TypeT. When disabled the typedef will appear as a member of a file,
+# namespace, or class. And the struct will be named TypeS. This can typically
+# be useful for C code in case the coding convention dictates that all compound
+# types are typedef'ed and only the typedef is referenced, never the tag name.
+
+TYPEDEF_HIDES_STRUCT = NO
+
+# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
+# determine which symbols to keep in memory and which to flush to disk.
+# When the cache is full, less often used symbols will be written to disk.
+# For small to medium size projects (<1000 input files) the default value is
+# probably good enough. For larger projects a too small cache size can cause
+# doxygen to be busy swapping symbols to and from disk most of the time
+# causing a significant performance penalty.
+# If the system has enough physical memory increasing the cache will improve the
+# performance by keeping more symbols in memory. Note that the value works on
+# a logarithmic scale so increasing the size by one will roughly double the
+# memory usage. The cache size is given by this formula:
+# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
+# corresponding to a cache size of 2^16 = 65536 symbols
+
+SYMBOL_CACHE_SIZE = 0
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+
+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
+# documentation are documented, even if no documentation was available.
+# Private class members and static file members will be hidden unless
+# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
+
+EXTRACT_ALL = NO
+
+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
+# will be included in the documentation.
+
+EXTRACT_PRIVATE = NO
+
+# If the EXTRACT_STATIC tag is set to YES all static members of a file
+# will be included in the documentation.
+
+EXTRACT_STATIC = NO
+
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
+# defined locally in source files will be included in the documentation.
+# If set to NO only classes defined in header files are included.
+
+EXTRACT_LOCAL_CLASSES = YES
+
+# This flag is only useful for Objective-C code. When set to YES local
+# methods, which are defined in the implementation section but not in
+# the interface are included in the documentation.
+# If set to NO (the default) only methods in the interface are included.
+
+EXTRACT_LOCAL_METHODS = NO
+
+# If this flag is set to YES, the members of anonymous namespaces will be
+# extracted and appear in the documentation as a namespace called
+# 'anonymous_namespace{file}', where file will be replaced with the base
+# name of the file that contains the anonymous namespace. By default
+# anonymous namespaces are hidden.
+
+EXTRACT_ANON_NSPACES = NO
+
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
+# undocumented members of documented classes, files or namespaces.
+# If set to NO (the default) these members will be included in the
+# various overviews, but no documentation section is generated.
+# This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_MEMBERS = NO
+
+# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
+# undocumented classes that are normally visible in the class hierarchy.
+# If set to NO (the default) these classes will be included in the various
+# overviews. This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_CLASSES = NO
+
+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
+# friend (class|struct|union) declarations.
+# If set to NO (the default) these declarations will be included in the
+# documentation.
+
+HIDE_FRIEND_COMPOUNDS = NO
+
+# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
+# documentation blocks found inside the body of a function.
+# If set to NO (the default) these blocks will be appended to the
+# function's detailed documentation block.
+
+HIDE_IN_BODY_DOCS = NO
+
+# The INTERNAL_DOCS tag determines if documentation
+# that is typed after a \internal command is included. If the tag is set
+# to NO (the default) then the documentation will be excluded.
+# Set it to YES to include the internal documentation.
+
+INTERNAL_DOCS = NO
+
+# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
+# file names in lower-case letters. If set to YES upper-case letters are also
+# allowed. This is useful if you have classes or files whose names only differ
+# in case and if your file system supports case sensitive file names. Windows
+# and Mac users are advised to set this option to NO.
+
+CASE_SENSE_NAMES = NO
+
+# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
+# will show members with their full class and namespace scopes in the
+# documentation. If set to YES the scope will be hidden.
+
+HIDE_SCOPE_NAMES = NO
+
+# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
+# will put a list of the files that are included by a file in the documentation
+# of that file.
+
+SHOW_INCLUDE_FILES = YES
+
+# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
+# will list include files with double quotes in the documentation
+# rather than with sharp brackets.
+
+FORCE_LOCAL_INCLUDES = NO
+
+# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
+# is inserted in the documentation for inline members.
+
+INLINE_INFO = YES
+
+# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
+# will sort the (detailed) documentation of file and class members
+# alphabetically by member name. If set to NO the members will appear in
+# declaration order.
+
+SORT_MEMBER_DOCS = YES
+
+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
+# brief documentation of file, namespace and class members alphabetically
+# by member name. If set to NO (the default) the members will appear in
+# declaration order.
+
+SORT_BRIEF_DOCS = NO
+
+# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
+# will sort the (brief and detailed) documentation of class members so that
+# constructors and destructors are listed first. If set to NO (the default)
+# the constructors will appear in the respective orders defined by
+# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
+# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
+# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
+
+SORT_MEMBERS_CTORS_1ST = NO
+
+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
+# hierarchy of group names into alphabetical order. If set to NO (the default)
+# the group names will appear in their defined order.
+
+SORT_GROUP_NAMES = NO
+
+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
+# sorted by fully-qualified names, including namespaces. If set to
+# NO (the default), the class list will be sorted only by class name,
+# not including the namespace part.
+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
+# Note: This option applies only to the class list, not to the
+# alphabetical list.
+
+SORT_BY_SCOPE_NAME = NO
+
+# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
+# do proper type resolution of all parameters of a function it will reject a
+# match between the prototype and the implementation of a member function even
+# if there is only one candidate or it is obvious which candidate to choose
+# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen
+# will still accept a match between prototype and implementation in such cases.
+
+STRICT_PROTO_MATCHING = NO
+
+# The GENERATE_TODOLIST tag can be used to enable (YES) or
+# disable (NO) the todo list. This list is created by putting \todo
+# commands in the documentation.
+
+GENERATE_TODOLIST = YES
+
+# The GENERATE_TESTLIST tag can be used to enable (YES) or
+# disable (NO) the test list. This list is created by putting \test
+# commands in the documentation.
+
+GENERATE_TESTLIST = YES
+
+# The GENERATE_BUGLIST tag can be used to enable (YES) or
+# disable (NO) the bug list. This list is created by putting \bug
+# commands in the documentation.
+
+GENERATE_BUGLIST = YES
+
+# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
+# disable (NO) the deprecated list. This list is created by putting
+# \deprecated commands in the documentation.
+
+GENERATE_DEPRECATEDLIST= YES
+
+# The ENABLED_SECTIONS tag can be used to enable conditional
+# documentation sections, marked by \if sectionname ... \endif.
+
+ENABLED_SECTIONS =
+
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
+# the initial value of a variable or macro consists of for it to appear in
+# the documentation. If the initializer consists of more lines than specified
+# here it will be hidden. Use a value of 0 to hide initializers completely.
+# The appearance of the initializer of individual variables and macros in the
+# documentation can be controlled using \showinitializer or \hideinitializer
+# command in the documentation regardless of this setting.
+
+MAX_INITIALIZER_LINES = 30
+
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
+# at the bottom of the documentation of classes and structs. If set to YES the
+# list will mention the files that were used to generate the documentation.
+
+SHOW_USED_FILES = YES
+
+# If the sources in your project are distributed over multiple directories
+# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
+# in the documentation. The default is NO.
+
+SHOW_DIRECTORIES = NO
+
+# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
+# This will remove the Files entry from the Quick Index and from the
+# Folder Tree View (if specified). The default is YES.
+
+SHOW_FILES = YES
+
+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
+# Namespaces page. This will remove the Namespaces entry from the Quick Index
+# and from the Folder Tree View (if specified). The default is YES.
+
+SHOW_NAMESPACES = YES
+
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
+# doxygen should invoke to get the current version for each file (typically from
+# the version control system). Doxygen will invoke the program by executing (via
+# popen()) the command <command> <input-file>, where <command> is the value of
+# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
+# provided by doxygen. Whatever the program writes to standard output
+# is used as the file version. See the manual for examples.
+
+FILE_VERSION_FILTER =
+
+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
+# by doxygen. The layout file controls the global structure of the generated
+# output files in an output format independent way. The create the layout file
+# that represents doxygen's defaults, run doxygen with the -l option.
+# You can optionally specify a file name after the option, if omitted
+# DoxygenLayout.xml will be used as the name of the layout file.
+
+LAYOUT_FILE =
+
+# The CITE_BIB_FILES tag can be used to specify one or more bib files
+# containing the references data. This must be a list of .bib files. The
+# .bib extension is automatically appended if omitted. Using this command
+# requires the bibtex tool to be installed. See also
+# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style
+# of the bibliography can be controlled using LATEX_BIB_STYLE.
+
+CITE_BIB_FILES =
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+# The QUIET tag can be used to turn on/off the messages that are generated
+# by doxygen. Possible values are YES and NO. If left blank NO is used.
+
+QUIET = NO
+
+# The WARNINGS tag can be used to turn on/off the warning messages that are
+# generated by doxygen. Possible values are YES and NO. If left blank
+# NO is used.
+
+WARNINGS = YES
+
+# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
+# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
+# automatically be disabled.
+
+WARN_IF_UNDOCUMENTED = YES
+
+# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
+# potential errors in the documentation, such as not documenting some
+# parameters in a documented function, or documenting parameters that
+# don't exist or using markup commands wrongly.
+
+WARN_IF_DOC_ERROR = YES
+
+# The WARN_NO_PARAMDOC option can be enabled to get warnings for
+# functions that are documented, but have no documentation for their parameters
+# or return value. If set to NO (the default) doxygen will only warn about
+# wrong or incomplete parameter documentation, but not about the absence of
+# documentation.
+
+WARN_NO_PARAMDOC = NO
+
+# The WARN_FORMAT tag determines the format of the warning messages that
+# doxygen can produce. The string should contain the $file, $line, and $text
+# tags, which will be replaced by the file and line number from which the
+# warning originated and the warning text. Optionally the format may contain
+# $version, which will be replaced by the version of the file (if it could
+# be obtained via FILE_VERSION_FILTER)
+
+WARN_FORMAT = "$file:$line: $text"
+
+# The WARN_LOGFILE tag can be used to specify a file to which warning
+# and error messages should be written. If left blank the output is written
+# to stderr.
+
+WARN_LOGFILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+
+# The INPUT tag can be used to specify the files and/or directories that contain
+# documented source files. You may enter file names like "myfile.cpp" or
+# directories like "/usr/src/myproject". Separate the files or directories
+# with spaces.
+
+INPUT = ./
+
+# This tag can be used to specify the character encoding of the source files
+# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
+# also the default input encoding. Doxygen uses libiconv (or the iconv built
+# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
+# the list of possible encodings.
+
+INPUT_ENCODING = UTF-8
+
+# If the value of the INPUT tag contains directories, you can use the
+# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank the following patterns are tested:
+# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
+# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
+# *.f90 *.f *.for *.vhd *.vhdl
+
+FILE_PATTERNS = *.c \
+ *.cc \
+ *.cxx \
+ *.cpp \
+ *.c++ \
+ *.d \
+ *.java \
+ *.ii \
+ *.ixx \
+ *.ipp \
+ *.i++ \
+ *.inl \
+ *.h \
+ *.hh \
+ *.hxx \
+ *.hpp \
+ *.h++ \
+ *.idl \
+ *.odl \
+ *.cs \
+ *.php \
+ *.php3 \
+ *.inc \
+ *.m \
+ *.mm \
+ *.dox \
+ *.py \
+ *.f90 \
+ *.f \
+ *.for \
+ *.vhd \
+ *.vhdl
+
+# The RECURSIVE tag can be used to turn specify whether or not subdirectories
+# should be searched for input files as well. Possible values are YES and NO.
+# If left blank NO is used.
+
+RECURSIVE = YES
+
+# The EXCLUDE tag can be used to specify files and/or directories that should
+# excluded from the INPUT source files. This way you can easily exclude a
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
+# Note that relative paths are relative to directory from which doxygen is run.
+
+EXCLUDE =
+
+# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
+# directories that are symbolic links (a Unix file system feature) are excluded
+# from the input.
+
+EXCLUDE_SYMLINKS = NO
+
+# If the value of the INPUT tag contains directories, you can use the
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
+# certain files from those directories. Note that the wildcards are matched
+# against the file with absolute path, so to exclude all test directories
+# for example use the pattern */test/*
+
+EXCLUDE_PATTERNS = interface/*
+
+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
+# (namespaces, classes, functions, etc.) that should be excluded from the
+# output. The symbol name can be a fully qualified name, a word, or if the
+# wildcard * is used, a substring. Examples: ANamespace, AClass,
+# AClass::ANamespace, ANamespace::*Test
+
+EXCLUDE_SYMBOLS =
+
+# The EXAMPLE_PATH tag can be used to specify one or more files or
+# directories that contain example code fragments that are included (see
+# the \include command).
+
+EXAMPLE_PATH =
+
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank all files are included.
+
+EXAMPLE_PATTERNS = *
+
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
+# searched for input files to be used with the \include or \dontinclude
+# commands irrespective of the value of the RECURSIVE tag.
+# Possible values are YES and NO. If left blank NO is used.
+
+EXAMPLE_RECURSIVE = NO
+
+# The IMAGE_PATH tag can be used to specify one or more files or
+# directories that contain image that are included in the documentation (see
+# the \image command).
+
+IMAGE_PATH =
+
+# The INPUT_FILTER tag can be used to specify a program that doxygen should
+# invoke to filter for each input file. Doxygen will invoke the filter program
+# by executing (via popen()) the command <filter> <input-file>, where <filter>
+# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
+# input file. Doxygen will then use the output that the filter program writes
+# to standard output. If FILTER_PATTERNS is specified, this tag will be
+# ignored.
+
+INPUT_FILTER =
+
+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
+# basis. Doxygen will compare the file name with each pattern and apply the
+# filter if there is a match. The filters are a list of the form:
+# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
+# info on how filters are used. If FILTER_PATTERNS is empty or if
+# non of the patterns match the file name, INPUT_FILTER is applied.
+
+FILTER_PATTERNS =
+
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
+# INPUT_FILTER) will be used to filter the input files when producing source
+# files to browse (i.e. when SOURCE_BROWSER is set to YES).
+
+FILTER_SOURCE_FILES = NO
+
+# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
+# pattern. A pattern will override the setting for FILTER_PATTERN (if any)
+# and it is also possible to disable source filtering for a specific pattern
+# using *.ext= (so without naming a filter). This option only has effect when
+# FILTER_SOURCE_FILES is enabled.
+
+FILTER_SOURCE_PATTERNS =
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will
+# be generated. Documented entities will be cross-referenced with these sources.
+# Note: To get rid of all source code in the generated output, make sure also
+# VERBATIM_HEADERS is set to NO.
+
+SOURCE_BROWSER = NO
+
+# Setting the INLINE_SOURCES tag to YES will include the body
+# of functions and classes directly in the documentation.
+
+INLINE_SOURCES = NO
+
+# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
+# doxygen to hide any special comment blocks from generated source code
+# fragments. Normal C and C++ comments will always remain visible.
+
+STRIP_CODE_COMMENTS = YES
+
+# If the REFERENCED_BY_RELATION tag is set to YES
+# then for each documented function all documented
+# functions referencing it will be listed.
+
+REFERENCED_BY_RELATION = NO
+
+# If the REFERENCES_RELATION tag is set to YES
+# then for each documented function all documented entities
+# called/used by that function will be listed.
+
+REFERENCES_RELATION = NO
+
+# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
+# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
+# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
+# link to the source code. Otherwise they will link to the documentation.
+
+REFERENCES_LINK_SOURCE = YES
+
+# If the USE_HTAGS tag is set to YES then the references to source code
+# will point to the HTML generated by the htags(1) tool instead of doxygen
+# built-in source browser. The htags tool is part of GNU's global source
+# tagging system (see http://www.gnu.org/software/global/global.html). You
+# will need version 4.8.6 or higher.
+
+USE_HTAGS = NO
+
+# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
+# will generate a verbatim copy of the header file for each class for
+# which an include is specified. Set to NO to disable this.
+
+VERBATIM_HEADERS = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
+# of all compounds will be generated. Enable this if the project
+# contains a lot of classes, structs, unions or interfaces.
+
+ALPHABETICAL_INDEX = YES
+
+# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
+# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
+# in which this list will be split (can be a number in the range [1..20])
+
+COLS_IN_ALPHA_INDEX = 5
+
+# In case all classes in a project start with a common prefix, all
+# classes will be put under the same header in the alphabetical index.
+# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
+# should be ignored while generating the index headers.
+
+IGNORE_PREFIX =
+
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
+# generate HTML output.
+
+GENERATE_HTML = YES
+
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `html' will be used as the default path.
+
+HTML_OUTPUT = html
+
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
+# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
+# doxygen will generate files with .html extension.
+
+HTML_FILE_EXTENSION = .html
+
+# The HTML_HEADER tag can be used to specify a personal HTML header for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard header. Note that when using a custom header you are responsible
+# for the proper inclusion of any scripts and style sheets that doxygen
+# needs, which is dependent on the configuration options used.
+# It is adviced to generate a default header using "doxygen -w html
+# header.html footer.html stylesheet.css YourConfigFile" and then modify
+# that header. Note that the header is subject to change so you typically
+# have to redo this when upgrading to a newer version of doxygen or when
+# changing the value of configuration settings such as GENERATE_TREEVIEW!
+
+HTML_HEADER =
+
+# The HTML_FOOTER tag can be used to specify a personal HTML footer for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard footer.
+
+HTML_FOOTER = footer.html
+
+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
+# style sheet that is used by each HTML page. It can be used to
+# fine-tune the look of the HTML output. If the tag is left blank doxygen
+# will generate a default style sheet. Note that doxygen will try to copy
+# the style sheet file to the HTML output directory, so don't put your own
+# stylesheet in the HTML output directory as well, or it will be erased!
+
+HTML_STYLESHEET =
+
+# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
+# other source files which should be copied to the HTML output directory. Note
+# that these files will be copied to the base HTML output directory. Use the
+# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
+# files. In the HTML_STYLESHEET file, use the file name only. Also note that
+# the files will be copied as-is; there are no commands or markers available.
+
+HTML_EXTRA_FILES =
+
+# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.
+# Doxygen will adjust the colors in the stylesheet and background images
+# according to this color. Hue is specified as an angle on a colorwheel,
+# see http://en.wikipedia.org/wiki/Hue for more information.
+# For instance the value 0 represents red, 60 is yellow, 120 is green,
+# 180 is cyan, 240 is blue, 300 purple, and 360 is red again.
+# The allowed range is 0 to 359.
+
+HTML_COLORSTYLE_HUE = 220
+
+# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
+# the colors in the HTML output. For a value of 0 the output will use
+# grayscales only. A value of 255 will produce the most vivid colors.
+
+HTML_COLORSTYLE_SAT = 100
+
+# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
+# the luminance component of the colors in the HTML output. Values below
+# 100 gradually make the output lighter, whereas values above 100 make
+# the output darker. The value divided by 100 is the actual gamma applied,
+# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
+# and 100 does not change the gamma.
+
+HTML_COLORSTYLE_GAMMA = 80
+
+# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
+# page will contain the date and time when the page was generated. Setting
+# this to NO can help when comparing the output of multiple runs.
+
+HTML_TIMESTAMP = YES
+
+# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
+# files or namespaces will be aligned in HTML using tables. If set to
+# NO a bullet list will be used.
+
+HTML_ALIGN_MEMBERS = YES
+
+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
+# documentation will contain sections that can be hidden and shown after the
+# page has loaded. For this to work a browser that supports
+# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
+# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
+
+HTML_DYNAMIC_SECTIONS = NO
+
+# If the GENERATE_DOCSET tag is set to YES, additional index files
+# will be generated that can be used as input for Apple's Xcode 3
+# integrated development environment, introduced with OSX 10.5 (Leopard).
+# To create a documentation set, doxygen will generate a Makefile in the
+# HTML output directory. Running make will produce the docset in that
+# directory and running "make install" will install the docset in
+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
+# it at startup.
+# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
+# for more information.
+
+GENERATE_DOCSET = NO
+
+# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
+# feed. A documentation feed provides an umbrella under which multiple
+# documentation sets from a single provider (such as a company or product suite)
+# can be grouped.
+
+DOCSET_FEEDNAME = "Doxygen generated docs"
+
+# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
+# should uniquely identify the documentation set bundle. This should be a
+# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
+# will append .docset to the name.
+
+DOCSET_BUNDLE_ID = org.doxygen.Project
+
+# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify
+# the documentation publisher. This should be a reverse domain-name style
+# string, e.g. com.mycompany.MyDocSet.documentation.
+
+DOCSET_PUBLISHER_ID = org.doxygen.Publisher
+
+# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
+
+DOCSET_PUBLISHER_NAME = Publisher
+
+# If the GENERATE_HTMLHELP tag is set to YES, additional index files
+# will be generated that can be used as input for tools like the
+# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
+# of the generated HTML documentation.
+
+GENERATE_HTMLHELP = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
+# be used to specify the file name of the resulting .chm file. You
+# can add a path in front of the file if the result should not be
+# written to the html output directory.
+
+CHM_FILE =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
+# be used to specify the location (absolute path including file name) of
+# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
+# the HTML help compiler on the generated index.hhp.
+
+HHC_LOCATION =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
+# controls if a separate .chi index file is generated (YES) or that
+# it should be included in the master .chm file (NO).
+
+GENERATE_CHI = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
+# is used to encode HtmlHelp index (hhk), content (hhc) and project file
+# content.
+
+CHM_INDEX_ENCODING =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
+# controls whether a binary table of contents is generated (YES) or a
+# normal table of contents (NO) in the .chm file.
+
+BINARY_TOC = NO
+
+# The TOC_EXPAND flag can be set to YES to add extra items for group members
+# to the contents of the HTML help documentation and to the tree view.
+
+TOC_EXPAND = NO
+
+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
+# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
+# that can be used as input for Qt's qhelpgenerator to generate a
+# Qt Compressed Help (.qch) of the generated HTML documentation.
+
+GENERATE_QHP = NO
+
+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
+# be used to specify the file name of the resulting .qch file.
+# The path specified is relative to the HTML output folder.
+
+QCH_FILE =
+
+# The QHP_NAMESPACE tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#namespace
+
+QHP_NAMESPACE = org.doxygen.Project
+
+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#virtual-folders
+
+QHP_VIRTUAL_FOLDER = doc
+
+# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to
+# add. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#custom-filters
+
+QHP_CUST_FILTER_NAME =
+
+# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the
+# custom filter to add. For more information please see
+# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">
+# Qt Help Project / Custom Filters</a>.
+
+QHP_CUST_FILTER_ATTRS =
+
+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
+# project's
+# filter section matches.
+# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">
+# Qt Help Project / Filter Attributes</a>.
+
+QHP_SECT_FILTER_ATTRS =
+
+# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
+# be used to specify the location of Qt's qhelpgenerator.
+# If non-empty doxygen will try to run qhelpgenerator on the generated
+# .qhp file.
+
+QHG_LOCATION =
+
+# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
+# will be generated, which together with the HTML files, form an Eclipse help
+# plugin. To install this plugin and make it available under the help contents
+# menu in Eclipse, the contents of the directory containing the HTML and XML
+# files needs to be copied into the plugins directory of eclipse. The name of
+# the directory within the plugins directory should be the same as
+# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before
+# the help appears.
+
+GENERATE_ECLIPSEHELP = NO
+
+# A unique identifier for the eclipse help plugin. When installing the plugin
+# the directory name containing the HTML and XML files should also have
+# this name.
+
+ECLIPSE_DOC_ID = org.doxygen.Project
+
+# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
+# top of each HTML page. The value NO (the default) enables the index and
+# the value YES disables it.
+
+DISABLE_INDEX = NO
+
+# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values
+# (range [0,1..20]) that doxygen will group on one line in the generated HTML
+# documentation. Note that a value of 0 will completely suppress the enum
+# values from appearing in the overview section.
+
+ENUM_VALUES_PER_LINE = 4
+
+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
+# structure should be generated to display hierarchical information.
+# If the tag value is set to YES, a side panel will be generated
+# containing a tree-like index structure (just like the one that
+# is generated for HTML Help). For this to work a browser that supports
+# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
+# Windows users are probably better off using the HTML help feature.
+
+GENERATE_TREEVIEW = NO
+
+# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
+# and Class Hierarchy pages using a tree view instead of an ordered list.
+
+USE_INLINE_TREES = NO
+
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
+# used to set the initial width (in pixels) of the frame in which the tree
+# is shown.
+
+TREEVIEW_WIDTH = 250
+
+# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open
+# links to external symbols imported via tag files in a separate window.
+
+EXT_LINKS_IN_WINDOW = NO
+
+# Use this tag to change the font size of Latex formulas included
+# as images in the HTML documentation. The default is 10. Note that
+# when you change the font size after a successful doxygen run you need
+# to manually remove any form_*.png images from the HTML output directory
+# to force them to be regenerated.
+
+FORMULA_FONTSIZE = 10
+
+# Use the FORMULA_TRANPARENT tag to determine whether or not the images
+# generated for formulas are transparent PNGs. Transparent PNGs are
+# not supported properly for IE 6.0, but are supported on all modern browsers.
+# Note that when changing this option you need to delete any form_*.png files
+# in the HTML output before the changes have effect.
+
+FORMULA_TRANSPARENT = YES
+
+# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax
+# (see http://www.mathjax.org) which uses client side Javascript for the
+# rendering instead of using prerendered bitmaps. Use this if you do not
+# have LaTeX installed or if you want to formulas look prettier in the HTML
+# output. When enabled you also need to install MathJax separately and
+# configure the path to it using the MATHJAX_RELPATH option.
+
+USE_MATHJAX = NO
+
+# When MathJax is enabled you need to specify the location relative to the
+# HTML output directory using the MATHJAX_RELPATH option. The destination
+# directory should contain the MathJax.js script. For instance, if the mathjax
+# directory is located at the same level as the HTML output directory, then
+# MATHJAX_RELPATH should be ../mathjax. The default value points to the
+# mathjax.org site, so you can quickly see the result without installing
+# MathJax, but it is strongly recommended to install a local copy of MathJax
+# before deployment.
+
+MATHJAX_RELPATH = http://www.mathjax.org/mathjax
+
+# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
+# names that should be enabled during MathJax rendering.
+
+MATHJAX_EXTENSIONS =
+
+# When the SEARCHENGINE tag is enabled doxygen will generate a search box
+# for the HTML output. The underlying search engine uses javascript
+# and DHTML and should work on any modern browser. Note that when using
+# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets
+# (GENERATE_DOCSET) there is already a search function so this one should
+# typically be disabled. For large projects the javascript based search engine
+# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
+
+SEARCHENGINE = NO
+
+# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
+# implemented using a PHP enabled web server instead of at the web client
+# using Javascript. Doxygen will generate the search PHP script and index
+# file to put on the web server. The advantage of the server
+# based approach is that it scales better to large projects and allows
+# full text search. The disadvantages are that it is more difficult to setup
+# and does not have live searching capabilities.
+
+SERVER_BASED_SEARCH = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
+# generate Latex output.
+
+GENERATE_LATEX = NO
+
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `latex' will be used as the default path.
+
+LATEX_OUTPUT = latex
+
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
+# invoked. If left blank `latex' will be used as the default command name.
+# Note that when enabling USE_PDFLATEX this option is only used for
+# generating bitmaps for formulas in the HTML output, but not in the
+# Makefile that is written to the output directory.
+
+LATEX_CMD_NAME = latex
+
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
+# generate index for LaTeX. If left blank `makeindex' will be used as the
+# default command name.
+
+MAKEINDEX_CMD_NAME = makeindex
+
+# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
+# LaTeX documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_LATEX = NO
+
+# The PAPER_TYPE tag can be used to set the paper type that is used
+# by the printer. Possible values are: a4, letter, legal and
+# executive. If left blank a4wide will be used.
+
+PAPER_TYPE = a4
+
+# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
+# packages that should be included in the LaTeX output.
+
+EXTRA_PACKAGES =
+
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
+# the generated latex document. The header should contain everything until
+# the first chapter. If it is left blank doxygen will generate a
+# standard header. Notice: only use this tag if you know what you are doing!
+
+LATEX_HEADER =
+
+# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for
+# the generated latex document. The footer should contain everything after
+# the last chapter. If it is left blank doxygen will generate a
+# standard footer. Notice: only use this tag if you know what you are doing!
+
+LATEX_FOOTER =
+
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
+# is prepared for conversion to pdf (using ps2pdf). The pdf file will
+# contain links (just like the HTML output) instead of page references
+# This makes the output suitable for online browsing using a pdf viewer.
+
+PDF_HYPERLINKS = YES
+
+# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
+# plain latex in the generated Makefile. Set this option to YES to get a
+# higher quality PDF documentation.
+
+USE_PDFLATEX = YES
+
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
+# command to the generated LaTeX files. This will instruct LaTeX to keep
+# running if errors occur, instead of asking the user for help.
+# This option is also used when generating formulas in HTML.
+
+LATEX_BATCHMODE = NO
+
+# If LATEX_HIDE_INDICES is set to YES then doxygen will not
+# include the index chapters (such as File Index, Compound Index, etc.)
+# in the output.
+
+LATEX_HIDE_INDICES = NO
+
+# If LATEX_SOURCE_CODE is set to YES then doxygen will include
+# source code with syntax highlighting in the LaTeX output.
+# Note that which sources are shown also depends on other settings
+# such as SOURCE_BROWSER.
+
+LATEX_SOURCE_CODE = NO
+
+# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
+# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See
+# http://en.wikipedia.org/wiki/BibTeX for more info.
+
+LATEX_BIB_STYLE = plain
+
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
+# The RTF output is optimized for Word 97 and may not look very pretty with
+# other RTF readers or editors.
+
+GENERATE_RTF = NO
+
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `rtf' will be used as the default path.
+
+RTF_OUTPUT = rtf
+
+# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
+# RTF documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_RTF = NO
+
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
+# will contain hyperlink fields. The RTF file will
+# contain links (just like the HTML output) instead of page references.
+# This makes the output suitable for online browsing using WORD or other
+# programs which support those fields.
+# Note: wordpad (write) and others do not support links.
+
+RTF_HYPERLINKS = NO
+
+# Load stylesheet definitions from file. Syntax is similar to doxygen's
+# config file, i.e. a series of assignments. You only have to provide
+# replacements, missing definitions are set to their default value.
+
+RTF_STYLESHEET_FILE =
+
+# Set optional variables used in the generation of an rtf document.
+# Syntax is similar to doxygen's config file.
+
+RTF_EXTENSIONS_FILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
+# generate man pages
+
+GENERATE_MAN = NO
+
+# The MAN_OUTPUT tag is used to specify where the man pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `man' will be used as the default path.
+
+MAN_OUTPUT = man
+
+# The MAN_EXTENSION tag determines the extension that is added to
+# the generated man pages (default is the subroutine's section .3)
+
+MAN_EXTENSION = .3
+
+# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
+# then it will generate one additional man file for each entity
+# documented in the real man page(s). These additional files
+# only source the real man page, but without them the man command
+# would be unable to find the correct page. The default is NO.
+
+MAN_LINKS = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_XML tag is set to YES Doxygen will
+# generate an XML file that captures the structure of
+# the code including all documentation.
+
+GENERATE_XML = NO
+
+# The XML_OUTPUT tag is used to specify where the XML pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `xml' will be used as the default path.
+
+XML_OUTPUT = xml
+
+# The XML_SCHEMA tag can be used to specify an XML schema,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_SCHEMA =
+
+# The XML_DTD tag can be used to specify an XML DTD,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_DTD =
+
+# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
+# dump the program listings (including syntax highlighting
+# and cross-referencing information) to the XML output. Note that
+# enabling this will significantly increase the size of the XML output.
+
+XML_PROGRAMLISTING = YES
+
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
+# generate an AutoGen Definitions (see autogen.sf.net) file
+# that captures the structure of the code including all
+# documentation. Note that this feature is still experimental
+# and incomplete at the moment.
+
+GENERATE_AUTOGEN_DEF = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_PERLMOD tag is set to YES Doxygen will
+# generate a Perl module file that captures the structure of
+# the code including all documentation. Note that this
+# feature is still experimental and incomplete at the
+# moment.
+
+GENERATE_PERLMOD = NO
+
+# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
+# the necessary Makefile rules, Perl scripts and LaTeX code to be able
+# to generate PDF and DVI output from the Perl module output.
+
+PERLMOD_LATEX = NO
+
+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
+# nicely formatted so it can be parsed by a human reader. This is useful
+# if you want to understand what is going on. On the other hand, if this
+# tag is set to NO the size of the Perl module output will be much smaller
+# and Perl will parse it just the same.
+
+PERLMOD_PRETTY = YES
+
+# The names of the make variables in the generated doxyrules.make file
+# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
+# This is useful so different doxyrules.make files included by the same
+# Makefile don't overwrite each other's variables.
+
+PERLMOD_MAKEVAR_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
+# evaluate all C-preprocessor directives found in the sources and include
+# files.
+
+ENABLE_PREPROCESSING = YES
+
+# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
+# names in the source code. If set to NO (the default) only conditional
+# compilation will be performed. Macro expansion can be done in a controlled
+# way by setting EXPAND_ONLY_PREDEF to YES.
+
+MACRO_EXPANSION = NO
+
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
+# then the macro expansion is limited to the macros specified with the
+# PREDEFINED and EXPAND_AS_DEFINED tags.
+
+EXPAND_ONLY_PREDEF = NO
+
+# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
+# pointed to by INCLUDE_PATH will be searched when a #include is found.
+
+SEARCH_INCLUDES = YES
+
+# The INCLUDE_PATH tag can be used to specify one or more directories that
+# contain include files that are not input files but should be processed by
+# the preprocessor.
+
+INCLUDE_PATH =
+
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
+# patterns (like *.h and *.hpp) to filter out the header-files in the
+# directories. If left blank, the patterns specified with FILE_PATTERNS will
+# be used.
+
+INCLUDE_FILE_PATTERNS =
+
+# The PREDEFINED tag can be used to specify one or more macro names that
+# are defined before the preprocessor is started (similar to the -D option of
+# gcc). The argument of the tag is a list of macros of the form: name
+# or name=definition (no spaces). If the definition and the = are
+# omitted =1 is assumed. To prevent a macro definition from being
+# undefined via #undef or recursively expanded use the := operator
+# instead of the = operator.
+
+PREDEFINED =
+
+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
+# this tag can be used to specify a list of macro names that should be expanded.
+# The macro definition that is found in the sources will be used.
+# Use the PREDEFINED tag if you want to use a different macro definition that
+# overrules the definition found in the source code.
+
+EXPAND_AS_DEFINED =
+
+# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
+# doxygen's preprocessor will remove all references to function-like macros
+# that are alone on a line, have an all uppercase name, and do not end with a
+# semicolon, because these will confuse the parser if not removed.
+
+SKIP_FUNCTION_MACROS = YES
+
+#---------------------------------------------------------------------------
+# Configuration::additions related to external references
+#---------------------------------------------------------------------------
+
+# The TAGFILES option can be used to specify one or more tagfiles.
+# Optionally an initial location of the external documentation
+# can be added for each tagfile. The format of a tag file without
+# this location is as follows:
+# TAGFILES = file1 file2 ...
+# Adding location for the tag files is done as follows:
+# TAGFILES = file1=loc1 "file2 = loc2" ...
+# where "loc1" and "loc2" can be relative or absolute paths or
+# URLs. If a location is present for each tag, the installdox tool
+# does not have to be run to correct the links.
+# Note that each tag file must have a unique name
+# (where the name does NOT include the path)
+# If a tag file is not located in the directory in which doxygen
+# is run, you must also specify the path to the tagfile here.
+
+TAGFILES =
+
+# When a file name is specified after GENERATE_TAGFILE, doxygen will create
+# a tag file that is based on the input files it reads.
+
+GENERATE_TAGFILE =
+
+# If the ALLEXTERNALS tag is set to YES all external classes will be listed
+# in the class index. If set to NO only the inherited external classes
+# will be listed.
+
+ALLEXTERNALS = NO
+
+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
+# in the modules index. If set to NO, only the current project's groups will
+# be listed.
+
+EXTERNAL_GROUPS = YES
+
+# The PERL_PATH should be the absolute path and name of the perl script
+# interpreter (i.e. the result of `which perl').
+
+PERL_PATH = /usr/bin/perl
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
+# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
+# or super classes. Setting the tag to NO turns the diagrams off. Note that
+# this option also works with HAVE_DOT disabled, but it is recommended to
+# install and use dot, since it yields more powerful graphs.
+
+CLASS_DIAGRAMS = YES
+
+# You can define message sequence charts within doxygen comments using the \msc
+# command. Doxygen will then run the mscgen tool (see
+# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
+# the mscgen tool resides. If left empty the tool is assumed to be found in the
+# default search path.
+
+MSCGEN_PATH =
+
+# If set to YES, the inheritance and collaboration graphs will hide
+# inheritance and usage relations if the target is undocumented
+# or is not a class.
+
+HIDE_UNDOC_RELATIONS = YES
+
+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
+# available from the path. This tool is part of Graphviz, a graph visualization
+# toolkit from AT&T and Lucent Bell Labs. The other options in this section
+# have no effect if this option is set to NO (the default)
+
+HAVE_DOT = NO
+
+# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
+# allowed to run in parallel. When set to 0 (the default) doxygen will
+# base this on the number of processors available in the system. You can set it
+# explicitly to a value larger than 0 to get control over the balance
+# between CPU load and processing speed.
+
+DOT_NUM_THREADS = 0
+
+# By default doxygen will use the Helvetica font for all dot files that
+# doxygen generates. When you want a differently looking font you can specify
+# the font name using DOT_FONTNAME. You need to make sure dot is able to find
+# the font, which can be done by putting it in a standard location or by setting
+# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the
+# directory containing the font.
+
+DOT_FONTNAME = Helvetica
+
+# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
+# The default size is 10pt.
+
+DOT_FONTSIZE = 10
+
+# By default doxygen will tell dot to use the Helvetica font.
+# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to
+# set the path where dot can find it.
+
+DOT_FONTPATH =
+
+# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect inheritance relations. Setting this tag to YES will force the
+# the CLASS_DIAGRAMS tag to NO.
+
+CLASS_GRAPH = YES
+
+# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect implementation dependencies (inheritance, containment, and
+# class references variables) of the class with other documented classes.
+
+COLLABORATION_GRAPH = YES
+
+# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for groups, showing the direct groups dependencies
+
+GROUP_GRAPHS = YES
+
+# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
+# collaboration diagrams in a style similar to the OMG's Unified Modeling
+# Language.
+
+UML_LOOK = NO
+
+# If set to YES, the inheritance and collaboration graphs will show the
+# relations between templates and their instances.
+
+TEMPLATE_RELATIONS = NO
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
+# tags are set to YES then doxygen will generate a graph for each documented
+# file showing the direct and indirect include dependencies of the file with
+# other documented files.
+
+INCLUDE_GRAPH = YES
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
+# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
+# documented header file showing the documented files that directly or
+# indirectly include this file.
+
+INCLUDED_BY_GRAPH = YES
+
+# If the CALL_GRAPH and HAVE_DOT options are set to YES then
+# doxygen will generate a call dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable call graphs
+# for selected functions only using the \callgraph command.
+
+CALL_GRAPH = NO
+
+# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
+# doxygen will generate a caller dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable caller
+# graphs for selected functions only using the \callergraph command.
+
+CALLER_GRAPH = NO
+
+# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
+# will generate a graphical hierarchy of all classes instead of a textual one.
+
+GRAPHICAL_HIERARCHY = YES
+
+# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
+# then doxygen will show the dependencies a directory has on other directories
+# in a graphical way. The dependency relations are determined by the #include
+# relations between the files in the directories.
+
+DIRECTORY_GRAPH = YES
+
+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
+# generated by dot. Possible values are svg, png, jpg, or gif.
+# If left blank png will be used. If you choose svg you need to set
+# HTML_FILE_EXTENSION to xhtml in order to make the SVG files
+# visible in IE 9+ (other browsers do not have this requirement).
+
+DOT_IMAGE_FORMAT = png
+
+# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
+# enable generation of interactive SVG images that allow zooming and panning.
+# Note that this requires a modern browser other than Internet Explorer.
+# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you
+# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files
+# visible. Older versions of IE do not have SVG support.
+
+INTERACTIVE_SVG = NO
+
+# The tag DOT_PATH can be used to specify the path where the dot tool can be
+# found. If left blank, it is assumed the dot tool can be found in the path.
+
+DOT_PATH =
+
+# The DOTFILE_DIRS tag can be used to specify one or more directories that
+# contain dot files that are included in the documentation (see the
+# \dotfile command).
+
+DOTFILE_DIRS =
+
+# The MSCFILE_DIRS tag can be used to specify one or more directories that
+# contain msc files that are included in the documentation (see the
+# \mscfile command).
+
+MSCFILE_DIRS =
+
+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
+# nodes that will be shown in the graph. If the number of nodes in a graph
+# becomes larger than this value, doxygen will truncate the graph, which is
+# visualized by representing a node as a red box. Note that doxygen if the
+# number of direct children of the root node in a graph is already larger than
+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
+# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
+
+DOT_GRAPH_MAX_NODES = 50
+
+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
+# graphs generated by dot. A depth value of 3 means that only nodes reachable
+# from the root by following a path via at most 3 edges will be shown. Nodes
+# that lay further from the root node will be omitted. Note that setting this
+# option to 1 or 2 may greatly reduce the computation time needed for large
+# code bases. Also note that the size of a graph can be further restricted by
+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
+
+MAX_DOT_GRAPH_DEPTH = 0
+
+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
+# background. This is disabled by default, because dot on Windows does not
+# seem to support this out of the box. Warning: Depending on the platform used,
+# enabling this option may lead to badly anti-aliased labels on the edges of
+# a graph (i.e. they become hard to read).
+
+DOT_TRANSPARENT = NO
+
+# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
+# files in one run (i.e. multiple -o and -T options on the command line). This
+# makes dot run faster, but since only newer versions of dot (>1.8.10)
+# support this, this feature is disabled by default.
+
+DOT_MULTI_TARGETS = NO
+
+# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
+# generate a legend page explaining the meaning of the various boxes and
+# arrows in the dot generated graphs.
+
+GENERATE_LEGEND = YES
+
+# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
+# remove the intermediate dot files that are used to generate
+# the various graphs.
+
+DOT_CLEANUP = YES
diff --git a/tools/doc/footer.html b/tools/doc/footer.html
new file mode 100644
index 0000000..88105a5
--- /dev/null
+++ b/tools/doc/footer.html
@@ -0,0 +1,2 @@
+<hr class="footer"/>
+
diff --git a/tools/doc/ultracopier-logo.png b/tools/doc/ultracopier-logo.png
new file mode 100644
index 0000000..31dcdea
--- /dev/null
+++ b/tools/doc/ultracopier-logo.png
Binary files differ
diff --git a/tools/scripts/UltraCP b/tools/scripts/UltraCP
new file mode 100644
index 0000000..7dc6885
--- /dev/null
+++ b/tools/scripts/UltraCP
@@ -0,0 +1,28 @@
+#!/bin/bash
+"""
+Type: Nautilus Script
+Title: UltraCP
+Version: 1.0
+Info: copie des fichiers ou répertoires sélectionnés avec UltraCopier.
+ copy selected files and directories with UltraCopier.
+Author: © Copyright (C) 2013, Airelle - http://rlwpx.free.fr/WPFF/nautilus.htm
+License: GNU General Public License, version 3 or later - http://www.gnu.org/licenses/gpl.html
+Usage : copier ce fichier dans le répertoire des scripts Nautilus de votre dossier personnel
+ (~/.gnome2/nautilus-scripts/) et vérifier que le script est exécutable (x).
+ Ultracopier doit être installé (http://ultracopier.first-world.info/)
+ copy this file to the directory of Nautilus-scripts of your home
+ (~/.gnome2/nautilus-scripts/) and be sure that the script is executable (x).
+ Ultracopier must be installed (http://ultracopier.first-world.info/)
+"""
+
+IFS='
+'
+
+vers=`zenity --file-selection --directory --title="Vers..." --filename="/home/media/" --text="Choisir le dossier de destination"`
+
+for file in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS ;
+do
+ ultracopier cp "${file}" ${vers}
+done
+
+# EOF
diff --git a/tools/scripts/UltraMV b/tools/scripts/UltraMV
new file mode 100644
index 0000000..37ced70
--- /dev/null
+++ b/tools/scripts/UltraMV
@@ -0,0 +1,28 @@
+#!/bin/bash
+"""
+Type: Nautilus Script
+Title: UltraMV
+Version: 1.0
+Info: déplace des fichiers ou répertoires sélectionnés avec UltraCopier.
+ move selected files and directories with UltraCopier.
+Author: © Copyright (C) 2013, Airelle - http://rlwpx.free.fr/WPFF/nautilus.htm
+License: GNU General Public License, version 3 or later - http://www.gnu.org/licenses/gpl.html
+Usage : copier ce fichier dans le répertoire des scripts Nautilus de votre dossier personnel
+ (~/.gnome2/nautilus-scripts/) et vérifier que le script est exécutable (x).
+ Ultracopier doit être installé (http://ultracopier.first-world.info/)
+ copy this file to the directory of Nautilus-scripts of your home
+ (~/.gnome2/nautilus-scripts/) and be sure that the script is executable (x).
+ Ultracopier must be installed (http://ultracopier.first-world.info/)
+"""
+
+IFS='
+'
+
+vers=`zenity --file-selection --directory --title="Vers..." --filename="/home/media/" --text="Choisir le dossier de destination"`
+
+for file in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS ;
+do
+ ultracopier mv "${file}" ${vers}
+done
+
+# EOF
diff --git a/tools/to-pack/1-pre-send.sh b/tools/to-pack/1-pre-send.sh
new file mode 100755
index 0000000..960edf2
--- /dev/null
+++ b/tools/to-pack/1-pre-send.sh
@@ -0,0 +1,55 @@
+#!/bin/bash
+
+export TEMP_PATH="/home/ultracopier-temp/"
+export WINEBASEPATH="/home/wine/"
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+rm -Rf ${TEMP_PATH} > /dev/null 2>&1
+rm -Rf ${ULTRACOPIERSOURCESPATH}/plugins-alternative/CopyEngine/Ultracopier/ > /dev/null 2>&1
+mkdir -p ${TEMP_PATH}
+cd ../
+find ./ -name "Thumbs.db" -exec rm {} \; >> /dev/null 2>&1
+find ./ -name ".directory" -exec rm {} \; >> /dev/null 2>&1
+
+cd ${BASE_PWD}
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1.4" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Update the translation..."
+source sub-script/translation.sh
+cd ${BASE_PWD}
+echo "Update the translation... done"
+
+echo "Assemble source version..."
+source sub-script/assemble-source-version.sh
+cd ${BASE_PWD}
+echo "Assemble source version... done"
+
+#echo "Assemble doc version..."
+#source sub-script/doc.sh
+#cd ${BASE_PWD}
+#echo "Assemble doc version... done"
+
+
+
diff --git a/tools/to-pack/1-update-translation.sh b/tools/to-pack/1-update-translation.sh
new file mode 100755
index 0000000..daf8263
--- /dev/null
+++ b/tools/to-pack/1-update-translation.sh
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+export TEMP_PATH="/mnt/world/ultracopier-temp/"
+export ULTRACOPIER_SOURCE="/home/user/Desktop/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+cd ${BASE_PWD}
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIER_SOURCE}/Variable.h | grep -F "1.2" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Update translation..."
+source sub-script/translation-local.sh
+cd ${BASE_PWD}
+echo "Update translation... done"
+
+
+
diff --git a/tools/to-pack/2-compil-wine32.sh b/tools/to-pack/2-compil-wine32.sh
new file mode 100755
index 0000000..dad795b
--- /dev/null
+++ b/tools/to-pack/2-compil-wine32.sh
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+export TEMP_PATH="/home/ultracopier-temp/"
+export WINEBASEPATH="/home/wine/"
+export PATH=/home/mxe/usr/bin:$PATH
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+cd ${BASE_PWD}
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1." | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Compil windows version..."
+source sub-script/compil-windows32.sh
+cd ${BASE_PWD}
+echo "Compil windows version... done"
+
+
+
diff --git a/tools/to-pack/2-compil-wine64.sh b/tools/to-pack/2-compil-wine64.sh
new file mode 100755
index 0000000..536f343
--- /dev/null
+++ b/tools/to-pack/2-compil-wine64.sh
@@ -0,0 +1,38 @@
+
+#!/bin/bash
+export TEMP_PATH="/home/ultracopier-temp/"
+export WINEBASEPATH="/home/wine/"
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+cd ${BASE_PWD}
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1.4" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Compil windows version..."
+source sub-script/compil-windows64.sh
+cd ${BASE_PWD}
+echo "Compil windows version... done"
+
+
+
diff --git a/tools/to-pack/2-send-sources.sh b/tools/to-pack/2-send-sources.sh
new file mode 100755
index 0000000..1daced1
--- /dev/null
+++ b/tools/to-pack/2-send-sources.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+cd ../../
+find ./ -name "Thumbs.db" -exec rm {} \; >> /dev/null 2>&1
+find ./ -name ".directory" -exec rm {} \; >> /dev/null 2>&1
+
+echo "Send sources..."
+/usr/bin/rsync -avrtz --compress-level=9 --rsh='ssh -p54973' --delete --partial --progress /home/user/Desktop/ultracopier/sources/ root@ssh.first-world.info:/root/ultracopier/sources/ --exclude='*build*' --exclude='*Qt_5*' --exclude='*qt5*' --exclude='*.pro.user' --exclude='*.qm'
+echo "Send sources... done"
+
+
+
diff --git a/tools/to-pack/3-compil-mac.sh b/tools/to-pack/3-compil-mac.sh
new file mode 100755
index 0000000..21fa8bf
--- /dev/null
+++ b/tools/to-pack/3-compil-mac.sh
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+export TEMP_PATH="/mnt/world/ultracopier-temp/"
+export ULTRACOPIER_SOURCE="/home/user/Desktop/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+cd ${BASE_PWD}
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIER_SOURCE}/Variable.h | grep -F "1.2" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Assemble mac version..."
+source sub-script/mac.sh
+cd ${BASE_PWD}
+echo "Assemble mac version... done"
+
+
+
diff --git a/tools/to-pack/4-clean-all.sh b/tools/to-pack/4-clean-all.sh
new file mode 100755
index 0000000..40770b6
--- /dev/null
+++ b/tools/to-pack/4-clean-all.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+export TEMP_PATH="/home/ultracopier-temp/"
+export WINEBASEPATH="/home/wine/"
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1.4" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Clean the temp folder..."
+source sub-script/clean-all.sh
+cd ${BASE_PWD}
+echo "Clean the temp folder... done"
+
+
diff --git a/tools/to-pack/4-upload.sh b/tools/to-pack/4-upload.sh
new file mode 100755
index 0000000..d908ddd
--- /dev/null
+++ b/tools/to-pack/4-upload.sh
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+export TEMP_PATH="/mnt/world/ultracopier-temp/"
+export ULTRACOPIER_SOURCE="/home/user/Desktop/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+cd ${BASE_PWD}
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIER_SOURCE}/Variable.h | grep -F "1.2" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Upload version..."
+source sub-script/upload-local.sh
+cd ${BASE_PWD}
+echo "Upload version... done"
+
+
+
+
diff --git a/tools/to-pack/5-upload.sh b/tools/to-pack/5-upload.sh
new file mode 100755
index 0000000..0cf5021
--- /dev/null
+++ b/tools/to-pack/5-upload.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+export TEMP_PATH="/home/ultracopier-temp/"
+export WINEBASEPATH="/home/wine/"
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1.4" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "upload..."
+source sub-script/upload.sh
+cd ${BASE_PWD}
+echo "upload... done"
+
+
diff --git a/tools/to-pack/6-sendmail.sh b/tools/to-pack/6-sendmail.sh
new file mode 100755
index 0000000..0dc32c8
--- /dev/null
+++ b/tools/to-pack/6-sendmail.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+export TEMP_PATH="/home/ultracopier-temp/"
+export WINEBASEPATH="/home/wine/"
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1.4" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "upload..."
+source sub-script/sendmail.sh
+cd ${BASE_PWD}
+echo "upload... done"
+
+
diff --git a/tools/to-pack/data/windows/install-static.nsi b/tools/to-pack/data/windows/install-static.nsi
new file mode 100755
index 0000000..0bfc57d
--- /dev/null
+++ b/tools/to-pack/data/windows/install-static.nsi
@@ -0,0 +1,162 @@
+!include Library.nsh
+!define LIBRARY_X64
+!define LIBRARY_SHELL_EXTENSION
+!define LIBRARY_COM
+
+; HM NIS Edit Wizard helper defines
+!define PRODUCT_NAME "Ultracopier"
+!define PRODUCT_VERSION "X.X.X.X"
+!define PRODUCT_PUBLISHER "Ultracopier"
+!define PRODUCT_WEB_SITE "http://ultracopier.first-world.info/"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\ultracopier.exe"
+!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
+!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+
+RequestExecutionLevel admin
+
+SetCompressor /FINAL /SOLID lzma
+
+; MUI 1.67 compatible ------
+!include "MUI.nsh"
+
+; MUI Settings
+!define MUI_ABORTWARNING
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+
+; Welcome page
+!insertmacro MUI_PAGE_WELCOME
+; License page
+; !insertmacro MUI_PAGE_LICENSE "COPYING.txt"
+; Directory page
+!insertmacro MUI_PAGE_DIRECTORY
+; Instfiles page
+!insertmacro MUI_PAGE_INSTFILES
+; Finish page
+!define MUI_FINISHPAGE_RUN "$INSTDIR\ultracopier.exe"
+!insertmacro MUI_PAGE_FINISH
+
+; Uninstaller pages
+!insertmacro MUI_UNPAGE_INSTFILES
+
+; Language files
+!insertmacro MUI_LANGUAGE "English"
+
+; Reserve files
+!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
+
+; MUI end ------
+
+Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
+OutFile "setup.exe"
+InstallDir "$PROGRAMFILES\Ultracopier"
+InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
+ShowInstDetails show
+ShowUnInstDetails show
+
+Section "SectionPrincipale" SEC01
+ SetOutPath "$INSTDIR"
+ SetOverwrite on
+ File "ultracopier.exe"
+ CreateDirectory "$SMPROGRAMS\Ultracopier"
+ CreateShortCut "$SMPROGRAMS\Ultracopier\Ultracopier.lnk" "$INSTDIR\ultracopier.exe"
+ File /r /x *.nsi /x setup.exe *
+ !insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_PROTECTED catchcopy32.dll $INSTDIR\catchcopy32.dll $INSTDIR
+ !insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_PROTECTED catchcopy64.dll $INSTDIR\catchcopy64.dll $INSTDIR
+SectionEnd
+
+Section -AdditionalIcons
+ CreateShortCut "$SMPROGRAMS\Ultracopier\Uninstall.lnk" "$INSTDIR\uninst.exe"
+SectionEnd
+
+Section -Post
+ WriteUninstaller "$INSTDIR\uninst.exe"
+ WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\ultracopier.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\ultracopier.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+SectionEnd
+
+
+Function un.onUninstFailed
+ HideWindow
+ MessageBox MB_ICONINFORMATION|MB_OK "To remove $(^Name) from the computer, close the application and remove manualy the folder"
+FunctionEnd
+
+Function un.onUninstSuccess
+ HideWindow
+ MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) have been uninstall from the computer."
+FunctionEnd
+
+Function un.onInit
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely uninstall $(^Name) and all of its components?" IDYES +2
+ Abort
+FunctionEnd
+
+Function .onInit
+
+ ReadRegStr $R0 HKLM \
+ "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
+ "UninstallString"
+ StrCmp $R0 "" done
+
+ MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
+ "${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \
+ previous version or `Cancel` to cancel this upgrade." \
+ IDOK uninst
+ Abort
+
+;Run the uninstaller
+uninst:
+ ClearErrors
+ ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
+
+ IfErrors no_remove_uninstaller done
+ ;You can either use Delete /REBOOTOK in the uninstaller or add some code
+ ;here to remove the uninstaller. Use a registry key to check
+ ;whether the user has chosen to uninstall. If you are using an uninstaller
+ ;components page, make sure all sections are uninstalled.
+ no_remove_uninstaller:
+
+done:
+
+FunctionEnd
+
+Section Uninstall
+ IfFileExists "$INSTDIR\ultracopier.exe" CloseProgram
+ Abort "The original application $INSTDIR\ultracopier.exe is not found"
+ Goto NotLaunched
+ CloseProgram:
+ ExecWait '"$INSTDIR\ultracopier.exe" quit' $0
+ IntCmp $0 0 NotLaunched
+ DetailPrint "Waiting Close..."
+ CloseLoop:
+ Sleep 200
+ ExecWait '"$INSTDIR\ultracopier.exe" quit' $0
+ IntCmp $0 0 NotLaunched
+ Goto CloseLoop
+
+ NotLaunched:
+
+ ExecWait 'regsvr32 /s /u "$INSTDIR\catchcopy32.dll"'
+ ExecWait 'regsvr32 /s /u "$INSTDIR\catchcopy64.dll"'
+
+; DeleteRegKey HKCU "Software\Ultracopier"
+; DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "ultracopier"
+ Delete "$SMPROGRAMS\Ultracopier\Uninstall.lnk"
+ Delete "$SMPROGRAMS\Ultracopier\Ultracopier.lnk"
+
+ Delete /REBOOTOK $SMPROGRAMS\catchcopy32.dll
+ Delete /REBOOTOK $SMPROGRAMS\catchcopy64.dll
+ Delete /REBOOTOK $INSTDIR\catchcopy32.dll
+ Delete /REBOOTOK $INSTDIR\catchcopy64.dll
+ RMDir /REBOOTOK /r "$SMPROGRAMS\Ultracopier"
+ RMDir /REBOOTOK /r "$INSTDIR"
+
+ DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
+ DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
+ SetAutoClose true
+SectionEnd
diff --git a/tools/to-pack/data/windows/install.nsi b/tools/to-pack/data/windows/install.nsi
new file mode 100755
index 0000000..376f762
--- /dev/null
+++ b/tools/to-pack/data/windows/install.nsi
@@ -0,0 +1,162 @@
+!include Library.nsh
+!define LIBRARY_X64
+!define LIBRARY_SHELL_EXTENSION
+!define LIBRARY_COM
+
+; HM NIS Edit Wizard helper defines
+!define PRODUCT_NAME "Ultracopier"
+!define PRODUCT_VERSION "X.X.X.X"
+!define PRODUCT_PUBLISHER "Ultracopier"
+!define PRODUCT_WEB_SITE "http://ultracopier.first-world.info/"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\ultracopier.exe"
+!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
+!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+
+RequestExecutionLevel admin
+
+SetCompressor /FINAL /SOLID lzma
+
+; MUI 1.67 compatible ------
+!include "MUI.nsh"
+
+; MUI Settings
+!define MUI_ABORTWARNING
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+
+; Welcome page
+!insertmacro MUI_PAGE_WELCOME
+; License page
+; !insertmacro MUI_PAGE_LICENSE "COPYING.txt"
+; Directory page
+!insertmacro MUI_PAGE_DIRECTORY
+; Instfiles page
+!insertmacro MUI_PAGE_INSTFILES
+; Finish page
+!define MUI_FINISHPAGE_RUN "$INSTDIR\ultracopier.exe"
+!insertmacro MUI_PAGE_FINISH
+
+; Uninstaller pages
+!insertmacro MUI_UNPAGE_INSTFILES
+
+; Language files
+!insertmacro MUI_LANGUAGE "English"
+
+; Reserve files
+!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
+
+; MUI end ------
+
+Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
+OutFile "setup.exe"
+InstallDir "$PROGRAMFILES\Ultracopier"
+InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
+ShowInstDetails show
+ShowUnInstDetails show
+
+Section "SectionPrincipale" SEC01
+ SetOutPath "$INSTDIR"
+ SetOverwrite on
+ File "ultracopier.exe"
+ CreateDirectory "$SMPROGRAMS\Ultracopier"
+ CreateShortCut "$SMPROGRAMS\Ultracopier\Ultracopier.lnk" "$INSTDIR\ultracopier.exe"
+ File /r /x *.nsi /x setup.exe *
+ !insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_PROTECTED PluginLoader\catchcopy-v0002\catchcopy32.dll $INSTDIR\PluginLoader\catchcopy-v0002\catchcopy32.dll $INSTDIR
+ !insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_PROTECTED PluginLoader\catchcopy-v0002\catchcopy64.dll $INSTDIR\PluginLoader\catchcopy-v0002\catchcopy64.dll $INSTDIR
+SectionEnd
+
+Section -AdditionalIcons
+ CreateShortCut "$SMPROGRAMS\Ultracopier\Uninstall.lnk" "$INSTDIR\uninst.exe"
+SectionEnd
+
+Section -Post
+ WriteUninstaller "$INSTDIR\uninst.exe"
+ WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\ultracopier.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\ultracopier.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+SectionEnd
+
+
+Function un.onUninstFailed
+ HideWindow
+ MessageBox MB_ICONINFORMATION|MB_OK "To remove $(^Name) from the computer, close the application and remove manualy the folder"
+FunctionEnd
+
+Function un.onUninstSuccess
+ HideWindow
+ MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) have been uninstall from the computer."
+FunctionEnd
+
+Function un.onInit
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely uninstall $(^Name) and all of its components?" IDYES +2
+ Abort
+FunctionEnd
+
+Function .onInit
+
+ ReadRegStr $R0 HKLM \
+ "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
+ "UninstallString"
+ StrCmp $R0 "" done
+
+ MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
+ "${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \
+ previous version or `Cancel` to cancel this upgrade." \
+ IDOK uninst
+ Abort
+
+;Run the uninstaller
+uninst:
+ ClearErrors
+ ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
+
+ IfErrors no_remove_uninstaller done
+ ;You can either use Delete /REBOOTOK in the uninstaller or add some code
+ ;here to remove the uninstaller. Use a registry key to check
+ ;whether the user has chosen to uninstall. If you are using an uninstaller
+ ;components page, make sure all sections are uninstalled.
+ no_remove_uninstaller:
+
+done:
+
+FunctionEnd
+
+Section Uninstall
+ IfFileExists "$INSTDIR\ultracopier.exe" CloseProgram
+ Abort "The original application $INSTDIR\ultracopier.exe is not found"
+ Goto NotLaunched
+ CloseProgram:
+ ExecWait '"$INSTDIR\ultracopier.exe" quit' $0
+ IntCmp $0 0 NotLaunched
+ DetailPrint "Waiting Close..."
+ CloseLoop:
+ Sleep 200
+ ExecWait '"$INSTDIR\ultracopier.exe" quit' $0
+ IntCmp $0 0 NotLaunched
+ Goto CloseLoop
+
+ NotLaunched:
+
+ ExecWait 'regsvr32 /s /u "$INSTDIR\PluginLoader\catchcopy-v0002\catchcopy32.dll"'
+ ExecWait 'regsvr32 /s /u "$INSTDIR\PluginLoader\catchcopy-v0002\catchcopy64.dll"'
+
+; DeleteRegKey HKCU "Software\Ultracopier"
+ DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "ultracopier"
+ Delete "$SMPROGRAMS\Ultracopier\Uninstall.lnk"
+ Delete "$SMPROGRAMS\Ultracopier\Ultracopier.lnk"
+
+ Delete /REBOOTOK $SMPROGRAMS\PluginLoader\catchcopy-v0002\catchcopy32.dll
+ Delete /REBOOTOK $SMPROGRAMS\PluginLoader\catchcopy-v0002\catchcopy64.dll
+ Delete /REBOOTOK $INSTDIR\PluginLoader\catchcopy-v0002\catchcopy32.dll
+ Delete /REBOOTOK $INSTDIR\PluginLoader\catchcopy-v0002\catchcopy64.dll
+ RMDir /REBOOTOK /r "$SMPROGRAMS\Ultracopier"
+ RMDir /REBOOTOK /r "$INSTDIR"
+
+ DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
+ DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
+ SetAutoClose true
+SectionEnd
diff --git a/tools/to-pack/data/windows/resources-windows-ultracopier-plugins.rc b/tools/to-pack/data/windows/resources-windows-ultracopier-plugins.rc
new file mode 100644
index 0000000..6a9c2fa
--- /dev/null
+++ b/tools/to-pack/data/windows/resources-windows-ultracopier-plugins.rc
@@ -0,0 +1,27 @@
+#include <windows.h>
+
+1 VERSIONINFO
+FILEVERSION ULTRACOPIER_PLUGIN_WINDOWS_VERSION
+PRODUCTVERSION ULTRACOPIER_PLUGIN_WINDOWS_VERSION
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "040904E4"
+ {
+ VALUE "CompanyName", "ultracopier.first-world.info"
+ VALUE "FileVersion", "ULTRACOPIER_PLUGIN_VERSION"
+ VALUE "FileDescription", "ULTRACOPIER_PLUGIN_NAME for Ultracopier under GPL3"
+ VALUE "InternalName", "ULTRACOPIER_PLUGIN_FILENAME"
+ VALUE "LegalCopyright", "GPL3"
+ VALUE "LegalTrademarks", "ULTRACOPIER_PLUGIN_NAME for Ultracopier under GPL3"
+ VALUE "OriginalFilename", "ULTRACOPIER_PLUGIN_FILENAME"
+ VALUE "ProductName", "ULTRACOPIER_PLUGIN_NAME for Ultracopier"
+ VALUE "ProductVersion", "ULTRACOPIER_PLUGIN_VERSION"
+ }
+ }
+ BLOCK "VarFileInfo"
+ {
+ VALUE "Translation", 0x0409, 1252
+ }
+}
+
diff --git a/tools/to-pack/data/windows/ultracopier.ico b/tools/to-pack/data/windows/ultracopier.ico
new file mode 100755
index 0000000..1a6972a
--- /dev/null
+++ b/tools/to-pack/data/windows/ultracopier.ico
Binary files differ
diff --git a/tools/to-pack/grouped.sh b/tools/to-pack/grouped.sh
new file mode 100755
index 0000000..36936d9
--- /dev/null
+++ b/tools/to-pack/grouped.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1.4" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+
+./1-pre-send.sh
+./2-compil-wine32.sh
+#./2-compil-wine64.sh
+./4-clean-all.sh
+#mv /home/ultracopier-temp/ultracopier-*.* /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/
+#mv /home/ultracopier-temp/supercopier-*.* /home/first-world.info/files-rw/supercopier/${ULTRACOPIER_VERSION}/
+#rsync -avrt /home/ultracopier-temp/plugins/ /home/first-world.info/files-rw/ultracopier/plugins/
+#rm -Rf /home/ultracopier-temp/plugins/
diff --git a/tools/to-pack/old-3-compil-linux.sh b/tools/to-pack/old-3-compil-linux.sh
new file mode 100755
index 0000000..8796fc4
--- /dev/null
+++ b/tools/to-pack/old-3-compil-linux.sh
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+export TEMP_PATH="/mnt/world/ultracopier-temp/"
+export ULTRACOPIER_SOURCE="/home/user/Desktop/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+cd ${BASE_PWD}
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIER_SOURCE}/Variable.h | grep -F "1.2" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+echo "Assemble linux version..."
+source sub-script/linux.sh
+cd ${BASE_PWD}
+echo "Assemble linux version... done"
+
+
+
diff --git a/tools/to-pack/sub-script/assemble-source-version.sh b/tools/to-pack/sub-script/assemble-source-version.sh
new file mode 100755
index 0000000..f00516e
--- /dev/null
+++ b/tools/to-pack/sub-script/assemble-source-version.sh
@@ -0,0 +1,129 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+cd ${TEMP_PATH}/
+
+FINAL_ARCHIVE="ultracopier-src-${ULTRACOPIER_VERSION}.tar.xz"
+if [ ! -e ${FINAL_ARCHIVE} ]; then
+ rm -Rf ${TEMP_PATH}/ultracopier-src/
+ cp -aRf ${ULTRACOPIERSOURCESPATH}/ ${TEMP_PATH}/ultracopier-src/
+ find ${TEMP_PATH}/ultracopier-src/ -name "*.pro.user" -exec rm {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "*-build-desktop" -type d -exec rm -Rf {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "*-build-desktop*" -type d -exec rm -Rf {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "*Qt_in_*" -type d -exec rm -Rf {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "informations.xml" -exec sed -i "s/linux-x86_64-pc/windows-x86/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_DEBUG/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLE/\/\/#define ULTRACOPIER_VERSION_PORTABLE/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -iname "*.qm" -exec rm {} \; > /dev/null 2>&1
+
+ tar cJf ${FINAL_ARCHIVE} ultracopier-src/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar
+ if [ ! -e ${FINAL_ARCHIVE} ]; then
+ echo "${FINAL_ARCHIVE} not exists!";
+ exit;
+ fi
+fi
+
+if [ -d ${TEMP_PATH}/ultracopier-src/plugins/ ]
+then
+ cd ${TEMP_PATH}/ultracopier-src/plugins/
+ find ${TEMP_PATH}/ultracopier-src/plugins/ -iname "*.qm" -exec rm {} \;
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/ultracopier-src/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -d ${plugins_name} ] && [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ echo "do source package for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ find ${TEMP_PATH}/ultracopier-src/ -iname "*.h" -exec sed -i "s/..\/..\/..\/interface\//interface\//g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -iname "*.pro" -exec sed -i "s/..\/..\/..\/interface\//interface\//g" {} \; > /dev/null 2>&1
+ rsync -art ${TEMP_PATH}/ultracopier-src/interface/ ${plugins_name}/interface/ > /dev/null 2>&1
+ FILE="StructEnumDefinition.h"
+ if [ -e ${plugins_name}/${FILE} ]
+ then
+ rm -f ${plugins_name}/${FILE}
+ cp ${TEMP_PATH}/ultracopier-src/${FILE} ${plugins_name}/${FILE}
+ fi
+ FILE="CompilerInfo.h"
+ if [ -e ${plugins_name}/${FILE} ]
+ then
+ rm -f ${plugins_name}/${FILE}
+ cp ${TEMP_PATH}/ultracopier-src/${FILE} ${plugins_name}/${FILE}
+ fi
+ FILE="PlatformMacro.h"
+ if [ -e ${plugins_name}/${FILE} ]
+ then
+ rm -f ${plugins_name}/${FILE}
+ cp ${TEMP_PATH}/ultracopier-src/${FILE} ${plugins_name}/${FILE}
+ fi
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-src.tar.xz
+ fi
+ done
+ cd ${TEMP_PATH}/ultracopier-src/plugins/
+ fi
+ done
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/
+ find ${TEMP_PATH}/ultracopier-src/plugins-alternative/ -iname "*.qm" -exec rm {} \;
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -d ${plugins_name} ] && [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ echo "do source package for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ find ${TEMP_PATH}/ultracopier-src/ -iname "*.h" -exec sed -i "s/..\/..\/..\/interface\//interface\//g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/ultracopier-src/ -iname "*.pro" -exec sed -i "s/..\/..\/..\/interface\//interface\//g" {} \; > /dev/null 2>&1
+ rsync -art ${TEMP_PATH}/ultracopier-src/interface/ ${plugins_name}/interface/ > /dev/null 2>&1
+ FILE="StructEnumDefinition.h"
+ if [ -e ${plugins_name}/${FILE} ]
+ then
+ rm -f ${plugins_name}/${FILE}
+ cp ${TEMP_PATH}/ultracopier-src/${FILE} ${plugins_name}/${FILE}
+ fi
+ FILE="CompilerInfo.h"
+ if [ -e ${plugins_name}/${FILE} ]
+ then
+ rm -f ${plugins_name}/${FILE}
+ cp ${TEMP_PATH}/ultracopier-src/${FILE} ${plugins_name}/${FILE}
+ fi
+ FILE="PlatformMacro.h"
+ if [ -e ${plugins_name}/${FILE} ]
+ then
+ rm -f ${plugins_name}/${FILE}
+ cp ${TEMP_PATH}/ultracopier-src/${FILE} ${plugins_name}/${FILE}
+ fi
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-src.tar.xz
+ fi
+ done
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/
+ fi
+ done
+ cd ${TEMP_PATH}/ultracopier-src/plugins/Languages/
+ for plugins_name in `ls -1`
+ do
+ if [ -d ${plugins_name} ]
+ then
+ mkdir -p ${TEMP_PATH}/plugins/Languages/${plugins_name}/
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 > ${TEMP_PATH}/plugins/Languages/${plugins_name}/Languages-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-src.tar.xz
+ fi
+ done
+fi
diff --git a/tools/to-pack/sub-script/assemble-windows-version-32.sh b/tools/to-pack/sub-script/assemble-windows-version-32.sh
new file mode 100644
index 0000000..20f8899
--- /dev/null
+++ b/tools/to-pack/sub-script/assemble-windows-version-32.sh
@@ -0,0 +1,153 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+cd ${TEMP_PATH}/
+
+ARCHITECTURE="x86"
+
+COMPIL_DEBUGREAL=1
+COMPIL_NORMAL=1
+COMPIL_PLUGIN=1
+COMPIL_ULTIMATE=1
+
+source ${BASE_PWD}/sub-script/assemble.sh
+
+if [ ${COMPIL_DEBUGREAL} -eq 1 ]
+then
+ assemble "ultracopier-debug-real" "${ARCHITECTURE}" 1 1 0 0 0
+fi
+
+if [ ${COMPIL_NORMAL} -eq 1 ]
+then
+ assemble "ultracopier-debug" "${ARCHITECTURE}" 1 0 0 0 0
+ assemble "ultracopier-debug-portable" "${ARCHITECTURE}" 1 0 1 0 0
+ assemble "ultracopier-portable" "${ARCHITECTURE}" 0 0 1 0 0
+ assemble "ultracopier-portableapps" "${ARCHITECTURE}" 0 0 1 0 0
+ assemble "ultracopier" "${ARCHITECTURE}" 0 0 0 0 0
+
+ assemble "ultracopier-debug-static" "${ARCHITECTURE}" 1 0 0 0 1
+ assemble "ultracopier-debug-portable-static" "${ARCHITECTURE}" 1 0 1 0 1
+ assemble "ultracopier-portable-static" "${ARCHITECTURE}" 0 0 1 0 1
+ assemble "ultracopier-static" "${ARCHITECTURE}" 0 0 0 0 1
+fi
+
+if [ ${COMPIL_ULTIMATE} -eq 1 ]
+then
+ assemble "ultracopier-ultimate" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-sse2" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-sse3" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-pentium3" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-pentium4" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-core2" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-core-i" "${ARCHITECTURE}" 0 0 0 1 0
+
+ assemble "ultracopier-ultimate-k8" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-barcelona" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-bobcat" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-llano" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-bulldozer" "${ARCHITECTURE}" 0 0 0 1 0
+fi
+
+if [ ${COMPIL_PLUGIN} -eq 1 ]
+then
+
+TARGET="ultracopier"
+find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86<\/architecture>/g" {} \; > /dev/null 2>&1
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+done
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+done
+
+
+TARGET="ultracopier-debug"
+find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86<\/architecture>/g" {} \; > /dev/null 2>&1
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+done
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+done
+
+fi
diff --git a/tools/to-pack/sub-script/assemble-windows-version-64.sh b/tools/to-pack/sub-script/assemble-windows-version-64.sh
new file mode 100644
index 0000000..a158b83
--- /dev/null
+++ b/tools/to-pack/sub-script/assemble-windows-version-64.sh
@@ -0,0 +1,149 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+cd ${TEMP_PATH}/
+
+COMPIL_DEBUGREAL=1
+COMPIL_NORMAL=1
+COMPIL_PLUGIN=1
+COMPIL_ULTIMATE=1
+
+ARCHITECTURE="x86_64"
+
+source ${BASE_PWD}/sub-script/assemble.sh
+
+if [ ${COMPIL_DEBUGREAL} -eq 1 ]
+then
+ assemble "ultracopier-debug-real" "${ARCHITECTURE}" 1 1 0 0 0
+fi
+if [ ${COMPIL_NORMAL} -eq 1 ]
+then
+ assemble "ultracopier-debug" "${ARCHITECTURE}" 1 0 0 0 0
+ assemble "ultracopier-debug-portable" "${ARCHITECTURE}" 1 0 1 0 0
+ assemble "ultracopier-portable" "${ARCHITECTURE}" 0 0 1 0 0
+ assemble "ultracopier" "${ARCHITECTURE}" 0 0 0 0 0
+
+ assemble "ultracopier-debug-static" "${ARCHITECTURE}" 1 0 0 0 1
+ assemble "ultracopier-debug-portable-static" "${ARCHITECTURE}" 1 0 1 0 1
+ assemble "ultracopier-portable-static" "${ARCHITECTURE}" 0 0 1 0 1
+ assemble "ultracopier-static" "${ARCHITECTURE}" 0 0 0 0 1
+fi
+
+if [ ${COMPIL_ULTIMATE} -eq 1 ]
+then
+ assemble "ultracopier-ultimate" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-sse2" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-sse3" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-core2" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-core-i" "${ARCHITECTURE}" 0 0 0 1 0
+
+ assemble "ultracopier-ultimate-k8" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-barcelona" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-bobcat" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-llano" "${ARCHITECTURE}" 0 0 0 1 0
+ assemble "ultracopier-ultimate-bulldozer" "${ARCHITECTURE}" 0 0 0 1 0
+fi
+
+if [ ${COMPIL_PLUGIN} -eq 1 ]
+then
+
+TARGET="ultracopier"
+find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86_64<\/architecture>/g" {} \; > /dev/null 2>&1
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+done
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+done
+
+
+TARGET="ultracopier-debug"
+find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86_64<\/architecture>/g" {} \; > /dev/null 2>&1
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+done
+cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+for plugins_cat in `ls -1`
+do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+done
+
+fi
diff --git a/tools/to-pack/sub-script/assemble.sh b/tools/to-pack/sub-script/assemble.sh
new file mode 100644
index 0000000..8b344e9
--- /dev/null
+++ b/tools/to-pack/sub-script/assemble.sh
@@ -0,0 +1,219 @@
+#!/bin/bash
+
+function assemble {
+ TARGET=$1
+ ARCHITECTURE=$2
+ DEBUG=$3
+ DEBUG_REAL=$4
+ PORTABLE=$5
+ ULTIMATE=$6
+ STATIC=${7}
+ CGMINER=${8}
+ SUPERCOPIER=${9}
+ ULTRACOPIER_VERSION_FINAL=${ULTRACOPIER_VERSION}
+ DEBUGANDSETUP=0
+ cd ${TEMP_PATH}/
+ if [ ${DEBUG_REAL} -eq 1 ]
+ then
+ FINAL_ARCHIVE="${TARGET}-windows-${ARCHITECTURE}-${ULTRACOPIER_VERSION_FINAL}.7z"
+ else
+ FINAL_ARCHIVE="${TARGET}-windows-${ARCHITECTURE}-${ULTRACOPIER_VERSION_FINAL}.zip"
+ fi
+ if [ ! -d ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ ]
+ then
+ echo "no previous compilation folder found into ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/..."
+ exit
+ fi
+ if [ ! -e ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/*.exe ]
+ then
+ echo "no application found into ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/..."
+ exit
+ fi
+ if [ ! -e ${FINAL_ARCHIVE} ]; then
+ echo "creating the archive ${TARGET}..."
+ if [ ${STATIC} -ne 1 ]
+ then
+ mkdir -p ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/CopyEngine/Ultracopier/
+ mkdir -p ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/
+ mkdir -p ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Listener/catchcopy-v0002/
+ mkdir -p ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/PluginLoader/catchcopy-v0002/
+ mkdir -p ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/SessionLoader/Windows/
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ mkdir -p ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Themes/Supercopier/
+ else
+ mkdir -p ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Themes/Oxygen/
+ fi
+
+ if [ -e ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins/ ]
+ then
+ if [ ${ULTIMATE} -eq 1 ]
+ then
+ rsync -aqrt ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+ rsync -aqrt ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins-alternative/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+ else
+ rsync -aqrt ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+ fi
+ fi
+
+ rsync -aqrt ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins/Languages/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/
+ rsync -aqrt ${ULTRACOPIERSOURCESPATH}/plugins/Languages/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/ --exclude=*.xml --exclude=*.qm
+ rsync -aqrt ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins/CopyEngine/Ultracopier/Languages/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/CopyEngine/Ultracopier/Languages/
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ rsync -aqrt ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins-alternative/Themes/Supercopier/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Themes/Supercopier/
+ else
+ rsync -aqrt ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins/Themes/Oxygen/Languages/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Themes/Oxygen/Languages/
+ fi
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -iname "*.a" -exec rm {} \; > /dev/null 2>&1
+ rm -Rf ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/plugins-alternative/
+ else
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -mindepth 1 -type d -exec rm -Rf {} \;
+ fi
+ if [ ${CGMINER} -eq 1 ]
+ then
+ if [ "${ARCHITECTURE}" != "x86" ]
+ then
+ rsync -aqrt ${BASE_PWD}/data/windows/miner-win64/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/addon/
+ else
+ rsync -aqrt ${BASE_PWD}/data/windows/miner-win32/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/addon/
+ fi
+ fi
+ cp -Rf ${ULTRACOPIERSOURCESPATH}/README ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/README.txt
+ cp -Rf ${ULTRACOPIERSOURCESPATH}/COPYING ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/COPYING.txt
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ sed -i "s/Ultracopier /Supercopier /g" ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/README.txt
+ fi
+ if [ 1 == 2 ]
+ then
+ if [ "${ARCHITECTURE}" == "x86" ] && [ ${DEBUG_REAL} -ne 1 ]
+ then
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ upx --lzma -9 ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/supercopier.exe > /dev/null 2>&1
+ else
+ upx --lzma -9 ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ultracopier.exe > /dev/null 2>&1
+ fi
+ fi
+ fi
+ cp -Rf ${BASE_PWD}/data/windows-${ARCHITECTURE}/dll-qt-debug/lib* ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+ if [ ${STATIC} -ne 1 ]
+ then
+ if [ ${DEBUG_REAL} -eq 1 ]
+ then
+ cp -Rf ${BASE_PWD}/data/windows-${ARCHITECTURE}/dll-qt-debug/* ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+ else
+ cp -Rf ${BASE_PWD}/data/windows-${ARCHITECTURE}/dll-qt/* ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+ fi
+ fi
+ if [ ${DEBUG} -eq 1 ]
+ then
+ CATCHCOPY_SUFIX="d"
+ else
+ CATCHCOPY_SUFIX=""
+ fi
+ if [ ${STATIC} -eq 1 ]
+ then
+ cp -Rf ${BASE_PWD}/data/windows/catchcopy32${CATCHCOPY_SUFIX}.dll ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/catchcopy32${CATCHCOPY_SUFIX}.dll
+ cp -Rf ${BASE_PWD}/data/windows/catchcopy64${CATCHCOPY_SUFIX}.dll ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/catchcopy64${CATCHCOPY_SUFIX}.dll
+ else
+ cp -Rf ${BASE_PWD}/data/windows/catchcopy32${CATCHCOPY_SUFIX}.dll ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/PluginLoader/catchcopy-v0002/catchcopy32${CATCHCOPY_SUFIX}.dll
+ cp -Rf ${BASE_PWD}/data/windows/catchcopy64${CATCHCOPY_SUFIX}.dll ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/PluginLoader/catchcopy-v0002/catchcopy64${CATCHCOPY_SUFIX}.dll
+ fi
+ if [ ${STATIC} -ne 1 ]
+ then
+ cp -f ${BASE_PWD}/data/qm-translation/fr.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/fr/qt.qm
+ cp -f ${BASE_PWD}/data/qm-translation/ar.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/ar/qt.qm
+ cp -f ${BASE_PWD}/data/qm-translation/es.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/es/qt.qm
+ cp -f ${BASE_PWD}/data/qm-translation/ja.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/ja/qt.qm
+ cp -f ${BASE_PWD}/data/qm-translation/ko.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/ko/qt.qm
+ cp -f ${BASE_PWD}/data/qm-translation/pl.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/pl/qt.qm
+ cp -f ${BASE_PWD}/data/qm-translation/pt.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/pt/qt.qm
+ cp -f ${BASE_PWD}/data/qm-translation/ru.qm ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Languages/ru/qt.qm
+ fi
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -iname "*.ts" -exec rm {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-${ARCHITECTURE}<\/architecture>/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION_FINAL}<\/version>/g" {} \; > /dev/null 2>&1
+
+ rm -Rf ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/SessionLoader/KDE4/
+ rm -Rf ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/Listener/dbus/
+ if [ ${PORTABLE} -eq 1 ]
+ then
+ rm -Rf ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/SessionLoader/
+ fi
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -type d -empty -delete > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -type d -empty -delete > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ -type d -empty -delete > /dev/null 2>&1
+
+ if [ ${DEBUG_REAL} -eq 1 ]
+ then
+ mkdir ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ultracopier/
+ mv ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/* ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ultracopier/
+ mv ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ultracopier/ultracopier-debug.bat ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+ cp -Rf /home/wine/qt-5.0-32Bits-for-ultracopier/drive_c/mingw32/ ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/mingw32/
+ fi
+
+ find ${TARGET}-windows-${ARCHITECTURE}/ -type d -exec chmod 700 "{}" \;
+ find ${TARGET}-windows-${ARCHITECTURE}/ -type f -exec chmod 600 "{}" \;
+ chown -Rf root.root ${TARGET}-windows-${ARCHITECTURE}/
+ find ${TARGET}-windows-${ARCHITECTURE}/ -type f -exec touch -t 201601020000.00 "{}" \;
+ find ${TARGET}-windows-${ARCHITECTURE}/ -type d -exec touch -t 201601020000.00 "{}" \;
+ if [ ${DEBUG_REAL} -eq 1 ]
+ then
+ 7za a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on ${FINAL_ARCHIVE} ${TARGET}-windows-${ARCHITECTURE}/
+ else
+ zip -r -q -9 ${FINAL_ARCHIVE} ${TARGET}-windows-${ARCHITECTURE}/
+ fi
+ #7za a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on ${FINAL_ARCHIVE} ${TARGET}-windows-${ARCHITECTURE}/
+ #nice -n 15 ionice -c 3 tar cf - ${TARGET}-windows-${ARCHITECTURE}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | nice -n 15 ionice -c 3 xz -z -9 -e > ${FINAL_ARCHIVE}
+ if [ ! -e ${FINAL_ARCHIVE} ]; then
+ echo "${FINAL_ARCHIVE} not exists!";
+ exit;
+ fi
+ echo "creating the archive ${TARGET}... done"
+ fi
+ FINAL_ARCHIVE="${TARGET}-windows-${ARCHITECTURE}-${ULTRACOPIER_VERSION_FINAL}-setup.exe"
+ if ( [ ${DEBUG} -eq 0 ] || [ ${DEBUGANDSETUP} -eq 1 ] ) && [ ${PORTABLE} -eq 0 ] && [ ! -e ${FINAL_ARCHIVE} ]; then
+ echo "creating the installer ${TARGET}..."
+ cd ${TEMP_PATH}/
+ rm -Rf ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ mkdir -p ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ cd ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ if [ ${STATIC} -eq 1 ]
+ then
+ cp -aRf ${BASE_PWD}/data/windows/install-static.nsi ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ else
+ cp -aRf ${BASE_PWD}/data/windows/install.nsi ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ fi
+ #cp -aRf ${BASE_PWD}/data/windows/ultracopier.ico ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ rsync -art ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/ ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ cd ${TEMP_PATH}/Ultracopier-installer-windows-${ARCHITECTURE}/
+ sed -i -r "s/X.X.X.X/${ULTRACOPIER_VERSION_FINAL}/g" *.nsi > /dev/null 2>&1
+ if [ "${ARCHITECTURE}" != "x86" ]
+ then
+ sed -i -r "s/PROGRAMFILES/PROGRAMFILES64/g" *.nsi > /dev/null 2>&1
+ fi
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ sed -i -r "s/Ultracopier/Supercopier/g" *.nsi > /dev/null 2>&1
+ sed -i -r "s/ultracopier/supercopier/g" *.nsi > /dev/null 2>&1
+ fi
+ if [ ${DEBUG} -eq 1 ]
+ then
+ sed -i -r "s/catchcopy32.dll/catchcopy32d.dll/g" *.nsi > /dev/null 2>&1
+ sed -i -r "s/catchcopy64.dll/catchcopy64d.dll/g" *.nsi > /dev/null 2>&1
+ fi
+ DISPLAY="na" WINEPREFIX="${WINEBASEPATH}/ultracopier-general/" /usr/bin/nice -n 15 /usr/bin/ionice -c 3 wine "${WINEBASEPATH}/ultracopier-general/drive_c/Program Files (x86)/NSIS/makensis.exe" *.nsi > /dev/null 2>&1
+ if [ ! -e *setup.exe ]; then
+ echo "${TEMP_PATH}/${FINAL_ARCHIVE} not exists!";
+ pwd
+ exit;
+ fi
+ mv *setup.exe ${TEMP_PATH}/${FINAL_ARCHIVE}
+ cd ${TEMP_PATH}/
+ echo "creating the installer ${TARGET}... done"
+ fi
+ rm -Rf ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}/
+}
+
diff --git a/tools/to-pack/sub-script/clean-all.sh b/tools/to-pack/sub-script/clean-all.sh
new file mode 100755
index 0000000..83e8333
--- /dev/null
+++ b/tools/to-pack/sub-script/clean-all.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+cd ${TEMP_PATH}/
+for folder in `ls -1`
+do
+ if [ -d "${folder}" ] && [ "${folder}" != "plugins" ] && [ "${folder}" != "doc" ]
+ then
+ rm -Rf ${folder}/
+ fi
+done
+
diff --git a/tools/to-pack/sub-script/compil-windows32.sh b/tools/to-pack/sub-script/compil-windows32.sh
new file mode 100644
index 0000000..ce1ce01
--- /dev/null
+++ b/tools/to-pack/sub-script/compil-windows32.sh
@@ -0,0 +1,211 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+ARCHITECTURE="x86"
+
+COMPIL_DEBUGREAL=0
+COMPIL_NORMAL=1
+COMPIL_PLUGIN=0
+COMPIL_ULTIMATE=1
+
+cd ${TEMP_PATH}/
+
+source ${BASE_PWD}/sub-script/compil.sh
+source ${BASE_PWD}/sub-script/assemble.sh
+
+if [ ${COMPIL_DEBUGREAL} -eq 1 ]
+then
+ compil "ultracopier-debug-real-windows-x86" 1 1 0 0 32 "-g -mtune=generic -march=i686" 0 0 0 0 0 0
+ assemble "ultracopier-debug-real" "${ARCHITECTURE}" 1 1 0 0 0 0 0
+fi
+
+if [ ${COMPIL_NORMAL} -eq 1 ]
+then
+ #compil "supercopier-debug-windows-x86" 1 0 0 0 32 "-mtune=generic -march=i686" 0 0 0 0 1 0
+ #assemble "supercopier-debug" "${ARCHITECTURE}" 1 0 0 0 0 0 1
+ compil "supercopier-portable-windows-x86" 0 0 1 0 32 "-mtune=generic -march=i686" 0 0 0 0 1 0
+ assemble "supercopier-portable" "${ARCHITECTURE}" 0 0 1 0 0 0 1
+ compil "supercopier-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 0 0 0 0 1 0
+ assemble "supercopier" "${ARCHITECTURE}" 0 0 0 0 0 0 1
+
+ compil "ultracopier-debug-windows-x86" 1 0 0 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ assemble "ultracopier-debug" "${ARCHITECTURE}" 1 0 0 0 0 0 0
+ #compil "ultracopier-debug-portable-windows-x86" 1 0 1 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ #assemble "ultracopier-debug-portable" "${ARCHITECTURE}" 1 0 1 0 0 0 0
+ compil "ultracopier-portable-windows-x86" 0 0 1 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ assemble "ultracopier-portable" "${ARCHITECTURE}" 0 0 1 0 0 0 0
+ #compil "ultracopier-portableapps-windows-x86" 0 0 1 1 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ #assemble "ultracopier-portableapps" "${ARCHITECTURE}" 0 0 1 0 0 0 0
+ compil "ultracopier-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ assemble "ultracopier" "${ARCHITECTURE}" 0 0 0 0 0 0 0
+ #compil "ultracopier-debug-static-windows-x86" 1 0 0 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-debug-static" "${ARCHITECTURE}" 1 0 0 0 1 0 0
+ #compil "ultracopier-debug-portable-static-windows-x86" 1 0 1 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-debug-portable-static" "${ARCHITECTURE}" 1 0 1 0 1 0 0
+ #compil "ultracopier-portable-static-windows-x86" 0 0 1 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-portable-static" "${ARCHITECTURE}" 0 0 1 0 1 0 0
+ #compil "ultracopier-static-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-static" "${ARCHITECTURE}" 0 0 0 0 1 0 0
+fi
+
+if [ ${COMPIL_ULTIMATE} -eq 1 ]
+then
+ compil "supercopier-ultimate-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 0 0 1 0
+ assemble "supercopier-ultimate" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+ compil "supercopier-ultimate-cgminer-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 0 1 1 0
+ assemble "supercopier-ultimate-cgminer" "${ARCHITECTURE}" 0 0 0 1 0 1 1
+ #compil "supercopier-ultimate-cgminer-static-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 1 1 1 0
+ #assemble "supercopier-ultimate-cgminer-static" "${ARCHITECTURE}" 0 0 0 1 1 1 1
+
+ compil "supercopier-ultimate-portable-windows-x86" 0 0 1 0 32 "-mtune=generic -march=i686" 1 0 0 0 1 0
+ assemble "supercopier-ultimate-portable" "${ARCHITECTURE}" 0 0 1 1 0 0 1
+ compil "ultracopier-ultimate-portable-windows-x86" 0 0 1 0 32 "-mtune=generic -march=i686" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate-portable" "${ARCHITECTURE}" 0 0 1 1 0 0 0
+
+ compil "ultracopier-ultimate-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ compil "ultracopier-ultimate-cgminer-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 0 1 0 0
+ assemble "ultracopier-ultimate-cgminer" "${ARCHITECTURE}" 0 0 0 1 0 1 0
+ #compil "ultracopier-debug-ultimate-cgminer-windows-x86" 1 0 0 0 32 "-mtune=generic -march=i686" 1 0 0 1 0 0
+ #assemble "ultracopier-debug-ultimate-cgminer" "${ARCHITECTURE}" 1 0 0 1 0 1 0
+ #compil "ultracopier-ultimate-sse2-windows-x86" 0 0 0 0 32 "-msse -msse2" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-sse2" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-sse3-windows-x86" 0 0 0 0 32 "-msse -msse2 -msse3" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-sse3" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-pentium3-windows-x86" 0 0 0 0 32 "-msse -march=pentium3" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-pentium3" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-pentium4-windows-x86" 0 0 0 0 32 "-msse -march=pentium4" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-pentium4" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+
+ compil "ultracopier-ultimate-core2-windows-x86" 0 0 0 0 32 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate-core2" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ compil "ultracopier-ultimate-core-i-windows-x86" 0 0 0 0 32 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate-core-i" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ compil "ultracopier-ultimate-k8-windows-x86" 0 0 0 0 32 "-msse -msse2 -march=k8" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate-k8" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+
+ compil "supercopier-ultimate-core2-windows-x86" 0 0 0 0 32 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 1 0
+ assemble "supercopier-ultimate-core2" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+ compil "supercopier-ultimate-core-i-windows-x86" 0 0 0 0 32 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 1 0
+ assemble "supercopier-ultimate-core-i" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+ compil "supercopier-ultimate-k8-windows-x86" 0 0 0 0 32 "-msse -msse2 -march=k8" 1 0 0 0 1 0
+ assemble "supercopier-ultimate-k8" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+
+ #compil "ultracopier-ultimate-barcelona-windows-x86" 0 0 0 0 32 "-msse -msse2 -march=k8" 1 0 0 0 0
+ #assemble "ultracopier-ultimate-barcelona" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-bobcat-windows-x86" 0 0 0 0 32 "-march=amdfam10 -mno-3dnow -mcx16 -mpopcnt -mssse3 -mmmx" 1 0 0 0 0
+ #assemble "ultracopier-ultimate-bobcat" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-llano-windows-x86" 0 0 0 0 32 "-march=amdfam10 -mcx16 -mpopcnt" 1 0 0 0 0
+ #assemble "ultracopier-ultimate-llano" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-bulldozer-windows-x86" 0 0 0 0 32 "-march=amdfam10 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm" 1 0 0 0 0
+ #assemble "ultracopier-ultimate-bulldozer" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+fi
+
+if [ ${COMPIL_PLUGIN} -eq 1 ]
+then
+ compil "ultracopier-windows-x86-for-plugins" 0 0 0 0 32 "-mtune=generic -march=i686" 0 1 0 0 0
+ #compil "ultracopier-debug-windows-x86-for-plugins" 1 0 0 0 32 "-mtune=generic -march=i686" 0 1 0 0 0
+ TARGET="ultracopier"
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86<\/architecture>/g" {} \; > /dev/null 2>&1
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ done
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ done
+
+
+ TARGET="ultracopier-debug"
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86<\/architecture>/g" {} \; > /dev/null 2>&1
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ done
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ done
+
+fi
diff --git a/tools/to-pack/sub-script/compil-windows64.sh b/tools/to-pack/sub-script/compil-windows64.sh
new file mode 100644
index 0000000..ec5e60e
--- /dev/null
+++ b/tools/to-pack/sub-script/compil-windows64.sh
@@ -0,0 +1,200 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+COMPIL_DEBUGREAL=0
+COMPIL_NORMAL=1
+COMPIL_PLUGIN=1
+COMPIL_ULTIMATE=1
+
+ARCHITECTURE="x86_64"
+
+cd ${TEMP_PATH}/
+
+source ${BASE_PWD}/sub-script/compil.sh
+source ${BASE_PWD}/sub-script/assemble.sh
+
+
+if [ ${COMPIL_DEBUGREAL} -eq 1 ]
+then
+ compil "ultracopier-debug-real-windows-x86_64" 1 1 0 0 64 "-mtune=generic -march=nocona" 0 0 0 0 0 0
+ assemble "ultracopier-debug-real" "${ARCHITECTURE}" 1 1 0 0 0 0 0
+fi
+if [ ${COMPIL_NORMAL} -eq 1 ]
+then
+ #compil "supercopier-debug-windows-x86_64" 1 0 0 0 64 "-mtune=generic -march=nocona" 0 0 0 0 1 0
+ #assemble "supercopier-debug" "${ARCHITECTURE}" 1 0 0 0 0 0 1
+ #compil "supercopier-portable-windows-x86_64" 0 0 1 0 64 "-mtune=generic -march=nocona" 0 0 0 0 1 0
+ #assemble "supercopier-portable" "${ARCHITECTURE}" 0 0 1 0 0 0 1
+ compil "supercopier-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 0 0 0 0 1 0
+ assemble "supercopier" "${ARCHITECTURE}" 0 0 0 0 0 0 1
+
+ #compil "ultracopier-debug-windows-x86_64" 1 0 0 0 64 "-mtune=generic -march=nocona" 0 0 0 0 0 0
+ #assemble "ultracopier-debug" "${ARCHITECTURE}" 1 0 0 0 0 0 0
+ #compil "ultracopier-debug-portable-windows-x86_64" 1 0 1 0 64 "-mtune=generic -march=nocona" 0 0 0 0 0 0
+ #assemble "ultracopier-debug-portable" "${ARCHITECTURE}" 1 0 1 0 0 0 0
+ #compil "ultracopier-portable-windows-x86_64" 0 0 1 0 64 "-mtune=generic -march=nocona" 0 0 0 0 0 0
+ #assemble "ultracopier-portable" "${ARCHITECTURE}" 0 0 1 0 0 0 0
+ compil "ultracopier-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 0 0 0 0 0 0
+ assemble "ultracopier" "${ARCHITECTURE}" 0 0 0 0 0 0 0
+ #compil "ultracopier-debug-static-windows-x86_64" 1 0 0 0 64 "-mtune=generic -march=nocona" 0 0 1 0 0 0
+ #assemble "ultracopier-debug-static" "${ARCHITECTURE}" 1 0 0 0 1 0 0
+ #compil "ultracopier-debug-portable-static-windows-x86_64" 1 0 1 0 64 "-mtune=generic -march=nocona" 0 0 1 0 0 0
+ #assemble "ultracopier-debug-portable-static" "${ARCHITECTURE}" 1 0 1 0 1 0 0
+ #compil "ultracopier-portable-static-windows-x86_64" 0 0 1 0 64 "-mtune=generic -march=nocona" 0 0 1 0 0 0
+ #assemble "ultracopier-portable-static" "${ARCHITECTURE}" 0 0 1 0 1 0 0
+ #compil "ultracopier-static-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 0 0 1 0 0 0
+ #assemble "ultracopier-static" "${ARCHITECTURE}" 0 0 0 0 1 0 0
+fi
+
+if [ ${COMPIL_ULTIMATE} -eq 1 ]
+then
+ compil "supercopier-ultimate-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 1 0 0 0 1 0
+ assemble "supercopier-ultimate" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+ compil "supercopier-ultimate-cgminer-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 1 0 0 1 1 0
+ assemble "supercopier-ultimate-cgminer" "${ARCHITECTURE}" 0 0 0 1 0 1 1
+ #compil "supercopier-ultimate-cgminer-static-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 1 0 1 1 1 0
+ #assemble "supercopier-ultimate-cgminer-static" "${ARCHITECTURE}" 0 0 0 1 1 1 1
+
+ compil "ultracopier-ultimate-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ compil "ultracopier-ultimate-cgminer-windows-x86_64" 0 0 0 0 64 "-mtune=generic -march=nocona" 1 0 0 1 0 0
+ assemble "ultracopier-ultimate-cgminer" "${ARCHITECTURE}" 0 0 0 1 0 1 0
+ #compil "ultracopier-debug-ultimate-cgminer-windows-x86_64" 1 0 0 0 64 "-mtune=generic -march=nocona" 1 0 0 1 0 0
+ #assemble "ultracopier-debug-ultimate-cgminer" "${ARCHITECTURE}" 1 0 0 1 0 1 0
+ #compil "ultracopier-ultimate-sse2-windows-x86_64" 0 0 0 0 64 "-msse -msse2" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-sse2" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-sse3-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -msse3" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-sse3" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+
+ compil "ultracopier-ultimate-core2-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate-core2" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ compil "ultracopier-ultimate-core-i-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate-core-i" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ compil "ultracopier-ultimate-k8-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -march=k8" 1 0 0 0 0 0
+ assemble "ultracopier-ultimate-k8" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+
+ compil "supercopier-ultimate-core2-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 1 0
+ assemble "supercopier-ultimate-core2" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+ compil "supercopier-ultimate-core-i-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -msse3 -march=core2" 1 0 0 0 1 0
+ assemble "supercopier-ultimate-core-i" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+ compil "supercopier-ultimate-k8-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -march=k8" 1 0 0 0 1 0
+ assemble "supercopier-ultimate-k8" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+
+ #compil "ultracopier-ultimate-barcelona-windows-x86_64" 0 0 0 0 64 "-msse -msse2 -march=k8" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-barcelona" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-bobcat-windows-x86_64" 0 0 0 0 64 "-march=amdfam10 -mno-3dnow -mcx16 -mpopcnt -mssse3 -mmmx" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-bobcat" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-llano-windows-x86_64" 0 0 0 0 64 "-march=amdfam10 -mcx16 -mpopcnt" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-llano" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+ #compil "ultracopier-ultimate-bulldozer-windows-x86_64" 0 0 0 0 64 "-march=amdfam10 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm" 1 0 0 0 0 0
+ #assemble "ultracopier-ultimate-bulldozer" "${ARCHITECTURE}" 0 0 0 1 0 0 0
+fi
+
+if [ ${COMPIL_PLUGIN} -eq 1 ]
+then
+ compil "ultracopier-windows-x86_64-for-plugins" 0 0 0 0 64 "-mtune=generic -march=nocona" 0 1 0 0 0
+ #compil "ultracopier-debug-windows-x86_64-for-plugins" 1 0 0 0 64 "-mtune=generic -march=nocona" 0 1 0 0 0
+
+ TARGET="ultracopier"
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86_64<\/architecture>/g" {} \; > /dev/null 2>&1
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ done
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ done
+
+
+ TARGET="ultracopier-debug"
+ find ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86_64<\/architecture>/g" {} \; > /dev/null 2>&1
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar --c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins/
+ done
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc ] && [ -f ${plugins_name}/*.dll ]
+ then
+ echo "pack the ${ARCHITECTURE} debug windows for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+ tar -c -f - ${plugins_name}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-windows-${ARCHITECTURE}-debug.urc
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-windows-${ARCHITECTURE}-for-plugins/plugins-alternative/
+ done
+fi
diff --git a/tools/to-pack/sub-script/compil.sh b/tools/to-pack/sub-script/compil.sh
new file mode 100644
index 0000000..93efdbd
--- /dev/null
+++ b/tools/to-pack/sub-script/compil.sh
@@ -0,0 +1,429 @@
+#!/bin/bash
+
+function compil {
+ TARGET=$1
+ DEBUG=$2
+ DEBUG_REAL=$3
+ PORTABLE=$4
+ PORTABLEAPPS=$5
+ BITS=$6
+ CFLAGSCUSTOM="$7"
+ ULTIMATE=$8
+ FORPLUGIN=$9
+ STATIC=${10}
+ CGMINER=${11}
+ SUPERCOPIER=${12}
+ ILLEGAL=${13}
+ ULTRACOPIER_VERSION_FINAL=${ULTRACOPIER_VERSION}
+ cd ${BASE_PWD}
+ rsync -artq --delete ${ULTRACOPIERSOURCESPATH}/ ${TEMP_PATH}/${TARGET}/
+ if [ $? -ne 0 ]
+ then
+ echo rsync -avrt ${ULTRACOPIERSOURCESPATH}/ ${TEMP_PATH}/${TARGET}/ fail into `pwd` $LINENO
+ exit 1
+ fi
+ echo "${TARGET} rsync..."
+ for project in `find ${TEMP_PATH}/${TARGET}/plugins/Languages/ -mindepth 1 -type d`
+ do
+ cd ${project}/
+ if [ -f *.ts ]
+ then
+ lrelease -nounfinished -compress -removeidentical *.ts > /dev/null 2>&1
+ fi
+ cd ${TEMP_PATH}/${TARGET}/
+ done
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "informations.xml" -exec sed -i "s/=ultracopier/=supercopier/g" {} \;
+ find ${TEMP_PATH}/${TARGET}/ -name "resources-windows.rc" -exec sed -i "s/Ultracopier/Supercopier/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "resources-windows.rc" -exec sed -i "s/ultracopier.exe/supercopier.exe/g" {} \; > /dev/null 2>&1
+ mv ${TEMP_PATH}/${TARGET}/resources/supercopier-16x16.png ${TEMP_PATH}/${TARGET}/resources/ultracopier-16x16.png
+ mv ${TEMP_PATH}/${TARGET}/resources/supercopier-128x128.png ${TEMP_PATH}/${TARGET}/resources/ultracopier-128x128.png
+ mv ${TEMP_PATH}/${TARGET}/resources/supercopier-all-in-one.ico ${TEMP_PATH}/${TARGET}/resources/ultracopier-all-in-one.ico
+ mv ${TEMP_PATH}/${TARGET}/resources/supercopier.ico ${TEMP_PATH}/${TARGET}/resources/ultracopier.ico
+ mv ${TEMP_PATH}/${TARGET}/resources/supercopier.icns ${TEMP_PATH}/${TARGET}/resources/ultracopier.icns
+ # rm -Rf ${TEMP_PATH}/${TARGET}/plugins/Themes/Oxygen/
+ fi
+ find ${TEMP_PATH}/${TARGET}/ -name "*.pro.user" -exec rm {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "*-build-desktop" -type d -exec rm -Rf {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION_FINAL}<\/version>/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "informations.xml" -exec sed -i -r "s/<pubDate>.*<\pubDate>/<pubDate>`date +%s`<\pubDate>/g" {} \; > /dev/null 2>&1
+ if [ $DEBUG -eq 1 ]
+ then
+ echo 'CONFIG += console' >> ${TEMP_PATH}/${TARGET}/other-pro/ultracopier-core.pro
+ echo '' >> ${TEMP_PATH}/${TARGET}/other-pro/ultracopier-core.pro
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_DEBUG/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_DEBUG/\/\/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null 2>&1
+ fi
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_MODE_SUPERCOPIER/#define ULTRACOPIER_MODE_SUPERCOPIER/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_MODE_SUPERCOPIER/\/\/#define ULTRACOPIER_MODE_SUPERCOPIER/g" {} \; > /dev/null 2>&1
+ fi
+ if [ $STATIC -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/\/\/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/g" {} \; > /dev/null 2>&1
+ fi
+ if [ $ULTIMATE -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_VERSION_ULTIMATE/#define ULTRACOPIER_VERSION_ULTIMATE/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_ULTIMATE/\/\/#define ULTRACOPIER_VERSION_ULTIMATE/g" {} \; > /dev/null 2>&1
+ fi
+ if [ $PORTABLE -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_VERSION_PORTABLE/#define ULTRACOPIER_VERSION_PORTABLE/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLE/\/\/#define ULTRACOPIER_VERSION_PORTABLE/g" {} \; > /dev/null 2>&1
+ fi
+ if [ $PORTABLEAPPS -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_VERSION_PORTABLEAPPS/#define ULTRACOPIER_VERSION_PORTABLEAPPS/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLEAPPS/\/\/#define ULTRACOPIER_VERSION_PORTABLEAPPS/g" {} \; > /dev/null 2>&1
+ fi
+ if [ ${BITS} -eq 32 ]
+ then
+ MXEPATH='/home/mxe-i686-w64-mingw32-shared-qt5/'
+ MXEPATHQMAKE='/home/mxe-i686-w64-mingw32-shared-qt5/usr/bin/i686-w64-mingw32.shared-qmake-qt5'
+ export PATH=/home/mxe-i686-w64-mingw32-shared-qt5/usr/bin:$PATH
+ fi
+ if [ ${BITS} -eq 64 ]
+ then
+ MXEPATH='/home/mxe-x86_64-w64-mingw32-shared-qt5/'
+ MXEPATHQMAKE='/home/mxe-x86_64-w64-mingw32-shared-qt5/usr/bin/x86_64-w64-mingw32.shared-qmake-qt5'
+ export PATH=/home/mxe-x86_64-w64-mingw32-shared-qt5/usr/bin:$PATH
+ fi
+ if [ ${STATIC} -eq 1 ]
+ then
+ if [ ${BITS} -eq 32 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86<\/architecture>/g" {} \; > /dev/null 2>&1
+ # REAL_WINEPREFIX="${WINEBASEPATH}/qt-5.0-32Bits-static-for-ultracopier/"
+ fi
+ if [ ${BITS} -eq 64 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86_64<\/architecture>/g" {} \; > /dev/null 2>&1
+ # REAL_WINEPREFIX="${WINEBASEPATH}/qt-5.0-64Bits-static-for-ultracopier/"
+ fi
+ else
+ if [ ${BITS} -eq 32 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86<\/architecture>/g" {} \; > /dev/null 2>&1
+ # REAL_WINEPREFIX="${WINEBASEPATH}/qt-5.0-32Bits-for-ultracopier/"
+ fi
+ if [ ${BITS} -eq 64 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>windows-x86_64<\/architecture>/g" {} \; > /dev/null 2>&1
+ # REAL_WINEPREFIX="${WINEBASEPATH}/qt-5.0-64Bits-for-ultracopier/"
+ fi
+ fi
+ REAL_WINEPREFIX="${MXEPATH}"
+ mkdir -p ${REAL_WINEPREFIX}/drive_c/temp/
+ if [ ${DEBUG_REAL} -eq 1 ]
+ then
+ COMPIL_SUFFIX="debug"
+ COMPIL_FOLDER="debug"
+ else
+ COMPIL_SUFFIX="release"
+ COMPIL_FOLDER="release"
+ fi
+ rsync -art --delete ${TEMP_PATH}/${TARGET}/ ${REAL_WINEPREFIX}/drive_c/temp/
+ if [ $? -ne 0 ]
+ then
+ echo line: $LINENO
+ echo rsync -art --delete ${TEMP_PATH}/${TARGET}/ ${REAL_WINEPREFIX}/drive_c/temp/
+ exit 1
+ fi
+ cd ${REAL_WINEPREFIX}/drive_c/temp/
+ PLUGIN_FOLDER="${REAL_WINEPREFIX}/drive_c/temp/plugins/"
+ cd ${PLUGIN_FOLDER}
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${PLUGIN_FOLDER}/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -d ${plugins_name} ] && [ -f ${plugins_name}/informations.xml ] && [ ! -f ${plugins_name}/*.dll ] && [ ! -f ${plugins_name}/*.a ] && [ "${plugins_name}" != "KDE4" ] && [ "${plugins_name}" != "dbus" ] && [ "${plugins_name}" != "keybinding" ] && [ "${plugins_name}" != "ultracopier-keybinding" ]
+ then
+ # echo "${TARGET} compilation of the plugin: ${plugins_cat}/${plugins_name}..."
+ cd ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+
+ if [ ${STATIC} -ne 1 ] && [[ (${FORPLUGIN} -eq 1 || "${plugins_name}" != "Rsync") ]]
+ then
+ if [[ ( $SUPERCOPIER -eq 1 && "${plugins_name}" = "Supercopier" ) || ( $SUPERCOPIER -eq 0 && "${plugins_name}" = "Oxygen" ) ]]
+ then
+ echo "${TARGET} compilation of the plugin: ${plugins_cat}/${plugins_name}..."
+
+ cp ${BASE_PWD}/data/windows/resources-windows-ultracopier-plugins.rc ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+ if [ $? -ne 0 ]
+ then
+ echo error at cp ${BASE_PWD}/data/windows/resources-windows-ultracopier-plugins.rc ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/ $LINENO
+ exit
+ fi
+ if [ ${STATIC} -ne 1 ] && [[ "${plugins_name}" != "Supercopier" ]]
+ then
+ cp ${BASE_PWD}/data/windows/resources-windows-ultracopier-plugins.rc ${PLUGIN_FOLDER}/${plugins_cat}/Oxygen/
+ if [ $? -ne 0 ]
+ then
+ echo error at cp ${BASE_PWD}/data/windows/resources-windows-ultracopier-plugins.rc ${PLUGIN_FOLDER}/${plugins_cat}/Oxygen/ $LINENO
+ exit
+ fi
+ fi
+ echo '' >> *.pro
+ echo 'win32:RC_FILE += resources-windows-ultracopier-plugins.rc' >> *.pro
+ cp ${BASE_PWD}/data/windows/resources-windows-ultracopier-plugins.rc ./
+ if [ $? -ne 0 ]
+ then
+ echo error at cp ${BASE_PWD}/data/windows/resources-windows-ultracopier-plugins.rc ./ $LINENO
+ exit
+ fi
+ # replace ULTRACOPIER_PLUGIN_VERSION
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ sed -i "s/ULTRACOPIER_PLUGIN_VERSION/${ULTRACOPIER_PLUGIN_VERSION}/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ # replace ULTRACOPIER_PLUGIN_WINDOWS_VERSION
+ ULTRACOPIER_PLUGIN_WINDOWS_VERSION=`echo ${ULTRACOPIER_PLUGIN_VERSION} | sed "s/\./,/g"`
+ sed -i "s/ULTRACOPIER_PLUGIN_WINDOWS_VERSION/${ULTRACOPIER_PLUGIN_WINDOWS_VERSION}/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ # replace ULTRACOPIER_PLUGIN_NAME
+ sed -i "s/ULTRACOPIER_PLUGIN_NAME/${plugins_name}/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ # replace ULTRACOPIER_PLUGIN_FILENAME
+ ULTRACOPIER_PLUGIN_FILENAME=`grep -F "qtLibraryTarget" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/*.pro | sed -r "s/^.*\((.*)\).*$/\1/g"`
+ sed -i "s/ULTRACOPIER_PLUGIN_FILENAME/${ULTRACOPIER_PLUGIN_FILENAME}.dll/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CFLAGS="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" *.pro
+ if [ $? -ne 0 ]
+ then
+ echo ${MXEPATHQMAKE} fail into `pwd` $LINENO
+ exit 1
+ fi
+ if [ ! -f Makefile ]
+ then
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CFLAGS="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" *.pro
+ pwd
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CFLAGS="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" *.pro
+ echo "plugins not created (makefile not found)"
+ exit
+ fi
+ make -j4 ${COMPIL_SUFFIX} > /dev/null 2>&1
+
+ if [ ! -f ${COMPIL_FOLDER}/*.dll ] && [ ! -f ${COMPIL_FOLDER}/*.a ]
+ then
+ make -j4 ${COMPIL_SUFFIX}
+ pwd
+ echo make -j4 ${COMPIL_SUFFIX}
+ echo "plugins not created (1)"
+ rm -f informations.xml
+ # rm -Rf ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+ exit
+ fi
+ if [ ${STATIC} -eq 1 ]
+ then
+ if [ "${COMPIL_FOLDER}" != "./" ]
+ then
+ cp ${COMPIL_FOLDER}/*.a ./
+ fi
+ else
+ if [ "${COMPIL_FOLDER}" != "./" ]
+ then
+ mv ${COMPIL_FOLDER}/*.dll ./
+ fi
+ fi
+ # if [ $STATIC -ne 1 ]
+ # then
+ # /usr/bin/find ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/ -type f -name "*.png" -exec rm -f {} \;
+ # fi
+ fi
+ fi
+ else
+ rm -Rf ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+ fi
+ cd ${PLUGIN_FOLDER}/${plugins_cat}/
+ done
+ cd ${PLUGIN_FOLDER}/
+ fi
+ done
+
+
+ if [ $ULTIMATE -eq 1 ] || [ $FORPLUGIN -eq 1 ] || [ $SUPERCOPIER -eq 1 ]
+ then
+ if [ 2 -gt 3 ]
+ then
+ PLUGIN_FOLDER="${REAL_WINEPREFIX}/drive_c/temp/plugins-alternative/"
+ cd ${PLUGIN_FOLDER}/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${PLUGIN_FOLDER}/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -d ${plugins_name} ] && [ -f ${plugins_name}/informations.xml ] && [ ! -f ${plugins_name}/*.dll ] && [ ! -f ${plugins_name}/*.a ] && [ -f ${plugins_name}/informations.xml ] && [ "${plugins_name}" != "KDE4" ] && [ "${plugins_name}" != "dbus" ] && [ "${plugins_name}" != "keybinding" ] && [ "${plugins_name}" != "ultracopier-keybinding" ]
+ then
+ echo "${TARGET} compilation of the plugin: ${plugins_cat}/${plugins_name}..."
+ cd ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+
+ if [ ${STATIC} -ne 1 ]
+ then
+ cp ${BASE_PWD}/data/windows/resources-windows-ultracopier-plugins.rc ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+ echo '' >> *.pro
+ echo 'win32:RC_FILE += resources-windows-ultracopier-plugins.rc' >> *.pro
+ # replace ULTRACOPIER_PLUGIN_VERSION
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ sed -i "s/ULTRACOPIER_PLUGIN_VERSION/${ULTRACOPIER_PLUGIN_VERSION}/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ # replace ULTRACOPIER_PLUGIN_WINDOWS_VERSION
+ ULTRACOPIER_PLUGIN_WINDOWS_VERSION=`echo ${ULTRACOPIER_PLUGIN_VERSION} | sed "s/\./,/g"`
+ sed -i "s/ULTRACOPIER_PLUGIN_WINDOWS_VERSION/${ULTRACOPIER_PLUGIN_WINDOWS_VERSION}/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ # replace ULTRACOPIER_PLUGIN_NAME
+ sed -i "s/ULTRACOPIER_PLUGIN_NAME/${plugins_name}/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ # replace ULTRACOPIER_PLUGIN_FILENAME
+ ULTRACOPIER_PLUGIN_FILENAME=`grep -F "qtLibraryTarget" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/*.pro | sed -r "s/^.*\((.*)\).*$/\1/g"`
+ sed -i "s/ULTRACOPIER_PLUGIN_FILENAME/${ULTRACOPIER_PLUGIN_FILENAME}.dll/g" ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/resources-windows-ultracopier-plugins.rc
+ fi
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CFLAGS="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" *.pro
+ if [ $? -ne 0 ]
+ then
+ echo ${MXEPATHQMAKE} fail into `pwd` $LINENO
+ exit 1
+ fi
+ make -j4 ${COMPIL_SUFFIX} > /dev/null 2>&1
+ if [ ! -f ${COMPIL_FOLDER}/*.dll ] && [ ! -f ${COMPIL_FOLDER}/*.a ]
+ then
+ make -j4 ${COMPIL_SUFFIX}
+ echo "plugins not created: ${plugins_cat}/${plugins_name}"
+ rm -f informations.xml
+ rm -Rf ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+ else
+ if [ ${STATIC} -eq 1 ]
+ then
+ if [ "${COMPIL_FOLDER}" != "./" ]
+ then
+ cp ${COMPIL_FOLDER}/*.a ./
+ fi
+ else
+ if [ "${COMPIL_FOLDER}" != "./" ]
+ then
+ mv ${COMPIL_FOLDER}/*.dll ./
+ fi
+ fi
+ fi
+ if [ $STATIC -ne 1 ]
+ then
+ /usr/bin/find ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/ -type f -name "*.png" -exec rm -f {} \;
+ fi
+ else
+ rm -Rf ${PLUGIN_FOLDER}/${plugins_cat}/${plugins_name}/
+ fi
+ cd ${PLUGIN_FOLDER}/${plugins_cat}/
+ done
+ cd ${PLUGIN_FOLDER}/
+ fi
+ done
+ fi
+ fi
+
+
+
+ if [ ${STATIC} -eq 1 ]
+ then
+ cp ${TEMP_PATH}/${TARGET}/plugins/*/*/*/*.a ${TEMP_PATH}/${TARGET}/plugins/ > /dev/null 2>&1
+ cp ${TEMP_PATH}/${TARGET}/plugins-alternative/Themes/Supercopier/*/*.a ${TEMP_PATH}/${TARGET}/plugins/ > /dev/null 2>&1
+ fi
+ cd ${REAL_WINEPREFIX}/drive_c/temp/
+ if [ ${STATIC} -eq 1 ]
+ then
+ if [ ${SUPERCOPIER} -eq 1 ]
+ then
+ echo "${TARGET} supercopier static application..."
+ cd other-pro/
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE+="${CFLAGSCUSTOM}" QMAKE_CFLAGS+="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" supercopier-static.pro
+ else
+ echo "${TARGET} ultracopier static application..."
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE+="${CFLAGSCUSTOM}" QMAKE_CFLAGS+="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" ultracopier-static.pro
+ fi
+ else
+ cd other-pro/
+ echo "${TARGET} application..."
+ if [ ${SUPERCOPIER} -eq 1 ]
+ then
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE+="${CFLAGSCUSTOM}" QMAKE_CFLAGS+="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" supercopier-core.pro
+ else
+ ${MXEPATHQMAKE} QMAKE_CFLAGS_RELEASE+="${CFLAGSCUSTOM}" QMAKE_CFLAGS+="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS_RELEASE="${CFLAGSCUSTOM}" QMAKE_CXXFLAGS="${CFLAGSCUSTOM}" ultracopier-core.pro
+ fi
+ fi
+ if [ $? -ne 0 ]
+ then
+ echo ${MXEPATHQMAKE} fail into `pwd` $LINENO
+ exit 1
+ fi
+ make -j4 ${COMPIL_SUFFIX} > /dev/null 2>&1
+ if [ ! -f ${COMPIL_FOLDER}/ultracopier.exe ]
+ then
+ make -j4 ${COMPIL_SUFFIX} > /tmp/bug.log 2>&1
+ if [ ! -f ${COMPIL_FOLDER}/ultracopier.exe ]
+ then
+ cat /tmp/bug.log
+ echo "application not created"
+ exit
+ fi
+ fi
+ cd ${REAL_WINEPREFIX}/drive_c/temp/
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ rm -Rf ${TEMP_PATH}/${TARGET}/plugins/Themes/Oxygen/
+ fi
+ rsync -art --delete ${REAL_WINEPREFIX}/drive_c/temp/ ${TEMP_PATH}/${TARGET}/
+ if [ $? -ne 0 ]
+ then
+ echo line: $LINENO
+ echo rsync -art --delete ${REAL_WINEPREFIX}/drive_c/temp/ ${TEMP_PATH}/${TARGET}/
+ exit 1
+ fi
+ rm -Rf ${REAL_WINEPREFIX}/drive_c/temp/
+ cd ${TEMP_PATH}/${TARGET}/
+ if [ "${COMPIL_FOLDER}" != "./" ]
+ then
+ if [ ! -e other-pro/${COMPIL_FOLDER}/ultracopier.exe ]
+ then
+ echo ${COMPIL_FOLDER}/ultracopier.exe not found into `pwd`
+ exit
+ fi
+ mv other-pro/${COMPIL_FOLDER}/ultracopier.exe ./
+ fi
+ if [ 1 == 2 ]
+ then
+ if [ ${BITS} -eq 32 ] && [ ${DEBUG_REAL} -ne 1 ]
+ then
+ upx --lzma -9 ultracopier.exe > /dev/null 2>&1
+ fi
+ fi
+ if [ $SUPERCOPIER -eq 1 ]
+ then
+ if [ ! -e ultracopier.exe ]
+ then
+ echo ultracopier.exe not found into `pwd`
+ exit
+ fi
+ mv ultracopier.exe supercopier.exe
+ fi
+ if [ $ULTIMATE -ne 1 ] && [ $FORPLUGIN -ne 1 ] && [ $SUPERCOPIER -ne 1 ]
+ then
+ rm -Rf ${TEMP_PATH}/${TARGET}/plugins-alternative/
+ fi
+ /usr/bin/find ${TEMP_PATH}/${TARGET}/ -type f -not \( -name "*.xml" -or -name "*.dll" -or -name "*.a" -or -name "*.exe" -or -name "*.txt" -or -name "*.qm" \) -exec rm -f {} \;
+ rm -Rf ${TEMP_PATH}/${TARGET}/resources/ ${PLUGIN_FOLDER}/SessionLoader/KDE4/
+ rm -Rf ${TEMP_PATH}/${TARGET}/resources/ ${PLUGIN_FOLDER}/Listener/dbus/
+ find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+ echo "${TARGET} compilation... done"
+}
diff --git a/tools/to-pack/sub-script/doc.sh b/tools/to-pack/sub-script/doc.sh
new file mode 100644
index 0000000..965e55c
--- /dev/null
+++ b/tools/to-pack/sub-script/doc.sh
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+cd ${TEMP_PATH}/
+
+if [ ! -d ${TEMP_PATH}/doc/Ultracopier ]
+then
+ echo "Making Ultracopier doc..."
+ cd ${BASE_PWD}/../doc/
+ rm -Rf ${TEMP_PATH}/doc/tmp/
+ mkdir -p ${TEMP_PATH}/doc/Ultracopier
+ mkdir -p ${TEMP_PATH}/doc/tmp
+ cp Doxyfile Doxyfile-tmp
+ sed -i "s/_PROJECT_NUMBER_/${ULTRACOPIER_VERSION}/g" Doxyfile-tmp
+ TEMP_PATH_DOXYGEN=`echo ${TEMP_PATH} | sed "s/\\//\\\\\\\\\\//g"`
+ ULTRACOPIERSOURCESPATH_DOXYGEN=`echo ${ULTRACOPIERSOURCESPATH_DOXYGEN} | sed "s/\\//\\\\\\\\\\//g"`
+ sed -i "s/TEMP_PATH/${TEMP_PATH_DOXYGEN}/g" Doxyfile-tmp
+ sed -i "s/ULTRACOPIERSOURCESPATH/${ULTRACOPIERSOURCESPATH_DOXYGEN}/g" Doxyfile-tmp
+ doxygen Doxyfile-tmp > /dev/null 2>&1
+ rm Doxyfile-tmp
+ rsync -art --delete ${TEMP_PATH}/doc/tmp/ ${TEMP_PATH}/doc/Ultracopier/${ULTRACOPIER_VERSION}/
+ rm -Rf ${TEMP_PATH}/doc/tmp/
+ echo "Making Ultracopier doc... done"
+fi
+
+if [ -d ${TEMP_PATH}/ultracopier-src/plugins/ ]
+then
+ echo "Making Ultracopier plugins doc..."
+ cd ${TEMP_PATH}/ultracopier-src/plugins/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/ultracopier-src/plugins/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -d ${plugins_name} ] && [ -f ${plugins_name}/informations.xml ]
+ then
+ cd ${TEMP_PATH}/ultracopier-src/plugins/${plugins_cat}/${plugins_name}/
+ rm -Rf ${TEMP_PATH}/doc/${plugins_cat}/${plugins_name}/
+ mkdir -p ${TEMP_PATH}/doc/${plugins_cat}/${plugins_name}/
+ echo "Making Ultracopier plugins doc... for ${plugins_cat}/${plugins_name}"
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+
+ cp ${BASE_PWD}/../doc/Doxyfile-plugin-template ${TEMP_PATH}/ultracopier-src/plugins/${plugins_cat}/${plugins_name}/Doxyfile
+ cp ${BASE_PWD}/../doc/footer.html ${TEMP_PATH}/ultracopier-src/plugins/${plugins_cat}/${plugins_name}/footer.html
+
+ ULTRACOPIER_PLUGIN_TITLE=`grep -F "<title" informations.xml | grep -F "lang=\"en\"" | sed -r "s/^.*<!\[CDATA\[(.*)\]\]>.*$//g"`
+
+ sed -i "s/_PROJECT_BRIEF_/${ULTRACOPIER_PLUGIN_TITLE}/g" Doxyfile
+ sed -i "s/_PROJECT_NUMBER_/${ULTRACOPIER_PLUGIN_VERSION}/g" Doxyfile
+ sed -i "s/_ULTRACOPIER_PLUGIN_NAME_/${plugins_cat} - ${plugins_name}/g" Doxyfile
+ TEMP_PATH_DOXYGEN=`echo ${TEMP_PATH} | sed "s/\\//\\\\\\\\\\//g"`
+ ULTRACOPIERSOURCESPATH_DOXYGEN=`echo ${ULTRACOPIERSOURCESPATH_DOXYGEN} | sed "s/\\//\\\\\\\\\\//g"`
+ sed -i "s/TEMP_PATH/${TEMP_PATH_DOXYGEN}/g" Doxyfile
+ sed -i "s/ULTRACOPIERSOURCESPATH/${ULTRACOPIERSOURCESPATH_DOXYGEN}/g" Doxyfile
+
+ doxygen Doxyfile > /dev/null 2>&1
+ rm -f Doxyfile footer.html
+ rsync -art ${TEMP_PATH}/doc/tmp/html/ ${TEMP_PATH}/doc/${plugins_cat}/${plugins_name}/${ULTRACOPIER_PLUGIN_VERSION}/
+ cd ${TEMP_PATH}/ultracopier-src/plugins/${plugins_cat}/
+ fi
+ cd ${TEMP_PATH}/ultracopier-src/plugins/${plugins_cat}/
+ done
+ cd ${TEMP_PATH}/ultracopier-src/plugins/
+ fi
+ done
+ echo "Making Ultracopier plugins doc... done"
+fi
+
+if [ -d ${TEMP_PATH}/ultracopier-src/plugins/ ]
+then
+ echo "Making Ultracopier plugins alternative doc..."
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -d ${plugins_name} ] && [ -f ${plugins_name}/informations.xml ]
+ then
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/${plugins_cat}/${plugins_name}/
+ rm -Rf ${TEMP_PATH}/doc/${plugins_cat}/${plugins_name}/
+ mkdir -p ${TEMP_PATH}/doc/${plugins_cat}/${plugins_name}/
+ echo "Making Ultracopier plugins doc... for ${plugins_cat}/${plugins_name}"
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+
+ cp ${BASE_PWD}/../doc/Doxyfile-plugin-template ${TEMP_PATH}/ultracopier-src/plugins-alternative/${plugins_cat}/${plugins_name}/Doxyfile
+ cp ${BASE_PWD}/../doc/footer.html ${TEMP_PATH}/ultracopier-src/plugins-alternative/${plugins_cat}/${plugins_name}/footer.html
+
+ ULTRACOPIER_PLUGIN_TITLE=`grep -F "<title" informations.xml | grep -F "lang=\"en\"" | sed -r "s/^.*<!\[CDATA\[(.*)\]\]>.*$//g"`
+
+ sed -i "s/_PROJECT_BRIEF_/${ULTRACOPIER_PLUGIN_TITLE}/g" Doxyfile
+ sed -i "s/_PROJECT_NUMBER_/${ULTRACOPIER_PLUGIN_VERSION}/g" Doxyfile
+ sed -i "s/_ULTRACOPIER_PLUGIN_NAME_/${plugins_cat} - ${plugins_name}/g" Doxyfile
+ TEMP_PATH_DOXYGEN=`echo ${TEMP_PATH} | sed "s/\\//\\\\\\\\\\//g"`
+ ULTRACOPIERSOURCESPATH_DOXYGEN=`echo ${ULTRACOPIERSOURCESPATH_DOXYGEN} | sed "s/\\//\\\\\\\\\\//g"`
+ sed -i "s/TEMP_PATH/${TEMP_PATH_DOXYGEN}/g" Doxyfile
+ sed -i "s/ULTRACOPIERSOURCESPATH/${ULTRACOPIERSOURCESPATH_DOXYGEN}/g" Doxyfile
+
+ doxygen Doxyfile > /dev/null 2>&1
+ rm -f Doxyfile footer.html
+ rsync -art ${TEMP_PATH}/doc/tmp/html/ ${TEMP_PATH}/doc/${plugins_cat}/${plugins_name}/${ULTRACOPIER_PLUGIN_VERSION}/
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/${plugins_cat}/
+ fi
+ done
+ cd ${TEMP_PATH}/ultracopier-src/plugins-alternative/
+ fi
+ done
+ echo "Making Ultracopier plugins alternative doc... done"
+fi
+
+rm -Rf ${TEMP_PATH}/doc/tmp/
diff --git a/tools/to-pack/sub-script/linux.sh b/tools/to-pack/sub-script/linux.sh
new file mode 100644
index 0000000..552dace
--- /dev/null
+++ b/tools/to-pack/sub-script/linux.sh
@@ -0,0 +1,275 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+QMAKE="/usr/local/Qt-5.2.0/bin/qmake"
+
+mkdir -p ${TEMP_PATH}
+cd ${TEMP_PATH}/
+
+function compil {
+ DEBUG=$2
+ ULTIMATE=$3
+ cd ${TEMP_PATH}/
+ TARGET=$1
+ STATIC=$4
+ FINAL_ARCHIVE="${TARGET}-linux-x86_64-pc-${ULTRACOPIER_VERSION}"
+ if [ ! -e ${FINAL_ARCHIVE}.tar.xz ]
+ then
+ echo "Making linux tar.xz: ${FINAL_ARCHIVE} ..."
+
+ rm -Rf ${TEMP_PATH}/${FINAL_ARCHIVE}/
+ /usr/bin/rsync -art --delete ${ULTRACOPIER_SOURCE}/ ${TEMP_PATH}/${FINAL_ARCHIVE}/ --exclude='*build*' --exclude='*Qt_5*' --exclude='*qt5*' --exclude='*.pro.user'
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "*.pro.user" -exec rm {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "*-build-desktop" -type d -exec rm -Rf {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>linux-x86_64-pc<\/architecture>/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "informations.xml" -exec sed -i -r "s/<pubDate>.*<\pubDate>/<pubDate>`date +%s`<\pubDate>/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLE/\/\/#define ULTRACOPIER_VERSION_PORTABLE/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLEAPPS/\/\/#define ULTRACOPIER_VERSION_PORTABLEAPPS/g" {} \; > /dev/null
+ if [ ${DEBUG} -eq 1 ]
+ then
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_DEBUG/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null
+ else
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_DEBUG/\/\/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null
+ find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null
+ fi
+ if [ $STATIC -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/g" {} \; > /dev/null
+ else
+
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/\/\/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/g" {} \; > /dev/null
+ fi
+ if [ $ULTIMATE -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_VERSION_ULTIMATE/#define ULTRACOPIER_VERSION_ULTIMATE/g" {} \; > /dev/null
+ else
+ find ${TEMP_PATH}/${TARGET}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_ULTIMATE/\/\/#define ULTRACOPIER_VERSION_ULTIMATE/g" {} \; > /dev/null
+ fi
+
+ if [ ${DEBUG} -eq 1 ]
+ then
+ QTMODEDEBUGRELEASE="debug"
+ else
+ QTMODEDEBUGRELEASE="release"
+ fi
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/CopyEngine/Ultracopier/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE}
+ make -j 4 > /dev/null
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the linux: ${RETURN_CODE}"
+ exit
+ fi
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/Listener/catchcopy-v0002/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE}
+ make -j 4 > /dev/null
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the linux: ${RETURN_CODE}"
+ exit
+ fi
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/Themes/Oxygen/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE}
+ make -j 4 > /dev/null
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the linux: ${RETURN_CODE}"
+ exit
+ fi
+ if [ ${ULTIMATE} -eq 1 ] && [ $STATIC -ne 1 ]
+ then
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins-alternative/Themes/Clean/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE}
+ make -j 4 > /dev/null
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the linux: ${RETURN_CODE}"
+ exit
+ fi
+ mv ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins-alternative/Themes/Clean/ ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/Themes/Clean/
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins-alternative/Themes/Windows/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE}
+ make -j 4 > /dev/null
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the linux: ${RETURN_CODE}"
+ exit
+ fi
+ mv ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins-alternative/Themes/Windows/ ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/Themes/Windows/
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins-alternative/Themes/Teracopy/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE}
+ make -j 4 > /dev/null
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the linux: ${RETURN_CODE}"
+ exit
+ fi
+ mv ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins-alternative/Themes/Teracopy/ ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/Themes/Teracopy/
+ fi
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/
+ if [ $STATIC -eq 1 ]
+ then
+ cp -aRf ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/*/*/*.a ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE} ultracopier-static.pro
+ else
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE} ultracopier-core.pro
+ fi
+ make -j 4 > /dev/null
+ if [ $STATIC -eq 1 ]
+ then
+ upx --lzma -9 ultracopier > /dev/null
+ fi
+ RETURN_CODE=$?
+ if [ $? -ne 0 ] || [ ! -e ultracopier ]
+ then
+ echo "make failed on the linux: ${RETURN_CODE}"
+ exit
+ fi
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}
+ for SUBFOLDER in `ls -1`
+ do
+ if [ -d ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/ ]
+ then
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ ! -f ${plugins_name}/lib*.so ] && [ -d ${plugins_name}/ ]
+ then
+ rm -Rf ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/${plugins_cat}/${plugins_name}/
+ fi
+ done
+ fi
+ done
+ fi
+ done
+ cd ${TEMP_PATH}/
+ rm -Rf ${TEMP_PATH}/${FINAL_ARCHIVE}/resources/
+ if [ $STATIC -eq 1 ]
+ then
+ rm -Rf ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins/
+ fi
+ if [ ${ULTIMATE} -ne 1 ] || [ $STATIC -eq 1 ]
+ then
+ rm -Rf ${TEMP_PATH}/${FINAL_ARCHIVE}/plugins-alternative/
+ fi
+ /usr/bin/find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -type f -not \( -name "*.xml" -or -name "lib*.so" -or -name "ultracopier" -or -name "*.txt" -or -name "*.qm" \) -exec rm -f {} \;
+ /usr/bin/find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -type d \( -name "*build*" -or -name "Desktop" -or -name "Qt_5" -or -name "qt5" \) -exec rm -Rf {} \;
+ /usr/bin/find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -type d -empty -delete > /dev/null
+ /usr/bin/find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -type d -empty -delete > /dev/null
+ /usr/bin/find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -type d -empty -delete > /dev/null
+ /usr/bin/find ${TEMP_PATH}/${FINAL_ARCHIVE}/ -type d -empty -delete > /dev/null
+ cd ${TEMP_PATH}/
+ if [ ! -e ${FINAL_ARCHIVE} ]; then
+ echo "${FINAL_ARCHIVE} not exists!";
+ exit;
+ fi
+ nice -n 19 ionice -c 3 tar cpf - ${FINAL_ARCHIVE}/ | nice -n 19 ionice -c 3 xz -z -9 -e > ${FINAL_ARCHIVE}.tar.xz
+ if [ ! -e ${FINAL_ARCHIVE}.tar.xz ]; then
+ echo "${FINAL_ARCHIVE}.tar.xz not exists!";
+ exit;
+ fi
+ echo "Making binary debug linux tar.xz... done"
+ else
+ echo "Archive already exists: ${FINAL_ARCHIVE}.tar.xz"
+ fi
+}
+
+function compil_plugin {
+ DEBUG=$2
+ cd ${TEMP_PATH}/
+ TARGET=$1
+ SUBFOLDER=$3
+ FINAL_ARCHIVE="${TARGET}-linux-x86_64-pc-for-plugins"
+
+ cp -aRf ${ULTRACOPIER_SOURCE}/ ${TEMP_PATH}/${FINAL_ARCHIVE}/
+
+ if [ ${DEBUG} -eq 1 ]
+ then
+ QTMODEDEBUGRELEASE="debug"
+ else
+ QTMODEDEBUGRELEASE="release"
+ fi
+
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/1\.0\.0\.0/${ULTRACOPIER_VERSION}/g" {} \; > /dev/null
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ if [ -d ${plugins_name} ] && [ ! -f ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-linux-x86_64-pc.urc ]
+ then
+ echo "pack the ${ARCHITECTURE} linux for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+
+ find ${plugins_name}/ -name "*.pro.user" -exec rm {} \; > /dev/null
+ find ${plugins_name}/ -name "*-build-desktop" -type d -exec rm -Rf {} \; > /dev/null
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>linux-x86_64-pc<\/architecture>/g" {} \; > /dev/null
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLE/\/\/#define ULTRACOPIER_VERSION_PORTABLE/g" {} \; > /dev/null
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLEAPPS/\/\/#define ULTRACOPIER_VERSION_PORTABLEAPPS/g" {} \; > /dev/null
+ if [ ${DEBUG} -eq 1 ]
+ then
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_DEBUG/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null
+ else
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_DEBUG/\/\/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null
+ fi
+ cd ${plugins_name}/
+ ${QMAKE} -config ${QTMODEDEBUGRELEASE} *.pro
+ make -j 4 > /dev/null
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/${plugins_cat}/
+ if [ ! -e ${plugins_name}/lib*.so ]; then
+ echo "no lib*.so file!";
+ make -j 4
+ else
+ find ${plugins_name}/ -iname "*.ts" -exec rm {} \;
+ find ${plugins_name}/ -maxdepth 1 -mindepth 1 -type f ! -iname "lib*.so" ! -iname "informations.xml" -exec rm {} \;
+ find ${plugins_name}/ -maxdepth 1 -mindepth 1 -type d ! -iname "Languages" -exec rm -Rf {} \;
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null
+
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-linux-x86_64-pc.urc
+ fi
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${FINAL_ARCHIVE}/${SUBFOLDER}/
+ done
+}
+
+compil "ultracopier" 0 0 0 0
+compil "ultracopier-ultimate" 0 1 0 0
+compil "ultracopier-debug" 1 0 0 0
+
+#compil_plugin "ultracopier" 0 "plugins-alternative"
+#compil_plugin "ultracopier" 0 "plugins"
diff --git a/tools/to-pack/sub-script/mac.sh b/tools/to-pack/sub-script/mac.sh
new file mode 100644
index 0000000..79665f1
--- /dev/null
+++ b/tools/to-pack/sub-script/mac.sh
@@ -0,0 +1,275 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+mkdir -p ${TEMP_PATH}
+cd ${TEMP_PATH}/
+
+IPMAC="192.168.158.34"
+SSHUSER="user"
+QTVERSION="5.4.0"
+QTVERSIONMAJ="5.4"
+
+ssh root@${IPMAC} "cd /usr/bin/;ln -s /Applications/Xcode.app/Contents/Developer//Toolchains/XcodeDefault.xctoolchain/usr/bin/otool"
+ssh root@${IPMAC} "mkdir /opt/;mkdir /opt/local/;mkdir /opt/local/lib/;cd /opt/local/lib/;ln -s /usr/lib/libz.1.dylib"
+
+#compil "ultracopier" 1 0
+function compil {
+ DEBUG=$2
+ ULTIMATE=$3
+ cd ${TEMP_PATH}/
+ TARGET=$1
+ STATIC=$4
+ DEBUGREAL=${5}
+ if [ $DEBUGREAL -eq 1 ]
+ then
+ LIBEXT="_debug.dylib"
+ CONFIGARG="debug"
+ else
+ LIBEXT=".dylib"
+ CONFIGARG="release"
+ fi
+ FINAL_ARCHIVE="${TARGET}-mac-os-x-${ULTRACOPIER_VERSION}.dmg"
+ if [ ! -e ${FINAL_ARCHIVE} ]
+ then
+ echo "Making Mac dmg: ${FINAL_ARCHIVE} ..."
+
+ rm -Rf ${TEMP_PATH}/${TARGET}-mac-os-x/
+ cp -aRf ${ULTRACOPIER_SOURCE}/ ${TEMP_PATH}/${TARGET}-mac-os-x/
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "*.pro.user" -exec rm {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "*-build-desktop" -type d -exec rm -Rf {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>mac-os-x<\/architecture>/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "informations.xml" -exec sed -i -r "s/<version>.*<\/version>/<version>${ULTRACOPIER_VERSION}<\/version>/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "informations.xml" -exec sed -i -r "s/<pubDate>.*<\pubDate>/<pubDate>`date +%s`<\pubDate>/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLE/\/\/#define ULTRACOPIER_VERSION_PORTABLE/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLEAPPS/\/\/#define ULTRACOPIER_VERSION_PORTABLEAPPS/g" {} \; > /dev/null 2>&1
+ if [ ${DEBUG} -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_DEBUG/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_DEBUG/\/\/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null 2>&1
+ fi
+ if [ $STATIC -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/g" {} \; > /dev/null 2>&1
+ else
+
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/\/\/#define ULTRACOPIER_PLUGIN_ALL_IN_ONE/g" {} \; > /dev/null 2>&1
+ fi
+ if [ $ULTIMATE -eq 1 ]
+ then
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_VERSION_ULTIMATE/#define ULTRACOPIER_VERSION_ULTIMATE/g" {} \; > /dev/null 2>&1
+ else
+ find ${TEMP_PATH}/${TARGET}-mac-os-x/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_ULTIMATE/\/\/#define ULTRACOPIER_VERSION_ULTIMATE/g" {} \; > /dev/null 2>&1
+ fi
+
+ echo "try connect"
+ ssh ${SSHUSER}@${IPMAC} "rm -fR /Users/${SSHUSER}/Desktop/ultracopier/"
+ echo "try rsync"
+ rsync -art ${TEMP_PATH}/${TARGET}-mac-os-x/ ${SSHUSER}@${IPMAC}:/Users/${SSHUSER}/Desktop/ultracopier/
+
+ echo "try qmake"
+ BASEAPPNAME="ultracopier.app"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/qmake /Users/${SSHUSER}/Desktop/ultracopier/ultracopier-core.pro -spec macx-g++ -config ${CONFIGARG}"
+ echo "try make"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/;/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake -j 3 > /dev/null > /dev/null"
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the mac: ${RETURN_CODE}"
+ exit
+ fi
+ echo "try make plugins"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins/CopyEngine/Ultracopier/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/qmake /Users/${SSHUSER}/Desktop/ultracopier/plugins/CopyEngine/Ultracopier/*.pro -spec macx-g++ -config ${CONFIGARG}"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins/CopyEngine/Ultracopier/;/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake -j 3 > /dev/null"
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the mac: ${RETURN_CODE}"
+ exit
+ fi
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins/Listener/catchcopy-v0002/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/qmake /Users/${SSHUSER}/Desktop/ultracopier/plugins/Listener/catchcopy-v0002/*.pro -spec macx-g++ -config ${CONFIGARG}"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins/Listener/catchcopy-v0002/;/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake -j 3 > /dev/null"
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the mac: ${RETURN_CODE}"
+ exit
+ fi
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins/Themes/Oxygen/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/qmake /Users/${SSHUSER}/Desktop/ultracopier/plugins/Themes/Oxygen/*.pro -spec macx-g++ -config ${CONFIGARG}"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins/Themes/Oxygen/;/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake -j 3 > /dev/null"
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the mac: ${RETURN_CODE}"
+ exit
+ fi
+ if [ ${ULTIMATE} -eq 1 ]
+ then
+ echo "do the ultimate plugin"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Windows/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/qmake /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Windows/*.pro -spec macx-g++ -config ${CONFIGARG}" > /dev/null 2>&1
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Windows/;/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake -j 3 > /dev/null"
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the mac: ${RETURN_CODE}"
+ exit
+ fi
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Teracopy/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/qmake /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Teracopy/*.pro -spec macx-g++ -config ${CONFIGARG}" > /dev/null 2>&1
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Teracopy/;/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake -j 3 > /dev/null"
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the mac: ${RETURN_CODE}"
+ exit
+ fi
+ ssh ${SSHUSER}@${IPMAC} "mkdir -p /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Windows/"
+ ssh ${SSHUSER}@${IPMAC} "mkdir -p /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Teracopy/"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Windows/informations.xml /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Windows/informations.xml"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Teracopy/informations.xml /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Teracopy/informations.xml"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Windows/libinterface${LIBEXT} /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Windows/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Teracopy/libinterface${LIBEXT} /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Teracopy/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "rsync -aqrt /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Windows/Languages/ /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Windows/Languages/"
+ ssh ${SSHUSER}@${IPMAC} "rsync -aqrt /Users/${SSHUSER}/Desktop/ultracopier/plugins-alternative/Themes/Teracopy/Languages/ /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Teracopy/Languages/"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Windows/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Windows/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Windows/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Teracopy/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Teracopy/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Teracopy/libinterface${LIBEXT}"
+ fi
+ echo "make the folder"
+ ssh ${SSHUSER}@${IPMAC} "mkdir /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/Frameworks"
+
+ ssh ${SSHUSER}@${IPMAC} "mkdir -p /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/CopyEngine/Ultracopier/"
+ ssh ${SSHUSER}@${IPMAC} "mkdir -p /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Languages/"
+ ssh ${SSHUSER}@${IPMAC} "mkdir -p /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Listener/catchcopy-v0002/"
+
+ echo "put the informations.xml"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins/CopyEngine/Ultracopier/informations.xml /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/CopyEngine/Ultracopier/informations.xml"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins/Listener/catchcopy-v0002/informations.xml /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Listener/catchcopy-v0002/informations.xml"
+
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins/CopyEngine/Ultracopier/libcopyEngine${LIBEXT} /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/CopyEngine/Ultracopier/libcopyEngine${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins/Listener/catchcopy-v0002/liblistener${LIBEXT} /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Listener/catchcopy-v0002/liblistener${LIBEXT}"
+
+ ssh ${SSHUSER}@${IPMAC} "rsync -aqrt /Users/${SSHUSER}/Desktop/ultracopier/plugins/Languages/ /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Languages/"
+ ssh ${SSHUSER}@${IPMAC} "rsync -aqrt /Users/${SSHUSER}/Desktop/ultracopier/plugins/CopyEngine/Ultracopier/Languages/ /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/CopyEngine/Ultracopier/Languages/"
+ ssh ${SSHUSER}@${IPMAC} "find /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/ -iname \"*.ts\" -exec rm {} \; > /dev/null 2>&1"
+
+ echo "finish the link"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/CopyEngine/Ultracopier/libcopyEngine${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/CopyEngine/Ultracopier/libcopyEngine${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/CopyEngine/Ultracopier/libcopyEngine${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Listener/catchcopy-v0002/liblistener${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Listener/catchcopy-v0002/liblistener${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Listener/catchcopy-v0002/liblistener${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "mkdir -p /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Oxygen/"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins/Themes/Oxygen/informations.xml /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Oxygen/informations.xml"
+ ssh ${SSHUSER}@${IPMAC} "cp /Users/${SSHUSER}/Desktop/ultracopier/plugins/Themes/Oxygen/libinterface${LIBEXT} /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Oxygen/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "rsync -aqrt /Users/${SSHUSER}/Desktop/ultracopier/plugins/Themes/Oxygen/Languages/ /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Oxygen/Languages/"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Oxygen/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Oxygen/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /Users/${SSHUSER}/Desktop/ultracopier/${BASEAPPNAME}/Contents/MacOS/Themes/Oxygen/libinterface${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/macdeployqt ${BASEAPPNAME}/ -dmg"
+ rsync -art ${SSHUSER}@${IPMAC}:/Users/${SSHUSER}/Desktop/ultracopier/ultracopier.dmg ${TEMP_PATH}/${FINAL_ARCHIVE}
+ if [ ! -e ${FINAL_ARCHIVE} ]; then
+ echo "${FINAL_ARCHIVE} not exists!";
+ exit;
+ fi
+ ssh ${SSHUSER}@${IPMAC} "rm -fR /Users/${SSHUSER}/Desktop/ultracopier/"
+ echo "Making binary debug Mac dmg... done"
+ else
+ echo "Archive already exists: ${FINAL_ARCHIVE}"
+ fi
+}
+
+function compil_plugin {
+ DEBUG=$2
+ cd ${TEMP_PATH}/
+ TARGET=$1
+ SUBFOLDER=$3
+
+ rsync -art --delete ${ULTRACOPIER_SOURCE}/ ${TEMP_PATH}/${TARGET}-mac-os-x/
+
+ cd ${TEMP_PATH}/${TARGET}-mac-os-x/${SUBFOLDER}/
+ for plugins_cat in `ls -1`
+ do
+ if [ -d ${plugins_cat} ] && [ "${plugins_cat}" != "Languages" ]
+ then
+ cd ${TEMP_PATH}/${TARGET}-mac-os-x/${SUBFOLDER}/${plugins_cat}/
+ for plugins_name in `ls -1`
+ do
+ if [ -f ${plugins_name}/informations.xml ]
+ then
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/1\.0\.0\.0/${ULTRACOPIER_VERSION}/g" {} \; > /dev/null 2>&1
+ ULTRACOPIER_PLUGIN_VERSION=`grep -F "<version>" ${plugins_name}/informations.xml | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+ # && [ ${plugins_name} != "Windows" ] -> for the plugins interface
+ if [ -d ${plugins_name} ] && [ ! -f "${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-mac-os-x.urc" ] && [ ${plugins_name} != "dbus" ] && [ ${plugins_cat} != "SessionLoader" ]
+ then
+ echo "pack the mac for the alternative plugin: ${plugins_cat}/${plugins_name}"
+ mkdir -p ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/
+
+ find ${plugins_name}/ -name "*.pro.user" -exec rm {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "*-build-desktop" -type d -exec rm -Rf {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "informations.xml" -exec sed -i -r "s/<architecture>.*<\/architecture>/<architecture>mac-os-x<\/architecture>/g" {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLE/\/\/#define ULTRACOPIER_VERSION_PORTABLE/g" {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_VERSION_PORTABLEAPPS/\/\/#define ULTRACOPIER_VERSION_PORTABLEAPPS/g" {} \; > /dev/null 2>&1
+ if [ ${DEBUG} -eq 1 ]
+ then
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_DEBUG/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null 2>&1
+ else
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_DEBUG/\/\/#define ULTRACOPIER_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG/\/\/#define ULTRACOPIER_PLUGIN_DEBUG/g" {} \; > /dev/null 2>&1
+ find ${plugins_name}/ -name "Variable.h" -exec sed -i "s/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/\/\/#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW/g" {} \; > /dev/null 2>&1
+ fi
+
+ ssh ${SSHUSER}@${IPMAC} "rm -fR /Users/${SSHUSER}/Desktop/ultracopier/"
+ rsync -art ${TEMP_PATH}/${TARGET}-mac-os-x/ ${SSHUSER}@${IPMAC}:/Users/${SSHUSER}/Desktop/ultracopier/
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/${SUBFOLDER}/${plugins_cat}/${plugins_name}/;/Users/user/Qt${QTVERSION}/${QTVERSIONMAJ}/clang_64/bin/qmake /Users/${SSHUSER}/Desktop/ultracopier/${SUBFOLDER}/${plugins_cat}/${plugins_name}/*.pro -spec macx-g++ -config ${CONFIGARG}"
+ ssh ${SSHUSER}@${IPMAC} "cd /Users/${SSHUSER}/Desktop/ultracopier/${SUBFOLDER}/${plugins_cat}/${plugins_name}/;/Applications/Xcode.app/Contents/Developer/usr/bin/gnumake -j 3 > /dev/null"
+ RETURN_CODE=$?
+ if [ $? -ne 0 ]
+ then
+ echo "make failed on the mac: ${RETURN_CODE}"
+ exit
+ fi
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /Users/${SSHUSER}/Desktop/ultracopier/${SUBFOLDER}/${plugins_cat}/${plugins_name}/*${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /Users/${SSHUSER}/Desktop/ultracopier/${SUBFOLDER}/${plugins_cat}/${plugins_name}/*${LIBEXT}"
+ ssh ${SSHUSER}@${IPMAC} "/Applications/Xcode.app//Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -change QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /Users/${SSHUSER}/Desktop/ultracopier/${SUBFOLDER}/${plugins_cat}/${plugins_name}/*${LIBEXT}"
+ rsync -art "${SSHUSER}@${IPMAC}:/Users/${SSHUSER}/Desktop/ultracopier/${SUBFOLDER}/${plugins_cat}/${plugins_name}/*${LIBEXT}" ${plugins_name}/
+ if [ ! -e ${plugins_name}/*.dylib ]; then
+ echo "no .dylib file!";
+ else
+ find ${plugins_name}/ -iname "*.ts" -exec rm {} \;
+ find ${plugins_name}/ -maxdepth 1 -mindepth 1 -type f ! -iname "*.dylib" ! -iname "informations.xml" -exec rm {} \;
+ find ${plugins_name}/ -maxdepth 1 -mindepth 1 -type d ! -iname "Languages" -exec rm -Rf {} \;
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null 2>&1
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null 2>&1
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null 2>&1
+ /usr/bin/find ${plugins_name}/ -type d -empty -delete > /dev/null 2>&1
+
+ tar --posix -c -f - ${plugins_name}/ | xz -9 --check=crc32 > ${TEMP_PATH}/plugins/${plugins_cat}/${plugins_name}/${plugins_cat}-${plugins_name}-${ULTRACOPIER_PLUGIN_VERSION}-mac-os-x.urc
+ fi
+ fi
+ fi
+ done
+ fi
+ cd ${TEMP_PATH}/${TARGET}-mac-os-x/${SUBFOLDER}/
+ done
+}
+
+compil "ultracopier" 0 0 0 0 0
+compil "ultracopier-ultimate" 0 1 0 0 0
+compil "ultracopier-debug" 1 0 0 0 0
+
+compil_plugin "ultracopier" 0 "plugins-alternative"
+compil_plugin "ultracopier" 0 "plugins"
diff --git a/tools/to-pack/sub-script/sendmail.sh b/tools/to-pack/sub-script/sendmail.sh
new file mode 100644
index 0000000..909972c
--- /dev/null
+++ b/tools/to-pack/sub-script/sendmail.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+if [ "${ULTRACOPIER_VERSION}" = "" ]
+then
+ exit;
+fi
+SUPERCOPIER_VERSION=`echo "${ULTRACOPIER_VERSION}"`
+
+cd ${TEMP_PATH}/
+
+echo "Send mail..."
+/usr/bin/php /home/first-world.info/shop/sendmail_ultracopier_version.php ${ULTRACOPIER_VERSION}
+echo "Send mail... done"
diff --git a/tools/to-pack/sub-script/test.sh b/tools/to-pack/sub-script/test.sh
new file mode 100644
index 0000000..782d462
--- /dev/null
+++ b/tools/to-pack/sub-script/test.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+cd ${TEMP_PATH}/
+
+source ${BASE_PWD}/sub-script/compil.sh
+source ${BASE_PWD}/sub-script/assemble.sh
+
+ARCHITECTURE="x86"
+#compil "supercopier-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 0 0 0 0 1 0
+#assemble "supercopier" "${ARCHITECTURE}" 0 0 0 0 0 0 1
+
+ compil "ultracopier-debug-windows-x86" 1 0 0 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ assemble "ultracopier-debug" "${ARCHITECTURE}" 1 0 0 0 0 0 0
+ #compil "ultracopier-debug-portable-windows-x86" 1 0 1 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ #assemble "ultracopier-debug-portable" "${ARCHITECTURE}" 1 0 1 0 0 0 0
+ compil "ultracopier-portable-windows-x86" 0 0 1 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ assemble "ultracopier-portable" "${ARCHITECTURE}" 0 0 1 0 0 0 0
+ #compil "ultracopier-portableapps-windows-x86" 0 0 1 1 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ #assemble "ultracopier-portableapps" "${ARCHITECTURE}" 0 0 1 0 0 0 0
+ compil "ultracopier-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 0 0 0 0 0 0
+ assemble "ultracopier" "${ARCHITECTURE}" 0 0 0 0 0 0 0
+ #compil "ultracopier-debug-static-windows-x86" 1 0 0 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-debug-static" "${ARCHITECTURE}" 1 0 0 0 1 0 0
+ #compil "ultracopier-debug-portable-static-windows-x86" 1 0 1 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-debug-portable-static" "${ARCHITECTURE}" 1 0 1 0 1 0 0
+ #compil "ultracopier-portable-static-windows-x86" 0 0 1 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-portable-static" "${ARCHITECTURE}" 0 0 1 0 1 0 0
+ #compil "ultracopier-static-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 0 0 1 0 0 0
+ #assemble "ultracopier-static" "${ARCHITECTURE}" 0 0 0 0 1 0 0
+ compil "supercopier-ultimate-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 0 0 1 0
+ assemble "supercopier-ultimate" "${ARCHITECTURE}" 0 0 0 1 0 0 1
+ compil "supercopier-ultimate-cgminer-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 0 1 1 0
+ assemble "supercopier-ultimate-cgminer" "${ARCHITECTURE}" 0 0 0 1 0 1 1
+ #compil "supercopier-ultimate-cgminer-static-windows-x86" 0 0 0 0 32 "-mtune=generic -march=i686" 1 0 1 1 1 0
+ #assemble "supercopier-ultimate-cgminer-static" "${ARCHITECTURE}" 0 0 0 1 1 1 1
diff --git a/tools/to-pack/sub-script/translation-local.sh b/tools/to-pack/sub-script/translation-local.sh
new file mode 100644
index 0000000..2e56f15
--- /dev/null
+++ b/tools/to-pack/sub-script/translation-local.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+rm -Rf ${TEMP_PATH}
+
+cd ${ULTRACOPIER_SOURCE}
+lupdate ultracopier-core.pro > /dev/null 2>&1
+lrelease -nounfinished -compress -removeidentical ultracopier-core.pro > /dev/null 2>&1
+PWD_BASE2=`pwd`
+echo "update the .ts file"
+for project in `find plugins/ plugins-alternative/ -maxdepth 2 -type d`
+do
+ cd ${project}/
+ for projectfile in `find ./ -name '*.pro' -type f`
+ do
+ if [ -f ${projectfile} ]
+ then
+ lupdate ${projectfile} > /dev/null 2>&1
+ lrelease -nounfinished -compress -removeidentical ${projectfile} > /dev/null 2>&1
+ fi
+ done
+ cd ${PWD_BASE2}
+done
+
+
+
diff --git a/tools/to-pack/sub-script/translation.sh b/tools/to-pack/sub-script/translation.sh
new file mode 100755
index 0000000..109e9b9
--- /dev/null
+++ b/tools/to-pack/sub-script/translation.sh
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+TARGET="ultracopier-translation-${ULTRACOPIER_VERSION}"
+rm -Rf ${TEMP_PATH}/${TARGET}/
+mkdir -p ${TEMP_PATH}/${TARGET}/
+cd ${ULTRACOPIERSOURCESPATH}
+lupdate -no-obsolete ultracopier-core.pro > /dev/null 2>&1
+lrelease -nounfinished -compress -removeidentical ultracopier-core.pro > /dev/null 2>&1
+PWD_BASE2=`pwd`
+echo "update the .ts file"
+for project in `find plugins/ plugins-alternative/ -maxdepth 2 -type d`
+do
+ cd ${project}/
+ for projectfile in `find ./ -name '*.pro' -type f`
+ do
+ if [ -f ${projectfile} ]
+ then
+ lupdate ${projectfile} > /dev/null 2>&1
+ lrelease -nounfinished -compress -removeidentical ${projectfile} > /dev/null 2>&1
+ fi
+ done
+ cd ${PWD_BASE2}
+done
+echo "copy the .ts file"
+for languages in `find ./ -name Languages -type d`
+do
+ mkdir -p ${TEMP_PATH}/${TARGET}/${languages}
+ cp -aRf ${languages} ${TEMP_PATH}/${TARGET}/${languages}/../
+done
+cd ../to-pack/
+
+rm -Rf ${TEMP_PATH}/${TARGET}/*/*/Rsync > /dev/null 2>&1
+rm -Rf ${TEMP_PATH}/${TARGET}/plugins-alternative/CopyEngine > /dev/null 2>&1
+find ${TEMP_PATH}/${TARGET}/ -name "*.qm" -exec rm {} \; > /dev/null 2>&1
+find ${TEMP_PATH}/${TARGET}/ -name "Test" -type d -exec rm -Rf {} \; > /dev/null 2>&1
+mv ${TEMP_PATH}/${TARGET}/resources/Languages/en/ ${TEMP_PATH}/${TARGET}/plugins/Languages/en/
+find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+find ${TEMP_PATH}/${TARGET}/ -type d -empty -delete > /dev/null 2>&1
+rm -Rf ${TEMP_PATH}/${TARGET}/resources/
+
+cd ${TEMP_PATH}/
+tar cjf ${TARGET}.tar.bz2 ${TARGET}/ --owner=0 --group=0 --mtime='2010-01-01' -H ustar
+if [ ! -e ${TARGET}.tar.bz2 ]; then
+ echo "${TARGET}.tar.bz2 not exists!";
+ exit;
+fi
+rm -Rf ${TARGET}/
diff --git a/tools/to-pack/sub-script/upload-local.sh b/tools/to-pack/sub-script/upload-local.sh
new file mode 100644
index 0000000..c42e055
--- /dev/null
+++ b/tools/to-pack/sub-script/upload-local.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+
+mkdir -p ${TEMP_PATH}
+cd ${TEMP_PATH}/
+
+rsync -avrtz --compress-level=9 --rsh='ssh -p54973' --partial --progress /mnt/world/ultracopier-temp/ultracopier-*.dmg root@ssh.first-world.info:/home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/ --timeout=120
+RETURNA=$?
+while [ ${RETURNA} -ne 0 ] && [ ${RETURNA} -ne 20 ] && [ ${RETURNA} -ne 255 ]
+do
+ rsync -avrtz --compress-level=9 --rsh='ssh -p54973' --partial --progress /mnt/world/ultracopier-temp/ultracopier-*.dmg root@ssh.first-world.info:/home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/ --timeout=120
+ RETURNA=$?
+ echo ${RETURNA}
+done
+
+
+rsync -avrtzu --compress-level=9 --rsh='ssh -p54973' --partial --progress /mnt/world/ultracopier-temp/plugins/ root@ssh.first-world.info:/home/first-world.info/files-rw/ultracopier/plugins/ --timeout=120
+RETURNB=$?
+while [ ${RETURNB} -ne 0 ] && [ ${RETURNB} -ne 20 ] && [ ${RETURNB} -ne 255 ]
+do
+ rsync -avrtzu --compress-level=9 --rsh='ssh -p54973' --partial --progress /mnt/world/ultracopier-temp/plugins/ root@ssh.first-world.info:/home/first-world.info/files-rw/ultracopier/plugins/ --timeout=120
+ RETURNB=$?
+ echo ${RETURNB}
+done
+
+#if [ "${RETURNA}" -eq 0 ] && [ "${RETURNB}" -eq 0 ]
+#then
+# rm -Rf /mnt/world/ultracopier-temp/*.dmg /mnt/world/ultracopier-temp/*.tar.xz /mnt/world/ultracopier-temp/plugins/
+#fi
diff --git a/tools/to-pack/sub-script/upload.sh b/tools/to-pack/sub-script/upload.sh
new file mode 100644
index 0000000..f7c50df
--- /dev/null
+++ b/tools/to-pack/sub-script/upload.sh
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+if [ "${ULTRACOPIER_VERSION}" = "" ]
+then
+ exit;
+fi
+SUPERCOPIER_VERSION=`echo "${ULTRACOPIER_VERSION}"`
+
+cd ${TEMP_PATH}/
+
+echo "Move some elements..."
+if [ -d ${TEMP_PATH}/doc/ ]
+then
+ rsync -artu ${TEMP_PATH}/doc/ /home/first-world.info/doc-ultracopier/
+ if [ $? -ne 0 ]
+ then
+ echo 'rsync failed'
+ exit;
+ fi
+ rm -Rf ${TEMP_PATH}/doc/
+fi
+if [ -d ${TEMP_PATH}/plugins/ ]
+then
+ rsync -artu ${TEMP_PATH}/plugins/ /home/first-world.info/files-rw/ultracopier/plugins/
+ if [ $? -ne 0 ]
+ then
+ echo 'rsync failed'
+ exit;
+ fi
+ rm -Rf ${TEMP_PATH}/plugins/
+fi
+
+mkdir -p /home/first-world.info/files-rw/supercopier/${SUPERCOPIER_VERSION}/
+mv ${TEMP_PATH}/supercopier-*.zip /home/first-world.info/files-rw/supercopier/${SUPERCOPIER_VERSION}/
+mv ${TEMP_PATH}/supercopier-*-setup.exe /home/first-world.info/files-rw/supercopier/${SUPERCOPIER_VERSION}/
+
+mkdir -p /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/
+mv ${TEMP_PATH}/ultracopier-*.tar.xz /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/
+mv ${TEMP_PATH}/ultracopier-*.zip /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/
+mv ${TEMP_PATH}/ultracopier-*-setup.exe /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/
+mv ${TEMP_PATH}/ultracopier-*.tar.bz2 /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/
+cp ${BASE_PWD}/data/gentoo/ultracopier.ebuild /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/ultracopier-${ULTRACOPIER_VERSION}.ebuild
+echo "Move some elements... done"
+
+echo "Finalise some elements..."
+chown lighttpd.lighttpd -Rf /home/first-world.info/doc-ultracopier/*/*/${ULTRACOPIER_VERSION}/
+chown lighttpd.lighttpd -Rf /home/first-world.info/files-rw/ultracopier/plugins/
+echo "Finalise some elements... done"
+
+echo "Upload to the shop..."
+#cd /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/ && rm -f /home/first-world.info/shop/download/09616e4ee15b7445c80704b934559f3af483abaa && nice -n 19 ionice -c 3 zip -9 -q /home/first-world.info/shop/download/09616e4ee15b7445c80704b934559f3af483abaa ultracopier-ultimate-*-x86-${ULTRACOPIER_VERSION}-setup.exe -x ultracopier-ultimate-cgminer-*-x86-${ULTRACOPIER_VERSION}-setup.exe && mv /home/first-world.info/shop/download/09616e4ee15b7445c80704b934559f3af483abaa.zip /home/first-world.info/shop/download/09616e4ee15b7445c80704b934559f3af483abaa
+#cd /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/ && rm -f /home/first-world.info/shop/download/e4039d2bc194fb68f3ac6319c63381eed1573632 && nice -n 19 ionice -c 3 zip -9 -q /home/first-world.info/shop/download/e4039d2bc194fb68f3ac6319c63381eed1573632 ultracopier-ultimate-*-x86_64-${ULTRACOPIER_VERSION}-setup.exe -x ultracopier-ultimate-cgminer-*-x86_64-${ULTRACOPIER_VERSION}-setup.exe && mv /home/first-world.info/shop/download/e4039d2bc194fb68f3ac6319c63381eed1573632.zip /home/first-world.info/shop/download/e4039d2bc194fb68f3ac6319c63381eed1573632
+#cp /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/ultracopier-ultimate-mac-os-x-${ULTRACOPIER_VERSION}.dmg /home/first-world.info/shop/download/d6382b673f31a42c71101ed642fe69d3b39dba8a
+#cd /home/first-world.info/files-rw/supercopier/${SUPERCOPIER_VERSION}/ && rm -f /home/first-world.info/shop/download/b5f718420c697ddb34d3dfae6cb2adfdfc860153 && nice -n 19 ionice -c 3 zip -9 -q /home/first-world.info/shop/download/b5f718420c697ddb34d3dfae6cb2adfdfc860153 supercopier-ultimate-*${SUPERCOPIER_VERSION}* -x supercopier-ultimate-cgminer-*${SUPERCOPIER_VERSION}* && mv /home/first-world.info/shop/download/b5f718420c697ddb34d3dfae6cb2adfdfc860153.zip /home/first-world.info/shop/download/b5f718420c697ddb34d3dfae6cb2adfdfc860153
+
+#cd /home/first-world.info/files-rw/ultracopier/plugins/Themes/Teracopy/ && rm -f /home/first-world.info/shop/download/161e15b3dfd41a1c4fc265d8d2d856a07e8df559 && nice -n 19 ionice -c 3 zip -9 -q /home/first-world.info/shop/download/161e15b3dfd41a1c4fc265d8d2d856a07e8df559 *${ULTRACOPIER_VERSION}*-x86_64.urc *${ULTRACOPIER_VERSION}*-x86.urc *${ULTRACOPIER_VERSION}*-mac-os-x.urc && mv /home/first-world.info/shop/download/161e15b3dfd41a1c4fc265d8d2d856a07e8df559.zip /home/first-world.info/shop/download/161e15b3dfd41a1c4fc265d8d2d856a07e8df559
+#cd /home/first-world.info/files-rw/ultracopier/plugins/CopyEngine/Rsync/ && rm -f /home/first-world.info/shop/download/7fee8026fb4f7d9bfcb9790dfa0db25a514f79da && nice -n 19 ionice -c 3 zip -9 -q /home/first-world.info/shop/download/7fee8026fb4f7d9bfcb9790dfa0db25a514f79da *${ULTRACOPIER_VERSION}*-x86_64.urc *${ULTRACOPIER_VERSION}*-x86.urc *${ULTRACOPIER_VERSION}*-mac-os-x.urc && mv /home/first-world.info/shop/download/7fee8026fb4f7d9bfcb9790dfa0db25a514f79da.zip /home/first-world.info/shop/download/7fee8026fb4f7d9bfcb9790dfa0db25a514f79da
+#cd /home/first-world.info/files-rw/ultracopier/plugins/Themes/Windows/ && rm -f /home/first-world.info/shop/download/59c9fb956fedf4d7a6ef6fe84371882bc5591256 && nice -n 19 ionice -c 3 zip -9 -q /home/first-world.info/shop/download/59c9fb956fedf4d7a6ef6fe84371882bc5591256 *${ULTRACOPIER_VERSION}*-x86_64.urc *${ULTRACOPIER_VERSION}*-x86.urc *${ULTRACOPIER_VERSION}*-mac-os-x.urc && mv /home/first-world.info/shop/download/59c9fb956fedf4d7a6ef6fe84371882bc5591256.zip /home/first-world.info/shop/download/59c9fb956fedf4d7a6ef6fe84371882bc5591256
+#cd /home/first-world.info/files-rw/ultracopier/plugins/Themes/Supercopier/ && rm -f /home/first-world.info/shop/download/c3386f6d227585eb9672fff25b5865208a451cc3 && nice -n 19 ionice -c 3 zip -9 -q /home/first-world.info/shop/download/c3386f6d227585eb9672fff25b5865208a451cc3 *${ULTRACOPIER_VERSION}*-x86_64.urc *${ULTRACOPIER_VERSION}*-x86.urc *${ULTRACOPIER_VERSION}*-mac-os-x.urc && mv /home/first-world.info/shop/download/c3386f6d227585eb9672fff25b5865208a451cc3.zip /home/first-world.info/shop/download/c3386f6d227585eb9672fff25b5865208a451cc3
+
+/usr/bin/php /home/first-world.info/shop/update_ultracopier_version.php ${ULTRACOPIER_VERSION}
+echo "Upload to the shop... done"
+
+echo "Clean the ultimate version..."
+#mv /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/ultracopier-ultimate-* ${TEMP_PATH}/
+#mv ${TEMP_PATH}/ultracopier-ultimate-cgminer-windows-x86* /home/first-world.info/files-rw/ultracopier/${ULTRACOPIER_VERSION}/
+#mv /home/first-world.info/files-rw/supercopier/${SUPERCOPIER_VERSION}/supercopier-ultimate-* ${TEMP_PATH}/
+#mv ${TEMP_PATH}/supercopier-ultimate-cgminer-windows-x86* /home/first-world.info/files-rw/supercopier/${SUPERCOPIER_VERSION}/
+rm -Rf ${TEMP_PATH}/*
+echo "Clean the ultimate version... done"
+
+echo "Change the static files..."
+echo ${ULTRACOPIER_VERSION} > /home/first-world.info/ultracopier/updater.txt
+echo ${ULTRACOPIER_VERSION} > /home/first-world.info/ultracopier-update/updater.txt
+/etc/init.d/lighttpd restart
+echo "Change the static files... done"
diff --git a/tools/to-pack/test.sh b/tools/to-pack/test.sh
new file mode 100755
index 0000000..14245a4
--- /dev/null
+++ b/tools/to-pack/test.sh
@@ -0,0 +1,55 @@
+#!/bin/bash
+export TEMP_PATH="/home/ultracopier-temp/"
+export WINEBASEPATH="/home/wine/"
+export ULTRACOPIERSOURCESPATH="/root/ultracopier/sources/"
+export BASE_PWD=`pwd`
+
+export ULTRACOPIER_VERSION=`grep -F "ULTRACOPIER_VERSION" ${ULTRACOPIERSOURCESPATH}/Variable.h | grep -F "1.4" | sed -r "s/^.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*$/\1/g"`
+function valid_ip()
+{
+ local ip=$1
+ local stat=1
+ if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ OIFS=$IFS
+ IFS='.'
+ ip=($ip)
+ IFS=$OIFS
+ [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \
+ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
+ stat=$?
+ fi
+ return $stat
+}
+if ! valid_ip ${ULTRACOPIER_VERSION}; then
+ echo Wrong version: ${ULTRACOPIER_VERSION}
+ exit
+fi
+echo Version: ${ULTRACOPIER_VERSION}
+
+rm -Rf ${TEMP_PATH} > /dev/null 2>&1
+rm -Rf ${ULTRACOPIERSOURCESPATH}/plugins-alternative/CopyEngine/Ultracopier/ > /dev/null 2>&1
+mkdir -p ${TEMP_PATH}
+find ../ -name "Thumbs.db" -exec rm {} \; >> /dev/null 2>&1
+find ../ -name ".directory" -exec rm {} \; >> /dev/null 2>&1
+
+echo "Do the test folder..."
+source sub-script/test.sh
+cd ${BASE_PWD}
+echo "Do the test folder... done"
+
+./4-clean-all.sh
+rm /home/first-world.info/ultracopier/temp/*
+
+
+if [ -f ${TEMP_PATH}/*.7z ]
+then
+ cp /home/ultracopier-temp/*.7z /home/first-world.info/ultracopier/temp/
+fi
+if [ -f ${TEMP_PATH}/*.zip ]
+then
+ cp /home/ultracopier-temp/*.zip /home/first-world.info/ultracopier/temp/
+fi
+if [ -f ${TEMP_PATH}/*-setup.exe ]
+then
+ cp /home/ultracopier-temp/*-setup.exe /home/first-world.info/ultracopier/temp/
+fi
diff --git a/ultracopier-all-in-one-direct.pro b/ultracopier-all-in-one-direct.pro
deleted file mode 100644
index 3df4fb4..0000000
--- a/ultracopier-all-in-one-direct.pro
+++ /dev/null
@@ -1,119 +0,0 @@
-DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
-
-include(ultracopier-core.pro)
-
-RESOURCES += plugins/static-plugins.qrc \
- plugins/CopyEngine/Ultracopier/copyEngineResources.qrc \
- plugins/Themes/Oxygen/interfaceResources_unix.qrc \
- plugins/Themes/Oxygen/interfaceResources_windows.qrc \
- plugins/Themes/Oxygen/interfaceResources.qrc
-
-win32:RESOURCES += plugins/static-plugins-windows.qrc
-
-HEADERS -= lib/qt-tar-xz/xz.h \
- lib/qt-tar-xz/QXzDecodeThread.h \
- lib/qt-tar-xz/QXzDecode.h \
- lib/qt-tar-xz/QTarDecode.h \
- AuthPlugin.h
-SOURCES -= lib/qt-tar-xz/QXzDecodeThread.cpp \
- lib/qt-tar-xz/QXzDecode.cpp \
- lib/qt-tar-xz/QTarDecode.cpp \
- lib/qt-tar-xz/xz_crc32.c \
- lib/qt-tar-xz/xz_dec_stream.c \
- lib/qt-tar-xz/xz_dec_lzma2.c \
- lib/qt-tar-xz/xz_dec_bcj.c \
- AuthPlugin.cpp
-INCLUDEPATH -= lib/qt-tar-xz/
-
-RESOURCES -= resources/resources-windows-qt-plugin.qrc
-
-DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
-DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
-
-FORMS += \
- plugins/CopyEngine/Ultracopier/copyEngineOptions.ui \
- plugins/CopyEngine/Ultracopier/debugDialog.ui \
- plugins/CopyEngine/Ultracopier/DiskSpace.ui \
- plugins/CopyEngine/Ultracopier/fileErrorDialog.ui \
- plugins/CopyEngine/Ultracopier/fileExistsDialog.ui \
- plugins/CopyEngine/Ultracopier/fileIsSameDialog.ui \
- plugins/CopyEngine/Ultracopier/FilterRules.ui \
- plugins/CopyEngine/Ultracopier/Filters.ui \
- plugins/CopyEngine/Ultracopier/folderExistsDialog.ui \
- plugins/CopyEngine/Ultracopier/RenamingRules.ui \
- plugins/Themes/Oxygen/themesOptions.ui \
- plugins/Themes/Oxygen/options.ui \
- plugins/Themes/Oxygen/interface.ui
-
-HEADERS += \
- plugins/CopyEngine/Ultracopier/AvancedQFile.h \
- plugins/CopyEngine/Ultracopier/CompilerInfo.h \
- plugins/CopyEngine/Ultracopier/CopyEngine.h \
- plugins/CopyEngine/Ultracopier/DebugDialog.h \
- plugins/CopyEngine/Ultracopier/DebugEngineMacro.h \
- plugins/CopyEngine/Ultracopier/DiskSpace.h \
- plugins/CopyEngine/Ultracopier/DriveManagement.h \
- plugins/CopyEngine/Ultracopier/Environment.h \
- plugins/CopyEngine/Ultracopier/CopyEngineFactory.h \
- plugins/CopyEngine/Ultracopier/FileErrorDialog.h \
- plugins/CopyEngine/Ultracopier/FileExistsDialog.h \
- plugins/CopyEngine/Ultracopier/FileIsSameDialog.h \
- plugins/CopyEngine/Ultracopier/FilterRules.h \
- plugins/CopyEngine/Ultracopier/Filters.h \
- plugins/CopyEngine/Ultracopier/FolderExistsDialog.h \
- plugins/CopyEngine/Ultracopier/MkPath.h \
- plugins/CopyEngine/Ultracopier/ListThread.h \
- plugins/CopyEngine/Ultracopier/ReadThread.h \
- plugins/CopyEngine/Ultracopier/RenamingRules.h \
- plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h \
- plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h \
- plugins/CopyEngine/Ultracopier/StructEnumDefinition.h \
- plugins/CopyEngine/Ultracopier/TransferThread.h \
- plugins/CopyEngine/Ultracopier/Variable.h \
- plugins/CopyEngine/Ultracopier/WriteThread.h \
- plugins/Listener/catchcopy-v0002/Variable.h \
- plugins/Listener/catchcopy-v0002/StructEnumDefinition.h \
- plugins/Listener/catchcopy-v0002/listener.h \
- plugins/Listener/catchcopy-v0002/Environment.h \
- plugins/Listener/catchcopy-v0002/DebugEngineMacro.h \
- plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.h \
- plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h \
- plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h \
- plugins/Listener/catchcopy-v0002/catchcopy-api-0002/VariablesCatchcopy.h \
- plugins/Themes/Oxygen/DebugEngineMacro.h \
- plugins/Themes/Oxygen/Environment.h \
- plugins/Themes/Oxygen/ThemesFactory.h \
- plugins/Themes/Oxygen/interface.h \
- plugins/Themes/Oxygen/Variable.h \
- plugins/Themes/Oxygen/TransferModel.h \
- plugins/Themes/Oxygen/StructEnumDefinition.h
-
-SOURCES += \
- plugins/CopyEngine/Ultracopier/AvancedQFile.cpp \
- plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp \
- plugins/CopyEngine/Ultracopier/CopyEngine.cpp \
- plugins/CopyEngine/Ultracopier/DebugDialog.cpp \
- plugins/CopyEngine/Ultracopier/DiskSpace.cpp \
- plugins/CopyEngine/Ultracopier/DriveManagement.cpp \
- plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp \
- plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp \
- plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp \
- plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp \
- plugins/CopyEngine/Ultracopier/FilterRules.cpp \
- plugins/CopyEngine/Ultracopier/Filters.cpp \
- plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp \
- plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp \
- plugins/CopyEngine/Ultracopier/MkPath.cpp \
- plugins/CopyEngine/Ultracopier/ReadThread.cpp \
- plugins/CopyEngine/Ultracopier/RenamingRules.cpp \
- plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp \
- plugins/CopyEngine/Ultracopier/TransferThread.cpp \
- plugins/CopyEngine/Ultracopier/WriteThread.cpp \
- plugins/CopyEngine/Ultracopier/ListThread.cpp \
- plugins/Listener/catchcopy-v0002/listener.cpp \
- plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp \
- plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp \
- plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp \
- plugins/Themes/Oxygen/ThemesFactory.cpp \
- plugins/Themes/Oxygen/interface.cpp \
- plugins/Themes/Oxygen/TransferModel.cpp
diff --git a/ultracopier-core.pro b/ultracopier-core.pro
deleted file mode 100644
index d5b382e..0000000
--- a/ultracopier-core.pro
+++ /dev/null
@@ -1,125 +0,0 @@
-CONFIG += c++11
-QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
-mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
-
-TEMPLATE = app
-QT += network xml widgets
-TRANSLATIONS += plugins/Languages/ar/translation.ts \
- plugins/Languages/de/translation.ts \
- plugins/Languages/el/translation.ts \
- resources/Languages/en/translation.ts \
- plugins/Languages/es/translation.ts \
- plugins/Languages/fr/translation.ts \
- plugins/Languages/hi/translation.ts \
- plugins/Languages/hu/translation.ts \
- plugins/Languages/id/translation.ts \
- plugins/Languages/it/translation.ts \
- plugins/Languages/ja/translation.ts \
- plugins/Languages/ko/translation.ts \
- plugins/Languages/nl/translation.ts \
- plugins/Languages/no/translation.ts \
- plugins/Languages/pl/translation.ts \
- plugins/Languages/pt/translation.ts \
- plugins/Languages/ru/translation.ts \
- plugins/Languages/th/translation.ts \
- plugins/Languages/tr/translation.ts \
- plugins/Languages/zh/translation.ts
-
-TARGET = ultracopier
-macx {
- ICON = resources/ultracopier.icns
- #QT += macextras
-}
-FORMS += HelpDialog.ui \
- PluginInformation.ui \
- OptionDialog.ui \
- OSSpecific.ui
-RESOURCES += \
- resources/ultracopier-resources.qrc \
- resources/ultracopier-resources_unix.qrc \
- resources/ultracopier-resources_windows.qrc
-win32 {
- RESOURCES += resources/resources-windows-qt-plugin.qrc
- RC_FILE += resources/resources-windows.rc
- #LIBS += -lpdh
- LIBS += -ladvapi32
-}
-
-HEADERS += ResourcesManager.h \
- ThemesManager.h \
- SystrayIcon.h \
- StructEnumDefinition.h \
- EventDispatcher.h \
- Environment.h \
- DebugEngine.h \
- Core.h \
- OptionEngine.h \
- HelpDialog.h \
- PluginsManager.h \
- LanguagesManager.h \
- DebugEngineMacro.h \
- PluginInformation.h \
- lib/qt-tar-xz/xz.h \
- lib/qt-tar-xz/QXzDecodeThread.h \
- lib/qt-tar-xz/QXzDecode.h \
- lib/qt-tar-xz/QTarDecode.h \
- SessionLoader.h \
- ExtraSocket.h \
- CopyListener.h \
- CopyEngineManager.h \
- PlatformMacro.h \
- interface/PluginInterface_Themes.h \
- interface/PluginInterface_SessionLoader.h \
- interface/PluginInterface_Listener.h \
- interface/PluginInterface_CopyEngine.h \
- interface/OptionInterface.h \
- Variable.h \
- PluginLoader.h \
- interface/PluginInterface_PluginLoader.h \
- OptionDialog.h \
- LocalPluginOptions.h \
- LocalListener.h \
- CliParser.h \
- interface/FacilityInterface.h \
- FacilityEngine.h \
- LogThread.h \
- CompilerInfo.h \
- StructEnumDefinition_UltracopierSpecific.h \
- OSSpecific.h \
- InternetUpdater.h
-SOURCES += ThemesManager.cpp \
- ResourcesManager.cpp \
- main.cpp \
- EventDispatcher.cpp \
- SystrayIcon.cpp \
- DebugEngine.cpp \
- OptionEngine.cpp \
- HelpDialog.cpp \
- PluginsManager.cpp \
- LanguagesManager.cpp \
- PluginInformation.cpp \
- lib/qt-tar-xz/QXzDecodeThread.cpp \
- lib/qt-tar-xz/QXzDecode.cpp \
- lib/qt-tar-xz/QTarDecode.cpp \
- lib/qt-tar-xz/xz_crc32.c \
- lib/qt-tar-xz/xz_dec_stream.c \
- lib/qt-tar-xz/xz_dec_lzma2.c \
- lib/qt-tar-xz/xz_dec_bcj.c \
- SessionLoader.cpp \
- ExtraSocket.cpp \
- CopyListener.cpp \
- CopyEngineManager.cpp \
- Core.cpp \
- PluginLoader.cpp \
- OptionDialog.cpp \
- LocalPluginOptions.cpp \
- LocalListener.cpp \
- CliParser.cpp \
- FacilityEngine.cpp \
- LogThread.cpp \
- OSSpecific.cpp \
- DebugModel.cpp \
- InternetUpdater.cpp
-INCLUDEPATH += lib/qt-tar-xz/
-
-OTHER_FILES += resources/resources-windows.rc
diff --git a/ultracopier-static.pro b/ultracopier-static.pro
deleted file mode 100644
index 27bf2b9..0000000
--- a/ultracopier-static.pro
+++ /dev/null
@@ -1,6 +0,0 @@
-include(static.pro)
-
-RESOURCES += plugins/static-plugins-oxygen.qrc \
- plugins/Themes/Oxygen/interfaceResources_windows.qrc \
- plugins/Themes/Oxygen/interfaceResources_unix.qrc \
- plugins/Themes/Oxygen/interfaceResources.qrc
diff --git a/ultracopier.pro b/ultracopier.pro
new file mode 100644
index 0000000..68c8886
--- /dev/null
+++ b/ultracopier.pro
@@ -0,0 +1,137 @@
+DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
+
+include(other-pro/ultracopier-core.pro)
+
+RESOURCES += $$PWD/plugins/static-plugins.qrc \
+ $$PWD/plugins/CopyEngine/Ultracopier/copyEngineResources.qrc \
+ $$PWD/plugins/Themes/Oxygen/interfaceResources_unix.qrc \
+ $$PWD/plugins/Themes/Oxygen/interfaceResources_windows.qrc \
+ $$PWD/plugins/Themes/Oxygen/interfaceResources.qrc
+
+win32:RESOURCES += $$PWD/plugins/static-plugins-windows.qrc
+
+HEADERS -= $$PWD/lib/qt-tar-xz/xz.h \
+ $$PWD/lib/qt-tar-xz/QXzDecodeThread.h \
+ $$PWD/lib/qt-tar-xz/QXzDecode.h \
+ $$PWD/lib/qt-tar-xz/QTarDecode.h \
+ $$PWD/AuthPlugin.h
+SOURCES -= $$PWD/lib/qt-tar-xz/QXzDecodeThread.cpp \
+ $$PWD/lib/qt-tar-xz/QXzDecode.cpp \
+ $$PWD/lib/qt-tar-xz/QTarDecode.cpp \
+ $$PWD/lib/qt-tar-xz/xz_crc32.c \
+ $$PWD/lib/qt-tar-xz/xz_dec_stream.c \
+ $$PWD/lib/qt-tar-xz/xz_dec_lzma2.c \
+ $$PWD/lib/qt-tar-xz/xz_dec_bcj.c \
+ $$PWD/AuthPlugin.cpp
+INCLUDEPATH -= $$PWD/lib/qt-tar-xz/
+
+RESOURCES -= $$PWD/resources/resources-windows-qt-plugin.qrc
+
+DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
+DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT
+
+FORMS += \
+ $$PWD/plugins/CopyEngine/Ultracopier/copyEngineOptions.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/debugDialog.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/DiskSpace.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/fileErrorDialog.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/fileExistsDialog.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/fileIsSameDialog.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/FilterRules.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/Filters.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/folderExistsDialog.ui \
+ $$PWD/plugins/CopyEngine/Ultracopier/RenamingRules.ui \
+ $$PWD/plugins/Themes/Oxygen/themesOptions.ui \
+ $$PWD/plugins/Themes/Oxygen/options.ui \
+ $$PWD/plugins/Themes/Oxygen/interface.ui
+
+HEADERS += \
+ $$PWD/plugins/CopyEngine/Ultracopier/AvancedQFile.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/CompilerInfo.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/CopyEngine.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/DebugDialog.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/DebugEngineMacro.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/DiskSpace.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/DriveManagement.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/Environment.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/FileErrorDialog.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/FileExistsDialog.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/FilterRules.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/Filters.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/MkPath.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/ListThread.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/ReadThread.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/RenamingRules.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/StructEnumDefinition.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/TransferThread.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/Variable.h \
+ $$PWD/plugins/CopyEngine/Ultracopier/WriteThread.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/Variable.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/StructEnumDefinition.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/listener.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/Environment.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/DebugEngineMacro.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h \
+ $$PWD/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/VariablesCatchcopy.h \
+ $$PWD/plugins/Themes/Oxygen/DebugEngineMacro.h \
+ $$PWD/plugins/Themes/Oxygen/Environment.h \
+ $$PWD/plugins/Themes/Oxygen/ThemesFactory.h \
+ $$PWD/plugins/Themes/Oxygen/interface.h \
+ $$PWD/plugins/Themes/Oxygen/Variable.h \
+ $$PWD/plugins/Themes/Oxygen/TransferModel.h \
+ $$PWD/plugins/Themes/Oxygen/StructEnumDefinition.h
+
+SOURCES += \
+ $$PWD/plugins/CopyEngine/Ultracopier/AvancedQFile.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/CopyEngine.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/DebugDialog.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/DiskSpace.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/DriveManagement.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/FilterRules.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/Filters.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/MkPath.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/ReadThread.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/RenamingRules.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/TransferThread.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/WriteThread.cpp \
+ $$PWD/plugins/CopyEngine/Ultracopier/ListThread.cpp \
+ $$PWD/plugins/Listener/catchcopy-v0002/listener.cpp \
+ $$PWD/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp \
+ $$PWD/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp \
+ $$PWD/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp \
+ $$PWD/plugins/Themes/Oxygen/ThemesFactory.cpp \
+ $$PWD/plugins/Themes/Oxygen/interface.cpp \
+ $$PWD/plugins/Themes/Oxygen/TransferModel.cpp
+
+win32 {
+ RESOURCES -= $$PWD/resources/resources-windows-qt-plugin.qrc
+
+ HEADERS += \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/StructEnumDefinition.h \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/DebugEngineMacro.h \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/Environment.h \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/Variable.h \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/PlatformMacro.h \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.h
+ SOURCES += \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp \
+ $$PWD/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.cpp
+ FORMS += $$PWD/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.ui
+ LIBS += -lole32 -lshell32
+}