comparison confirmcommentdialog.h @ 102:f70ccc15c9d0

* Add ConfirmCommentDialog
author Chris Cannam
date Wed, 24 Nov 2010 22:24:55 +0000
parents
children af314dd436d5
comparison
equal deleted inserted replaced
101:f9af5e93de0e 102:f70ccc15c9d0
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 EasyMercurial
5
6 Based on hgExplorer by Jari Korhonen
7 Copyright (c) 2010 Jari Korhonen
8 Copyright (c) 2010 Chris Cannam
9 Copyright (c) 2010 Queen Mary, University of London
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2 of the
14 License, or (at your option) any later version. See the file
15 COPYING included with this distribution for more information.
16 */
17
18 #ifndef CONFIRMCOMMENTDIALOG_H
19 #define CONFIRMCOMMENTDIALOG_H
20
21 #include <QWidget>
22 #include <QString>
23 #include <QStringList>
24
25 class ConfirmCommentDialog
26 {
27 public:
28 static bool confirmFilesAction(QWidget *parent,
29 QString title,
30 QString introText,
31 QString introTextWithCount,
32 QStringList files);
33
34 static bool confirmAndComment(QWidget *parent,
35 QString title,
36 QString introText,
37 QString introTextWithCount,
38 QStringList files,
39 QString &comment);
40
41 static bool confirmAndComment(QWidget *parent,
42 QString title,
43 QString introText,
44 QString &comment);
45
46 };
47
48 #endif // CONFIRMCOMMENTDIALOG_H