summaryrefslogtreecommitdiff
path: root/widgets/activeStations.h
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /widgets/activeStations.h
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'widgets/activeStations.h')
-rw-r--r--[-rwxr-xr-x]widgets/activeStations.h124
1 files changed, 62 insertions, 62 deletions
diff --git a/widgets/activeStations.h b/widgets/activeStations.h
index c3951272..60cdc700 100755..100644
--- a/widgets/activeStations.h
+++ b/widgets/activeStations.h
@@ -1,62 +1,62 @@
-// -*- Mode: C++ -*-
-#ifndef ARRL_DIGI_H_
-#define ARRL_DIGI_H_
-
-#include <QWidget>
-#include <QMap>
-
-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<int, QString> m_decodes_by_frequency; // store decodes for F/H band awareness by frequency
-
- QScopedPointer<Ui::ActiveStations> ui;
-};
-
-#endif
+// -*- Mode: C++ -*-
+#ifndef ARRL_DIGI_H_
+#define ARRL_DIGI_H_
+
+#include <QWidget>
+#include <QMap>
+
+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<int, QString> m_decodes_by_frequency; // store decodes for F/H band awareness by frequency
+
+ QScopedPointer<Ui::ActiveStations> ui;
+};
+
+#endif