SmartPLCriteriaRow Class Reference

#include <smartplaylist.h>

List of all members.


Detailed Description

Definition at line 39 of file smartplaylist.h.


Signals

void criteriaChanged (void)

Public Member Functions

 SmartPLCriteriaRow (QWidget *parent, QHBoxLayout *hbox)
 ~SmartPLCriteriaRow (void)
QString getSQL (void)
bool saveToDatabase (int smartPlaylistID)
void initValues (QString Field, QString Operator, QString Value1, QString Value2)

Public Attributes

MythComboBoxfieldCombo
MythComboBoxoperatorCombo
MythRemoteLineEditvalue1Edit
MythRemoteLineEditvalue2Edit
MythSpinBoxvalue1SpinEdit
MythSpinBoxvalue2SpinEdit
MythPushButtonvalue1Button
MythPushButtonvalue2Button
MythComboBoxvalue1Combo
MythComboBoxvalue2Combo

Protected Slots

void fieldChanged (void)
void operatorChanged (void)
void valueChanged (void)
void value1ButtonClicked (void)
void value2ButtonClicked (void)

Private Member Functions

bool showList (QString caption, QString &value)
void searchGenre (MythRemoteLineEdit *editor)
void searchArtist (MythRemoteLineEdit *editor)
void searchCompilationArtist (MythRemoteLineEdit *editor)
void searchAlbum (MythRemoteLineEdit *editor)
void searchTitle (MythRemoteLineEdit *editor)
void editDate (MythComboBox *combo)
void getOperatorList (SmartPLFieldType fieldType)

Private Attributes

QStringList searchList
bool bUpdating

Constructor & Destructor Documentation

SmartPLCriteriaRow::SmartPLCriteriaRow ( QWidget *  parent,
QHBoxLayout *  hbox 
)

Definition at line 274 of file smartplaylist.cpp.

SmartPLCriteriaRow::~SmartPLCriteriaRow ( void   ) 

Definition at line 381 of file smartplaylist.cpp.


Member Function Documentation

QString SmartPLCriteriaRow::getSQL ( void   ) 

Definition at line 722 of file smartplaylist.cpp.

Referenced by SmartPlaylistEditor::getWhereClause().

bool SmartPLCriteriaRow::saveToDatabase ( int  smartPlaylistID  ) 

Definition at line 761 of file smartplaylist.cpp.

Referenced by SmartPlaylistEditor::saveClicked().

void SmartPLCriteriaRow::initValues ( QString  Field,
QString  Operator,
QString  Value1,
QString  Value2 
)

Definition at line 821 of file smartplaylist.cpp.

Referenced by SmartPlaylistEditor::loadFromDatabase().

void SmartPLCriteriaRow::criteriaChanged ( void   )  [signal]

void SmartPLCriteriaRow::fieldChanged ( void   )  [protected, slot]

Definition at line 385 of file smartplaylist.cpp.

Referenced by SmartPLCriteriaRow().

void SmartPLCriteriaRow::operatorChanged ( void   )  [protected, slot]

Definition at line 454 of file smartplaylist.cpp.

Referenced by fieldChanged(), and SmartPLCriteriaRow().

void SmartPLCriteriaRow::valueChanged ( void   )  [protected, slot]

Definition at line 575 of file smartplaylist.cpp.

Referenced by SmartPLCriteriaRow().

void SmartPLCriteriaRow::value1ButtonClicked ( void   )  [protected, slot]

Definition at line 581 of file smartplaylist.cpp.

Referenced by SmartPLCriteriaRow().

void SmartPLCriteriaRow::value2ButtonClicked ( void   )  [protected, slot]

Definition at line 601 of file smartplaylist.cpp.

Referenced by SmartPLCriteriaRow().

bool SmartPLCriteriaRow::showList ( QString  caption,
QString &  value 
) [private]

void SmartPLCriteriaRow::searchGenre ( MythRemoteLineEdit editor  )  [private]

Definition at line 696 of file smartplaylist.cpp.

Referenced by value1ButtonClicked(), and value2ButtonClicked().

void SmartPLCriteriaRow::searchArtist ( MythRemoteLineEdit editor  )  [private]

Definition at line 657 of file smartplaylist.cpp.

Referenced by value1ButtonClicked(), and value2ButtonClicked().

void SmartPLCriteriaRow::searchCompilationArtist ( MythRemoteLineEdit editor  )  [private]

Definition at line 670 of file smartplaylist.cpp.

Referenced by value1ButtonClicked(), and value2ButtonClicked().

void SmartPLCriteriaRow::searchAlbum ( MythRemoteLineEdit editor  )  [private]

Definition at line 683 of file smartplaylist.cpp.

Referenced by value1ButtonClicked(), and value2ButtonClicked().

void SmartPLCriteriaRow::searchTitle ( MythRemoteLineEdit editor  )  [private]

Definition at line 709 of file smartplaylist.cpp.

Referenced by value1ButtonClicked(), and value2ButtonClicked().

void SmartPLCriteriaRow::editDate ( MythComboBox combo  )  [private]

Definition at line 621 of file smartplaylist.cpp.

Referenced by value1ButtonClicked(), and value2ButtonClicked().

void SmartPLCriteriaRow::getOperatorList ( SmartPLFieldType  fieldType  )  [private]

Definition at line 860 of file smartplaylist.cpp.

Referenced by fieldChanged().


Member Data Documentation

Definition at line 50 of file smartplaylist.h.

Referenced by getOperatorList(), operatorChanged(), and SmartPLCriteriaRow().

QStringList SmartPLCriteriaRow::searchList [private]

Definition at line 85 of file smartplaylist.h.

Referenced by fieldChanged(), operatorChanged(), SmartPLCriteriaRow(), and valueChanged().


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

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5