MythTV  master
Public Member Functions | Public Attributes | Private Member Functions | List of all members
SmartPLCriteriaRow Class Reference

#include <smartplaylist.h>

Public Member Functions

 SmartPLCriteriaRow (QString field, QString op, QString value1, QString value2)
 SmartPLCriteriaRow (void)=default
 ~SmartPLCriteriaRow (void)=default
QString getSQL (void) const
bool saveToDatabase (int smartPlaylistID) const
QString toString (void) const

Public Attributes

QString m_field
QString m_operator
QString m_value1
QString m_value2

Private Member Functions


Detailed Description

Definition at line 44 of file smartplaylist.h.

Constructor & Destructor Documentation

◆ SmartPLCriteriaRow() [1/2]

SmartPLCriteriaRow::SmartPLCriteriaRow ( QString  field,
QString  op,
QString  value1,
QString  value2 

Definition at line 50 of file smartplaylist.h.

◆ SmartPLCriteriaRow() [2/2]

SmartPLCriteriaRow::SmartPLCriteriaRow ( void  )

◆ ~SmartPLCriteriaRow()

SmartPLCriteriaRow::~SmartPLCriteriaRow ( void  )

Member Function Documentation


SmartPLCriteriaRow::Q_DECLARE_TR_FUNCTIONS ( SmartPLCriteriaRow  )

◆ getSQL()

QString SmartPLCriteriaRow::getSQL ( void  ) const

Definition at line 290 of file smartplaylist.cpp.

◆ saveToDatabase()

bool SmartPLCriteriaRow::saveToDatabase ( int  smartPlaylistID) const

Definition at line 303 of file smartplaylist.cpp.

◆ toString()

QString SmartPLCriteriaRow::toString ( void  ) const

Definition at line 329 of file smartplaylist.cpp.

Referenced by SmartPlaylistEditor::criteriaChanged().

Member Data Documentation

◆ m_field

QString SmartPLCriteriaRow::m_field

◆ m_operator

QString SmartPLCriteriaRow::m_operator

◆ m_value1

QString SmartPLCriteriaRow::m_value1

◆ m_value2

QString SmartPLCriteriaRow::m_value2

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