MCPcopy Create free account
hub / github.com/KDAB/GammaRay / ClientConnectionManager

Method ClientConnectionManager

client/clientconnectionmanager.cpp:116–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116ClientConnectionManager::ClientConnectionManager(QObject *parent, bool showSplashScreenOnStartUp)
117 : QObject(parent)
118 , m_client(new Client(this))
119 , m_processTracker(new GammaRay::ProcessTracker(this))
120 , m_toolManager(new ClientToolManager(this))
121 , m_mainWindow(nullptr)
122 , m_ignorePersistentError(false)
123 , m_tries(0)
124{
125 if (showSplashScreenOnStartUp)
126 showSplashScreen();
127 connect(m_processTracker, &ProcessTracker::backendChanged, this,
128 &ClientConnectionManager::processTrackerBackendChanged);
129 connect(m_processTracker, &ProcessTracker::infoChanged, this,
130 &ClientConnectionManager::processTrackerInfoChanged);
131 connect(this, &ClientConnectionManager::ready, this, &ClientConnectionManager::clientConnected);
132 connect(this, &ClientConnectionManager::disconnected, this, &ClientConnectionManager::clientDisconnected);
133 connect(m_client, &Endpoint::disconnected, this, &ClientConnectionManager::disconnected);
134 connect(m_client, &Client::transientConnectionError, this, &ClientConnectionManager::transientConnectionError);
135 connect(m_client, &Client::persisitentConnectionError,
136 this, &ClientConnectionManager::persistentConnectionError);
137 connect(this, &ClientConnectionManager::persistentConnectionError, this, &ClientConnectionManager::delayedHideSplashScreen);
138 connect(this, &ClientConnectionManager::ready, this, &ClientConnectionManager::delayedHideSplashScreen);
139 connect(m_toolManager, &ClientToolManager::toolListAvailable, this, &ClientConnectionManager::ready);
140}
141
142ClientConnectionManager::~ClientConnectionManager()
143{

Callers

nothing calls this directly

Calls 1

showSplashScreenFunction · 0.85

Tested by

no test coverage detected