[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/interfaces
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2008-04-13 16:53:22
Message-ID: 1208105602.334189.13623.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 796478 by jsimon:

Undo last commit. Pure virtual interfaces cannot be dynamic_cast'ed. Meh.

 M  +9 -0      koChart.cc  
 M  +3 -2      koChart.h  


--- trunk/koffice/interfaces/koChart.cc #796477:796478
@@ -55,4 +55,13 @@
     return 0;
 }
 
+
+ChartInterface::ChartInterface()
+{
+}
+
+ChartInterface::~ChartInterface()
+{
+}
+
 #include "koChart.moc"
--- trunk/koffice/interfaces/koChart.h #796477:796478
@@ -22,7 +22,7 @@
 #include <QtCore/QVariant>
 
 #include <KoDocument.h>
-#include <kochart_export.h>
+#include "kochart_export.h"
 
 
 class QAbstractItemModel;
@@ -79,7 +79,8 @@
     class KOCHART_EXPORT ChartInterface
     {
     public:
-        virtual ~ChartInterface() {};
+        ChartInterface();
+        virtual ~ChartInterface();
 
         virtual void setModel( QAbstractItemModel* model, 
                                bool takeOwnershipOfModel = false ) = 0;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic