Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KDirMoods Class Reference

The emotions of multiple users in a filesystem. More...

#include <KDirMoods.hh>

Inheritance diagram for KDirMoods:

Inheritance graph
[legend]
Collaboration diagram for KDirMoods:

Collaboration graph
[legend]
List of all members.

Public Methods

 KDirMoods (const QString &path)
virtual void writeMood (KMood *mood)

Protected Methods

virtual void readMoods ()

Private Slots

void slotDirty (const QString &filename)
void slotCreated (const QString &filename)
void slotDeleted (const QString &filename)

Private Methods

KMoodreadMoodFromFile (QString filename, QString userName)

Private Attributes

KDirWatch m_dirWatch
QString m_path

Detailed Description

The emotions of multiple users in a filesystem.

This is the storage of moods in a file system. This can be a network drive which holds data of all users in a local network. Not usable for big-sized networks or the web. Most useful for debugging.

It uses

See also:
KDirListWatcher to implement the observer pattern.
Author:
Andreas Baumann <andreas_baumann@users.sourceforge.net>
Version:
ProjectMajorVersion:
0


Constructor & Destructor Documentation

KDirMoods::KDirMoods const QString &    path
 


Member Function Documentation

KMood * KDirMoods::readMoodFromFile QString    filename,
QString    userName
[private]
 

void KDirMoods::readMoods   [protected, virtual]
 

Reimplemented from KMoods.

void KDirMoods::slotCreated const QString &    filename [private, slot]
 

void KDirMoods::slotDeleted const QString &    filename [private, slot]
 

void KDirMoods::slotDirty const QString &    filename [private, slot]
 

void KDirMoods::writeMood KMood   mood [virtual]
 

Implements KMoods.


Member Data Documentation

KDirWatch KDirMoods::m_dirWatch [private]
 

QString KDirMoods::m_path [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Oct 8 21:52:27 2003 for kmood by doxygen1.2.18