| 110 | }; |
| 111 | |
| 112 | class OverrideTest : public OverLoadTest { |
| 113 | signals: |
| 114 | void ovr(int); // from reimpl |
| 115 | |
| 116 | public slots: |
| 117 | void doThings(int = 4) { |
| 118 | connect(this, SIGNAL(ovr()), this, SLOT(doThings())); //ovr should NOT be from reimpl |
| 119 | connect(this, SIGNAL(ovr(int)), this, SLOT(doThings(int))); // should be from reimpl |
| 120 | connect(this, SIGNAL(ovr(QString)), this, SLOT(doThings())); |
| 121 | connect(this, SIGNAL(ovr(QString, int)), this, SLOT(doThings())); |
| 122 | connect(this, SIGNAL(ovr(QString*)), this, SLOT(doThings())); //error on purpose |
| 123 | } |
| 124 | }; |
| 125 | |
| 126 | |
| 127 | namespace TestNS { |
nothing calls this directly
no outgoing calls
no test coverage detected