MythTV  master
Classes | Enumerations | Functions
smartplaylist.h File Reference
#include <utility>
#include <vector>
#include <QDateTime>
#include <QVariant>
#include <QKeyEvent>
#include <QCoreApplication>
#include <libmythui/mythscreentype.h>
Include dependency graph for smartplaylist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SmartPLCriteriaRow
 
class  SmartPlaylistEditor
 
class  CriteriaRowEditor
 
class  SmartPLResultViewer
 
class  SmartPLOrderByDialog
 
class  SmartPLDateDialog
 

Enumerations

enum  SmartPLFieldType { ftString = 1, ftNumeric, ftDate, ftBoolean }
 

Functions

QString getCriteriaSQL (const QString &fieldName, const QString &operatorName, QString value1, QString value2)
 
QString getSQLFieldName (const QString &fieldName)
 
QString getOrderBySQL (const QString &orderByFields)
 
QString formattedFieldValue (const QVariant &value)
 
 Q_DECLARE_METATYPE (SmartPLCriteriaRow *)
 

Enumeration Type Documentation

◆ SmartPLFieldType

Enumerator
ftString 
ftNumeric 
ftDate 
ftBoolean 

Definition at line 22 of file smartplaylist.h.

Function Documentation

◆ getCriteriaSQL()

QString getCriteriaSQL ( const QString &  fieldName,
const QString &  operatorName,
QString  value1,
QString  value2 
)

◆ getSQLFieldName()

QString getSQLFieldName ( const QString &  fieldName)

Definition at line 275 of file smartplaylist.cpp.

◆ getOrderBySQL()

QString getOrderBySQL ( const QString &  orderByFields)

◆ formattedFieldValue()

QString formattedFieldValue ( const QVariant &  value)

◆ Q_DECLARE_METATYPE()

Q_DECLARE_METATYPE ( SmartPLCriteriaRow )