Removed support for Python2. release-3.0.0

Wed, 24 Jun 2020 17:58:48 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 24 Jun 2020 17:58:48 +0200
changeset 50
5e4b312590ba
parent 49
406f0965f449
child 51
fb92374fdb16

Removed support for Python2.

ChangeLog file | annotate | diff | comparison | revisions
PluginPySide2PyQt.py file | annotate | diff | comparison | revisions
PluginPySide2PyQt.zip file | annotate | diff | comparison | revisions
PySide2PyQt.e4p file | annotate | diff | comparison | revisions
PySide2PyQt/Documentation/source/Plugin_Tools_PySide2PyQt.PluginPySide2PyQt.html file | annotate | diff | comparison | revisions
PySide2PyQt/Documentation/source/index-Plugin_Tools_PySide2PyQt.PySide2PyQt.html file | annotate | diff | comparison | revisions
PySide2PyQt/Documentation/source/index-Plugin_Tools_PySide2PyQt.html file | annotate | diff | comparison | revisions
PySide2PyQt/Documentation/source/index.html file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_de.qm file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_de.ts file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_empty.ts file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_en.qm file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_en.ts file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_es.qm file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_es.ts file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_pt.qm file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_pt.ts file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_ru.qm file | annotate | diff | comparison | revisions
PySide2PyQt/i18n/pyside2pyqt_ru.ts file | annotate | diff | comparison | revisions
--- a/ChangeLog	Wed Jan 01 11:59:03 2020 +0100
+++ b/ChangeLog	Wed Jun 24 17:58:48 2020 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 3.0.0:
+- removed support for Python2, PyQt4 and PySide
+
 Version 2.2.1:
 - updated Russian translations
 
--- a/PluginPySide2PyQt.py	Wed Jan 01 11:59:03 2020 +0100
+++ b/PluginPySide2PyQt.py	Wed Jun 24 17:58:48 2020 +0200
@@ -7,8 +7,6 @@
 Module implementing the PySide to PyQt (and vice versa) plug-in.
 """
 
-from __future__ import unicode_literals
-
 import os
 
 from PyQt5.QtCore import QObject, QTranslator
@@ -21,17 +19,16 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.2.1"
+version = "3.0.0"
 className = "PySide2PyQtPlugin"
 packageName = "PySide2PyQt"
 shortDescription = "Convert PySide file to PyQt and vice versa"
-longDescription = \
-    """This plug-in implements a tool to convert a PySide/PySide2 file""" \
-    """ to PyQt4 or PyQt5 and vice versa. It works with the text of the""" \
-    """ current editor."""
+longDescription = (
+    """This plug-in implements a tool to convert a PySide2 file to PyQt5"""
+    """ and vice versa. It works with the text of the current editor."""
+)
 needsRestart = False
 pyqtApi = 2
-python2Compatible = True
 # End-Of-Header
 
 error = ""
@@ -137,19 +134,11 @@
         Private method to initialize the menu.
         """
         self.__menu = QMenu(self.tr("PySide to/from PyQt"))
-        self.__menu.addAction(self.tr("PySide to PyQt4"),
-                              lambda: self.__pyside2Pyqt("pyside", "pyqt4"))
-        self.__menu.addAction(self.tr("PySide to PyQt5"),
-                              lambda: self.__pyside2Pyqt("pyside", "pyqt5"))
         self.__menu.addAction(self.tr("PySide2 to PyQt5"),
                               lambda: self.__pyside2Pyqt("pyside2", "pyqt5"))
         self.__menu.addSeparator()
-        self.__menu.addAction(self.tr("PyQt4 to PySide"),
-                              lambda: self.__pyqt2Pyside("pyqt4", "pyside"))
         self.__menu.addAction(self.tr("PyQt5 to PySide2"),
                               lambda: self.__pyqt2Pyside("pyqt5", "pyside2"))
-        self.__menu.addAction(self.tr("PyQt5 to PySide"),
-                              lambda: self.__pyqt2Pyside("pyqt5", "pyside"))
         self.__menu.setEnabled(False)
     
     def __populateMenu(self, name, menu):
