diff options
| author | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:12 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:12 +0100 |
| commit | 98c02f78b26811ba5d9962ba27ec24cacf82bb22 (patch) | |
| tree | daaf609cde31d8fb3b6c3457c43663d14f0dda80 /widgets/AbstractLogWindow.hpp | |
| parent | 332d2ce88c2f0bc2908cacdc6707e2f9fa49f26d (diff) | |
| parent | 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (diff) | |
Update upstream source from tag 'upstream/2.7.0_rc8+repack'
Update to upstream version '2.7.0~rc8+repack'
with Debian dir 6fce941c8282d35c8df23d3de779a42e27688bc1
Diffstat (limited to 'widgets/AbstractLogWindow.hpp')
| -rwxr-xr-x | widgets/AbstractLogWindow.hpp | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/widgets/AbstractLogWindow.hpp b/widgets/AbstractLogWindow.hpp index 47d331c5..476ff62f 100755 --- a/widgets/AbstractLogWindow.hpp +++ b/widgets/AbstractLogWindow.hpp @@ -1,43 +1,43 @@ -#ifndef ABSTRACT_LOG_WINDOW_HPP_
-#define ABSTRACT_LOG_WINDOW_HPP_
-
-#include <QWidget>
-#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<impl> m_;
-};
-
-#endif
+#ifndef ABSTRACT_LOG_WINDOW_HPP_ +#define ABSTRACT_LOG_WINDOW_HPP_ + +#include <QWidget> +#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<impl> m_; +}; + +#endif |
