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

Method superSlot1

tests/testqt.cc:42–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42void MyObject::superSlot1(const QString& myString, const uint s)
43{
44 MyObject stackOj;
45 connect(&stackOj, SIGNAL(mySignal1(QString, uint ,QMap<int,QString>)), SLOT(anotherSlot(QString,uint,QMap<int,QString>)));
46
47 connect(&stackOj, SIGNAL(mySignal2( const QString & ,uint)), this, SLOT(superSlot1( const QString &, const unsigned int & )));
48
49 connect(this, SIGNAL ( destroyed(QObject*) ), this, SLOT(superSlot2()));
50
51 stackOj.connect(this, SIGNAL(mySignal1(QString,uint,QMap<int,QString>)), SLOT(superSlot1(QString,uint)));
52
53 connect(this, SIGNAL(pointerSignal(const QObject*)) ,this, SLOT(myPrivateSlot()));
54 connect(this, SIGNAL(myBoolSignal(bool)) ,this, SLOT(deleteLater()));
55 connect(this, SIGNAL(downloadMetaData(QList<QPair<QByteArray,QByteArray> >,int,QString,bool,QSharedPointer<char>,qint64)),
56 this, SLOT(deleteLater()));
57
58 QMetaObject::invokeMethod(this, "superSlot1", Q_ARG(QString, "123"), Q_ARG(uint,5));
59 QMetaObject::invokeMethod(&stackOj, "superSlot2");
60}
61
62
63#define DO( _, X ) X

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected