aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/systray
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-02 16:11:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-02 16:12:04 +0000
commit25180730194bec25f915f32ab846ea583fb1493f (patch)
tree9a73e0336ecf21e085d99d6a651c5547b9eb99f8 /examples/widgets/systray
parent6e3e7b9ca0548430aaa5e2555d6e02c64625fa3f (diff)
Rename PySide2 to PySide6
Adapt CMake files, build scripts, tests and examples. Task-number: PYSIDE-904 Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/widgets/systray')
-rw-r--r--examples/widgets/systray/main.py2
-rw-r--r--examples/widgets/systray/rc_systray.py2
-rw-r--r--examples/widgets/systray/window.py6
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/widgets/systray/main.py b/examples/widgets/systray/main.py
index 4fad002a6..58acbb93b 100644
--- a/examples/widgets/systray/main.py
+++ b/examples/widgets/systray/main.py
@@ -40,7 +40,7 @@
import sys
-from PySide2.QtWidgets import QApplication, QMessageBox, QSystemTrayIcon
+from PySide6.QtWidgets import QApplication, QMessageBox, QSystemTrayIcon
from window import Window
diff --git a/examples/widgets/systray/rc_systray.py b/examples/widgets/systray/rc_systray.py
index 2d59adc74..bc4779646 100644
--- a/examples/widgets/systray/rc_systray.py
+++ b/examples/widgets/systray/rc_systray.py
@@ -3,7 +3,7 @@
# Created by: The Resource Compiler for Qt version 5.15.0
# WARNING! All changes made in this file will be lost!
-from PySide2 import QtCore
+from PySide6 import QtCore
qt_resource_data = b"\
\x00\x00d\xb4\
diff --git a/examples/widgets/systray/window.py b/examples/widgets/systray/window.py
index 634646327..f1b8eec11 100644
--- a/examples/widgets/systray/window.py
+++ b/examples/widgets/systray/window.py
@@ -38,9 +38,9 @@
##
#############################################################################
-from PySide2.QtCore import Slot
-from PySide2.QtGui import QAction, QIcon
-from PySide2.QtWidgets import (QCheckBox, QComboBox, QDialog,
+from PySide6.QtCore import Slot
+from PySide6.QtGui import QAction, QIcon
+from PySide6.QtWidgets import (QCheckBox, QComboBox, QDialog,
QGridLayout, QGroupBox, QHBoxLayout, QLabel,
QLineEdit, QMenu, QMessageBox, QPushButton,
QSpinBox, QStyle, QSystemTrayIcon, QTextEdit,