// Copyright 2005-2020 The Mumble Developers. All rights reserved. // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file at the root of the // Mumble source tree or at . #ifndef MUMBLE_MUMBLE_VERSIONCHECK_H_ #define MUMBLE_MUMBLE_VERSIONCHECK_H_ #include #include #include #include class VersionCheck : public QObject { private: Q_OBJECT Q_DISABLE_COPY(VersionCheck) QFutureWatcher m_preparationWatcher; QUrl m_requestURL; protected slots: void performRequest(); public slots: void fetched(QByteArray data, QUrl url); public: VersionCheck(bool autocheck, QObject *parent = NULL, bool focus = false); }; #endif