KDevelop API Documentation

cvslogpage.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 200?-2003 by KDevelop Authors                           *
00003  *   www.kdevelop.org                                                      *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef CVSLOGPAGE_H
00013 #define CVSLOGPAGE_H
00014 
00015 #include "cvsservicedcopIface.h"
00016 #include <qwidget.h>
00017 
00018 class CvsJob_stub;
00019 class CvsService_stub;
00020 class QTextBrowser;
00021 
00027 class CVSLogPage : public QWidget, virtual public CVSServiceDCOPIface
00028 {
00029     Q_OBJECT
00030 public:
00031     CVSLogPage( CvsService_stub *cvsService, QWidget *parent=0, const char *name=0, int flags=0 );
00032     virtual ~CVSLogPage();
00033 
00034     void startLog( const QString &workDir, const QString &pathName );
00035     void cancel();
00036 
00037 signals:
00038     // Emitted when the user click upon a link
00039     void diffRequested( const QString &pathName, const QString &revA, const QString &revB );
00040 
00041 private slots:
00042     void slotLinkClicked( const QString &link );
00043     // DCOP Iface
00044     virtual void slotJobExited( bool normalExit, int exitStatus );
00045     virtual void slotReceivedOutput( QString someOutput );
00046     virtual void slotReceivedErrors( QString someErrors );
00047 
00048 //private:
00049 //    void parseLogContent( const QString& text );
00050 
00051 private:
00052     QString m_pathName;
00053     QTextBrowser *m_textBrowser;
00054     QString m_logTextBackup;
00055 
00056     CvsService_stub *m_cvsService;
00057     CvsJob_stub *m_cvsLogJob;
00058 };
00059 
00060 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:03:59 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003