File indexing completed on 2024-05-19 04:38:48

0001 {% load kdev_filters %}
0002 {% include "license_header_cpp.txt" %}
0003 
0004 
0005 #ifndef {% include "include_guard_cpp.txt" %}
0006 #define {% include "include_guard_cpp.txt" %}
0007 
0008 
0009 #include <QObject>
0010 
0011 
0012 class {{ name }} : public QObject
0013 {
0014     Q_OBJECT
0015 
0016 
0017 private Q_SLOTS:
0018     void initTestCase();
0019     void cleanupTestCase();
0020 
0021 
0022     {% for case in testCases %}
0023     void {% if test_prefixMethods %}test{{ case|upper_first }}{% else %}{{ case }}{% endif %}();
0024     {% endfor %}
0025 };
0026 
0027 
0028 #endif // {% include "include_guard_cpp.txt" %}