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

#include <smartplaylist.h>

Public Member Functions

 SmartPLCriteriaRow (const QString &_Field, const QString &_Operator, const QString &_Value1, const QString &_Value2)
 
 SmartPLCriteriaRow (void)=default
 
 ~SmartPLCriteriaRow (void)=default
 
QString getSQL (void)
 
bool saveToDatabase (int smartPlaylistID)
 
QString toString (void)
 

Public Attributes

QString m_field
 
QString m_operator
 
QString m_value1
 
QString m_value2
 

Private Member Functions

 Q_DECLARE_TR_FUNCTIONS (SmartPLCriteriaRow)
 

Detailed Description

Definition at line 43 of file smartplaylist.h.

Constructor & Destructor Documentation

◆ SmartPLCriteriaRow() [1/2]

SmartPLCriteriaRow::SmartPLCriteriaRow ( const QString &  _Field,
const QString &  _Operator,
const QString &  _Value1,
const QString &  _Value2 
)
inline

Definition at line 49 of file smartplaylist.h.

◆ SmartPLCriteriaRow() [2/2]

SmartPLCriteriaRow::SmartPLCriteriaRow ( void  )
default

◆ ~SmartPLCriteriaRow()

SmartPLCriteriaRow::~SmartPLCriteriaRow ( void  )
default

Member Function Documentation

◆ Q_DECLARE_TR_FUNCTIONS()

SmartPLCriteriaRow::Q_DECLARE_TR_FUNCTIONS ( SmartPLCriteriaRow  )
private

◆ getSQL()

QString SmartPLCriteriaRow::getSQL ( void  )

Definition at line 292 of file smartplaylist.cpp.

◆ saveToDatabase()

bool SmartPLCriteriaRow::saveToDatabase ( int  smartPlaylistID)

Definition at line 305 of file smartplaylist.cpp.

◆ toString()

QString SmartPLCriteriaRow::toString ( void  )

Member Data Documentation

◆ m_field

QString SmartPLCriteriaRow::m_field

Definition at line 63 of file smartplaylist.h.

◆ m_operator

QString SmartPLCriteriaRow::m_operator

Definition at line 64 of file smartplaylist.h.

◆ m_value1

QString SmartPLCriteriaRow::m_value1

Definition at line 65 of file smartplaylist.h.

◆ m_value2

QString SmartPLCriteriaRow::m_value2

Definition at line 66 of file smartplaylist.h.


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