| 7 | }; |
| 8 | |
| 9 | class MyObject : public QObject { |
| 10 | Q_OBJECT |
| 11 | Q_DECLARE_PRIVATE(MyObject) |
| 12 | public 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 | |
| 21 | signals: |
| 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 | |
| 36 | public: |
| 37 | QPainter *p; |
| 38 | |
| 39 | }; |
| 40 | |
| 41 | |
| 42 | void MyObject::superSlot1(const QString& myString, const uint s) |
nothing calls this directly
no outgoing calls
no test coverage detected