Skip to content

Commit

Permalink
codefactor.io cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
d authored and d committed Mar 23, 2024
1 parent d05c0aa commit edcf84f
Show file tree
Hide file tree
Showing 22 changed files with 11 additions and 28 deletions.
3 changes: 1 addition & 2 deletions src/downloadcty.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class QSslError;

class DownLoadCTY : public QObject {
Q_OBJECT

public:
explicit DownLoadCTY(const QString &_klogDir, const QString &_klogVersion);
~DownLoadCTY();
Expand Down Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/inputwidgets/mainwindowinputcomment.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class MainWindowInputComment : public QWidget
QString comment;
QLineEdit *commentLineEdit;
QCheckBox *keepThisDataForNextQSOQCheckbox;

};

#endif // MAINWINDOWINPUTCOMMENT_H
3 changes: 1 addition & 2 deletions src/inputwidgets/mainwindowinputeqsl.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
class MainWindowInputEQSL : public QWidget
{
Q_OBJECT

public:
explicit MainWindowInputEQSL(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowInputEQSL();
Expand Down Expand Up @@ -76,7 +77,6 @@ class MainWindowInputEQSL : public QWidget

void setQueueSentByDefault(const bool _b);


signals:

private slots:
Expand All @@ -100,7 +100,6 @@ private slots:

QStringList qslSentStatusList, qslRcvdStatusList, clubLogStatusList;
bool queueSentByDefault;

};

#endif // MAINWINDOWINPUTEQSL_H
1 change: 1 addition & 0 deletions src/inputwidgets/mainwindowinputqsl.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
class MainWindowInputQSL : public QWidget
{
Q_OBJECT

public:
explicit MainWindowInputQSL(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowInputQSL();
Expand Down
1 change: 1 addition & 0 deletions src/inputwidgets/mainwindowmydatatab.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
class MainWindowMyDataTab : public QWidget
{
Q_OBJECT

public:
explicit MainWindowMyDataTab(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowMyDataTab();
Expand Down
1 change: 1 addition & 0 deletions src/inputwidgets/mainwindowsattab.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class MainWindowSatTab : public QWidget
{
Q_OBJECT
friend class tst_MainWindowSatTab;

public:
explicit MainWindowSatTab(DataProxy_SQLite *dp, QWidget *parent = nullptr);
~MainWindowSatTab();
Expand Down
5 changes: 2 additions & 3 deletions src/locator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions src/setuppages/hamlibnetworkconfigwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
class HamLibNetworkConfigWidget : public QWidget
{
Q_OBJECT

public:
explicit HamLibNetworkConfigWidget(QWidget *parent = nullptr);
void createUI();
Expand Down
2 changes: 0 additions & 2 deletions src/setuppages/setupentitydialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ private slots:
void slotCheckDeletedDate();
void slotCheckPrefixes();


signals:
void entityAdded(const QStringList _qs); // entity

Expand Down Expand Up @@ -93,7 +92,6 @@ private slots:
//QPalette *paletteOrig, *paletteWrong;
//QColor color;
QPalette pal, palw;

};


Expand Down
2 changes: 1 addition & 1 deletion src/setuppages/setuppagebandmode.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
class SetupPageBandMode : public QWidget
{
Q_OBJECT

public:
SetupPageBandMode(DataProxy_SQLite *dp, QWidget *parent=nullptr);
~SetupPageBandMode();
Expand All @@ -60,7 +61,6 @@ public slots:

DataProxy_SQLite *dataProxy;
Utilities *util;

};

#endif // SETUPPAGEBANDMODE_H
2 changes: 0 additions & 2 deletions src/setuppages/setuppagecolors.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class SetupPageColors : public QWidget {
void loadSettings();
void loadDarkMode(); // Reads the config to setup the DarkMode


private slots:
void slotNewOneColorButtonClicked();
void slotConfirmedColorButtonClicked();
Expand All @@ -66,7 +65,6 @@ private slots:
void slotKLogButtonClicked();
void slotSetDarkMode();


private:
Utilities *util;
bool darkMode;
Expand Down
1 change: 0 additions & 1 deletion src/setuppages/setuppagedxcluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ private slots:
void slotDeleteButtonClicked();

private:

void createActions();
bool checkIfValidDXCluster (const QString &tdxcluster);
bool checkIfNewDXCluster (const QString &tdxcluster);
Expand Down
1 change: 1 addition & 0 deletions src/setuppages/setuppagehamlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
class SetupPageHamLib : public QWidget
{
Q_OBJECT

public:
explicit SetupPageHamLib(DataProxy_SQLite *dp, QWidget *parent = nullptr);
//QString getData();
Expand Down
1 change: 0 additions & 1 deletion src/setuppages/setuppagelogsnew.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ private slots:
QLabel *stationCallsignLabel, *operatorsLabel, *commentLabel, *dateLabel;

bool checking; //, bCass, bCOp, bCMo, bCPo, bCBa, bCOv, bCTy;

};

#endif // SETUPPAGELOGSNEW_H
1 change: 1 addition & 0 deletions src/setuppages/setuppagelogview.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
class SetupPageLogView : public QWidget
{
Q_OBJECT

public:
SetupPageLogView(DataProxy_SQLite *dp, QWidget *parent=nullptr);
~SetupPageLogView();
Expand Down
1 change: 0 additions & 1 deletion src/setuppages/setuppagemisc.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ private slots:
bool dbPathApplied;

QComboBox *debugLogLevelCombo;
//QWidget *bandsWidget;
};


Expand Down
3 changes: 0 additions & 3 deletions src/setuppages/setuppagesats.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
#include "../utilities.h"
#include "../setuppages/setuppagesatsnew.h"



class SetupPageSats : public QWidget {
Q_OBJECT

Expand All @@ -49,7 +47,6 @@ class SetupPageSats : public QWidget {
void setDefaultStationCallsign (const QString &_p);
void setDefaultOperators(const QString &_p);


private slots:
void slotImportButtonClicked();
void slotExportButtonClicked();
Expand Down
1 change: 0 additions & 1 deletion src/setuppages/setuppagesatsnew.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ private slots:

QStringList satData;
bool editing;

};

#endif // SETUPPAGESATSNEW_H
1 change: 0 additions & 1 deletion src/setuppages/setuppagesubdivisionnew.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ private slots:
//nameLabel->setBuddy();

bool checking; //, bCass, bCOp, bCMo, bCPo, bCBa, bCOv, bCTy;

};

#endif // SETUPPAGEREGIONALAWARDSNEW_H
2 changes: 0 additions & 2 deletions src/setuppages/setuppagesubdivisions.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ private slots:
int selectedLog;

//QString defaultStationCallSign, defaultOperators;


};

#endif // SETUPPAGEREGIONALAWARDS_H
1 change: 0 additions & 1 deletion src/setuppages/setuppageworldeditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ private slots:
void slotImportWorldButtonClicked();

private:

World *world;
Utilities *util;
DataProxy_SQLite *dataProxy;
Expand Down
4 changes: 0 additions & 4 deletions src/startwizard.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,18 @@ class CTYPage;
//~StartWizard();

protected:

private slots:
void slotCancelWizard();
//void slotRunInMemory(bool checked);
void slotButtonFinishedClicked();


private:

//FileOrMemoryPage *fileOrMemoryPage;
CTYPage *ctyPage;
QString version;
//bool inMemory;
QString klogDir;

};

class IntroPage : public QWizardPage
Expand Down Expand Up @@ -153,7 +150,6 @@ private slots:
signals:
void downloadTheFileSignal(const bool mem);


private:
//bool prepareTheDownload();
//bool doTheDownload();
Expand Down

0 comments on commit edcf84f

Please sign in to comment.