-void ClientBufferViewManager::waitForConfigInit() {
- bool initialized = true;
- foreach(BufferViewConfig *config, bufferViewConfigs()) {
- initialized &= config->isInitialized();
- if(config->isInitialized())
- continue;
- connect(config, SIGNAL(initDone()), this, SLOT(configInitBarrier()));
- }
- if(initialized)
- emit viewsInitialized();
+
+ClientBufferViewConfig *ClientBufferViewManager::clientBufferViewConfig(int bufferViewId) const
+{
+ return static_cast<ClientBufferViewConfig *>(bufferViewConfig(bufferViewId));