forked from qt-creator/qt-creator
		
	Code model: Update on changes from the versioning system.
Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating. Improved version of reverted
7aa2411693.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
			
			
This commit is contained in:
		@@ -59,6 +59,7 @@ namespace Git {
 | 
			
		||||
namespace Internal {
 | 
			
		||||
 | 
			
		||||
class GitPlugin;
 | 
			
		||||
class GitVersionControl;
 | 
			
		||||
class GitClient;
 | 
			
		||||
class ChangeSelectionDialog;
 | 
			
		||||
class GitSubmitEditor;
 | 
			
		||||
@@ -96,6 +97,7 @@ public:
 | 
			
		||||
    void setSettings(const GitSettings &s);
 | 
			
		||||
 | 
			
		||||
    GitClient *gitClient() const;
 | 
			
		||||
    GitVersionControl *versionControl() const;
 | 
			
		||||
 | 
			
		||||
public slots:
 | 
			
		||||
    void updateActions();
 | 
			
		||||
@@ -159,6 +161,7 @@ private:
 | 
			
		||||
    QAction *m_branchListAction;
 | 
			
		||||
 | 
			
		||||
    GitClient                   *m_gitClient;
 | 
			
		||||
    GitVersionControl           *m_versionControl;
 | 
			
		||||
    ChangeSelectionDialog       *m_changeSelectionDialog;
 | 
			
		||||
    QString                     m_submitRepository;
 | 
			
		||||
    QStringList                 m_submitOrigCommitFiles;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user