CallRecord Class Reference

#include <directory.h>

List of all members.


Detailed Description

Definition at line 117 of file directory.h.


Public Member Functions

 CallRecord (QString dn, QString uri, bool callIn, QString ts)
 CallRecord (CallRecord *Original)
 CallRecord (DirEntry *Original, bool callIn, QString ts)
 ~CallRecord ()
QString getTimestamp ()
QString getDisplayName ()
QString getUri ()
int getId ()
void setDuration (int d)
int getDuration ()
void setDbId (int d)
void setDBUpToDate ()
bool isIncoming ()
void writeTree (GenericTree *tree_to_write_to)
void updateYourselfInDB ()
void deleteYourselfFromDB ()

Private Attributes

QString DisplayName
QString Uri
int id
QString timestamp
int Duration
bool DirectionIn
bool inDatabase
bool changed
int dbId

Constructor & Destructor Documentation

CallRecord::CallRecord ( QString  dn,
QString  uri,
bool  callIn,
QString  ts 
)

Definition at line 300 of file directory.cpp.

CallRecord::CallRecord ( CallRecord Original  ) 

Definition at line 314 of file directory.cpp.

CallRecord::CallRecord ( DirEntry Original,
bool  callIn,
QString  ts 
)

Definition at line 328 of file directory.cpp.

CallRecord::~CallRecord (  ) 

Definition at line 342 of file directory.cpp.


Member Function Documentation

QString CallRecord::getTimestamp (  )  [inline]

Definition at line 126 of file directory.h.

Referenced by CallHistory::compareItems(), and PhoneUIBox::drawCallPopupCallHistory().

QString CallRecord::getDisplayName (  )  [inline]

Definition at line 127 of file directory.h.

Referenced by PhoneUIBox::handleTreeListSignals(), and PhoneUIBox::menuHistorySave().

QString CallRecord::getUri (  )  [inline]

int CallRecord::getId (  )  [inline]

Definition at line 129 of file directory.h.

Referenced by CallHistory::fetchById().

void CallRecord::setDuration ( int  d  )  [inline]

Definition at line 130 of file directory.h.

Referenced by DirectoryContainer::Load(), and PhoneUIBox::ProcessSipStateChange().

int CallRecord::getDuration (  )  [inline]

Definition at line 131 of file directory.h.

Referenced by PhoneUIBox::drawCallPopupCallHistory().

void CallRecord::setDbId ( int  d  )  [inline]

Definition at line 132 of file directory.h.

Referenced by DirectoryContainer::Load().

void CallRecord::setDBUpToDate (  )  [inline]

Definition at line 133 of file directory.h.

Referenced by DirectoryContainer::Load().

bool CallRecord::isIncoming (  )  [inline]

void CallRecord::writeTree ( GenericTree tree_to_write_to  ) 

Definition at line 347 of file directory.cpp.

Referenced by DirectoryContainer::AddToCallHistory(), and CallHistory::writeTree().

void CallRecord::updateYourselfInDB (  ) 

Definition at line 375 of file directory.cpp.

Referenced by CallHistory::saveChangesinDB().

void CallRecord::deleteYourselfFromDB (  ) 

Definition at line 423 of file directory.cpp.

Referenced by CallHistory::deleteRecords().


Member Data Documentation

QString CallRecord::DisplayName [private]

Definition at line 141 of file directory.h.

Referenced by CallRecord(), getDisplayName(), updateYourselfInDB(), and writeTree().

QString CallRecord::Uri [private]

Definition at line 142 of file directory.h.

Referenced by CallRecord(), getUri(), updateYourselfInDB(), and writeTree().

int CallRecord::id [private]

Definition at line 143 of file directory.h.

Referenced by getId().

QString CallRecord::timestamp [private]

Definition at line 144 of file directory.h.

Referenced by CallRecord(), getTimestamp(), updateYourselfInDB(), and writeTree().

int CallRecord::Duration [private]

Definition at line 145 of file directory.h.

Referenced by CallRecord(), getDuration(), setDuration(), updateYourselfInDB(), and writeTree().

Definition at line 146 of file directory.h.

Referenced by CallRecord(), isIncoming(), and updateYourselfInDB().

Definition at line 148 of file directory.h.

Referenced by CallRecord(), deleteYourselfFromDB(), setDBUpToDate(), and updateYourselfInDB().

Definition at line 149 of file directory.h.

Referenced by CallRecord(), setDBUpToDate(), and updateYourselfInDB().

int CallRecord::dbId [private]

Definition at line 150 of file directory.h.

Referenced by CallRecord(), deleteYourselfFromDB(), setDbId(), and updateYourselfInDB().


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

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