diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-16 12:37:12 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-16 12:57:29 +0200 |
| commit | 5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch) | |
| tree | 4d09343cfe757239895a0dd9b399242d2a07d7c2 /widgets/AbstractLogWindow.hpp | |
| parent | 23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff) | |
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
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 476ff62f..47d331c5 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
|