@@ -226,9 +215,9 @@
         Private slot to convert the code of the current editor from PySide
         to PyQt.
         
-        @param pyside PySide variant (pyside or pyside2)
+        @param pyside PySide variant (pyside2)
         @type str
-        @param pyqt PyQt variant (pyqt4 or pyqt5)
+        @param pyqt PyQt variant (pyqt5)
         @type str
         """
         editor = e5App().getObject("ViewManager").activeWindow()
@@ -236,30 +225,17 @@
             return
         
         text = editor.text()
-        if pyqt == "pyqt4":
-            newText = (text
-                       .replace("PySide", "PyQt4")
-                       .replace("Signal", "pyqtSignal")
-                       .replace("Slot", "pyqtSlot")
-                       .replace("Property", "pyqtProperty")
-                       .replace("pyside-uic", "pyuic4")
-                       .replace("pyside-rcc", "pyrcc4")
-                       .replace("pyside-lupdate", "pylupdate4")
-                       )
-        elif pyqt == "pyqt5":
-            newText = (text
-                       .replace("Signal", "pyqtSignal")
-                       .replace("Slot", "pyqtSlot")
-                       .replace("Property", "pyqtProperty")
-                       .replace("PySide2", "PyQt5")
-                       .replace("pyside2-uic", "pyuic5")
-                       .replace("pyside2-rcc", "pyrcc5")
-                       .replace("pyside2-lupdate", "pylupdate5")
-                       .replace("PySide", "PyQt5")
-                       .replace("pyside-uic", "pyuic5")
-                       .replace("pyside-rcc", "pyrcc5")
-                       .replace("pyside-lupdate", "pylupdate5")
-                       )
+        if pyqt == "pyqt5" and pyside == "pyside2":
+            newText = (
+                text
+                .replace("Signal", "pyqtSignal")
+                .replace("Slot", "pyqtSlot")
+                .replace("Property", "pyqtProperty")
+                .replace("PySide2", "PyQt5")
+                .replace("pyside2-uic", "pyuic5")
+                .replace("pyside2-rcc", "pyrcc5")
+                .replace("pyside2-lupdate", "pylupdate5")
+            )
         else:
             return
         
@@ -274,9 +250,9 @@
         Private slot to convert the code of the current editor from PyQt
         to PySide.
         
-        @param pyqt PyQt variant (pyqt4 or pyqt5)
+        @param pyqt PyQt variant (pyqt5)
         @type str
-        @param pyside PySide variant (pyside or pyside2)
+        @param pyside PySide variant (pyside2)
         @type str
         """
         editor = e5App().getObject("ViewManager").activeWindow()
@@ -284,36 +260,17 @@
             return
         
         text = editor.text()
-        if pyqt == "pyqt4":
-            newText = (text
-                       .replace("PyQt4", "PySide")
-                       .replace("pyqtSignal", "Signal")
-                       .replace("pyqtSlot", "Slot")
-                       .replace("pyqtProperty", "Property")
-                       .replace("pyuic4", "pyside-uic")
-                       .replace("pyrcc4", "pyside-rcc")
-                       .replace("pylupdate4", "pyside-lupdate")
-                       )
-        elif pyqt == "pyqt5" and pyside == "pyside":
-            newText = (text
-                       .replace("PyQt5", "PySide")
-                       .replace("pyqtSignal", "Signal")
-                       .replace("pyqtSlot", "Slot")
-                       .replace("pyqtProperty", "Property")
-                       .replace("pyuic5", "pyside-uic")
-                       .replace("pyrcc5", "pyside-rcc")
-                       .replace("pylupdate5", "pyside-lupdate")
-                       )
-        elif pyqt == "pyqt5" and pyside == "pyside2":
-            newText = (text
-                       .replace("PyQt5", "PySide2")
-                       .replace("pyqtSignal", "Signal")
-                       .replace("pyqtSlot", "Slot")
-                       .replace("pyqtProperty", "Property")
-                       .replace("pyuic5", "pyside2-uic")
-                       .replace("pyrcc5", "pyside2-rcc")
-                       .replace("pylupdate5", "pyside2-lupdate")
-                       )
+        if pyqt == "pyqt5" and pyside == "pyside2":
+            newText = (
+                text
+                .replace("PyQt5", "PySide2")
+                .replace("pyqtSignal", "Signal")
+                .replace("pyqtSlot", "Slot")
+                .replace("pyqtProperty", "Property")
+                .replace("pyuic5", "pyside2-uic")
+                .replace("pyrcc5", "pyside2-rcc")
+                .replace("pylupdate5", "pyside2-lupdate")
+            )
         else:
             return
         
