Formats minimally release source files based on former clang-format

This commit is contained in:
torsten committed 2026-10-14 13:28:01 +00:00
1 parent b662e4daf9
commit 5644914fe3
387 files changed
+37323 -38074

No files matched your search

@@ -23,7 +23,7 @@
namespace N_LogView
{
class LogViewTelegram;
class LogViewTelegram;
}
class QTableView;
@@ -38,164 +38,163 @@ class QToolBox;
namespace N_LogView
{
class LogViewInjectionThread;
class TelegramEdit;
class LogViewInjectionThread;
class TelegramEdit;
/**
/**
* @author alois.wismer
* @version 1.0
* @created 03-Feb-2010 16:44:53
*/
class LogViewGui : public QMainWindow
{
Q_OBJECT
public:
class LogViewGui : public QMainWindow
{
Q_OBJECT
public:
explicit LogViewGui(QWidget *a_parent);
explicit LogViewGui(QWidget* a_parent);
static const QLatin1String WINDOW_GROUP;
static const QLatin1String SCREEN;
static const QLatin1String WINDOW_GROUP;
static const QLatin1String SCREEN;
protected:
const QSize RADIO_BUTTON_ICON_SIZE;
static const QLatin1String SIZE;
static const QLatin1String POS;
static const QLatin1String SPLITTPOS;
static const QLatin1String TOOLBOXINDEX;
// Central
QGroupBox *m_CentralSelectionGroup;
std::set<int> m_CentralTelegramFilterList;
QCheckBox *m_SentCentralTelCheckBox;
QCheckBox *m_ReceivedCentralTelCheckBox;
QCheckBox *m_PosCentralTelCheckBox;
QCheckBox *m_ackCentralTelCheckBox;
// Tetra
QGroupBox *m_TetraSelectionGroup;
std::set<int> m_TetraTelegramFilterList;
QCheckBox *m_SentTetraTelCheckBox;
QCheckBox *m_ReceivedTetraTelCheckBox;
QCheckBox *m_PosTetraTelCheckBox;
QCheckBox *m_LoginTetraTelCheckBox;
QCheckBox *m_RegisterTetraTelCheckBox;
QCheckBox *m_ReportTetraTelCheckBox;
QCheckBox *m_FragmentedTetraTelCheckBox;
QCheckBox *m_AirInterfaceLoadTetraTelCheckBox;
// Wls
QGroupBox *m_WlsSelectionGroup;
std::set<int> m_WlsTelegramFilterList;
QCheckBox *m_SentWlsTelCheckBox;
QCheckBox *m_ReceivedWlsTelCheckBox;
QCheckBox *m_PosWlsTelCheckBox;
QCheckBox *m_ackWlsTelCheckBox;
protected:
QString m_ActualLogfile;
qint64 m_LogfileSize;
bool m_DoReload;
QToolBox *m_ToolBox;
QTableView *m_ParticipantTableView;
ParticipantModel *m_participantModel;
QSortFilterProxyModel *m_participantProxyModel;
const QSize RADIO_BUTTON_ICON_SIZE;
static const QLatin1String SIZE;
static const QLatin1String POS;
static const QLatin1String SPLITTPOS;
static const QLatin1String TOOLBOXINDEX;
// Central
QGroupBox *m_CentralSelectionGroup;
std::set<int> m_CentralTelegramFilterList;
QCheckBox* m_SentCentralTelCheckBox;
QCheckBox* m_ReceivedCentralTelCheckBox;
QCheckBox* m_PosCentralTelCheckBox;
QCheckBox* m_ackCentralTelCheckBox;
// Tetra
QGroupBox *m_TetraSelectionGroup;
std::set<int> m_TetraTelegramFilterList;
QCheckBox* m_SentTetraTelCheckBox;
QCheckBox* m_ReceivedTetraTelCheckBox;
QCheckBox* m_PosTetraTelCheckBox;
QCheckBox* m_LoginTetraTelCheckBox;
QCheckBox* m_RegisterTetraTelCheckBox;
QCheckBox* m_ReportTetraTelCheckBox;
QCheckBox* m_FragmentedTetraTelCheckBox;
QCheckBox* m_AirInterfaceLoadTetraTelCheckBox;
// Wls
QGroupBox *m_WlsSelectionGroup;
std::set<int> m_WlsTelegramFilterList;
QCheckBox* m_SentWlsTelCheckBox;
QCheckBox* m_ReceivedWlsTelCheckBox;
QCheckBox* m_PosWlsTelCheckBox;
QCheckBox* m_ackWlsTelCheckBox;
QTableView *m_logTelegramView;
TelegramModel *m_telegramModel;
TelegramProxyModel *m_telegramProxyModel;
QString m_ActualLogfile;
qint64 m_LogfileSize;
bool m_DoReload;
QToolBox* m_ToolBox;
QTableView *m_ParticipantTableView;
ParticipantModel *m_participantModel;
QSortFilterProxyModel *m_participantProxyModel;
QLabel *m_TelegramStatus;
QTableView *m_logTelegramView;
TelegramModel *m_telegramModel;
TelegramProxyModel *m_telegramProxyModel;
QLabel *m_ParticipantStatus;
QLabel *m_TelegramStatus;
QGroupBox *m_ParticipantSelectionGroup;
QLabel *m_ParticipantStatus;
TelegramEdit *m_EditTelegramController;
QGroupBox *m_ParticipantSelectionGroup;
QTimer *m_TailTimer;
TelegramEdit *m_EditTelegramController;
QSplitter *m_Splitter;
QTimer *m_TailTimer;
LogViewInjectionThread *m_InjectionThread;
QSplitter *m_Splitter;
QLabel *m_InjectionStatus;
LogViewInjectionThread *m_InjectionThread;
// ausstg, telcount
QHash<int, int> m_participantListTelCount;
// ausstg, issi
QHash<int, int> m_participantListIssi;
QLabel *m_InjectionStatus;
QAction *m_reloadAction;
QTimer *m_replayTimer;
int m_currentReplayRow;
// ausstg, telcount
QHash<int, int> m_participantListTelCount;
// ausstg, issi
QHash<int, int> m_participantListIssi;
protected:
void readTelegramsFromLogFile(const QString &a_fileName, const qint64 a_filePos = 0);
QAction *m_reloadAction;
QTimer *m_replayTimer;
int m_currentReplayRow;
protected:
void readTelegramsFromLogFile(const QString& a_fileName, const qint64 a_filePos = 0);
/**
/**
* returns true if the participant was added to the list
*/
void addToParticipantList(const QSharedPointer<LogViewTelegram> &a_telegram);
void syncParticipantList();
QCheckBox* createRadioButton(const QString& a_buttonName, const QString& a_iconName);
void addToParticipantList(const QSharedPointer<LogViewTelegram> &a_telegram);
void syncParticipantList();
QCheckBox *createRadioButton(const QString &a_buttonName, const QString &a_iconName);
/**
/**
* starts the thread, which trys to connect to the injection-server of PrtCnv
*/
void startInjectionThread();
void startInjectionThread();
void closeEvent(QCloseEvent* a_closeEvent) override;
void closeEvent(QCloseEvent *a_closeEvent) override;
void createCentralSelectionWidget();
void createTetraSelectionWidget();
void createWlsSelectionWidget();
void createCentralSelectionWidget();
void createTetraSelectionWidget();
void createWlsSelectionWidget();
protected slots:
void addTelegramToEdit();
void showHexData();
void exportAsCsv();
void exportAsJson();
void onStartLogReplay();
void onReplayTimerTimeout();
protected slots:
void addTelegramToEdit();
void showHexData();
void exportAsCsv();
void exportAsJson();
void onStartLogReplay();
void onReplayTimerTimeout();
void loadSpecificationFiles();
void loadSpecificationFiles();
void newTelegramFile();
void newTelegramFile();
void loadTelegramFile();
void loadTelegramFile();
/**
/**
* Checks whether the size of actual logfile has changed. If yes, the new log-
* entries will be read and shown within table.
*/
void updateLogfile();
void updateLogfile();
void selectedParticipantChanged();
void selectedParticipantChanged();
void showTelegramTable();
void showTelegramTable();
//SLOT for creating the ContextMenu
void customMenuRequested(const QPoint &pos);
//SLOT for creating the ContextMenu
void customMenuRequested(const QPoint &pos);
void changeSettings();
void changeSettings();
/**
/**
* Toggles whether the logfile must be periodically checked for changes
*/
void reloadOnOff();
void reloadOnOff();
/**
/**
*
* @param a_picName
* @param a_toopTipText
*/
void updateInjectionStatus(const QString& a_picName, const QString& a_toopTipText);
void updateInjectionStatus(const QString &a_picName, const QString &a_toopTipText);
void onLogTelegramViewDoubleClicked(const QModelIndex &index);
void onLogTelegramViewDoubleClicked(const QModelIndex &index);
private:
NGL::INGLLogger &m_logger;
private:
NGL::INGLLogger &m_logger;
private slots:
void onSettingsChanged(uint32_t changedFlags);
};
private slots:
void onSettingsChanged(uint32_t changedFlags);
};
}