"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ui/qt/models/astringlist_list_model.h" between
wireshark-3.4.5.tar.xz and wireshark-3.4.6.tar.xz

About: Wireshark is a network protocol analyzer. It lets you capture and interactively browse the traffic running on a computer network.

astringlist_list_model.h  (wireshark-3.4.5.tar.xz):astringlist_list_model.h  (wireshark-3.4.6.tar.xz)
skipping to change at line 35 skipping to change at line 35
public: public:
explicit AStringListListModel(QObject * parent = Q_NULLPTR); explicit AStringListListModel(QObject * parent = Q_NULLPTR);
virtual ~AStringListListModel(); virtual ~AStringListListModel();
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; virtual int columnCount(const QModelIndex &parent = QModelIndex()) const;
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
virtual QVariant headerData(int section, Qt::Orientation orientation, int ro le = Qt::DisplayRole) const; virtual QVariant headerData(int section, Qt::Orientation orientation, int ro le = Qt::DisplayRole) const;
protected: //
// This is not protected because we may need to invoke it from
// a wmem_map_foreach() callback implemented as an extern "C"
// static member function of a subclass. wmem_map_foreach() is
// passed, as the user data, a pointer to the class instance to
// which we want to append rows.
//
virtual void appendRow(const QStringList &, const QString & row_tooltip = QS tring(), const QModelIndex &parent = QModelIndex()); virtual void appendRow(const QStringList &, const QString & row_tooltip = QS tring(), const QModelIndex &parent = QModelIndex());
protected:
virtual QStringList headerColumns() const = 0; virtual QStringList headerColumns() const = 0;
private: private:
QList<QStringList> display_data_; QList<QStringList> display_data_;
QStringList tooltip_data_; QStringList tooltip_data_;
}; };
class AStringListListSortFilterProxyModel : public QSortFilterProxyModel class AStringListListSortFilterProxyModel : public QSortFilterProxyModel
{ {
Q_OBJECT Q_OBJECT
 End of changes. 2 change blocks. 
1 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)