#include <KviSharedFilesManager.h>
KviSharedFilesManager::KviSharedFilesManager |
( |
| ) |
|
KviSharedFilesManager::~KviSharedFilesManager |
( |
| ) |
|
References doInsert(), KviSharedFile::expireTime(), l, m_pCleanupTimer, m_pSharedListDict, KviSharedFile::name(), KviPointerList< T >::setAutoDelete(), and sharedFileAdded().
Referenced by SharedFilesWindow::addClicked(), avatar_kvs_cmd_notify(), dccModuleParseDccGet(), SharedFilesWindow::editClicked(), load(), KviIrcServerParser::parseCtcpRequestAvatar(), DccBroker::rsendExecute(), and sharedfile_kvs_cmd_add().
KviSharedFile * KviSharedFilesManager::addSharedFile |
( |
const QString & |
szName, |
|
|
const QString & |
szAbsPath, |
|
|
const QString & |
szMask, |
|
|
int |
timeoutInSecs |
|
) |
| |
void KviSharedFilesManager::cleanup |
( |
| ) |
|
|
privateslot |
References KviPointerList< T >::append(), KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), KviPointerList< T >::first(), l, m_pCleanupTimer, m_pSharedListDict, KviPointerList< T >::next(), o, KviPointerList< T >::setAutoDelete(), and sharedFileRemoved().
Referenced by KviSharedFilesManager().
void KviSharedFilesManager::clear |
( |
| ) |
|
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 |
|
) |
| |
References KviPointerList< T >::count(), KviQString::equalCI(), KviPointerList< T >::first(), l, m_pSharedListDict, KviPointerList< T >::next(), o, KviPointerList< T >::removeRef(), save(), and sharedFileRemoved().
Referenced by SharedFilesWindow::editClicked(), SharedFilesWindow::removeClicked(), and sharedfile_kvs_cmd_remove().
bool KviSharedFilesManager::removeSharedFile |
( |
const QString & |
szName, |
|
|
KviSharedFile * |
off |
|
) |
| |
void KviSharedFilesManager::save |
( |
const QString & |
filename | ) |
|
References KviConfigurationFile::clear(), KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), i, m_pSharedListDict, KviConfigurationFile::setGroup(), KviConfigurationFile::Write, and KviConfigurationFile::writeEntry().
Referenced by removeSharedFile(), and KviApplication::saveSharedFiles().
void KviSharedFilesManager::sharedFileRemoved |
( |
KviSharedFile * |
f | ) |
|
|
signal |
void KviSharedFilesManager::sharedFilesChanged |
( |
| ) |
|
|
signal |
QTimer* KviSharedFilesManager::m_pCleanupTimer |
|
private |
The documentation for this class was generated from the following files: