Remove unused code from the Release 2 scope modules

Trim mostly-deletion changes (~700 lines) across the modules the Release
2 build compiles: unused telegrams and receiver/handler code in
TrainingAreaBase (telegrams, recv_from_dds_aes/fts, ism/main/pdm/position
handlers), dead members in SqlBrowser and ProjectDataManagement,
unused LtsPluginManager loader paths, LtsSession unit-test, WlsTetra and
DdsView cleanups, plus the stale include_directories removal in
Lts/CMakeLists.txt. Continues the Release 2 source prune (keep only what
the build compiles).

Excluded from this commit by design: the machine-specific .envrc
(MIGRATE_PIPELINE_ROOT path fix stays uncommitted) and the untracked
qt5-before/ reference tree.
This commit is contained in:
berrux-dev committed 2026-11-17 17:28:48 +01:00
1 parent e60a860283
commit 84f8cfb41f
45 files changed
+30 -724

No files matched your search

@@ -1,8 +1,6 @@
#include "AddModel.h"
#include <QtCore/QDebug>
void AddModel::setHeaderList(const HeaderList& headerList)
{
m_headerList = headerList;
@@ -10,17 +8,14 @@ void AddModel::setHeaderList(const HeaderList& headerList)
endResetModel();
}
const HeaderList& AddModel::getHeaderList() const
{
return m_headerList;
}
bool AddModel::removeRow(int row, const QModelIndex &parent)
{
//qWarning() << "removeRow";
(void)parent;
if (row >= m_dataList.count())
@@ -36,7 +31,6 @@ bool AddModel::removeRow(int row, const QModelIndex &parent)
return true;
}
void AddModel::clear()
{
beginResetModel();
@@ -44,7 +38,6 @@ void AddModel::clear()
endResetModel();
}
QVariant AddModel::data(const QModelIndex &index, int role) const
{
switch (role)
@@ -96,7 +89,6 @@ bool AddModel::setData(const QModelIndex &index, const QVariant &value, int role
return true;
}
QMetaType::Type AddModel::getColumnType(const int column) const
{
if (column < 0 || column >= m_headerList.size())
@@ -104,7 +96,6 @@ QMetaType::Type AddModel::getColumnType(const int column) const
return m_headerList.at(column).second;
}
QVariant AddModel::headerData(int section, Qt::Orientation orientation, int role) const
{
if (orientation != Qt::Horizontal)
@@ -121,19 +112,16 @@ QVariant AddModel::headerData(int section, Qt::Orientation orientation, int role
return QVariant();
}
int AddModel::rowCount(const QModelIndex &) const
{
return m_dataList.count() + 1 /* empty row for new data */; // yes, if the user wants to add more than 1 line!
}
int AddModel::columnCount(const QModelIndex &) const
{
return m_headerList.count();
}
Qt::ItemFlags AddModel::flags(const QModelIndex &) const
{
return Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsEditable;
@@ -145,7 +133,6 @@ void AddModel::setTablename(const QString& tableName)
m_tableName = tableName;
}
const QString& AddModel::getTableName() const
{
return m_tableName;