codefactor.io cleaning

This commit is contained in:
d 2024-03-24 00:37:08 +01:00
parent d05c0aacde
commit edcf84f77f
22 changed files with 11 additions and 28 deletions

View File

@ -43,6 +43,7 @@ class QSslError;
class DownLoadCTY : public QObject {
Q_OBJECT
public:
explicit DownLoadCTY(const QString &_klogDir, const QString &_klogVersion);
~DownLoadCTY();
@ -70,8 +71,6 @@ private slots:
void slotDownloadProgress(qint64 received, qint64 total);
void slotErrorManagement(QNetworkReply::NetworkError networkError);
signals:
void actionReturnDownload(const int _i);
void done(bool _success);

View File

@ -49,7 +49,6 @@ private:
QString comment;
QLineEdit *commentLineEdit;
QCheckBox *keepThisDataForNextQSOQCheckbox;
};
#endif // MAINWINDOWINPUTCOMMENT_H

View File

@ -37,6 +37,7 @@
class MainWindowInputEQSL : public QWidget
{
Q_OBJECT
public:
explicit MainWindowInputEQSL(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowInputEQSL();
@ -76,7 +77,6 @@ public:
void setQueueSentByDefault(const bool _b);
signals:
private slots:
@ -100,7 +100,6 @@ private:
QStringList qslSentStatusList, qslRcvdStatusList, clubLogStatusList;
bool queueSentByDefault;
};
#endif // MAINWINDOWINPUTEQSL_H

View File

@ -38,6 +38,7 @@
class MainWindowInputQSL : public QWidget
{
Q_OBJECT
public:
explicit MainWindowInputQSL(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowInputQSL();

View File

@ -41,6 +41,7 @@
class MainWindowMyDataTab : public QWidget
{
Q_OBJECT
public:
explicit MainWindowMyDataTab(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowMyDataTab();

View File

@ -39,6 +39,7 @@ class MainWindowSatTab : public QWidget
{
Q_OBJECT
friend class tst_MainWindowSatTab;
public:
explicit MainWindowSatTab(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowSatTab();

View File

@ -39,9 +39,8 @@ const double RADIAN = 180.0/PI;
const double DEG_TO_RAD = PI/180.0;
const double KM_IN_A_MILE = 1.609344;
class Locator{
class Locator
{
public:
Locator();

View File

@ -8,6 +8,7 @@
class HamLibNetworkConfigWidget : public QWidget
{
Q_OBJECT
public:
explicit HamLibNetworkConfigWidget(QWidget *parent = nullptr);
void createUI();

View File

@ -61,7 +61,6 @@ private slots:
void slotCheckDeletedDate();
void slotCheckPrefixes();
signals:
void entityAdded(const QStringList _qs); // entity
@ -93,7 +92,6 @@ private:
//QPalette *paletteOrig, *paletteWrong;
//QColor color;
QPalette pal, palw;
};

View File

@ -36,6 +36,7 @@
class SetupPageBandMode : public QWidget
{
Q_OBJECT
public:
SetupPageBandMode(DataProxy_SQLite *dp, QWidget *parent=nullptr);
~SetupPageBandMode();
@ -60,7 +61,6 @@ private:
DataProxy_SQLite *dataProxy;
Utilities *util;
};
#endif // SETUPPAGEBANDMODE_H

View File

@ -55,7 +55,6 @@ public:
void loadSettings();
void loadDarkMode(); // Reads the config to setup the DarkMode
private slots:
void slotNewOneColorButtonClicked();
void slotConfirmedColorButtonClicked();
@ -66,7 +65,6 @@ private slots:
void slotKLogButtonClicked();
void slotSetDarkMode();
private:
Utilities *util;
bool darkMode;

View File

@ -50,7 +50,6 @@ private slots:
void slotDeleteButtonClicked();
private:
void createActions();
bool checkIfValidDXCluster (const QString &tdxcluster);
bool checkIfNewDXCluster (const QString &tdxcluster);

View File

@ -40,6 +40,7 @@
class SetupPageHamLib : public QWidget
{
Q_OBJECT
public:
explicit SetupPageHamLib(DataProxy_SQLite *dp, QWidget *parent = nullptr);
//QString getData();

View File

@ -89,7 +89,6 @@ private:
QLabel *stationCallsignLabel, *operatorsLabel, *commentLabel, *dateLabel;
bool checking; //, bCass, bCOp, bCMo, bCPo, bCBa, bCOv, bCTy;
};
#endif // SETUPPAGELOGSNEW_H

View File

@ -36,6 +36,7 @@
class SetupPageLogView : public QWidget
{
Q_OBJECT
public:
SetupPageLogView(DataProxy_SQLite *dp, QWidget *parent=nullptr);
~SetupPageLogView();

View File

@ -120,7 +120,6 @@ private:
bool dbPathApplied;
QComboBox *debugLogLevelCombo;
//QWidget *bandsWidget;
};

View File

@ -35,8 +35,6 @@
#include "../utilities.h"
#include "../setuppages/setuppagesatsnew.h"
class SetupPageSats : public QWidget {
Q_OBJECT
@ -49,7 +47,6 @@ public:
void setDefaultStationCallsign (const QString &_p);
void setDefaultOperators(const QString &_p);
private slots:
void slotImportButtonClicked();
void slotExportButtonClicked();

View File

@ -102,7 +102,6 @@ private:
QStringList satData;
bool editing;
};
#endif // SETUPPAGESATSNEW_H

View File

@ -102,7 +102,6 @@ private:
//nameLabel->setBuddy();
bool checking; //, bCass, bCOp, bCMo, bCPo, bCBa, bCOv, bCTy;
};
#endif // SETUPPAGEREGIONALAWARDSNEW_H

View File

@ -117,8 +117,6 @@ private:
int selectedLog;
//QString defaultStationCallSign, defaultOperators;
};
#endif // SETUPPAGEREGIONALAWARDS_H

View File

@ -63,7 +63,6 @@ private slots:
void slotImportWorldButtonClicked();
private:
World *world;
Utilities *util;
DataProxy_SQLite *dataProxy;

View File

@ -53,13 +53,11 @@ class CTYPage;
//~StartWizard();
protected:
private slots:
void slotCancelWizard();
//void slotRunInMemory(bool checked);
void slotButtonFinishedClicked();
private:
//FileOrMemoryPage *fileOrMemoryPage;
@ -67,7 +65,6 @@ class CTYPage;
QString version;
//bool inMemory;
QString klogDir;
};
class IntroPage : public QWizardPage
@ -153,7 +150,6 @@ private slots:
signals:
void downloadTheFileSignal(const bool mem);
private:
//bool prepareTheDownload();
//bool doTheDownload();