mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeclarative: correct QImage binding function names
used for exceptions only Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9e021af628
commit
581e3037cf
1 changed files with 2 additions and 2 deletions
|
@ -57,14 +57,14 @@ static QScriptValue imageIsNull(QScriptContext *ctx, QScriptEngine *eng)
|
|||
static QScriptValue imageWidth(QScriptContext *ctx, QScriptEngine *eng)
|
||||
{
|
||||
Q_UNUSED(eng)
|
||||
DECLARE_SELF(QImage, null);
|
||||
DECLARE_SELF(QImage, width);
|
||||
return self->width();
|
||||
}
|
||||
|
||||
static QScriptValue imageHeight(QScriptContext *ctx, QScriptEngine *eng)
|
||||
{
|
||||
Q_UNUSED(eng)
|
||||
DECLARE_SELF(QImage, null);
|
||||
DECLARE_SELF(QImage, height);
|
||||
return self->height();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue