forked from blue/squawk
Refactoring of signal/slots connection to new qt syntax
This commit is contained in:
parent
9d491e9e93
commit
0b57e6a77f
16 changed files with 81 additions and 83 deletions
|
@ -26,7 +26,7 @@ Room::Room(Models::Room* p_room, QWidget* parent):
|
|||
line->setMyName(room->getNick());
|
||||
setStatus(room->getSubject());
|
||||
|
||||
connect(room, SIGNAL(childChanged(Models::Item*, int, int)), this, SLOT(onRoomChanged(Models::Item*, int, int)));
|
||||
connect(room, &Models::Room::childChanged, this, &Room::onRoomChanged);
|
||||
}
|
||||
|
||||
Room::~Room()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue