Selaa lähdekoodia

Since some of the ctkXnatObject support retrieving a last modification time (e.g. project)
this function should be virtual so that is can be overwritten by the according subclasses

Andreas Fetzer 10 vuotta sitten
vanhempi
commit
1d8b135823
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Libs/XNAT/Core/ctkXnatObject.h

+ 1 - 1
Libs/XNAT/Core/ctkXnatObject.h

@@ -78,7 +78,7 @@ public:
   void setProperty(const QString& name, const QVariant& value);
   void setProperty(const QString& name, const QVariant& value);
 
 
   /// Gets the last modification time from the server
   /// Gets the last modification time from the server
-  QDateTime lastModifiedTimeOnServer();
+  virtual QDateTime lastModifiedTimeOnServer();
 
 
   /// Sets the last modfication time on the server
   /// Sets the last modfication time on the server
   void setLastModifiedTime(const QDateTime& lastModifiedTime);
   void setLastModifiedTime(const QDateTime& lastModifiedTime);