KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
KviSharedFilesManager Class Reference

#include <KviSharedFilesManager.h>

+ Inheritance diagram for KviSharedFilesManager:

Signals

void sharedFileAdded (KviSharedFile *f)
 
void sharedFileRemoved (KviSharedFile *f)
 
void sharedFilesChanged ()
 

Public Member Functions

void addSharedFile (KviSharedFile *f)
 
KviSharedFileaddSharedFile (const QString &szName, const QString &szAbsPath, const QString &szMask, int timeoutInSecs)
 
void clear ()
 
 KviSharedFilesManager ()
 
void load (const QString &filename)
 
KviSharedFilelookupSharedFile (const QString &szName, KviIrcMask *mask, unsigned int uFileSize=0)
 
bool removeSharedFile (const QString &szName, const QString &szMask, unsigned int uFileSize)
 
bool removeSharedFile (const QString &szName, KviSharedFile *off)
 
void save (const QString &filename)
 
KviPointerHashTable< QString,
KviSharedFileList > * 
sharedFileListDict ()
 
 ~KviSharedFilesManager ()
 

Private Slots

void cleanup ()
 

Private Member Functions

void doInsert (KviSharedFileList *l, KviSharedFile *o)
 

Private Attributes

QTimer * m_pCleanupTimer
 
KviPointerHashTable< QString,
KviSharedFileList > * 
m_pSharedListDict
 

Constructor & Destructor Documentation

KviSharedFilesManager::KviSharedFilesManager ( )
KviSharedFilesManager::~KviSharedFilesManager ( )

Member Function Documentation

void KviSharedFilesManager::addSharedFile ( KviSharedFile f)
KviSharedFile * KviSharedFilesManager::addSharedFile ( const QString &  szName,
const QString &  szAbsPath,
const QString &  szMask,
int  timeoutInSecs 
)
void KviSharedFilesManager::cleanup ( )
privateslot
void KviSharedFilesManager::clear ( )
void KviSharedFilesManager::doInsert ( KviSharedFileList l,
KviSharedFile o 
)
private
void KviSharedFilesManager::load ( const QString &  filename)
KviSharedFile * KviSharedFilesManager::lookupSharedFile ( const QString &  szName,
KviIrcMask mask,
unsigned int  uFileSize = 0 
)
bool KviSharedFilesManager::removeSharedFile ( const QString &  szName,
const QString &  szMask,
unsigned int  uFileSize 
)
bool KviSharedFilesManager::removeSharedFile ( const QString &  szName,
KviSharedFile off 
)
void KviSharedFilesManager::save ( const QString &  filename)
void KviSharedFilesManager::sharedFileAdded ( KviSharedFile f)
signal

Referenced by addSharedFile().

KviPointerHashTable<QString, KviSharedFileList>* KviSharedFilesManager::sharedFileListDict ( )
inline
void KviSharedFilesManager::sharedFileRemoved ( KviSharedFile f)
signal

Referenced by cleanup(), and removeSharedFile().

void KviSharedFilesManager::sharedFilesChanged ( )
signal

Referenced by clear().

Member Data Documentation

QTimer* KviSharedFilesManager::m_pCleanupTimer
private
KviPointerHashTable<QString, KviSharedFileList>* KviSharedFilesManager::m_pSharedListDict
private

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