KDevelop API Documentation

cvsdiffpage.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 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 CVSDIFFPAGE_H
00013 #define CVSDIFFPAGE_H
00014 
00015 #include "cvsservicedcopIface.h"
00016 #include <qwidget.h>
00017 
00018 class CvsJob_stub;
00019 class CvsService_stub;
00020 class QTextEdit;
00021 class DiffWidget;
00022 
00028 class CVSDiffPage : public QWidget, virtual public CVSServiceDCOPIface
00029 {
00030     Q_OBJECT
00031 public:
00032     CVSDiffPage( CvsService_stub *cvsService, QWidget *parent=0, const char *name=0, int flags=0 );
00033     virtual ~CVSDiffPage();
00034 
00035     void startDiff( const QString &fileName, const QString &v1, const QString &v2 );
00036     void cancel();
00037 
00038 //private slots:
00039     // DCOP Iface
00040     virtual void slotJobExited( bool normalExit, int exitStatus );
00041     virtual void slotReceivedOutput( QString someOutput );
00042     virtual void slotReceivedErrors( QString someErrors );
00043 
00044 private:
00045     //QTextEdit *m_diffText;
00046     DiffWidget *m_diffText;
00047 
00048     CvsService_stub *m_cvsService;
00049     CvsJob_stub *m_cvsDiffJob;
00050 };
00051 
00052 #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