File indexing completed on 2024-05-12 04:37:34

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     {% if testCase_initAndCleanup %}
0019     void initTestCase();
0020     void cleanupTestCase();
0021 
0022 
0023     {% endif %}
0024     {% if test_initAndCleanup %}
0025     void init();
0026     void cleanup();
0027 
0028 
0029     {% endif %}
0030     {% for case in testCases %}
0031     void {% if test_prefixMethods %}test{{ case|upper_first }}{% else %}{{ case }}{% endif %}();
0032     {% endfor %}
0033 };
0034 
0035 
0036 #endif // {% include "include_guard_cpp.txt" %}