SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Private Attributes | List of all members
PresetItem Class Reference

#include <presetitem.h>

Inherits QTreeWidgetItem.

Public Member Functions

 PresetItem (QTreeWidgetItem *parent, const QStringList &strings, quint64 frequency, int type)
 
bool operator< (const QTreeWidgetItem &other) const
 

Private Attributes

quint64 m_frequency
 

Detailed Description

Definition at line 23 of file presetitem.h.

Constructor & Destructor Documentation

◆ PresetItem()

PresetItem::PresetItem ( QTreeWidgetItem *  parent,
const QStringList &  strings,
quint64  frequency,
int  type 
)

Definition at line 21 of file presetitem.cpp.

21  :
22  QTreeWidgetItem(parent, strings, type),
23  m_frequency(frequency)
24 {
25 }
quint64 m_frequency
Definition: presetitem.h:29

Member Function Documentation

◆ operator<()

bool PresetItem::operator< ( const QTreeWidgetItem &  other) const

Definition at line 27 of file presetitem.cpp.

References m_frequency.

28 {
29  return m_frequency < ((const PresetItem&)other).m_frequency;
30 }
quint64 m_frequency
Definition: presetitem.h:29

Member Data Documentation

◆ m_frequency

quint64 PresetItem::m_frequency
private

Definition at line 29 of file presetitem.h.

Referenced by operator<().


The documentation for this class was generated from the following files: