瀏覽代碼

CHG: renamed ctkDicomHostInterfaceImpl to ctkDicomHostService

Marco Nolden 15 年之前
父節點
當前提交
48cce13e19

+ 2 - 2
Plugins/org.commontk.dicom.wg23.app/CMakeLists.txt

@@ -8,13 +8,13 @@ ENDIF()
 SET(PLUGIN_export_directive "org_commontk_dicom_wg23_app_EXPORT")
 
 SET(PLUGIN_SRCS
-  ctkDicomHostInterfaceImpl.cpp
+  ctkDicomHostServicePrivate.cpp
   ctkDicomWG23AppPlugin.cpp
 )
 
 # Files which should be processed by Qts moc
 SET(PLUGIN_MOC_SRCS
-  ctkDicomHostInterfaceImpl_p.h
+  ctkDicomHostServicePrivate.h
   ctkDicomWG23AppPlugin_p.h
 )
 

+ 8 - 8
Plugins/org.commontk.dicom.wg23.app/ctkDicomHostInterfaceImpl.cpp

@@ -20,7 +20,7 @@
 =============================================================================*/
 
 
-#include "ctkDicomHostInterfaceImpl_p.h"
+#include "ctkDicomHostServicePrivate.h"
 
 #include <QApplication>
 #include <QCursor>
@@ -28,24 +28,24 @@
 
 #include <stdexcept>
 
-ctkDicomHostInterfaceImpl::ctkDicomHostInterfaceImpl()
+ctkDicomHostService::ctkDicomHostService()
 {
   connect(&http, SIGNAL(responseReady()), this, SLOT(responseReady()));
 
   http.setHost("127.0.0.1", false, 8080);
 }
 
-void ctkDicomHostInterfaceImpl::responseReady()
+void ctkDicomHostService::responseReady()
 {
   blockingLoop.exit();
 }
 
-QString ctkDicomHostInterfaceImpl::generateUID()
+QString ctkDicomHostService::generateUID()
 {
   return QString();
 }
 
-QRect ctkDicomHostInterfaceImpl::getAvailableScreen(const QRect& preferredScreen)
+QRect ctkDicomHostService::getAvailableScreen(const QRect& preferredScreen)
 {
   http.setAction("GetAvailableScreen");
 
@@ -112,18 +112,18 @@ QRect ctkDicomHostInterfaceImpl::getAvailableScreen(const QRect& preferredScreen
   return resultRect;
 }
 
-QString ctkDicomHostInterfaceImpl::getOutputLocation(const QStringList& preferredProtocols)
+QString ctkDicomHostService::getOutputLocation(const QStringList& preferredProtocols)
 {
   Q_UNUSED(preferredProtocols)
   return QString();
 }
 
-void ctkDicomHostInterfaceImpl::notifyStateChanged(ctkDicomWG23::State state)
+void ctkDicomHostService::notifyStateChanged(ctkDicomWG23::State state)
 {
   Q_UNUSED(state)
 }
 
-void ctkDicomHostInterfaceImpl::notifyStatus(const ctkDicomWG23::Status& status)
+void ctkDicomHostService::notifyStatus(const ctkDicomWG23::Status& status)
 {
   Q_UNUSED(status)
 }

+ 2 - 2
Plugins/org.commontk.dicom.wg23.app/ctkDicomHostInterfaceImpl_p.h

@@ -28,12 +28,12 @@
 #include <QEventLoop>
 #include <QtSoapHttpTransport>
 
-class ctkDicomHostInterfaceImpl : public ctkDicomHostInterface
+class ctkDicomHostService : public ctkDicomHostInterface
 {
   Q_OBJECT
 
 public:
-    ctkDicomHostInterfaceImpl();
+    ctkDicomHostService();
 
     virtual QString generateUID();
     virtual QRect getAvailableScreen(const QRect& preferredScreen);

+ 2 - 2
Plugins/org.commontk.dicom.wg23.app/ctkDicomWG23AppPlugin.cpp

@@ -22,7 +22,7 @@
 
 #include "ctkDicomWG23AppPlugin_p.h"
 
-#include <ctkDicomHostInterfaceImpl_p.h>
+#include <ctkDicomHostServicePrivate.h>
 
 #include <QtPlugin>
 
@@ -44,7 +44,7 @@ void ctkDicomWG23AppPlugin::start(ctkPluginContext* context)
   instance = this;
   this->context = context;
 
-  hostInterface = new ctkDicomHostInterfaceImpl();
+  hostInterface = new ctkDicomHostService();
   context->registerService(QStringList("ctkDicomHostInterface"), hostInterface);
 }