2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2007 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef CORE__COMPONENT_H
12 #define CORE__COMPONENT_H
14 #include "component_fwd.h"
18 #include <QMetaMethod>
21 * @brief A Component is a reusable unit in the description of a Tagua variant.
23 class TAGUA_EXPORT Component
: public QObject
{
29 static inline void dump_component_methods(Component
* c
) {
30 const QMetaObject
* mo
= c
->metaObject();
31 for (int i
=0; i
< mo
->methodCount(); i
++)
32 kDebug() << " ** " << mo
->method(i
).signature() << "->" << mo
->method(i
).typeName();
35 #endif // CORE__COMPONENT_H