Binary file PluginPySide2PyQt.zip has changed
--- a/PySide2PyQt.e4p	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt.e4p	Wed Jun 24 17:58:48 2020 +0200
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE Project SYSTEM "Project-5.1.dtd">
 <!-- eric project file for project PySide2PyQt -->
-<!-- Copyright (C) 2018 Detlev Offenbach, detlev@die-offenbachs.de -->
+<!-- Copyright (C) 2020 Detlev Offenbach, detlev@die-offenbachs.de -->
 <Project version="5.1">
   <Language>en_US</Language>
   <Hash>d994091d1e81ad5afcdcbc00ecea86f23163c696</Hash>
@@ -229,6 +229,34 @@
         <value>
           <dict>
             <key>
+              <string>AnnotationsChecker</string>
+            </key>
+            <value>
+              <dict>
+                <key>
+                  <string>MaximumComplexity</string>
+                </key>
+                <value>
+                  <int>3</int>
+                </value>
+                <key>
+                  <string>MinimumCoverage</string>
+                </key>
+                <value>
+                  <int>75</int>
+                </value>
+              </dict>
+            </value>
+            <key>
+              <string>BlankLines</string>
+            </key>
+            <value>
+              <tuple>
+                <int>2</int>
+                <int>1</int>
+              </tuple>
+            </value>
+            <key>
               <string>BuiltinsChecker</string>
             </key>
             <value>
@@ -260,6 +288,19 @@
               </dict>
             </value>
             <key>
+              <string>CommentedCodeChecker</string>
+            </key>
+            <value>
+              <dict>
+                <key>
+                  <string>Aggressive</string>
+                </key>
+                <value>
+                  <bool>False</bool>
+                </value>
+              </dict>
+            </value>
+            <key>
               <string>CopyrightAuthor</string>
             </key>
             <value>
@@ -278,6 +319,12 @@
               <string>eric</string>
             </value>
             <key>
+              <string>EnabledCheckerCategories</string>
+            </key>
+            <value>
+              <string>C, D, E, M, N, S, W</string>
+            </value>
+            <key>
               <string>ExcludeFiles</string>
             </key>
             <value>
@@ -287,7 +334,7 @@
               <string>ExcludeMessages</string>
             </key>
             <value>
-              <string>C101, E265, E266, E305, E402, M811, N802, N803, N807, N808, N821, W293</string>
+              <string>C101,E265,E266,E305,E402,M811,N802,N803,N807,N808,N821,W293</string>
             </value>
             <key>
               <string>FixCodes</string>
@@ -305,7 +352,7 @@
               <string>FutureChecker</string>
             </key>
             <value>
-              <string>unicode_literals</string>
+              <string></string>
             </value>
             <key>
               <string>HangClosing</string>
@@ -338,6 +385,12 @@
               <int>10</int>
             </value>
             <key>
+              <string>MaxDocLineLength</string>
+            </key>
+            <value>
+              <int>79</int>
+            </value>
+            <key>
               <string>MaxLineLength</string>
             </key>
             <value>
@@ -356,6 +409,91 @@
               <bool>True</bool>
             </value>
             <key>
+              <string>SecurityChecker</string>
+            </key>
+            <value>
+              <dict>
+                <key>
+                  <string>CheckTypedException</string>
+                </key>
+                <value>
+                  <bool>False</bool>
+                </value>
+                <key>
+                  <string>HardcodedTmpDirectories</string>
+                </key>
+                <value>
+                  <list>
+                    <string>/tmp</string>
+                    <string>/var/tmp</string>
+                    <string>/dev/shm</string>
+                    <string>~/tmp</string>
+                  </list>
+                </value>
+                <key>
+                  <string>InsecureHashes</string>
+                </key>
+                <value>
+                  <list>
+                    <string>md4</string>
+                    <string>md5</string>
+                    <string>sha</string>
+                    <string>sha1</string>
+                  </list>
+                </value>
+                <key>
+                  <string>InsecureSslProtocolVersions</string>
+                </key>
+                <value>
+                  <list>
+                    <string>PROTOCOL_SSLv2</string>
+                    <string>SSLv2_METHOD</string>
+                    <string>SSLv23_METHOD</string>
+                    <string>PROTOCOL_SSLv3</string>
+                    <string>PROTOCOL_TLSv1</string>
+                    <string>SSLv3_METHOD</string>
+                    <string>TLSv1_METHOD</string>
+                  </list>
+                </value>
+                <key>
+                  <string>WeakKeySizeDsaHigh</string>
+                </key>
+                <value>
+                  <string>1024</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeDsaMedium</string>
+                </key>
+                <value>
+                  <string>2048</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeEcHigh</string>
+                </key>
+                <value>
+                  <string>160</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeEcMedium</string>
+                </key>
+                <value>
+                  <string>224</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeRsaHigh</string>
+                </key>
+                <value>
+                  <string>1024</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeRsaMedium</string>
+                </key>
+                <value>
+                  <string>2048</string>
+                </value>
+              </dict>
+            </value>
+            <key>
               <string>ShowIgnored</string>
             </key>
             <value>
--- a/PySide2PyQt/Documentation/source/Plugin_Tools_PySide2PyQt.PluginPySide2PyQt.html	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/Documentation/source/Plugin_Tools_PySide2PyQt.PluginPySide2PyQt.html	Wed Jun 24 17:58:48 2020 +0200
@@ -18,194 +18,259 @@
 
 </style>
 </head>
-<body><a NAME="top" ID="top"></a>
+<body>
+<a NAME="top" ID="top"></a>
 <h1>Plugin_Tools_PySide2PyQt.PluginPySide2PyQt</h1>
+
 <p>
 Module implementing the PySide to PyQt (and vice versa) plug-in.
 </p>
 <h3>Global Attributes</h3>
+
 <table>
-<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>python2Compatible</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
+<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
 </table>
 <h3>Classes</h3>
+
 <table>
+
 <tr>
 <td><a href="#PySide2PyQtPlugin">PySide2PyQtPlugin</a></td>
 <td>Class implementing the PySide to PyQt (and vice versa) plugin.</td>
 </tr>
 </table>
 <h3>Functions</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
-<hr /><hr />
+<hr />
+<hr />
 <a NAME="PySide2PyQtPlugin" ID="PySide2PyQtPlugin"></a>
 <h2>PySide2PyQtPlugin</h2>
+
 <p>
     Class implementing the PySide to PyQt (and vice versa) plugin.
 </p>
 <h3>Derived from</h3>
 QObject
 <h3>Class Attributes</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Class Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Methods</h3>
+
 <table>
+
 <tr>
 <td><a href="#PySide2PyQtPlugin.__init__">PySide2PyQtPlugin</a></td>
 <td>Constructor</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__editorClosed">__editorClosed</a></td>
 <td>Private slot called, when an editor was closed.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__editorOpened">__editorOpened</a></td>
 <td>Private slot called, when a new editor was opened.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__editorShowMenu">__editorShowMenu</a></td>
 <td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__initMenu">__initMenu</a></td>
 <td>Private method to initialize the menu.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__loadTranslator">__loadTranslator</a></td>
 <td>Private method to load the translation file.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__populateMenu">__populateMenu</a></td>
 <td>Private slot to populate the tools menu with our entries.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__pyqt2Pyside">__pyqt2Pyside</a></td>
 <td>Private slot to convert the code of the current editor from PyQt to PySide.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.__pyside2Pyqt">__pyside2Pyqt</a></td>
 <td>Private slot to convert the code of the current editor from PySide to PyQt.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.activate">activate</a></td>
 <td>Public method to activate this plugin.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#PySide2PyQtPlugin.deactivate">deactivate</a></td>
 <td>Public method to deactivate this plugin.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <a NAME="PySide2PyQtPlugin.__init__" ID="PySide2PyQtPlugin.__init__"></a>
 <h4>PySide2PyQtPlugin (Constructor)</h4>
 <b>PySide2PyQtPlugin</b>(<i>ui</i>)
+
 <p>
         Constructor
-</p><dl>
+</p>
+<dl>
+
 <dt><i>ui</i></dt>
 <dd>
 reference to the user interface object (UI.UserInterface)
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.__editorClosed" ID="PySide2PyQtPlugin.__editorClosed"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.__editorClosed" ID="PySide2PyQtPlugin.__editorClosed"></a>
 <h4>PySide2PyQtPlugin.__editorClosed</h4>
 <b>__editorClosed</b>(<i>editor</i>)
+
 <p>
         Private slot called, when an editor was closed.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>editor</i></dt>
 <dd>
 reference to the editor (QScintilla.Editor)
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.__editorOpened" ID="PySide2PyQtPlugin.__editorOpened"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.__editorOpened" ID="PySide2PyQtPlugin.__editorOpened"></a>
 <h4>PySide2PyQtPlugin.__editorOpened</h4>
 <b>__editorOpened</b>(<i>editor</i>)
+
 <p>
         Private slot called, when a new editor was opened.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>editor</i></dt>
 <dd>
 reference to the new editor (QScintilla.Editor)
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.__editorShowMenu" ID="PySide2PyQtPlugin.__editorShowMenu"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.__editorShowMenu" ID="PySide2PyQtPlugin.__editorShowMenu"></a>
 <h4>PySide2PyQtPlugin.__editorShowMenu</h4>
 <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>)
+
 <p>
         Private slot called, when the the editor context menu or a submenu is
         about to be shown.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>menuName</i></dt>
 <dd>
 name of the menu to be shown (string)
-</dd><dt><i>menu</i></dt>
+</dd>
+<dt><i>menu</i></dt>
 <dd>
 reference to the menu (QMenu)
-</dd><dt><i>editor</i></dt>
+</dd>
+<dt><i>editor</i></dt>
 <dd>
 reference to the editor
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.__initMenu" ID="PySide2PyQtPlugin.__initMenu"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.__initMenu" ID="PySide2PyQtPlugin.__initMenu"></a>
 <h4>PySide2PyQtPlugin.__initMenu</h4>
 <b>__initMenu</b>(<i></i>)
+
 <p>
         Private method to initialize the menu.
-</p><a NAME="PySide2PyQtPlugin.__loadTranslator" ID="PySide2PyQtPlugin.__loadTranslator"></a>
+</p>
+<a NAME="PySide2PyQtPlugin.__loadTranslator" ID="PySide2PyQtPlugin.__loadTranslator"></a>
 <h4>PySide2PyQtPlugin.__loadTranslator</h4>
 <b>__loadTranslator</b>(<i></i>)
+
 <p>
         Private method to load the translation file.
-</p><a NAME="PySide2PyQtPlugin.__populateMenu" ID="PySide2PyQtPlugin.__populateMenu"></a>
+</p>
+<a NAME="PySide2PyQtPlugin.__populateMenu" ID="PySide2PyQtPlugin.__populateMenu"></a>
 <h4>PySide2PyQtPlugin.__populateMenu</h4>
 <b>__populateMenu</b>(<i>name, menu</i>)
+
 <p>
         Private slot to populate the tools menu with our entries.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>name</i></dt>
 <dd>
 name of the menu (string)
-</dd><dt><i>menu</i></dt>
+</dd>
+<dt><i>menu</i></dt>
 <dd>
 reference to the menu to be populated (QMenu)
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.__pyqt2Pyside" ID="PySide2PyQtPlugin.__pyqt2Pyside"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.__pyqt2Pyside" ID="PySide2PyQtPlugin.__pyqt2Pyside"></a>
 <h4>PySide2PyQtPlugin.__pyqt2Pyside</h4>
 <b>__pyqt2Pyside</b>(<i>pyqt, pyside</i>)
