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

List:       ktexteditor-devel
Subject:    ContainerInterface compile problems
From:       Lothar Braun <lothar () lobraun ! de>
Date:       2007-09-26 7:21:54
Message-ID: 46FA0892.8030204 () lobraun ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hi,

i started using KTextEditor::ContainerInterface and
KTextEdtior::MdiContainer and got some compile time problems. The
compiler complains about missing keywords and missing method
implementation for the virtual constructor/destructors. I attached a
patch that fixes these issues.

Can someone with karma have a look at the patch and commit it if it is
ok?

Regards,
  Lothar

["containerinterface-compile.diff" (text/plain)]

Index: containerinterface.h
===================================================================
--- containerinterface.h	(revision 717048)
+++ containerinterface.h	(working copy)
@@ -65,7 +65,7 @@
   public:
 
     /** Virtual Destructor */
-    ~ContainerInterface() {}
+    virtual ~ContainerInterface() {}
 
     /** 
      * Set the KTextEditor container.
@@ -165,10 +165,10 @@
   public:
     
     /** Constructor */
-    MdiContainer();
+    MdiContainer() {};
 
     /** Virtual destructor */
-    virtual ~MdiContainer();
+    virtual ~MdiContainer() {};
 
     /** 
      * Set the \p view requested by the part as the active view.

["signature.asc" (application/pgp-signature)]

_______________________________________________
KTextEditor-Devel mailing list
KTextEditor-Devel@kde.org
https://mail.kde.org/mailman/listinfo/ktexteditor-devel


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

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