Hello.
In C# in order to connect a signal to slot (delegate to method) all i do is:
first.signal += second.slot
But in Qt it is:
connect( & first, SIGNAL( signal( int, int, QString ) ), & second, SLOT( slot( int, int, QSTring ) ) );
And this one is counted short, normally they are spawned 2-3 lines. Of course i fully understood that Qt mocks only .h files and for .cpp they are bound to standard syntax, but is it any tricks / ways to make signal-slot connectons a bit shorter? I know about auto-connecting signals to slots by giving them special names, but this works only for signals in .ui file. Any hints?