CC: int instead of qint32

This commit is contained in:
Casian Andrei 2012-08-24 17:08:11 +03:00
parent fadb6636af
commit 2afa88a889
2 changed files with 5 additions and 5 deletions

View file

@ -211,7 +211,7 @@ public:
qreal decorationOpacity;
qreal saturation;
qreal brightness;
qint32 screen;
int screen;
};
WindowPaintData::WindowPaintData(EffectWindow* w)
@ -272,7 +272,7 @@ qreal WindowPaintData::brightness() const
return d->brightness;
}
qint32 WindowPaintData::screen() const
int WindowPaintData::screen() const
{
return d->screen;
}
@ -297,7 +297,7 @@ void WindowPaintData::setBrightness(qreal brightness)
d->brightness = brightness;
}
void WindowPaintData::setScreen(qint32 screen) const
void WindowPaintData::setScreen(int screen) const
{
d->screen = screen;
}

View file

@ -1943,12 +1943,12 @@ public:
* color correction lookup tables because they have different ICC profiles).
* @return screen for which painting should be done
*/
qint32 screen() const;
int screen() const;
/**
* @param screen New screen number
* A value less than 0 will indicate that a default profile should be done.
*/
void setScreen(qint32 screen) const;
void setScreen(int screen) const;
WindowQuadList quads;
/**
* Shader to be used for rendering, if any.