From 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Jan 2025 22:12:06 +0100 Subject: New upstream version 2.7.0~rc8+repack --- SampleDownloader.hpp | 100 +++++++++++++++++++++++++-------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) (limited to 'SampleDownloader.hpp') diff --git a/SampleDownloader.hpp b/SampleDownloader.hpp index a2121ae4..0dfa05be 100755 --- a/SampleDownloader.hpp +++ b/SampleDownloader.hpp @@ -1,50 +1,50 @@ -#ifndef SAMPLE_DOWNLOADER_HPP__ -#define SAMPLE_DOWNLOADER_HPP__ - -#include - -#include "pimpl_h.hpp" - -class QSettings; -class QWidget; -class QNetworkAccessManager; -class Configuration; - -// -// SampleDownloader - A Dialog to maintain sample files -// -// This uses a Qt Dialog window that contains a tree view of the -// available sample files on a web or ftp server. The files can be -// installed locally by ticking a check box or removed from the local -// machine by un-ticking the check boxes. -// -// The class requires a pointer to an open QSettings instance where it -// will save its persistent state, a pointer to a WSJT-X Configuration -// instance that is used to obtain configuration information like the -// current file save location and, a pointer to a -// QNetworkAccessManager instance which is used for network requests. -// -// An instance of SampleDownloader need not be destroyed after use, -// just call SampleDownloader::show() to make the dialog visible -// again. -// -class SampleDownloader final - : public QObject -{ - Q_OBJECT; - -public: - SampleDownloader (QSettings * settings - , Configuration const * - , QNetworkAccessManager * - , QWidget * parent = nullptr); - ~SampleDownloader (); - - Q_SLOT void show (); - -private: - class impl; - pimpl m_; -}; - -#endif +#ifndef SAMPLE_DOWNLOADER_HPP__ +#define SAMPLE_DOWNLOADER_HPP__ + +#include + +#include "pimpl_h.hpp" + +class QSettings; +class QWidget; +class QNetworkAccessManager; +class Configuration; + +// +// SampleDownloader - A Dialog to maintain sample files +// +// This uses a Qt Dialog window that contains a tree view of the +// available sample files on a web or ftp server. The files can be +// installed locally by ticking a check box or removed from the local +// machine by un-ticking the check boxes. +// +// The class requires a pointer to an open QSettings instance where it +// will save its persistent state, a pointer to a WSJT-X Configuration +// instance that is used to obtain configuration information like the +// current file save location and, a pointer to a +// QNetworkAccessManager instance which is used for network requests. +// +// An instance of SampleDownloader need not be destroyed after use, +// just call SampleDownloader::show() to make the dialog visible +// again. +// +class SampleDownloader final + : public QObject +{ + Q_OBJECT; + +public: + SampleDownloader (QSettings * settings + , Configuration const * + , QNetworkAccessManager * + , QWidget * parent = nullptr); + ~SampleDownloader (); + + Q_SLOT void show (); + +private: + class impl; + pimpl m_; +}; + +#endif -- cgit v1.2.3