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

List:       kde-commits
Subject:    kdebase/kate/interfaces
From:       Laurent Montel <montel () kde ! org>
Date:       2003-07-05 20:16:05
[Download RAW message or body]

CVS commit by mlaurent: 

Add const


  M +9 -9      documentmanager.cpp   1.5
  M +9 -9      documentmanager.h   1.10
  M +11 -11    mainwindow.cpp   1.9
  M +14 -14    mainwindow.h   1.26
  M +62 -62    project.cpp   1.28
  M +37 -37    project.h   1.27


--- kdebase/kate/interfaces/documentmanager.cpp  #1.4:1.5
@@ -109,5 +109,5 @@ bool DocumentManager::closeDocumentWithI
 }
 
-bool DocumentManager::closeAllDocuments()
+bool DocumentManager::closeAllDocuments()  const
 {
   return d->docMan->closeAllDocuments ();

--- kdebase/kate/interfaces/documentmanager.h  #1.9:1.10
@@ -74,5 +74,5 @@ class DocumentManager : public QObject
     /** close all documents
      */
-    bool closeAllDocuments();
+    bool closeAllDocuments() const;
 
   #undef signals

--- kdebase/kate/interfaces/mainwindow.cpp  #1.8:1.9
@@ -61,20 +61,20 @@ MainWindow::~MainWindow ()
 }
 
-KXMLGUIFactory *MainWindow::guiFactory()
+KXMLGUIFactory *MainWindow::guiFactory() const
 {
   return d->win->guiFactory();
 }
 
-ViewManager *MainWindow::viewManager ()
+ViewManager *MainWindow::viewManager () const
 {
   return d->win->viewManager ();
 }
 
-ToolViewManager *MainWindow::toolViewManager ()
+ToolViewManager *MainWindow::toolViewManager () const
 {
   return d->win->toolViewManager ();
 }
 
-Project *MainWindow::activeProject ()
+Project *MainWindow::activeProject () const
 {
   return d->win->activeProject ();

--- kdebase/kate/interfaces/mainwindow.h  #1.25:1.26
@@ -39,9 +39,9 @@ class MainWindow : public QObject
     
   public:
-    KXMLGUIFactory *guiFactory();
+    KXMLGUIFactory *guiFactory() const;
     
-    class ViewManager *viewManager ();
+    class ViewManager *viewManager () const;
     
-    class ToolViewManager *toolViewManager();
+    class ToolViewManager *toolViewManager() const;
     
     /**
@@ -49,5 +49,5 @@ class MainWindow : public QObject
      * @return Project current active project
      */
-    class Project *activeProject ();
+    class Project *activeProject () const;
     
     /**

--- kdebase/kate/interfaces/project.cpp  #1.27:1.28
@@ -212,10 +212,10 @@ ProjectDirFile::~ProjectDirFile ()
 }
 
-Project *ProjectDirFile::project ()
+Project *ProjectDirFile::project () const
 {
   return d->m_data->project;
 }
 
-KConfig *ProjectDirFile::data ()
+KConfig *ProjectDirFile::data () const
 {
   return d->m_config;

--- kdebase/kate/interfaces/project.h  #1.26:1.27
@@ -57,5 +57,5 @@ class ProjectDirFile : public QObject, p
     virtual ~ProjectDirFile ();
     
-    Project *project ();
+    Project *project () const;
     
     /**
@@ -78,5 +78,5 @@ class ProjectDirFile : public QObject, p
      * @return KConfig config data
      */
-    KConfig *data ();
+    KConfig *data () const;
      
     QStringList dirs () const;


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

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