Exemplo n.º 1
0
/*!
 * Standard constructor using \a parent as parent
 */
LiveHubEngine::LiveHubEngine(QObject *parent)
    : QObject(parent)
    , m_watcher(new Watcher(this))
    , m_filePublishingActive(false)
{
    connect(m_watcher, SIGNAL(directoriesChanged(QStringList)), this, SLOT(directoriesChanged(QStringList)));
}
Exemplo n.º 2
0
void MailCache::removeDirectory(Directory *dir) {
    if (dir == NULL)
        return;

    directoryList.removeAll(dir);
    delete dir;
    emit directoriesChanged();
}