Add serverAboutToBeAdded and serverAboutToBeRemoved signals

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Improve EventSourcesModel a bit

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Formatting fix

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Add cameraAboutToBeAdded and cameraAboutToBeRemoved to DVRServer

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Events window reacts on new and removed cameras

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Check new cameras if server is already checked

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extract a few methods in EventSourcesModel

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove unrequired condition

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Fix checkbox refresh issue in event sources view

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Cache checkedSources values in EventSourcesModel

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Fix removing cameras from EventSourcesModel

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Refactoring in EventSourcesModel

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use data() instead of internalPointer() in EventSourcesModel where possible

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove dead code

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove dead code

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Rename variabled in EventsWindow

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove dead code

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove dead code

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Replace EventsModel::Filter operator with acceptEvent method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Bug #150 fixed: move sorting routines to separate proxy model

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>