summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitsubmiteditor.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-01-13 10:06:06 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-01-13 10:06:06 +0100
commit4741a7282d87dbbfb2e2e4e1493e73c22c38f6ad (patch)
tree0bc885764c78da2ffccdf725ea694979b87d246b /src/plugins/git/gitsubmiteditor.h
parent278ff780407c6b14644d6e09b81c563316beca85 (diff)
downloadqt-creator-4741a7282d87dbbfb2e2e4e1493e73c22c38f6ad.tar.gz
Fixes: Make git diff work for staged files, do not launch submit if file list empty, make file model read only, add conveniences
Details: Add a type data field to the git file model
Diffstat (limited to 'src/plugins/git/gitsubmiteditor.h')
-rw-r--r--src/plugins/git/gitsubmiteditor.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/git/gitsubmiteditor.h b/src/plugins/git/gitsubmiteditor.h
index a1a80ac22c..78b99682d0 100644
--- a/src/plugins/git/gitsubmiteditor.h
+++ b/src/plugins/git/gitsubmiteditor.h
@@ -38,6 +38,10 @@
#include <QtCore/QStringList>
+namespace VCSBase {
+ class SubmitFileModel;
+}
+
namespace Git {
namespace Internal {
@@ -54,8 +58,17 @@ public:
void setCommitData(const CommitData &);
GitSubmitEditorPanelData panelData() const;
+signals:
+ void diffStaged(const QStringList &);
+ void diffUnstaged(const QStringList &);
+
+private slots:
+ void slotDiffSelected(const QStringList &);
+
private:
inline GitSubmitEditorWidget *submitEditorWidget();
+
+ VCSBase::SubmitFileModel *m_model;
};
} // namespace Internal