toolbar: add backwards-compatibility for Commit::StageAll
[git-cola.git] / qtpy / QtNfc.py
blob380072482eec2bfe945c891a9dd76d83cf580b48
1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides QtNfc classes and functions."""
10 from . import (
11 PYQT5,
12 PYQT6,
13 PYSIDE2,
14 PYSIDE6,
15 QtBindingMissingModuleError,
18 if PYQT5:
19 from PyQt5.QtNfc import *
20 elif PYQT6:
21 from PyQt6.QtNfc import *
22 elif PYSIDE2:
23 raise QtBindingMissingModuleError(name='QtNfc')
24 elif PYSIDE6:
25 from PySide6.QtNfc import *