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

Class OverrideTest

tests/testqt.cc:112–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110};
111
112class OverrideTest : public OverLoadTest {
113signals:
114 void ovr(int); // from reimpl
115
116public 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
127namespace TestNS {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected