Mixxx

CueDAO Class Reference

#include <cuedao.h>

Inheritance diagram for CueDAO:
Collaboration diagram for CueDAO:

List of all members.

Public Member Functions

 CueDAO (QSqlDatabase &database)
virtual ~CueDAO ()
void setDatabase (QSqlDatabase &database)
void initialize ()
int cueCount ()
int numCuesForTrack (int trackId)
CuegetCue (int cueId)
QList< Cue * > getCuesForTrack (int trackId) const
bool deleteCuesForTrack (int trackId)
bool saveCue (Cue *cue)
bool deleteCue (Cue *cue)
void saveTrackCues (int trackId, TrackInfoObject *)

Detailed Description

Definition at line 17 of file cuedao.h.


Constructor & Destructor Documentation

CueDAO::CueDAO ( QSqlDatabase &  database)

Definition at line 12 of file cuedao.cpp.

CueDAO::~CueDAO ( ) [virtual]

Definition at line 16 of file cuedao.cpp.


Member Function Documentation

int CueDAO::cueCount ( )

Definition at line 24 of file cuedao.cpp.

bool CueDAO::deleteCue ( Cue cue)

Definition at line 177 of file cuedao.cpp.

Here is the call graph for this function:

bool CueDAO::deleteCuesForTrack ( int  trackId)

Definition at line 114 of file cuedao.cpp.

Cue * CueDAO::getCue ( int  cueId)

Definition at line 69 of file cuedao.cpp.

QList< Cue * > CueDAO::getCuesForTrack ( int  trackId) const

Definition at line 88 of file cuedao.cpp.

void CueDAO::initialize ( ) [virtual]

Implements DAO.

Definition at line 20 of file cuedao.cpp.

Here is the caller graph for this function:

int CueDAO::numCuesForTrack ( int  trackId)

Definition at line 39 of file cuedao.cpp.

bool CueDAO::saveCue ( Cue cue)

Definition at line 127 of file cuedao.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CueDAO::saveTrackCues ( int  trackId,
TrackInfoObject pTrack 
)

Definition at line 194 of file cuedao.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CueDAO::setDatabase ( QSqlDatabase &  database) [inline]

Definition at line 21 of file cuedao.h.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines