diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-10-20 14:46:45 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-10-20 14:46:45 +0200 |
commit | c2fcad0f3fdaba6690258ad8d059f36c9eba95cb (patch) | |
tree | e3a94c2fde1a36461ef9f610d18673e80be5c8d2 /src/tikzit.h | |
parent | 8b3d8aeba693908f4b1b21aa46d394786c35db28 (diff) |
added about box
Diffstat (limited to 'src/tikzit.h')
-rw-r--r-- | src/tikzit.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tikzit.h b/src/tikzit.h index 8980f17..87599e7 100644 --- a/src/tikzit.h +++ b/src/tikzit.h @@ -49,6 +49,8 @@ #ifndef TIKZIT_H #define TIKZIT_H +#define TIKZIT_VERSION "2.0-rc1" + #include "mainwindow.h" #include "mainmenu.h" #include "ui_mainmenu.h" @@ -67,6 +69,7 @@ #include <QMainWindow> #include <QFont> #include <QColor> +#include <QNetworkAccessManager> // Number of pixels between (0,0) and (1,0) at 100% zoom level. This should be // divisible by 8 to avoid rounding errors with e.g. grid-snapping. @@ -107,8 +110,6 @@ public: void removeWindow(MainWindow *w); static QFont LABEL_FONT; -// Ui::MainMenu *_mainMenuUi; -// QMenuBar *_mainMenu; void newDoc(); void open(); @@ -132,7 +133,10 @@ public: QString styleFilePath() const; public slots: - //void focusChanged(QWidget *old, QWidget *nw); + void setCheckForUpdates(bool check); + void checkForUpdates(); + void updateReply(QNetworkReply *reply); + private: // void createMenu(); |