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

Method anotherSlot

tests/testqt.cc:79–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79void MyObject::anotherSlot(const QString& str1, unsigned int i1, const QMap< int, QString >& map)
80{
81 QScopedPointer<QTimer> t(new QTimer);
82
83 connect(t.data(), SIGNAL(timeout()), &*t, SLOT(start()));
84
85 t->connect(this, SIGNAL(destroyed(QObject*)), SLOT(stop()));
86
87 t->connect(this, SIGNAL(invalidSignal(ErrorType)), SLOT(deletaLater()));
88
89 disconnect(this, SIGNAL(mySignal1(QString,uint,QMap<int,QString>)), 0, 0);
90
91 disconnect(this, SIGNAL(pointerSignal(const QObject*)), 0, 0);
92}
93
94
95class OverLoadTest : public QObject {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected