Hydra 0.20
desktop::FileEntryLessThan Class Reference

#include <FileList.h>

List of all members.

Public Types

enum  {
  colJustName, colFullFileName, colRecordTags, colFileLastModified,
  colFileSize
}

Public Member Functions

 FileEntryLessThan (short col, Qt::SortOrder order=Qt::AscendingOrder)
bool operator() (const desktop::cache_ptr< desktop::FileEntry > &left, const desktop::cache_ptr< desktop::FileEntry > &right) const

Static Public Member Functions

static bool tagsLessThan (const hydra::FileItemRecord::tags_t &left, const hydra::FileItemRecord::tags_t &right)

Detailed Description

A flexible sorting functor suitable for passing to qSort.

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables