kpilot
FileInstaller Class Reference
#include <fileInstaller.h>
Public Slots | |
void | copyCompleted () |
void | setEnabled (bool) |
Signals | |
void | filesChanged () |
Public Member Functions | |
void | addFile (const QString &, QWidget *w) |
void | addFiles (const QStringList &, QWidget *w) |
void | clearPending () |
void | deleteFile (const QString &) |
void | deleteFiles (const QStringList &) |
const QString & | dir () const |
FileInstaller () | |
const QStringList | fileNames () const |
virtual | ~FileInstaller () |
Protected Member Functions | |
virtual bool | runCopy (const QString &src, QWidget *w) |
Detailed Description
Definition at line 42 of file fileInstaller.h.
Constructor & Destructor Documentation
FileInstaller::FileInstaller | ( | ) |
Definition at line 49 of file fileInstaller.cc.
FileInstaller::~FileInstaller | ( | ) | [virtual] |
Definition at line 60 of file fileInstaller.cc.
Member Function Documentation
Definition at line 151 of file fileInstaller.cc.
void FileInstaller::addFiles | ( | const QStringList & | fileList, | |
QWidget * | w | |||
) |
Definition at line 130 of file fileInstaller.cc.
void FileInstaller::clearPending | ( | ) |
Definition at line 66 of file fileInstaller.cc.
void FileInstaller::copyCompleted | ( | ) | [slot] |
Definition at line 163 of file fileInstaller.cc.
void FileInstaller::deleteFile | ( | const QString & | file | ) |
Definition at line 87 of file fileInstaller.cc.
void FileInstaller::deleteFiles | ( | const QStringList & | files | ) |
Definition at line 93 of file fileInstaller.cc.
const QString& FileInstaller::dir | ( | ) | const [inline] |
Returns information about this installer.
Note particularly that fileNames() returns only filenames, not paths. In particular, you'll need to prepend dir()+"/" to get pathnames.
Definition at line 62 of file fileInstaller.h.
const QStringList FileInstaller::fileNames | ( | ) | const |
Definition at line 168 of file fileInstaller.cc.
void FileInstaller::filesChanged | ( | ) | [signal] |
Definition at line 104 of file fileInstaller.cc.
void FileInstaller::setEnabled | ( | bool | b | ) | [slot] |
Definition at line 178 of file fileInstaller.cc.
The documentation for this class was generated from the following files: