Add getReconVersion function.
This commit is contained in:
@@ -130,6 +130,15 @@ void ReconManager::setPacsSettings(const QString& aClientAETitle, const QString&
|
||||
emit setPacsSettingsResponsed(true, QVariant::fromValue(QString("Set PACS settings succeed.")));
|
||||
}
|
||||
|
||||
void ReconManager::getReconVersion()
|
||||
{
|
||||
auto result = mReconClient->QueryVersion();
|
||||
if(result.good())
|
||||
{
|
||||
emit getReconVersionResponsed(QString::fromStdString(result.message()));
|
||||
}
|
||||
}
|
||||
|
||||
bool ReconManager::isConnected()
|
||||
{
|
||||
return mIsConnected;
|
||||
|
||||
@@ -28,6 +28,7 @@ public slots:
|
||||
void queryReconStatus(const QStringList& aScanIDs);
|
||||
void setPacsSettings(const QString& aClientAETitle, const QString& aServerAETitle, const QString& aServerIP, int aServerPort);
|
||||
void checkReconConnection();
|
||||
void getReconVersion();
|
||||
|
||||
private:
|
||||
void init();
|
||||
@@ -39,6 +40,7 @@ signals:
|
||||
void queryReconStateResponsed(bool aResult, const QVariant& aData);
|
||||
void setPacsSettingsResponsed(bool aResult, const QVariant& aMessage);
|
||||
void checkReconConnectionResponsed(bool aResult);
|
||||
void getReconVersionResponsed(const QString& aResult);
|
||||
|
||||
private:
|
||||
Recon::ReconClient* mReconClient;
|
||||
|
||||
Reference in New Issue
Block a user