Commit 129d26b2 authored by Andreas Pakulat's avatar Andreas Pakulat

Make destructors virtual so if need arises, we can provide API for subclasses in a BC way

parent 3db0f500
...@@ -45,7 +45,7 @@ class KDEVPLATFORMVCS_EXPORT VcsAnnotation ...@@ -45,7 +45,7 @@ class KDEVPLATFORMVCS_EXPORT VcsAnnotation
public: public:
VcsAnnotation(); VcsAnnotation();
VcsAnnotation(const VcsAnnotation&); VcsAnnotation(const VcsAnnotation&);
~VcsAnnotation(); virtual ~VcsAnnotation();
/** /**
* @return the local url of the file * @return the local url of the file
*/ */
......
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
}; };
VcsDiff(); VcsDiff();
~VcsDiff(); virtual ~VcsDiff();
VcsDiff( const VcsDiff& ); VcsDiff( const VcsDiff& );
/** /**
......
...@@ -60,7 +60,7 @@ public: ...@@ -60,7 +60,7 @@ public:
Q_DECLARE_FLAGS( Actions, Action ) Q_DECLARE_FLAGS( Actions, Action )
VcsItemEvent(); VcsItemEvent();
~VcsItemEvent(); virtual ~VcsItemEvent();
VcsItemEvent(const VcsItemEvent& ); VcsItemEvent(const VcsItemEvent& );
QString repositoryLocation() const; QString repositoryLocation() const;
...@@ -92,7 +92,7 @@ class KDEVPLATFORMVCS_EXPORT VcsEvent ...@@ -92,7 +92,7 @@ class KDEVPLATFORMVCS_EXPORT VcsEvent
{ {
public: public:
VcsEvent(); VcsEvent();
~VcsEvent(); virtual ~VcsEvent();
VcsEvent( const VcsEvent& ); VcsEvent( const VcsEvent& );
VcsRevision revision(); VcsRevision revision();
QString author(); QString author();
......
...@@ -60,7 +60,7 @@ public: ...@@ -60,7 +60,7 @@ public:
}; };
VcsMapping(); VcsMapping();
~VcsMapping(); virtual ~VcsMapping();
VcsMapping(const VcsMapping&); VcsMapping(const VcsMapping&);
void addMapping( const QString& sourceLocation, void addMapping( const QString& sourceLocation,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment