summaryrefslogtreecommitdiffstats
path: root/vcs/cvsservice/cvslogdialog.h
blob: 12a7a2eb187323383ddcc289e205808f84849c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// C++ Interface: cvslogdialog
//
// Description:
//
//
// Author: KDevelop Authors <kdevelop-devel@kdevelop.org>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CVSLOGDIALOG_H
#define CVSLOGDIALOG_H

#include <kdialogbase.h>

class CvsJob_stub;
class CvsService_stub;
class CVSLogPage;

/**
Implementation for the form displaying 'cvs log' output.

@author KDevelop Authors
*/
class CVSLogDialog : public KDialogBase
{
    Q_OBJECT
public:
    CVSLogDialog( CvsService_stub *cvsService, QWidget *parent=0, const char *name=0, int flags=0 );
    virtual ~CVSLogDialog();

    void startLog( const QString &workDir, const QString &pathName );

private slots:
    void slotDiffRequested( const QString &pathName, const QString &revA, const QString &revB );
    virtual void slotCancel();

private:
//    void parseLogContent( const QString& text );
    void displayActionFeedback( bool working );

private:
    QString m_pathName;

    CVSLogPage *m_cvsLogPage;
    CvsService_stub *m_cvsService;
};

#endif