Leonardo MurilloCode Review changes869461a11 years agoHistory
43 lines · 1003 B · C
RawDownload
////  UpdateDialog.h//  interface/src/ui////  Created by Leonardo Murillo on 6/3/15.//  Copyright 2015 High Fidelity, Inc.////  Distributed under the Apache License, Version 2.0.//  See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html// #pragma once#ifndef hifi_UpdateDialog_h#define hifi_UpdateDialog_h #include <QtCore/QCoreApplication> #include <OffscreenQmlDialog.h> class UpdateDialog : public OffscreenQmlDialog {    Q_OBJECT    HIFI_QML_DECL        Q_PROPERTY(QString updateAvailableDetails READ updateAvailableDetails)    Q_PROPERTY(QString releaseNotes READ releaseNotes)    public:    UpdateDialog(QQuickItem* parent = nullptr);    const QString& updateAvailableDetails() const;    const QString& releaseNotes() const;    private:    QString _updateAvailableDetails;    QString _releaseNotes; protected:    void hide();    Q_INVOKABLE void triggerUpgrade();    Q_INVOKABLE void closeDialog(); }; #endif // hifi_UpdateDialog_h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t