summaryrefslogtreecommitdiff
path: root/src/controls/Private/qquickstyleitem_p.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2016-03-17 16:34:58 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-03-18 08:12:15 +0000
commit5cf6ad9165cc38b7b2a7e2421d70f0d93256c866 (patch)
tree09f63a49f570bc5f4d3b3a922c4112a1d2ab37d1 /src/controls/Private/qquickstyleitem_p.h
parent463b8d7bb53ae5ea08ec6caafdf1754ca015603a (diff)
downloadqtquickcontrols-5cf6ad9165cc38b7b2a7e2421d70f0d93256c866.tar.gz
Controls: append "1" to all C++ classes
This is consistent with the classes that have already had this done. It prevents clashes with Qt Quick Controls 2. These classes are not available to the user, so it doesn't affect compatibility. Change-Id: Iee73ee6bc530182732ae95993e1f4fc3766eb8e0 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls/Private/qquickstyleitem_p.h')
-rw-r--r--src/controls/Private/qquickstyleitem_p.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/controls/Private/qquickstyleitem_p.h b/src/controls/Private/qquickstyleitem_p.h
index 1cc27ca0..19cc15cf 100644
--- a/src/controls/Private/qquickstyleitem_p.h
+++ b/src/controls/Private/qquickstyleitem_p.h
@@ -50,19 +50,19 @@ QT_BEGIN_NAMESPACE
class QWidget;
class QStyleOption;
-class QQuickTableRowImageProvider : public QQuickImageProvider
+class QQuickTableRowImageProvider1 : public QQuickImageProvider
{
public:
- QQuickTableRowImageProvider()
+ QQuickTableRowImageProvider1()
: QQuickImageProvider(QQuickImageProvider::Pixmap) {}
QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize);
};
-class QQuickStyleItem: public QQuickItem
+class QQuickStyleItem1: public QQuickItem
{
Q_OBJECT
- Q_PROPERTY(QQuickPadding* border READ border CONSTANT)
+ Q_PROPERTY(QQuickPadding1* border READ border CONSTANT)
Q_PROPERTY( bool sunken READ sunken WRITE setSunken NOTIFY sunkenChanged)
Q_PROPERTY( bool raised READ raised WRITE setRaised NOTIFY raisedChanged)
@@ -95,11 +95,11 @@ class QQuickStyleItem: public QQuickItem
Q_PROPERTY( int textureWidth READ textureWidth WRITE setTextureWidth NOTIFY textureWidthChanged)
Q_PROPERTY( int textureHeight READ textureHeight WRITE setTextureHeight NOTIFY textureHeightChanged)
- QQuickPadding* border() { return &m_border; }
+ QQuickPadding1* border() { return &m_border; }
public:
- QQuickStyleItem(QQuickItem *parent = 0);
- ~QQuickStyleItem();
+ QQuickStyleItem1(QQuickItem *parent = 0);
+ ~QQuickStyleItem1();
enum Type {
Undefined,
@@ -289,7 +289,7 @@ protected:
int m_textureHeight;
QImage m_image;
- QQuickPadding m_border;
+ QQuickPadding1 m_border;
};
QT_END_NAMESPACE