DirectoryContainer Class Reference

#include <directory.h>

List of all members.


Detailed Description

Definition at line 170 of file directory.h.


Public Member Functions

 DirectoryContainer ()
 ~DirectoryContainer ()
void Load ()
void writeTree ()
DirEntryfetchDirEntryById (int id)
CallRecordfetchCallRecordById (int id)
void AddEntry (DirEntry *entry, QString Dir, bool addToUITree)
void ChangeEntry (DirEntry *entry, QString nn, QString Url, QString fn, QString sn, QString ph, bool OnHomeLan)
QStrList getDirectoryList (void)
GenericTreeaddToTree (QString DirName)
void getRecentCalls (DirEntry *source, CallHistory &RecentCalls)
void AddToCallHistory (CallRecord *entry, bool addToUITree)
void clearCallHistory ()
DirEntrygetDirEntrybyDbId (int dbId)
void saveChangesinDB ()
void addToTree (DirEntry *newEntry, QString Dir)
void deleteFromTree (GenericTree *treeObject, DirEntry *entry)
void createTree ()
GenericTreegetTreeRoot ()
void setSpeedDial (DirEntry *entry)
void removeSpeedDial (DirEntry *entry)
void clearAllVoicemail ()
void deleteVoicemail (QString vmailName)
DirEntryFindMatchingDirectoryEntry (QString url)
QStrList ListAllEntries (bool SpeeddialsOnly)
void ChangePresenceStatus (QString Uri, int Status, QString StatusString, bool SpeeddialsOnly)

Private Member Functions

Directoryfetch (QString Dir)
GenericTreefindInTree (GenericTree *Root, int at1, int atv1, int at2, int atv2)
void PutVoicemailInTree (GenericTree *tree_to_write_to)

Private Attributes

QPtrList< DirectoryAllDirs
CallHistorycallHistory
GenericTreeTreeRoot
GenericTreevoicemailTree
GenericTreereceivedcallsTree
GenericTreeplacedcallsTree
GenericTreespeeddialTree

Constructor & Destructor Documentation

DirectoryContainer::DirectoryContainer (  ) 

Definition at line 517 of file directory.cpp.

DirectoryContainer::~DirectoryContainer (  ) 

Definition at line 524 of file directory.cpp.


Member Function Documentation

void DirectoryContainer::Load ( void   ) 

Definition at line 540 of file directory.cpp.

Referenced by PhoneUIBox::PhoneUIBox().

void DirectoryContainer::writeTree (  ) 

Definition at line 709 of file directory.cpp.

Referenced by PhoneUIBox::PhoneUIBox().

DirEntry * DirectoryContainer::fetchDirEntryById ( int  id  ) 

CallRecord * DirectoryContainer::fetchCallRecordById ( int  id  ) 

void DirectoryContainer::AddEntry ( DirEntry entry,
QString  Dir,
bool  addToUITree 
)

Definition at line 635 of file directory.cpp.

Referenced by PhoneUIBox::addNewDirectoryEntry(), and Load().

void DirectoryContainer::ChangeEntry ( DirEntry entry,
QString  nn,
QString  Url,
QString  fn,
QString  sn,
QString  ph,
bool  OnHomeLan 
)

Definition at line 650 of file directory.cpp.

Referenced by PhoneUIBox::addNewDirectoryEntry().

QStrList DirectoryContainer::getDirectoryList ( void   ) 

Definition at line 697 of file directory.cpp.

Referenced by PhoneUIBox::doAddEntryPopup().

GenericTree * DirectoryContainer::addToTree ( QString  DirName  ) 

Definition at line 751 of file directory.cpp.

Referenced by AddEntry(), and addToTree().

void DirectoryContainer::getRecentCalls ( DirEntry source,
CallHistory RecentCalls 
)

Definition at line 873 of file directory.cpp.

Referenced by PhoneUIBox::doCallPopup().

