diff options
| author | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
| commit | cd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch) | |
| tree | 5a622ec4193e9bc899f6499f936848a661be29cb /SampleDownloader.hpp | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'SampleDownloader.hpp')
| -rw-r--r--[-rwxr-xr-x] | SampleDownloader.hpp | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/SampleDownloader.hpp b/SampleDownloader.hpp index a2121ae4..0dfa05be 100755..100644 --- a/SampleDownloader.hpp +++ b/SampleDownloader.hpp @@ -1,50 +1,50 @@ -#ifndef SAMPLE_DOWNLOADER_HPP__
-#define SAMPLE_DOWNLOADER_HPP__
-
-#include <QObject>
-
-#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<impl> m_;
-};
-
-#endif
+#ifndef SAMPLE_DOWNLOADER_HPP__ +#define SAMPLE_DOWNLOADER_HPP__ + +#include <QObject> + +#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<impl> m_; +}; + +#endif |
