summaryrefslogtreecommitdiffstats
path: root/vcs/cvsservice/cvslogdialog.h
blob: d5992cdbc26e9091247515ede637d014a12edcb3 (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
51
//
// C++ Interface: cvslogdialog
//
// Description:
//
//
// Author: KDevelop Authors <tdevelop-devel@tdevelop.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, TQWidget *parent=0, const char *name=0, int flags=0 );
    virtual ~CVSLogDialog();

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

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

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

private:
    TQString m_pathName;

    CVSLogPage *m_cvsLogPage;
    CvsService_stub *m_cvsService;
};

#endif