QCA::FileWatch Class Reference

Support class to monitor a file for activity. More...

#include <qca_support.h>

Inheritance diagram for QCA::FileWatch:

QObject Collaboration diagram for QCA::FileWatch:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FileWatch (const QString &file=QString(), QObject *parent=0)
QString fileName () const
void setFileName (const QString &file)

Public Attributes

Q_SIGNALS __pad0__: void changed()

Friends

class Private

Detailed Description

Support class to monitor a file for activity.

FileWatch monitors a specified file for any changes. When the file changes, the changed() signal is emitted.


Constructor & Destructor Documentation

QCA::FileWatch::FileWatch const QString file = QString(),
QObject parent = 0
[explicit]
 

Standard constructor.

Parameters:
file the name of the file to watch. If not in this object, you can set it using setFileName()
parent the parent object for this object


Member Function Documentation

QString QCA::FileWatch::fileName  )  const
 

The name of the file that is being monitored.

void QCA::FileWatch::setFileName const QString file  ) 
 

Change the file being monitored.

Parameters:
file the name of the file to monitor


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 13:24:25 2007 for Qt Cryptographic Architecture by  doxygen 1.4.6