summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Q_SIGNAL_SLOT.cpp
blob: 5a4c8e7d68503f76a611dc7e4232485b5f962da4 (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 >)));