aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/signals
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2020-10-27 20:12:12 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-10-28 13:56:40 +0000
commit1fceed1fc3565080eef556c9b71498780aa94bf2 (patch)
tree848628ec5561e8c90d19cf3996f1047d39ab7928 /examples/declarative/signals
parent1bc8c8ce262d80bbea0141f48055342adca9e3f9 (diff)
examples: Remove Python 2.7 and <3.6 related code
* removing from __future__ import ... * updating CMakeLists.txt files * removing special if-else for Python 2 and 3 Change-Id: I8a34b06b6b384ebc5323f20f7c15c357a5be6d62 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/declarative/signals')
-rw-r--r--examples/declarative/signals/pytoqml1/main.py2
-rw-r--r--examples/declarative/signals/qmltopy1/main.py2
-rw-r--r--examples/declarative/signals/qmltopy2/main.py2
-rw-r--r--examples/declarative/signals/qmltopy3/main.py2
-rw-r--r--examples/declarative/signals/qmltopy4/main.py2
5 files changed, 0 insertions, 10 deletions
diff --git a/examples/declarative/signals/pytoqml1/main.py b/examples/declarative/signals/pytoqml1/main.py
index 218d885a0..b57809392 100644
--- a/examples/declarative/signals/pytoqml1/main.py
+++ b/examples/declarative/signals/pytoqml1/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QTimer, QUrl
diff --git a/examples/declarative/signals/qmltopy1/main.py b/examples/declarative/signals/qmltopy1/main.py
index 1342dbadb..a2adfef29 100644
--- a/examples/declarative/signals/qmltopy1/main.py
+++ b/examples/declarative/signals/qmltopy1/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QObject, QUrl, Slot
diff --git a/examples/declarative/signals/qmltopy2/main.py b/examples/declarative/signals/qmltopy2/main.py
index 9b0aca815..0fc6a2225 100644
--- a/examples/declarative/signals/qmltopy2/main.py
+++ b/examples/declarative/signals/qmltopy2/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QObject, QUrl, Slot
diff --git a/examples/declarative/signals/qmltopy3/main.py b/examples/declarative/signals/qmltopy3/main.py
index 485dd62f5..0ba50fae8 100644
--- a/examples/declarative/signals/qmltopy3/main.py
+++ b/examples/declarative/signals/qmltopy3/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QUrl
diff --git a/examples/declarative/signals/qmltopy4/main.py b/examples/declarative/signals/qmltopy4/main.py
index d165e61f3..278f3526f 100644
--- a/examples/declarative/signals/qmltopy4/main.py
+++ b/examples/declarative/signals/qmltopy4/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QObject, QUrl