KDE/kdevelop/lib

Andras Mantia amantia at kde.org
Wed Aug 16 16:11:27 UTC 2006


SVN commit 573550 by amantia:

Make this methods virtual, so one can override them (project is even override in kdevgenericimporter, which is certainly not good if it is not virtual).

CCMAIL: kdevelop-devel at kdevelop.org

 M  +3 -4      kdevfilemanager.h  


--- trunk/KDE/kdevelop/lib/kdevfilemanager.h #573549:573550
@@ -78,7 +78,7 @@
     Q_DECLARE_FLAGS( Features, Feature )
 
     /** @return The current project. */
-    KDevProject *project() const;
+    virtual KDevProject *project() const;
 
     /**
      * This method initialize the model item @arg dom
@@ -94,11 +94,10 @@
 
     /**
      * Return the top item in this heirachy, which represents the root folder of the source
-     * heirachy.
+     * hierarchy.
      *
-     * \sa root()
      */
-    KDevProjectFolderItem* top();
+    virtual KDevProjectFolderItem* top();
 
     /**
      * Add a folder to the project




More information about the KDevelop-devel mailing list