Public Member Functions

FilesUploadedModel Class Reference

Model used as a list of allready uploaded files. More...

#include <fileselectionmodel.h>

Inheritance diagram for FilesUploadedModel:
Inheritance graph
[legend]
Collaboration diagram for FilesUploadedModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FilesUploadedModel (QObject *parent=0)

Detailed Description

Model used as a list of allready uploaded files.

This class is simply an indicator and should not be relied on. Currently, there are no references for the source of data kept in the database. The files listed are only saved by the application after each successful upload of a file. Their uniqueness is based on their modification name and file name.

A proper implementation would require a md5 checksum or something similar to the AICH check sum used by eMule for proper indication. Also each data should contain a reference to it's source.


Constructor & Destructor Documentation

FilesUploadedModel::FilesUploadedModel ( QObject parent = 0  ) 

                                                                : SqlQueryModel(parent)
{
    static QString query = QString("SELECT * FROM tbl_files_uploaded");
    setQuery(Database::execStatic(query));
}


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