Gnutella::Searching::FileIndexer Class Reference

#include <FileIndexer.h> [code]

Inherits QObject.

Inheritance diagram for Gnutella::Searching::FileIndexer:

Inheritance graph
[legend]
Collaboration diagram for Gnutella::Searching::FileIndexer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 33 of file FileIndexer.h.

Public Member Functions

 FileIndexer ()
 ~FileIndexer ()
bool indexFolder (QString folderPath)
bool removeFolder (QString folderPath)
QList< FileInfo * > match (QString searchCriteria) const

Protected Slots

void refreshIndex ()

Protected Member Functions

void indexFile (QString filePath)
void indexFile (FileInfo *fileInfo)
void removeFolderFiles (QString folderPath)
void removeFileFromWord (uint fileIndex, QString &word)
void removeFile (FileInfo *fileInfo)
void checkForAddedFolder ()
QDataStream & readFileWords (QDataStream &stream)

Private Attributes

Gnutella::Searching::FileIndexer::Private p

Classes

class  CheckIndexThread
struct  Private


Constructor & Destructor Documentation

FileIndexer::FileIndexer  ) 
 

Definition at line 145 of file FileIndexer.cpp.

FileIndexer::~FileIndexer  ) 
 

Definition at line 171 of file FileIndexer.cpp.


Member Function Documentation

void FileIndexer::checkForAddedFolder  )  [protected]
 

Definition at line 231 of file FileIndexer.cpp.

void FileIndexer::indexFile FileInfo fileInfo  )  [protected]
 

Definition at line 294 of file FileIndexer.cpp.

void FileIndexer::indexFile QString  filePath  )  [protected]
 

Definition at line 283 of file FileIndexer.cpp.

bool FileIndexer::indexFolder QString  folderPath  ) 
 

Definition at line 249 of file FileIndexer.cpp.

QList< FileInfo * > FileIndexer::match QString  searchCriteria  )  const
 

Definition at line 396 of file FileIndexer.cpp.

QDataStream & FileIndexer::readFileWords QDataStream &  stream  )  [protected]
 

Definition at line 91 of file FileIndexer.cpp.

void FileIndexer::refreshIndex  )  [protected, slot]
 

Definition at line 190 of file FileIndexer.cpp.

void FileIndexer::removeFile FileInfo fileInfo  )  [protected]
 

Definition at line 354 of file FileIndexer.cpp.

void FileIndexer::removeFileFromWord uint  fileIndex,
QString &  word
[protected]
 

Definition at line 372 of file FileIndexer.cpp.

bool FileIndexer::removeFolder QString  folderPath  ) 
 

Definition at line 312 of file FileIndexer.cpp.

void FileIndexer::removeFolderFiles QString  folderPath  )  [protected]
 

Definition at line 335 of file FileIndexer.cpp.


Member Data Documentation

struct Gnutella::Searching::FileIndexer::Private Gnutella::Searching::FileIndexer::p [private]
 


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