Kaynağa Gözat

COMP: do not use Qt macros in backported DCMTK code

Marco Nolden 11 yıl önce
ebeveyn
işleme
c3919f0493
1 değiştirilmiş dosya ile 33 ekleme ve 3 silme
  1. 33 3
      Libs/DICOM/Core/ctkDcmSCU.h

+ 33 - 3
Libs/DICOM/Core/ctkDcmSCU.h

@@ -136,7 +136,17 @@ class QRResponse
   DcmDataset *m_statusDetail;
 
 private:
-  Q_DISABLE_COPY(QRResponse);
+
+  /** Private undefined copy constructor.
+   * @param other The find response to copy from
+   */
+  QRResponse(const QRResponse &other);
+
+  /** Private undefined assignment operator.
+   *  @param other The find response that should be assigned from
+   *  @return Reference to this
+   */
+  QRResponse &operator=(const QRResponse &other);
 };
 
 
@@ -181,7 +191,17 @@ public:
   Uint16 m_numberOfWarningSubops;
 
 private:
-  Q_DISABLE_COPY(RetrieveResponse);
+
+  /** Private undefined copy constructor
+   *  @param other Response to copy from
+   */
+  RetrieveResponse(const RetrieveResponse &other);
+
+  /** Private undefined assignment operator
+   *  @param other Response that should be assigned from
+   *  @return Reference to this
+   */
+  RetrieveResponse &operator=(const RetrieveResponse &other);
 };
 
 
@@ -917,7 +937,17 @@ protected:
                                       unsigned long byteCount);
 
 private:
-  Q_DISABLE_COPY(DcmSCU);
+
+  /** Private undefined copy-constructor. Shall never be called.
+   *  @param src Source object
+   */
+  DcmSCU(const DcmSCU &src);
+
+  /** Private undefined operator=. Shall never be called.
+   *  @param src Source object
+   *  @return Reference to this
+   */
+  DcmSCU &operator=(const DcmSCU &src);
 
   /// Associaton of this SCU. This class only handles 1 association at a time.
   T_ASC_Association *m_assoc;