+
 <p>
         Private slot to convert the code of the current editor from PyQt
         to PySide.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>pyqt</i> (str)</dt>
 <dd>
-PyQt variant (pyqt4 or pyqt5)
-</dd><dt><i>pyside</i> (str)</dt>
+PyQt variant (pyqt5)
+</dd>
+<dt><i>pyside</i> (str)</dt>
 <dd>
-PySide variant (pyside or pyside2)
+PySide variant (pyside2)
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.__pyside2Pyqt" ID="PySide2PyQtPlugin.__pyside2Pyqt"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.__pyside2Pyqt" ID="PySide2PyQtPlugin.__pyside2Pyqt"></a>
 <h4>PySide2PyQtPlugin.__pyside2Pyqt</h4>
 <b>__pyside2Pyqt</b>(<i>pyside, pyqt</i>)
+
 <p>
         Private slot to convert the code of the current editor from PySide
         to PyQt.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>pyside</i> (str)</dt>
 <dd>
-PySide variant (pyside or pyside2)
-</dd><dt><i>pyqt</i> (str)</dt>
+PySide variant (pyside2)
+</dd>
+<dt><i>pyqt</i> (str)</dt>
 <dd>
-PyQt variant (pyqt4 or pyqt5)
+PyQt variant (pyqt5)
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.activate" ID="PySide2PyQtPlugin.activate"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.activate" ID="PySide2PyQtPlugin.activate"></a>
 <h4>PySide2PyQtPlugin.activate</h4>
 <b>activate</b>(<i></i>)
+
 <p>
         Public method to activate this plugin.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 tuple of None and activation status (boolean)
 </dd>
-</dl><a NAME="PySide2PyQtPlugin.deactivate" ID="PySide2PyQtPlugin.deactivate"></a>
+</dl>
+<a NAME="PySide2PyQtPlugin.deactivate" ID="PySide2PyQtPlugin.deactivate"></a>
 <h4>PySide2PyQtPlugin.deactivate</h4>
 <b>deactivate</b>(<i></i>)
+
 <p>
         Public method to deactivate this plugin.
 </p>
--- a/PySide2PyQt/Documentation/source/index-Plugin_Tools_PySide2PyQt.PySide2PyQt.html	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/Documentation/source/index-Plugin_Tools_PySide2PyQt.PySide2PyQt.html	Wed Jun 24 17:58:48 2020 +0200
@@ -20,6 +20,7 @@
 </head>
 <body>
 <h1>Plugin_Tools_PySide2PyQt.PySide2PyQt</h1>
+
 <p>
 Package implementing the PySide to PyQt (and vice versa) plug-in data.
 </p>
--- a/PySide2PyQt/Documentation/source/index-Plugin_Tools_PySide2PyQt.html	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/Documentation/source/index-Plugin_Tools_PySide2PyQt.html	Wed Jun 24 17:58:48 2020 +0200
@@ -20,12 +20,14 @@
 </head>
 <body>
 <h1>Plugin_Tools_PySide2PyQt</h1>
+
 <p>
 Package implementing the PySide to PyQt (and vice versa) plug-in.
 </p>
 
 <h3>Packages</h3>
 <table>
+
 <tr>
 <td><a href="index-Plugin_Tools_PySide2PyQt.PySide2PyQt.html">PySide2PyQt</a></td>
 <td>Package implementing the PySide to PyQt (and vice versa) plug-in data.</td>
@@ -34,6 +36,7 @@
 
 <h3>Modules</h3>
 <table>
+
 <tr>
 <td><a href="Plugin_Tools_PySide2PyQt.PluginPySide2PyQt.html">PluginPySide2PyQt</a></td>
 <td>Module implementing the PySide to PyQt (and vice versa) plug-in.</td>
--- a/PySide2PyQt/Documentation/source/index.html	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/Documentation/source/index.html	Wed Jun 24 17:58:48 2020 +0200
@@ -24,6 +24,7 @@
 
 <h3>Packages</h3>
 <table>
+
 <tr>
 <td><a href="index-Plugin_Tools_PySide2PyQt.html">Plugin_Tools_PySide2PyQt</a></td>
 <td>Package implementing the PySide to PyQt (and vice versa) plug-in.</td>
Binary file PySide2PyQt/i18n/pyside2pyqt_de.qm has changed
--- a/PySide2PyQt/i18n/pyside2pyqt_de.ts	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/i18n/pyside2pyqt_de.ts	Wed Jun 24 17:58:48 2020 +0200
@@ -1,40 +1,19 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.1" language="de_DE">
+<!DOCTYPE TS><TS version="2.0" language="de_DE" sourcelanguage="">
 <context>
     <name>PySide2PyQtPlugin</name>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="141"/>
-        <source>PySide to PyQt4</source>
-        <translation>PySide nach PyQt4</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="148"/>
-        <source>PyQt4 to PySide</source>
-        <translation>PyQt4 nach PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="140"/>
+        <location filename="../../PluginPySide2PyQt.py" line="136"/>
         <source>PySide to/from PyQt</source>
         <translation>PySide von/nach PyQt</translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="143"/>
-        <source>PySide to PyQt5</source>
-        <translation>PySide nach PyQt5</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="152"/>
-        <source>PyQt5 to PySide</source>
-        <translation>PyQt5 nach PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="145"/>
+        <location filename="../../PluginPySide2PyQt.py" line="137"/>
         <source>PySide2 to PyQt5</source>
         <translation>PySide2 nach PyQt5</translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="150"/>
+        <location filename="../../PluginPySide2PyQt.py" line="140"/>
         <source>PyQt5 to PySide2</source>
         <translation>PyQt5 nach PySide2</translation>
     </message>
--- a/PySide2PyQt/i18n/pyside2pyqt_empty.ts	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/i18n/pyside2pyqt_empty.ts	Wed Jun 24 17:58:48 2020 +0200
@@ -3,39 +3,19 @@
 <context>
     <name>PySide2PyQtPlugin</name>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="140"/>
+        <location filename="../../PluginPySide2PyQt.py" line="136"/>
         <source>PySide to/from PyQt</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="141"/>
-        <source>PySide to PyQt4</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="143"/>
-        <source>PySide to PyQt5</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="145"/>
+        <location filename="../../PluginPySide2PyQt.py" line="137"/>
         <source>PySide2 to PyQt5</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="148"/>
-        <source>PyQt4 to PySide</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="150"/>
+        <location filename="../../PluginPySide2PyQt.py" line="140"/>
         <source>PyQt5 to PySide2</source>
         <translation type="unfinished"></translation>
     </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="152"/>
-        <source>PyQt5 to PySide</source>
-        <translation type="unfinished"></translation>
-    </message>
 </context>
 </TS>
Binary file PySide2PyQt/i18n/pyside2pyqt_en.qm has changed
--- a/PySide2PyQt/i18n/pyside2pyqt_en.ts	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/i18n/pyside2pyqt_en.ts	Wed Jun 24 17:58:48 2020 +0200
@@ -3,37 +3,17 @@
 <context>
     <name>PySide2PyQtPlugin</name>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="141"/>
-        <source>PySide to PyQt4</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="148"/>
-        <source>PyQt4 to PySide</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="140"/>
+        <location filename="../../PluginPySide2PyQt.py" line="136"/>
         <source>PySide to/from PyQt</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="143"/>
-        <source>PySide to PyQt5</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="152"/>
-        <source>PyQt5 to PySide</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="145"/>
+        <location filename="../../PluginPySide2PyQt.py" line="137"/>
         <source>PySide2 to PyQt5</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="150"/>
+        <location filename="../../PluginPySide2PyQt.py" line="140"/>
         <source>PyQt5 to PySide2</source>
         <translation type="unfinished"></translation>
     </message>
