Skip to content

Commit

Permalink
Commented out the dataproxy
Browse files Browse the repository at this point in the history
Removed the functions using dataproxy
  • Loading branch information
d authored and d committed Apr 23, 2024
1 parent a5bb391 commit 91f7c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/frequency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ bool Frequency::fromQString(const QString &_f, FreqUnits _u)
freq = normalize(freq, _u);
return isValid();
}

/*
bool Frequency::fromBand(const QString &_bandName)
{
DataProxy_SQLite dataProxy(Q_FUNC_INFO);
int id = dataProxy.getIdFromBandName(_bandName);
freq = fromQString(dataProxy.getFreqFromBandId(id));
return isValid();
}
*/

double Frequency::toDouble(FreqUnits _u)
{
Expand Down Expand Up @@ -118,7 +119,7 @@ void Frequency::setTolerance(const double _t, FreqUnits _u)
break;
}
}

/*
QString Frequency::band()
{
DataProxy_SQLite dataProxy(Q_FUNC_INFO);
Expand All @@ -130,7 +131,7 @@ int Frequency::bandId()
DataProxy_SQLite dataProxy(Q_FUNC_INFO);
return dataProxy.getBandIdFromFreq(toDouble());
}

*/
bool Frequency::isValid()
{
return (freq>=0);
Expand Down
1 change: 0 additions & 1 deletion src/frequency.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

#include <QObject>
#include "klogdefinitions.h"
#include "dataproxy_sqlite.h"

class Frequency: public QObject {
Q_OBJECT
Expand Down

0 comments on commit 91f7c86

Please sign in to comment.