/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/#pragma once#include <QObject>#include <QUrl>/// @file/// @brief Core Plugin Interface for QGroundControl. Settings element./// @author Gus Grubba <mavlink@grubba.com>classQGCSettings:publicQObject{Q_OBJECTpublic:QGCSettings(QStringtitle,QUrlurl,QUrlicon=QUrl());Q_PROPERTY(QStringtitleREADtitleCONSTANT)Q_PROPERTY(QUrlurlREADurlCONSTANT)Q_PROPERTY(QUrliconREADiconCONSTANT)virtualQStringtitle(){return_title;}virtualQUrlurl(){return_url;}virtualQUrlicon(){return_icon;}protected:QString_title;QUrl_url;QUrl_icon;};