2 Author: Marco Costalba (C) 2005-2007
4 Copyright: See COPYING file that comes with this distribution
10 #include "ui_commit.h"
15 class CommitImpl
: public QWidget
, public Ui_CommitBase
{
18 explicit CommitImpl(Git
* g
, bool amend
);
21 void changesCommitted(bool);
24 virtual void closeEvent(QCloseEvent
*);
25 void pushButtonCommit_clicked();
26 void pushButtonAmend_clicked();
27 void pushButtonCancel_clicked();
28 void pushButtonUpdateCache_clicked();
29 void pushButtonSettings_clicked();
30 void textEditMsg_cursorPositionChanged();
33 void contextMenuPopup(const QPoint
&);
38 void checkUncheck(bool checkAll
);
39 bool getFiles(SList selFiles
);
41 bool checkFiles(SList selFiles
);
42 bool checkMsg(QString
& msg
);
43 bool checkPatchName(QString
& patchName
);
44 bool checkConfirm(SCRef msg
, SCRef patchName
, SCList selFiles
, bool amend
);
45 void computePosition(int &col_pos
, int &line_pos
);
46 bool eventFilter(QObject
* obj
, QEvent
* event
);
52 static QString lastMsgBeforeError
;