From f647d78463c1250ce9c99af664615fafccf5e959 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 7 Apr 2026 19:02:45 +0200 Subject: New upstream version 3.0.0 --- widgets/AbstractLogWindow.hpp | 86 +++++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 43 deletions(-) mode change 100755 => 100644 widgets/AbstractLogWindow.hpp (limited to 'widgets/AbstractLogWindow.hpp') diff --git a/widgets/AbstractLogWindow.hpp b/widgets/AbstractLogWindow.hpp old mode 100755 new mode 100644 index 47d331c5..476ff62f --- a/widgets/AbstractLogWindow.hpp +++ b/widgets/AbstractLogWindow.hpp @@ -1,43 +1,43 @@ -#ifndef ABSTRACT_LOG_WINDOW_HPP_ -#define ABSTRACT_LOG_WINDOW_HPP_ - -#include -#include "pimpl_h.hpp" - -class QString; -class QSettings; -class Configuration; -class QTableView; -class QFont; - -// -// AbstractLogWindow - Base class for log view windows -// -// QWidget that manages the common functionality shared by windows -// that include a QSO log view. -// -class AbstractLogWindow - : public QWidget -{ - Q_OBJECT - -public: - AbstractLogWindow (QString const& settings_key, QSettings * settings - , Configuration const * configuration - , QWidget * parent = nullptr); - virtual ~AbstractLogWindow () = 0; - - // set the QTableView that shows the log records, must have its - // model set before calling this - void set_log_view (QTableView *); - - void set_log_view_font (QFont const&); - -private: - virtual void log_model_changed (int row = -1) = 0; - - class impl; - pimpl m_; -}; - -#endif +#ifndef ABSTRACT_LOG_WINDOW_HPP_ +#define ABSTRACT_LOG_WINDOW_HPP_ + +#include +#include "pimpl_h.hpp" + +class QString; +class QSettings; +class Configuration; +class QTableView; +class QFont; + +// +// AbstractLogWindow - Base class for log view windows +// +// QWidget that manages the common functionality shared by windows +// that include a QSO log view. +// +class AbstractLogWindow + : public QWidget +{ + Q_OBJECT + +public: + AbstractLogWindow (QString const& settings_key, QSettings * settings + , Configuration const * configuration + , QWidget * parent = nullptr); + virtual ~AbstractLogWindow () = 0; + + // set the QTableView that shows the log records, must have its + // model set before calling this + void set_log_view (QTableView *); + + void set_log_view_font (QFont const&); + +private: + virtual void log_model_changed (int row = -1) = 0; + + class impl; + pimpl m_; +}; + +#endif -- cgit v1.2.3