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

List:       kde-commits
Subject:    KDE/kdelibs/interfaces/ktexteditor
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2007-09-29 13:56:35
Message-ID: 1191074195.325841.16479.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 718698 by cullmann:

move implementation to .cpp file

 M  +7 -9      containerinterface.h  
 M  +13 -0     ktexteditor.cpp  


--- trunk/KDE/kdelibs/interfaces/ktexteditor/containerinterface.h #718697:718698
@@ -63,9 +63,13 @@
 class KTEXTEDITOR_EXPORT ContainerInterface
 {
   public:
+    /**
+     * Constructor.
+     */
+    ContainerInterface();
 
     /** Virtual Destructor */
-    virtual ~ContainerInterface() {}
+    virtual ~ContainerInterface();
 
     /** 
      * Set the KTextEditor container.
@@ -106,10 +110,8 @@
      * \sa setContainer
      */
     virtual QObject * container() = 0;
-
 }; // class ContainerInterface
 
-
 /** 
  * A container for MDI-capable kpart hosts.
  *
@@ -161,14 +163,13 @@
  */
 class KTEXTEDITOR_EXPORT MdiContainer
 {
-
   public:
     
     /** Constructor */
-    MdiContainer() {}
+    MdiContainer();
 
     /** Virtual destructor */
-    virtual ~MdiContainer() {}
+    virtual ~MdiContainer();
 
     /** 
      * Set the \p view requested by the part as the active view.
@@ -255,7 +256,6 @@
      *     the kpart, or 
      */
     virtual bool closeView( View * view )=0;
-
 }; // class MdiContainer
 
 } // namespace KTextEditor
@@ -263,5 +263,3 @@
 Q_DECLARE_INTERFACE(KTextEditor::ContainerInterface, "org.kde.KTextEditor.ContainerInterface")
 
 #endif // KDELIBS_KTEXTEDITOR_CONTAINER_EXTENSION_H
-
-
--- trunk/KDE/kdelibs/interfaces/ktexteditor/ktexteditor.cpp #718697:718698
@@ -47,6 +47,7 @@
 #include "templateinterface.h"
 #include "texthintinterface.h"
 #include "variableinterface.h"
+#include "containerinterface.h"
 
 #include "documentadaptor_p.h"
 #include "documentadaptor_p.moc"
@@ -241,6 +242,18 @@
 ModificationInterface::~ModificationInterface ()
 {}
 
+ContainerInterface::ContainerInterface ()
+{}
+
+ContainerInterface::~ContainerInterface ()
+{}
+
+MdiContainer::MdiContainer ()
+{}
+
+MdiContainer::~MdiContainer ()
+{}
+
 SearchInterface::SearchInterface()
   : d(0)
 {}
[prev in list] [next in list] [prev in thread] [next in thread] 

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