MCPcopy Create free account
hub / github.com/KDAB/codebrowser / MyObject

Class MyObject

tests/testqt.cc:9–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7};
8
9class MyObject : public QObject {
10 Q_OBJECT
11 Q_DECLARE_PRIVATE(MyObject)
12public slots:
13
14 void superSlot1(const QString &myString, const uint s);
15
16 // this slot can be connected to everythinig
17 void superSlot2(void * = nullptr);
18
19 void anotherSlot(const QString &str1, unsigned int i1, const QMap<int, QString> &map);
20
21signals:
22 // this one contains unsigned
23 void mySignal1(const QString &str1, unsigned int i1, const QMap<int, QString> &map);
24
25 // with a default argument
26 void mySignal2(QString, uint c = 0);
27
28 void pointerSignal(const QObject *);
29
30 void myBoolSignal(bool);
31
32// void invalidSignal(InvalidTypeGoesHere);
33
34 void downloadMetaData(QList<QPair<QByteArray,QByteArray> >,int,QString,bool,QSharedPointer<char>,qint64);
35
36public:
37 QPainter *p;
38
39};
40
41
42void MyObject::superSlot1(const QString& myString, const uint s)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected