summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/33012-Q_SIGNAL_SLOT.cpp
blob: faf0090337efcef24b6a3f3bf55b4b7abcafb380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bool AkonadiServer::init()
{
    connect(watcher, SIGNAL(serviceOwnerChanged(QString,QString,QString)),
            this, SLOT(serviceOwnerChanged(QString,QString,QString)));
    return true;
}

connect(&mapper, SIGNAL(mapped(Q1&)), this, SLOT(onSomeEvent(const Q2&)));

connect(&mapper,
        SIGNAL(mapped(Q1&)),
        this,
        SLOT(onSomeEvent(const Q2&)));

connect(&mapper,
        SIGNAL(emitted(Q1*)),
        this,
        SLOT(accept(const Q2*)));

connect(&mapper,
        SIGNAL(emitted(X<int>)),
        this,
        SLOT(accept(X<int>)));