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

 Q_DECLARE_TR_FUNCTIONS (SmartPLCriteriaRow)
 

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 
)
inline

Definition at line 50 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  ) 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.

Member Data Documentation

◆ m_field

QString SmartPLCriteriaRow::m_field

Definition at line 64 of file smartplaylist.h.

◆ m_operator

QString SmartPLCriteriaRow::m_operator

Definition at line 65 of file smartplaylist.h.

◆ m_value1

QString SmartPLCriteriaRow::m_value1

Definition at line 66 of file smartplaylist.h.

◆ m_value2

QString SmartPLCriteriaRow::m_value2

Definition at line 67 of file smartplaylist.h.


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