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
CommandItem Class Reference

#include <commanditem.h>

Inherits QTreeWidgetItem.

Public Member Functions

 CommandItem (QTreeWidgetItem *parent, const QStringList &strings, const QString &description, int type)
 
bool operator< (const QTreeWidgetItem &other) const
 

Private Attributes

QString m_description
 

Detailed Description

Definition at line 22 of file commanditem.h.

Constructor & Destructor Documentation

◆ CommandItem()

CommandItem::CommandItem ( QTreeWidgetItem *  parent,
const QStringList &  strings,
const QString &  description,
int  type 
)

Definition at line 20 of file commanditem.cpp.

20  :
21  QTreeWidgetItem(parent, strings, type),
22  m_description(description)
23 {
24 }
QString m_description
Definition: commanditem.h:28

Member Function Documentation

◆ operator<()

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

Definition at line 26 of file commanditem.cpp.

References m_description.

27 {
28  return m_description < ((const CommandItem&)other).m_description;
29 }
QString m_description
Definition: commanditem.h:28

Member Data Documentation

◆ m_description

QString CommandItem::m_description
private

Definition at line 28 of file commanditem.h.

Referenced by operator<().


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