mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
43 lines
1.4 KiB
C
43 lines
1.4 KiB
C
![]() |
/***************************************************************************
|
||
|
* Copyright 2007 Robert Gruber <rgruber@users.sourceforge.net> *
|
||
|
* *
|
||
|
* This program is free software; you can redistribute it and/or modify *
|
||
|
* it under the terms of the GNU General Public License as published by *
|
||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||
|
* (at your option) any later version. *
|
||
|
* *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef KDEVPLATFORM_PLUGIN_CVSGENERICOUTPUTVIEW_H
|
||
|
#define KDEVPLATFORM_PLUGIN_CVSGENERICOUTPUTVIEW_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include <KJob>
|
||
|
|
||
|
#include "ui_cvsgenericoutputview.h"
|
||
|
|
||
|
class CvsPlugin;
|
||
|
class CvsJob;
|
||
|
|
||
|
/**
|
||
|
* Shows plain text.
|
||
|
*
|
||
|
* Text can either be added directly by calling appendText().
|
||
|
*
|
||
|
* Or by connecting a job's result() signal to slotJobFinished().
|
||
|
*
|
||
|
* @author Robert Gruber <rgruber@users.sourceforge.net>
|
||
|
*/
|
||
|
class CvsGenericOutputView : public QWidget, private Ui::CvsGenericOutputViewBase {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit CvsGenericOutputView(CvsJob* job = 0, QWidget* parent = 0);
|
||
|
virtual ~CvsGenericOutputView();
|
||
|
|
||
|
public slots:
|
||
|
void appendText(const QString& text);
|
||
|
void slotJobFinished(KJob* job);
|
||
|
};
|
||
|
|
||
|
#endif
|