casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Signals | Public Member Functions | Private Attributes
casa::FileWatcher Class Reference

#include <logwatcher.qo.h>

List of all members.

Public Slots

void update ()

Signals

void fileChanged (const QString &file)

Public Member Functions

 FileWatcher (QString &file)
 ~FileWatcher ()

Private Attributes

QString watchFile
QDateTime dt
QFileInfo info
int size

Detailed Description

Definition at line 40 of file logwatcher.qo.h.


Constructor & Destructor Documentation

casa::FileWatcher::FileWatcher ( QString &  file) [inline]

qDebug() << "path=" << info.path() << " file=" << file;

qDebug() << "dt=" << dt.toString();

Definition at line 44 of file logwatcher.qo.h.

References dt, info, size, update(), and watchFile.

Definition at line 55 of file logwatcher.qo.h.


Member Function Documentation

void casa::FileWatcher::fileChanged ( const QString &  file) [signal]

Referenced by update().

void casa::FileWatcher::update ( ) [inline, slot]

qDebug() << "emit file changed";

qDebug() << "emit file changed";

Definition at line 57 of file logwatcher.qo.h.

References fileChanged(), info, size, and watchFile.

Referenced by FileWatcher().


Member Data Documentation

QDateTime casa::FileWatcher::dt [private]

Definition at line 79 of file logwatcher.qo.h.

Referenced by FileWatcher().

QFileInfo casa::FileWatcher::info [private]

Definition at line 80 of file logwatcher.qo.h.

Referenced by FileWatcher(), and update().

int casa::FileWatcher::size [private]

Definition at line 81 of file logwatcher.qo.h.

Referenced by FileWatcher(), and update().

QString casa::FileWatcher::watchFile [private]

Definition at line 78 of file logwatcher.qo.h.

Referenced by FileWatcher(), and update().


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