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

List:       kde-commits
Subject:    [kdevplatform] interfaces: Make the IProject::reloadModel a slot
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2013-04-30 17:59:57
Message-ID: 20130430175957.D8D87A603F () git ! kde ! org
[Download RAW message or body]

Git commit 97e35c30625a672991b2357eb1b70a2102f8bd43 by Aleix Pol.
Committed on 30/04/2013 at 19:58.
Pushed by apol into branch 'master'.

Make the IProject::reloadModel a slot

This way we can connect it to a signal easily

M  +2    -2    interfaces/iproject.h

http://commits.kde.org/kdevplatform/97e35c30625a672991b2357eb1b70a2102f8bd43

diff --git a/interfaces/iproject.h b/interfaces/iproject.h
index 16ed8e5..8d43b1b 100644
--- a/interfaces/iproject.h
+++ b/interfaces/iproject.h
@@ -122,8 +122,6 @@ public:
     /** Get all folder items corresponding to the @p folder url */
     Q_SCRIPTABLE virtual QList<ProjectFolderItem*> foldersForUrl( const KUrl& folder ) const = 0;
 
-    /** Make the model to reload */
-    Q_SCRIPTABLE virtual void reloadModel() = 0;
 //     virtual KUrl projectConfigFile() const = 0;
 //     virtual KUrl projectDefaultsConfigFile() const = 0;
 
@@ -176,6 +174,8 @@ public Q_SLOTS:
      */
     virtual bool inProject(const KUrl &url) const = 0;
 
+    /** Make the model to reload */
+    virtual void reloadModel() = 0;
 };
 
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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