Debian Codegraph @

examples/specific/qtsignalsandslots.h

raw symbols SCIP
1 #ifndef QT_OBJECT_H
2 #define QT_OBJECT_H
3
4 /*!
5 *\brief Forward declaration of QT API class
6
7 QT slots and signals typically `#include <QObject>`, but this example is parsed without QT SDK installed.
8 */
9 extern class QObject;
10
11 class QtSignalSlotExample: public QObject
12 {
13 Q_OBJECT
14
15 public:
16
17 /*!
18 *\param iShownParameter
19 This is shown in declaration
20 */
21 void workingFunction( int iShownParameter ) { Q_UNUSED( iShownParameter ; ) }
22
23 signals:
24
25 /*!
26 \param iShown
27 This is in function declaration
28 */
29 void workingSignal( int iShown );
30
31 public slots:
32
33 /*!
34 \param iShown
35 This is in function declaration
36 */
37 void workingSlot( int iShown ) { iShown; }
38 };
39
40 #endif