summaryrefslogtreecommitdiff
path: root/src/tikzit.h
diff options
context:
space:
mode:
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;