Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
@@ -15,35 +15,34 @@
|
||||
|
||||
namespace N_LogView
|
||||
{
|
||||
class TelegramEditModel final : public QAbstractTableModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
using QAbstractTableModel::QAbstractTableModel;
|
||||
class TelegramEditModel final : public QAbstractTableModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
using QAbstractTableModel::QAbstractTableModel;
|
||||
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
QVariant headerData(int section, Qt::Orientation orientation,
|
||||
int role = Qt::DisplayRole) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
|
||||
|
||||
void clearTelegrams();
|
||||
void appendTelegrams(const QVector<QSharedPointer<LogViewTelegram> > &telegrams);
|
||||
int appendTelegram(const QSharedPointer<LogViewTelegram> &telegram);
|
||||
QSharedPointer<LogViewTelegram> telegram(int row) const;
|
||||
void clearTelegrams();
|
||||
void appendTelegrams(const QVector<QSharedPointer<LogViewTelegram>> &telegrams);
|
||||
int appendTelegram(const QSharedPointer<LogViewTelegram> &telegram);
|
||||
QSharedPointer<LogViewTelegram> telegram(int row) const;
|
||||
|
||||
bool moveUp(int row);
|
||||
bool moveDown(int row);
|
||||
bool moveUp(int row);
|
||||
bool moveDown(int row);
|
||||
|
||||
void emitDataChanged(int row);
|
||||
void emitDataChanged(int row);
|
||||
|
||||
void removeTelegrams(const QSet<int> &rows);
|
||||
void removeTelegrams(const QSet<int> &rows);
|
||||
|
||||
void pasteRows(int row, const QSharedPointer<LogViewTelegram> &tele);
|
||||
protected:
|
||||
QVector<QSharedPointer<LogViewTelegram> > m_telegrams;
|
||||
void pasteRows(int row, const QSharedPointer<LogViewTelegram> &tele);
|
||||
|
||||
};
|
||||
protected:
|
||||
QVector<QSharedPointer<LogViewTelegram>> m_telegrams;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user