casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
casa::FileWatcher Class Reference

#include <logwatcher.qo.h>

Inheritance diagram for casa::FileWatcher:

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.

casa::FileWatcher::~FileWatcher ( )
inline

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 ( )
inlineslot

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: