From 189f819867cbf15511b5fd4954ab475f8fa0aad4 Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Mon, 26 Sep 2016 14:08:49 +0200 Subject: [PATCH] QStringListModel -> QtCore --- qtpy/QtCore.py | 6 ++++-- qtpy/QtWidgets.py | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/qtpy/QtCore.py b/qtpy/QtCore.py index bde48a77..6794cb45 100644 --- a/qtpy/QtCore.py +++ b/qtpy/QtCore.py @@ -32,7 +32,8 @@ from PyQt4.QtCore import pyqtSlot as Slot from PyQt4.QtCore import pyqtProperty as Property from PyQt4.QtGui import (QItemSelection, QItemSelectionModel, - QItemSelectionRange, QSortFilterProxyModel) + QItemSelectionRange, QSortFilterProxyModel, + QStringListModel) from PyQt4.QtCore import QT_VERSION_STR as __version__ # Those are imported from `import *` @@ -40,7 +41,8 @@ elif PYSIDE: from PySide.QtCore import * from PySide.QtGui import (QItemSelection, QItemSelectionModel, - QItemSelectionRange, QSortFilterProxyModel) + QItemSelectionRange, QSortFilterProxyModel, + QStringListModel) import PySide.QtCore __version__ = PySide.QtCore.__version__ else: diff --git a/qtpy/QtWidgets.py b/qtpy/QtWidgets.py index 96134648..62fa44ec 100644 --- a/qtpy/QtWidgets.py +++ b/qtpy/QtWidgets.py @@ -53,7 +53,8 @@ QTextTableCellFormat, QTextTableFormat, QTouchEvent, QTransform, QValidator, QVector2D, QVector3D, QVector4D, QWhatsThisClickedEvent, QWheelEvent, QWindowStateChangeEvent, qAlpha, qBlue, qFuzzyCompare, - qGray, qGreen, qIsGray, qRed, qRgb, qRgba, QIntValidator) + qGray, qGreen, qIsGray, qRed, qRgb, qRgba, QIntValidator, + QStringListModel) # These objects belong to QtPrintSupport del (QAbstractPrintDialog, QPageSetupDialog, QPrintDialog, QPrintEngine, @@ -102,7 +103,7 @@ QTextTableCellFormat, QTextTableFormat, QTouchEvent, QTransform, QValidator, QVector2D, QVector3D, QVector4D, QWhatsThisClickedEvent, QWheelEvent, QWindowStateChangeEvent, qAlpha, qBlue, qGray, qGreen, - qIsGray, qRed, qRgb, qRgba, QIntValidator) + qIsGray, qRed, qRgb, qRgba, QIntValidator, QStringListModel) # These objects belong to QtPrintSupport del (QAbstractPrintDialog, QPageSetupDialog, QPrintDialog, QPrintEngine,