12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef REMOTEGENERATOR_H
- #define REMOTEGENERATOR_H
- #include <QObject>
- #include <QDebug>
- #include <QtCore>
- #include <QMessageBox>
- class MainWindow;
- class RemoteGenerator : public QObject
- {
- Q_OBJECT
- public:
- RemoteGenerator(MainWindow *mainWindow);
- ~RemoteGenerator();
- public:
- void getPage(QUrl url, QString name, bool waitForFinished = false);
- signals:
- void message(QString message);
- void finished();
- private slots:
- void debugProcess();
- void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
- private:
- MainWindow *m_mainWindow;
- QDir m_outputDir;
- };
- #endif // REMOTEGENERATOR_H
|