diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-06-07 16:18:58 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:04 -0300 |
commit | 644d7b74d18a5838a7f26de02bd0aa9a212de85c (patch) | |
tree | ed946d547d5dc0a6e6893ab22efb412d0ab35716 /tests/testprimitivetypetag.h | |
parent | 99d400c0ca0f139714448bc8ab3796495d8b316d (diff) |
Added the "default-constructor" attribute to the "primitive-type" tag.
The default-constructor attribute specifies a way to build an instance
of a class declared as primitive type using default arguments.
Documentation and a test were also added.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/testprimitivetypetag.h')
-rw-r--r-- | tests/testprimitivetypetag.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/testprimitivetypetag.h b/tests/testprimitivetypetag.h new file mode 100644 index 000000000..676174ddd --- /dev/null +++ b/tests/testprimitivetypetag.h @@ -0,0 +1,36 @@ +/* +* This file is part of the API Extractor project. +* +* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +* +* Contact: PySide team <contact@pyside.org> +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* version 2 as published by the Free Software Foundation. +* +* This program 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 +* General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +* 02110-1301 USA +* +*/ + +#ifndef TESTPRIMITIVETYPETAG_H +#define TESTPRIMITIVETYPETAG_H + +#include <QObject> + +class TestPrimitiveTypeTag : public QObject +{ + Q_OBJECT + private slots: + void testPrimitiveTypeDefaultConstructor(); +}; + +#endif |