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 --- widgets/activeStations.h | 124 +++++++++++++++++++++++------------------------ 1 file changed, 62 insertions(+), 62 deletions(-) (limited to 'widgets/activeStations.h') diff --git a/widgets/activeStations.h b/widgets/activeStations.h index c3951272..60cdc700 100755 --- a/widgets/activeStations.h +++ b/widgets/activeStations.h @@ -1,62 +1,62 @@ -// -*- Mode: C++ -*- -#ifndef ARRL_DIGI_H_ -#define ARRL_DIGI_H_ - -#include -#include - -class QSettings; -class QFont; - -namespace Ui { - class ActiveStations; -} - -class ActiveStations - : public QWidget -{ - Q_OBJECT - -public: - explicit ActiveStations(QSettings *, QFont const&, QWidget * parent = 0); - ~ActiveStations(); - void displayRecentStations(QString mode, QString const&); - void setupUi(QString display_mode); - void changeFont (QFont const&); - int maxRecent(); - int maxAge(); - void setClickOK(bool b); - void erase(); - bool readyOnly(); - bool wantedOnly(); - void setRate(int n); - void setBandChanges(int n); - void setScore(int n); - void clearStations(); - void addLine(QString); - - bool m_clickOK=false; - bool m_bReadyOnly; - bool m_bWantedOnly; - -private: - void read_settings (); - void write_settings (); - Q_SIGNAL void callSandP(int nline); - Q_SIGNAL void activeStationsDisplay(); - Q_SIGNAL void cursorPositionChanged(); - Q_SIGNAL void queueActiveWindowHound(QString text); - - Q_SLOT void on_cbReadyOnly_toggled(bool b); - Q_SLOT void on_cbWantedOnly_toggled(bool b); - Q_SLOT void on_textEdit_clicked(); - - QString m_mode=""; - QSettings * settings_; - QString m_textbuffer=""; // F/H mode band decodes - QMap m_decodes_by_frequency; // store decodes for F/H band awareness by frequency - - QScopedPointer ui; -}; - -#endif +// -*- Mode: C++ -*- +#ifndef ARRL_DIGI_H_ +#define ARRL_DIGI_H_ + +#include +#include + +class QSettings; +class QFont; + +namespace Ui { + class ActiveStations; +} + +class ActiveStations + : public QWidget +{ + Q_OBJECT + +public: + explicit ActiveStations(QSettings *, QFont const&, QWidget * parent = 0); + ~ActiveStations(); + void displayRecentStations(QString mode, QString const&); + void setupUi(QString display_mode); + void changeFont (QFont const&); + int maxRecent(); + int maxAge(); + void setClickOK(bool b); + void erase(); + bool readyOnly(); + bool wantedOnly(); + void setRate(int n); + void setBandChanges(int n); + void setScore(int n); + void clearStations(); + void addLine(QString); + + bool m_clickOK=false; + bool m_bReadyOnly; + bool m_bWantedOnly; + +private: + void read_settings (); + void write_settings (); + Q_SIGNAL void callSandP(int nline); + Q_SIGNAL void activeStationsDisplay(); + Q_SIGNAL void cursorPositionChanged(); + Q_SIGNAL void queueActiveWindowHound(QString text); + + Q_SLOT void on_cbReadyOnly_toggled(bool b); + Q_SLOT void on_cbWantedOnly_toggled(bool b); + Q_SLOT void on_textEdit_clicked(); + + QString m_mode=""; + QSettings * settings_; + QString m_textbuffer=""; // F/H mode band decodes + QMap m_decodes_by_frequency; // store decodes for F/H band awareness by frequency + + QScopedPointer ui; +}; + +#endif -- cgit v1.2.3