1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
/***************************************************************************
* Copyright (C) 2004-2015 by Pere Constans
* constans@molspaces.com
* cb2Bib version 1.9.2. Licensed under the GNU GPL version 3.
* See the LICENSE file that comes with this distribution.
***************************************************************************/
#ifndef C2BPOSTPROCESS_H
#define C2BPOSTPROCESS_H
#include "ui_c2bLogWidget.h"
#include <QDialog>
class QProcess;
class c2bPostprocess : public QDialog
{
Q_OBJECT
public:
c2bPostprocess(const QString& fn, QWidget* parentw = 0);
~c2bPostprocess();
protected:
void PProcessFile();
void addToLog();
protected slots:
void conversionEnded();
void help();
void openFile();
private:
QProcess* _ppBibTeX;
QPushButton* _buttonOpenFile;
QString PPBIBTEX_ARG;
QString PPBIBTEX_BIN;
QString PPBIBTEX_EXT;
QString _bib;
QString _out;
Ui::c2bLogWidget ui;
};
#endif
|