qmlFrontend/qml/qmlFrontend/Room.qml
branchqmlfrontend
changeset 11434 23912c93935a
parent 11426 ab6a6d9ebfc0
equal deleted inserted replaced
11433:bca9afcc3a72 11434:23912c93935a
    27         height: 250;
    27         height: 250;
    28         anchors.bottom: btnBack.top
    28         anchors.bottom: btnBack.top
    29 
    29 
    30         Connections {
    30         Connections {
    31             target: HWEngine
    31             target: HWEngine
       
    32             onMovedToRoom: roomChat.clear()
    32             onRoomChatLine: roomChat.addChatLine(nickname, line)
    33             onRoomChatLine: roomChat.addChatLine(nickname, line)
    33             onRoomClientAdded: roomChat.addClient(clientName)
    34             onRoomClientAdded: roomChat.addClient(clientName)
    34             onRoomClientRemoved: roomChat.removeClient(clientName, reason)
    35             onRoomClientRemoved: roomChat.removeClient(clientName, reason)
    35         }
    36         }
    36     }
    37     }