Replaced QGit icons
[qgit4/bulb.git] / src / consoleimpl.h
blob550b555676c8f2a7d4e4594fe8db60161eda474f
1 /*
2 Description: stdout viewer
4 Author: Marco Costalba (C) 2006-2007
6 Copyright: See COPYING file that comes with this distribution
8 */
9 #ifndef CONSOLEIMPL_H
10 #define CONSOLEIMPL_H
12 #include <QCloseEvent>
13 #include <QPointer>
14 #include "ui_console.h"
16 class MyProcess;
17 class Git;
19 class ConsoleImpl : public QMainWindow, Ui_Console { // we need a statusbar
20 Q_OBJECT
21 public:
22 ConsoleImpl(const QString& nm, Git* g);
23 bool start(const QString& cmd,const QString& args);
25 signals:
26 void customAction_exited(const QString& name);
28 public slots:
29 void typeWriterFontChanged();
30 void procReadyRead(const QByteArray& data);
31 void procFinished();
33 protected slots:
34 virtual void closeEvent(QCloseEvent* ce);
35 void pushButtonTerminate_clicked();
36 void pushButtonOk_clicked();
38 private:
39 Git* git;
40 QString actionName;
41 QPointer<MyProcess> proc;
42 QString inpBuf;
45 #endif