diff options
Diffstat (limited to 'plugins/Listener/catchcopy-v0002')
-rw-r--r-- | plugins/Listener/catchcopy-v0002/informations.xml | 6 | ||||
-rwxr-xr-x | plugins/Listener/catchcopy-v0002/listener.cpp | 11 | ||||
-rwxr-xr-x | plugins/Listener/catchcopy-v0002/listener.h | 4 | ||||
-rw-r--r-- | plugins/Listener/catchcopy-v0002/listener.pro | 2 |
4 files changed, 19 insertions, 4 deletions
diff --git a/plugins/Listener/catchcopy-v0002/informations.xml b/plugins/Listener/catchcopy-v0002/informations.xml index 65b4ca1..e465da8 100644 --- a/plugins/Listener/catchcopy-v0002/informations.xml +++ b/plugins/Listener/catchcopy-v0002/informations.xml @@ -12,16 +12,16 @@ <!-- the date-time format should be in timestamps format --> <pubDate>1287496800</pubDate> <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> - <architecture>linux-x86_64-pc</architecture> + <architecture>windows-x86</architecture> <!-- Detailed description --> <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>0.3.0.5</version> + <version>0.3.1.0</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. --> <dependencies><![CDATA[ - >=ultracopier-0.3.0.5 + >=ultracopier-0.3.1.0 ]]></dependencies> </package>
\ No newline at end of file diff --git a/plugins/Listener/catchcopy-v0002/listener.cpp b/plugins/Listener/catchcopy-v0002/listener.cpp index 13dc66a..51f204e 100755 --- a/plugins/Listener/catchcopy-v0002/listener.cpp +++ b/plugins/Listener/catchcopy-v0002/listener.cpp @@ -44,6 +44,12 @@ void CatchCopyPlugin::setResources(OptionInterface * options,QString writePath,Q Q_UNUSED(portableVersion); } +/// \brief to get the options widget, NULL if not have +QWidget * CatchCopyPlugin::options() +{ + return NULL; +} + Q_EXPORT_PLUGIN2(listener, CatchCopyPlugin); void CatchCopyPlugin::transferFinished(quint32 orderId,bool withError) @@ -58,6 +64,11 @@ void CatchCopyPlugin::transferCanceled(quint32 orderId) server.copyCanceled(orderId); } +/// \brief to reload the translation, because the new language have been loaded +void CatchCopyPlugin::newLanguageLoaded() +{ +} + void CatchCopyPlugin::error(QString error) { Q_UNUSED(error); diff --git a/plugins/Listener/catchcopy-v0002/listener.h b/plugins/Listener/catchcopy-v0002/listener.h index 9eca405..0ef0dc7 100755 --- a/plugins/Listener/catchcopy-v0002/listener.h +++ b/plugins/Listener/catchcopy-v0002/listener.h @@ -28,11 +28,15 @@ public: const QString errorString(); /// \brief set resources for this plugins void setResources(OptionInterface * options,QString writePath,QString pluginPath,bool portableVersion); + /// \brief to get the options widget, NULL if not have + QWidget * options(); public slots: /// \brief say to the client that's the copy/move is finished void transferFinished(quint32 orderId,bool withError); /// \brief say to the client that's the copy/move is finished void transferCanceled(quint32 orderId); + /// \brief to reload the translation, because the new language have been loaded + void newLanguageLoaded(); private: ServerCatchcopy server; private slots: diff --git a/plugins/Listener/catchcopy-v0002/listener.pro b/plugins/Listener/catchcopy-v0002/listener.pro index 0cd7fa4..5903fa4 100644 --- a/plugins/Listener/catchcopy-v0002/listener.pro +++ b/plugins/Listener/catchcopy-v0002/listener.pro @@ -14,4 +14,4 @@ SOURCES = listener.cpp \ catchcopy-api-0002/ServerCatchcopy.cpp \ catchcopy-api-0002/ExtraSocketCatchcopy.cpp TARGET = $$qtLibraryTarget(listener) -TRANSLATIONS += Languages/fr/translation.ts + |