void DirectoryContainer::AddToCallHistory ( CallRecord entry,
bool  addToUITree 
)

Definition at line 673 of file directory.cpp.

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

void DirectoryContainer::clearCallHistory (  ) 

Definition at line 686 of file directory.cpp.

Referenced by PhoneUIBox::menuHistoryClear().

DirEntry * DirectoryContainer::getDirEntrybyDbId ( int  dbId  ) 

Definition at line 888 of file directory.cpp.

void DirectoryContainer::saveChangesinDB (  ) 

Definition at line 897 of file directory.cpp.

Referenced by ~DirectoryContainer().

void DirectoryContainer::addToTree ( DirEntry newEntry,
QString  Dir 
)

Definition at line 769 of file directory.cpp.

void DirectoryContainer::deleteFromTree ( GenericTree treeObject,
DirEntry entry 
)

Definition at line 845 of file directory.cpp.

Referenced by PhoneUIBox::menuEntryDelete().

void DirectoryContainer::createTree (  ) 

Definition at line 600 of file directory.cpp.

Referenced by PhoneUIBox::PhoneUIBox().

GenericTree* DirectoryContainer::getTreeRoot (  )  [inline]

Definition at line 192 of file directory.h.

Referenced by PhoneUIBox::PhoneUIBox().

void DirectoryContainer::setSpeedDial ( DirEntry entry  ) 

Definition at line 783 of file directory.cpp.

Referenced by PhoneUIBox::menuEntryMakeSpeedDial().

void DirectoryContainer::removeSpeedDial ( DirEntry entry  ) 

Definition at line 795 of file directory.cpp.

Referenced by deleteFromTree(), and PhoneUIBox::menuSpeedDialRemove().

void DirectoryContainer::clearAllVoicemail (  ) 

Definition at line 967 of file directory.cpp.

Referenced by PhoneUIBox::vmailEntryDeleteAll().

void DirectoryContainer::deleteVoicemail ( QString  vmailName  ) 

Definition at line 946 of file directory.cpp.

Referenced by PhoneUIBox::vmailEntryDelete().

DirEntry * DirectoryContainer::FindMatchingDirectoryEntry ( QString  url  ) 

QStrList DirectoryContainer::ListAllEntries ( bool  SpeeddialsOnly  ) 

Definition at line 994 of file directory.cpp.

Referenced by PhoneUIBox::PhoneUIBox().

void DirectoryContainer::ChangePresenceStatus ( QString  Uri,
int  Status,
QString  StatusString,
bool  SpeeddialsOnly 
)

Definition at line 1006 of file directory.cpp.

Referenced by PhoneUIBox::ProcessSipNotification().

Directory * DirectoryContainer::fetch ( QString  Dir  )  [private]

Definition at line 610 of file directory.cpp.

Referenced by AddEntry(), addToTree(), and Load().

GenericTree * DirectoryContainer::findInTree ( GenericTree Root,
int  at1,
int  atv1,
int  at2,
int  atv2 
) [private]

Definition at line 811 of file directory.cpp.

Referenced by ChangeEntry().

void DirectoryContainer::PutVoicemailInTree ( GenericTree tree_to_write_to  )  [private]

Definition at line 919 of file directory.cpp.

Referenced by deleteVoicemail(), and writeTree().


Member Data Documentation

Definition at line 210 of file directory.h.

Referenced by addToTree(), ChangeEntry(), createTree(), getTreeRoot(), and writeTree().

Definition at line 210 of file directory.h.

Referenced by clearAllVoicemail(), deleteVoicemail(), and writeTree().

Definition at line 210 of file directory.h.

Referenced by AddToCallHistory(), clearCallHistory(), and writeTree().

Definition at line 210 of file directory.h.

Referenced by AddToCallHistory(), clearCallHistory(), and writeTree().

Definition at line 210 of file directory.h.

Referenced by addToTree(), removeSpeedDial(), setSpeedDial(), and writeTree().


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

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