Binary file PySide2PyQt/i18n/pyside2pyqt_es.qm has changed
--- a/PySide2PyQt/i18n/pyside2pyqt_es.ts	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/i18n/pyside2pyqt_es.ts	Wed Jun 24 17:58:48 2020 +0200
@@ -3,37 +3,17 @@
 <context>
     <name>PySide2PyQtPlugin</name>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="141"/>
-        <source>PySide to PyQt4</source>
-        <translation>PySide a PyQt4</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="148"/>
-        <source>PyQt4 to PySide</source>
-        <translation>PyQt4 a PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="140"/>
+        <location filename="../../PluginPySide2PyQt.py" line="136"/>
         <source>PySide to/from PyQt</source>
         <translation>PySide a/desde PyQt</translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="143"/>
-        <source>PySide to PyQt5</source>
-        <translation>PySide a PyQt5</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="152"/>
-        <source>PyQt5 to PySide</source>
-        <translation>PyQt4 a PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="145"/>
+        <location filename="../../PluginPySide2PyQt.py" line="137"/>
         <source>PySide2 to PyQt5</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="150"/>
+        <location filename="../../PluginPySide2PyQt.py" line="140"/>
         <source>PyQt5 to PySide2</source>
         <translation type="unfinished"></translation>
     </message>
Binary file PySide2PyQt/i18n/pyside2pyqt_pt.qm has changed
--- a/PySide2PyQt/i18n/pyside2pyqt_pt.ts	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/i18n/pyside2pyqt_pt.ts	Wed Jun 24 17:58:48 2020 +0200
@@ -3,37 +3,17 @@
 <context>
     <name>PySide2PyQtPlugin</name>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="141"/>
-        <source>PySide to PyQt4</source>
-        <translation>PySide a PyQt4</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="148"/>
-        <source>PyQt4 to PySide</source>
-        <translation>PyQt4 a PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="140"/>
+        <location filename="../../PluginPySide2PyQt.py" line="136"/>
         <source>PySide to/from PyQt</source>
         <translation>PySide de/a PyQt</translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="143"/>
-        <source>PySide to PyQt5</source>
-        <translation>PySide a PyQt5</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="152"/>
-        <source>PyQt5 to PySide</source>
-        <translation>PyQt5 a PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="145"/>
+        <location filename="../../PluginPySide2PyQt.py" line="137"/>
         <source>PySide2 to PyQt5</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="150"/>
+        <location filename="../../PluginPySide2PyQt.py" line="140"/>
         <source>PyQt5 to PySide2</source>
         <translation type="unfinished"></translation>
     </message>
Binary file PySide2PyQt/i18n/pyside2pyqt_ru.qm has changed
--- a/PySide2PyQt/i18n/pyside2pyqt_ru.ts	Wed Jan 01 11:59:03 2020 +0100
+++ b/PySide2PyQt/i18n/pyside2pyqt_ru.ts	Wed Jun 24 17:58:48 2020 +0200
@@ -3,37 +3,17 @@
 <context>
     <name>PySide2PyQtPlugin</name>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="141"/>
-        <source>PySide to PyQt4</source>
-        <translation>PySide в PyQt4</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="148"/>
-        <source>PyQt4 to PySide</source>
-        <translation>PyQt4 в PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="140"/>
+        <location filename="../../PluginPySide2PyQt.py" line="136"/>
         <source>PySide to/from PyQt</source>
         <translation>PySide в/из PyQt</translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="143"/>
-        <source>PySide to PyQt5</source>
-        <translation>PySide в PyQt5</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="152"/>
-        <source>PyQt5 to PySide</source>
-        <translation>PyQt5 в PySide</translation>
-    </message>
-    <message>
-        <location filename="../../PluginPySide2PyQt.py" line="145"/>
+        <location filename="../../PluginPySide2PyQt.py" line="137"/>
         <source>PySide2 to PyQt5</source>
         <translation>PySide2 в PyQt5</translation>
     </message>
     <message>
-        <location filename="../../PluginPySide2PyQt.py" line="150"/>
+        <location filename="../../PluginPySide2PyQt.py" line="140"/>
         <source>PyQt5 to PySide2</source>
         <translation>PyQt5 в PySide2</translation>
     </message>

eric ide

mercurial