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
public:
VcsAnnotation();
VcsAnnotation(const VcsAnnotation&);
~VcsAnnotation();
virtual ~VcsAnnotation();
/**
* @return the local url of the file
*/
......
......@@ -53,7 +53,7 @@ public:
};
VcsDiff();
~VcsDiff();
virtual ~VcsDiff();
VcsDiff( const VcsDiff& );
/**
......
......@@ -60,7 +60,7 @@ public:
Q_DECLARE_FLAGS( Actions, Action )
VcsItemEvent();
~VcsItemEvent();
virtual ~VcsItemEvent();
VcsItemEvent(const VcsItemEvent& );
QString repositoryLocation() const;
......@@ -92,7 +92,7 @@ class KDEVPLATFORMVCS_EXPORT VcsEvent
{
public:
VcsEvent();
~VcsEvent();
virtual ~VcsEvent();
VcsEvent( const VcsEvent& );
VcsRevision revision();
QString author();
......
......@@ -60,7 +60,7 @@ public:
};
VcsMapping();
~VcsMapping();
virtual ~VcsMapping();
VcsMapping(const VcsMapping&);
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