summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/interfaces')
-rw-r--r--kontact/interfaces/plugin.h3
-rw-r--r--kontact/interfaces/uniqueapphandler.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h
index c4d573abe..3d8c66cf5 100644
--- a/kontact/interfaces/plugin.h
+++ b/kontact/interfaces/plugin.h
@@ -58,7 +58,6 @@ class Summary;
class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
{
Q_OBJECT
-
public:
/**
@@ -71,7 +70,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
*/
Plugin( Core *core, TQObject *parent, const char *name );
- ~Plugin();
+ virtual ~Plugin();
/**
Sets the identifier.
diff --git a/kontact/interfaces/uniqueapphandler.h b/kontact/interfaces/uniqueapphandler.h
index 3af1a8773..6ecc23812 100644
--- a/kontact/interfaces/uniqueapphandler.h
+++ b/kontact/interfaces/uniqueapphandler.h
@@ -63,6 +63,8 @@ class KDE_EXPORT UniqueAppHandler : public DCOPObject
class UniqueAppHandlerFactoryBase
{
public:
+ UniqueAppHandlerFactoryBase() {}
+ virtual ~UniqueAppHandlerFactoryBase() {}
virtual UniqueAppHandler* createHandler( Plugin* ) = 0;
};