Fix code style and add license headers.
This commit is contained in:
parent
2e1ff21938
commit
07d0879700
2 changed files with 49 additions and 11 deletions
|
|
@ -1,32 +1,48 @@
|
||||||
|
/*
|
||||||
|
* This file is part of the PySide project.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||||
|
*
|
||||||
|
* Contact: PySide team <contact@pyside.org>
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
#include "testobject.h"
|
#include "testobject.h"
|
||||||
|
|
||||||
void
|
void TestObject::emitIdValueSignal()
|
||||||
TestObject::emitIdValueSignal()
|
|
||||||
{
|
{
|
||||||
emit idValue(m_idValue);
|
emit idValue(m_idValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void TestObject::emitStaticMethodDoubleSignal()
|
||||||
TestObject::emitStaticMethodDoubleSignal()
|
|
||||||
{
|
{
|
||||||
emit staticMethodDouble();
|
emit staticMethodDouble();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void TestObject::emitSignalWithDefaultValue_void()
|
||||||
TestObject::emitSignalWithDefaultValue_void()
|
|
||||||
{
|
{
|
||||||
emit signalWithDefaultValue();
|
emit signalWithDefaultValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void TestObject::emitSignalWithDefaultValue_bool()
|
||||||
TestObject::emitSignalWithDefaultValue_bool()
|
|
||||||
{
|
{
|
||||||
emit signalWithDefaultValue(true);
|
emit signalWithDefaultValue(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void TestObject::emitSignalWithTypedefValue(int value)
|
||||||
TestObject::emitSignalWithTypedefValue(int value)
|
|
||||||
{
|
{
|
||||||
emit signalWithTypedefValue(TypedefValue(value));
|
emit signalWithTypedefValue(TypedefValue(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,25 @@
|
||||||
|
/*
|
||||||
|
* This file is part of the PySide project.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||||
|
*
|
||||||
|
* Contact: PySide team <contact@pyside.org>
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef TESTOBJECT_H
|
#ifndef TESTOBJECT_H
|
||||||
#define TESTOBJECT_H
|
#define TESTOBJECT_H
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue