summaryrefslogtreecommitdiffstats
path: root/src/render/texture/qabstracttextureprovider.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-08 11:50:37 +0200
committerTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-09 05:18:19 +0000
commit0e15154c9f0d982096a551efc53fd363d2b2f68d (patch)
tree4917ca73c44a92297db7cc3dbd72d2716481ccc7 /src/render/texture/qabstracttextureprovider.cpp
parent036ea9fcfdd343c805e1a900528e7a2367d6c373 (diff)
Added parameters to signals and made setters Q_SLOTS
Change-Id: Icec2f9f207221e35ffdeeb594bb9b4dc6ef890f1 Task-number: QTBUG-49797 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/texture/qabstracttextureprovider.cpp')
-rw-r--r--src/render/texture/qabstracttextureprovider.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/render/texture/qabstracttextureprovider.cpp b/src/render/texture/qabstracttextureprovider.cpp
index 2f91fd385..ca9849771 100644
--- a/src/render/texture/qabstracttextureprovider.cpp
+++ b/src/render/texture/qabstracttextureprovider.cpp
@@ -147,7 +147,7 @@ void QAbstractTextureProvider::setWidth(int width)
Q_D(QAbstractTextureProvider);
if (d->m_width != width) {
d->m_width = width;
- emit widthChanged();
+ emit widthChanged(width);
}
}
@@ -161,7 +161,7 @@ void QAbstractTextureProvider::setHeight(int height)
Q_D(QAbstractTextureProvider);
if (d->m_height != height) {
d->m_height = height;
- emit heightChanged();
+ emit heightChanged(height);
}
}
@@ -175,7 +175,7 @@ void QAbstractTextureProvider::setDepth(int depth)
Q_D(QAbstractTextureProvider);
if (d->m_depth != depth) {
d->m_depth = depth;
- emit depthChanged();
+ emit depthChanged(depth);
}
}
@@ -211,7 +211,7 @@ void QAbstractTextureProvider::setMaximumLayers(int maximumLayers)
Q_D(QAbstractTextureProvider);
if (d->m_maximumLayers != maximumLayers) {
d->m_maximumLayers = maximumLayers;
- emit maximumLayersChanged();
+ emit maximumLayersChanged(maximumLayers);
}
}
@@ -245,7 +245,7 @@ void QAbstractTextureProvider::setUnique(bool unique)
Q_D(QAbstractTextureProvider);
if (d->m_unique != unique) {
d->m_unique = unique;
- emit uniqueChanged();
+ emit uniqueChanged(unique);
}
}
@@ -270,7 +270,7 @@ void QAbstractTextureProvider::setFormat(TextureFormat format)
Q_D(QAbstractTextureProvider);
if (d->m_format != format) {
d->m_format = format;
- emit formatChanged();
+ emit formatChanged(format);
}
}
@@ -293,7 +293,7 @@ void QAbstractTextureProvider::setStatus(Status status)
Q_D(QAbstractTextureProvider);
if (status != d->m_status) {
d->m_status = status;
- emit statusChanged();
+ emit statusChanged(status);
}
}
@@ -382,7 +382,7 @@ void QAbstractTextureProvider::setGenerateMipMaps(bool gen)
Q_D(QAbstractTextureProvider);
if (d->m_autoMipMap != gen) {
d->m_autoMipMap = gen;
- emit generateMipMapsChanged();
+ emit generateMipMapsChanged(gen);
}
}
@@ -402,7 +402,7 @@ void QAbstractTextureProvider::setMinificationFilter(Filter f)
Q_D(QAbstractTextureProvider);
if (d->m_minFilter != f) {
d->m_minFilter = f;
- emit minificationFilterChanged();
+ emit minificationFilterChanged(f);
}
}
@@ -416,7 +416,7 @@ void QAbstractTextureProvider::setMagnificationFilter(Filter f)
Q_D(QAbstractTextureProvider);
if (d->m_magFilter != f) {
d->m_magFilter = f;
- emit magnificationFilterChanged();
+ emit magnificationFilterChanged(f);
}
}
@@ -479,7 +479,7 @@ void QAbstractTextureProvider::setMaximumAnisotropy(float anisotropy)
Q_D(QAbstractTextureProvider);
if (!qFuzzyCompare(d->m_maximumAnisotropy, anisotropy)) {
d->m_maximumAnisotropy = anisotropy;
- emit maximumAnisotropyChanged();
+ emit maximumAnisotropyChanged(anisotropy);
}
}
@@ -499,7 +499,7 @@ void QAbstractTextureProvider::setComparisonFunction(QAbstractTextureProvider::C
Q_D(QAbstractTextureProvider);
if (d->m_comparisonFunction != function) {
d->m_comparisonFunction = function;
- emit comparisonFunctionChanged();
+ emit comparisonFunctionChanged(function);
}
}
@@ -519,7 +519,7 @@ void QAbstractTextureProvider::setComparisonMode(QAbstractTextureProvider::Compa
Q_D(QAbstractTextureProvider);
if (d->m_comparisonMode != mode) {
d->m_comparisonMode = mode;
- emit comparisonModeChanged();
+ emit comparisonModeChanged(mode);
}
}