1
/***************************************************************************
2
* Copyright (C) 200?-2003 by KDevelop Authors *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
15
#include "cvsservicedcopIface.h"
17
#include "bufferedstringreader.h"
20
class CvsService_stub;
24
Implementation for the form displaying 'cvs log' output.
26
@author KDevelop Authors
28
class CVSLogPage : public QWidget, virtual public CVSServiceDCOPIface
32
CVSLogPage( CvsService_stub *cvsService, QWidget *parent=0, const char *name=0, int flags=0 );
33
virtual ~CVSLogPage();
35
void startLog( const QString &workDir, const QString &pathName );
39
// Emitted when the user click upon a link
40
void diffRequested( const QString &pathName, const QString &revA, const QString &revB );
43
void slotLinkClicked( const QString &link );
45
virtual void slotJobExited( bool normalExit, int exitStatus );
46
virtual void slotReceivedOutput( QString someOutput );
47
virtual void slotReceivedErrors( QString someErrors );
50
// void parseLogContent( const QString& text );
54
QTextBrowser *m_textBrowser;
55
QString m_logTextBackup;
56
BufferedStringReader m_outputBuffer;
57
QStringList m_diffStrings;
59
CvsService_stub *m_cvsService;
60
CvsJob_stub *m_cvsLogJob;