summaryrefslogtreecommitdiff
path: root/src/tikzit.h
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-12-20 22:36:51 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-12-20 22:36:51 +0100
commit3b132a72ebc2694dfd1695e6a45e34e60fa1f75e (patch)
tree98048d9605c3807ccdefaf76e47a4b9dbba772dd /src/tikzit.h
parentfc24b3787a82a3b467fde9f52e1a5559160b7fe0 (diff)
parent52b50ae84813951e5cbc457153bd981e5a96bc2d (diff)
Merge branch 'poppler'
Diffstat (limited to 'src/tikzit.h')
-rw-r--r--src/tikzit.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/tikzit.h b/src/tikzit.h
index 5fed22c..9011cc3 100644
--- a/src/tikzit.h
+++ b/src/tikzit.h
@@ -60,6 +60,8 @@
#include "propertypalette.h"
#include "stylepalette.h"
#include "tikzstyles.h"
+#include "latexprocess.h"
+#include "previewwindow.h"
#include <QObject>
#include <QVector>
@@ -135,8 +137,12 @@ public:
public slots:
void setCheckForUpdates(bool check);
- void checkForUpdates();
- void updateReply(QNetworkReply *reply);
+ void checkForUpdates(bool manual);
+ void updateAuto(QNetworkReply *reply);
+ void updateManual(QNetworkReply *reply);
+ void updateReply(QNetworkReply *reply, bool manual);
+ void makePreview();
+ void cleanupLatex();
private:
// void createMenu();
@@ -153,6 +159,8 @@ private:
StyleEditor *_styleEditor;
QStringList _colNames;
QVector<QColor> _cols;
+ LatexProcess *_latex;
+ PreviewWindow *_preview;
};
extern Tikzit *tikzit;