summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase/vcsbasesubmiteditor.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-12-14 10:56:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-12-14 10:56:50 +0100
commit0af3c1f13ab5b16c8fb47780724c707501267dd4 (patch)
treed96fb699a522c2ef6d8e3311937fde17b15a2030 /src/plugins/vcsbase/vcsbasesubmiteditor.h
parentbad8a15f3b858573bc711cb22e4e02d4ae0167e1 (diff)
downloadqt-creator-0af3c1f13ab5b16c8fb47780724c707501267dd4.tar.gz
VCS Submit: Run check script in repository, do not front-trim message.
Make checkscript a bit more verbose. Task-number: QTCREATORBUG-451 Task-number: QTCREATORBUG-422
Diffstat (limited to 'src/plugins/vcsbase/vcsbasesubmiteditor.h')
-rw-r--r--src/plugins/vcsbase/vcsbasesubmiteditor.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/vcsbase/vcsbasesubmiteditor.h b/src/plugins/vcsbase/vcsbasesubmiteditor.h
index fea9e469a2..75acdcbca1 100644
--- a/src/plugins/vcsbase/vcsbasesubmiteditor.h
+++ b/src/plugins/vcsbase/vcsbasesubmiteditor.h
@@ -79,8 +79,7 @@ struct VCSBASE_EXPORT VCSBaseSubmitEditorParameters {
* signal and then asking the IFile interface of the editor to save the file
* within a IFileManager::blockFileChange() section
* and to launch the submit process. In addition, the action registered
- * for submit sho src/libs/utils/submiteditorwidget.h
-uld be connected to a slot triggering the close of the
+ * for submit should be connected to a slot triggering the close of the
* current editor in the editor manager. */
class VCSBASE_EXPORT VCSBaseSubmitEditor : public Core::IEditor
@@ -90,6 +89,7 @@ class VCSBASE_EXPORT VCSBaseSubmitEditor : public Core::IEditor
Q_PROPERTY(QAbstractItemView::SelectionMode fileListSelectionMode READ fileListSelectionMode WRITE setFileListSelectionMode DESIGNABLE true)
Q_PROPERTY(bool lineWrap READ lineWrap WRITE setLineWrap DESIGNABLE true)
Q_PROPERTY(int lineWrapWidth READ lineWrapWidth WRITE setLineWrapWidth DESIGNABLE true)
+ Q_PROPERTY(QString checkScriptWorkingDirectory READ checkScriptWorkingDirectory WRITE setCheckScriptWorkingDirectory DESIGNABLE true)
public:
typedef QList<int> Context;
@@ -130,6 +130,9 @@ public:
int lineWrapWidth() const;
void setLineWrapWidth(int);
+ QString checkScriptWorkingDirectory() const;
+ void setCheckScriptWorkingDirectory(const QString &);
+
// Core::IEditor
virtual bool createNew(const QString &contents);
virtual bool open(const QString &fileName);