ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Window.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <QMainWindow>
11 #include <QApplication>
12 
13 namespace Ui
14 {
15 class Window;
16 }
17 
18 class QSimpleUpdater;
19 
20 class Window : public QMainWindow
21 {
22  Q_OBJECT
23 
24 public:
25  explicit Window(QWidget *parent = 0);
26  ~Window();
27 
28 public slots:
29  void resetFields();
30  void checkForUpdates();
31  void updateChangelog(const QString &url);
32  void displayAppcast(const QString &url, const QByteArray &reply);
33 
34 private:
35  Ui::Window *m_ui;
36  QSimpleUpdater *m_updater;
37 };
#define slots
Manages the updater instances.
struct Window Window
Definition: sqlite3.c:14678
void checkForUpdates()
Definition: Window.cpp:81
~Window()
Definition: Window.cpp:58
void displayAppcast(const QString &url, const QByteArray &reply)
Definition: Window.cpp:117
void resetFields()
Definition: Window.cpp:67
void updateChangelog(const QString &url)
Definition: Window.cpp:107
Window(QWidget *parent=0)
Definition: Window.cpp:26