2
* Copyright (C) 2007 Dukju Ahn (dukjuahn@gmail.com)
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Library General Public License for more details.
16
#ifndef SVN_BLAMEWIDGET_H
17
#define SVN_BLAMEWIDGET_H
21
#include <qvaluelist.h>
28
class SvnBlameHolder {
30
// SvnBlameHolder(){};
31
// ~SvnBlameHolder(){};
41
class SvnBlameWidget : public QWidget {
44
SvnBlameWidget( QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 );
45
virtual ~SvnBlameWidget();
46
void copyBlameData( QValueList<SvnBlameHolder> *blamelist );
50
QValueList <SvnBlameHolder> m_blamelist;
52
QVBoxLayout *m_layout;
53
QListView *m_listView;
56
class SvnBlameFileSelectDlg : public QDialog {
59
SvnBlameFileSelectDlg( QWidget *parent = 0L );
60
virtual ~SvnBlameFileSelectDlg();
61
void setCandidate( QStringList *modifies );
65
virtual void accept();
68
QGridLayout *m_layout;
71
QPushButton *m_cancelBtn;
73
QStringList *m_candidates;