From 1f461694c0ebcae10689323f3bb51f91ea21d718 Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 15 Dec 2009 09:12:18 +0000 Subject: [PATCH] Change the name convention for the qvariant_converter implementation files. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3121 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/qvariant_converter.py | 9 ++++++--- ...ariant_converter_new.py => qvariant_converter_4_4.py} | 0 ...iant_converter_newer.py => qvariant_converter_4_5.py} | 0 ...ant_converter_newest.py => qvariant_converter_4_6.py} | 0 4 files changed, 6 insertions(+), 3 deletions(-) rename wizard/{qvariant_converter_new.py => qvariant_converter_4_4.py} (100%) rename wizard/{qvariant_converter_newer.py => qvariant_converter_4_5.py} (100%) rename wizard/{qvariant_converter_newest.py => qvariant_converter_4_6.py} (100%) diff --git a/wizard/qvariant_converter.py b/wizard/qvariant_converter.py index 9b24b0c1..97dccefa 100644 --- a/wizard/qvariant_converter.py +++ b/wizard/qvariant_converter.py @@ -35,11 +35,14 @@ from PyQt4.QtCore import PYQT_VERSION_STR +# Choose the right version of the qvariant_converter module. It's awful, +# I know, but this is the only solution in order to mantain compatibility +# with older PyQt4 version. if PYQT_VERSION_STR <= "4.4.3": from qvariant_converter_old import * elif PYQT_VERSION_STR < "4.5.0": - from qvariant_converter_new import * + from qvariant_converter_4_4 import * elif PYQT_VERSION_STR < "4.6.0": - from qvariant_converter_newer import * + from qvariant_converter_4_5 import * else: - from qvariant_converter_newest import * + from qvariant_converter_4_6 import * diff --git a/wizard/qvariant_converter_new.py b/wizard/qvariant_converter_4_4.py similarity index 100% rename from wizard/qvariant_converter_new.py rename to wizard/qvariant_converter_4_4.py diff --git a/wizard/qvariant_converter_newer.py b/wizard/qvariant_converter_4_5.py similarity index 100% rename from wizard/qvariant_converter_newer.py rename to wizard/qvariant_converter_4_5.py diff --git a/wizard/qvariant_converter_newest.py b/wizard/qvariant_converter_4_6.py similarity index 100% rename from wizard/qvariant_converter_newest.py rename to wizard/qvariant_converter_4_6.py -- 2.25.1