Sayonara Player
Classes | Typedefs | Enumerations | Functions
Library Namespace Reference

An interface class needed when implementing a library plugin. More...

Classes

class  AbstractContainer
 This container is only used internally to avoid Ui dependencies in the Components. If implementing your own library plugin, use Gui/Library/LibraryContainer.h instead. More...
 
class  ActionPair
 A mapping between a name and a sortorder. More...
 
class  AlbumCoverFetchThread
 This class organizes requests for new Covers for the AlbumCoverView. When looking for covers, not all requests should be fired simultaneously, so there should be a buffer assuring that covers are found one by one. Albums are organized by hashes, each album has a CoverLocation. A new request is added to the queue by calling add_data(). A new request is handled BEFORE old requests. The thread is locked until the done() function is called. The thread emits the signal sig_next(). The cover location and the hash which should be processed next can be fetched by current_hash() and current_coverLocation(). More...
 
class  AlbumModel
 The AlbumModel class. More...
 
class  AlbumView
 The AlbumView class. More...
 
class  ArtistModel
 The ArtistModel class. More...
 
class  ArtistView
 The ArtistView class. More...
 
class  CachingThread
 The CachingThread class. More...
 
class  ColumnHeader
 The ColumnHeader class. More...
 
class  ColumnHeaderAlbum
 
class  ColumnHeaderArtist
 
class  ColumnHeaderTrack
 
class  Container
 
class  ContextMenu
 
class  CopyThread
 The CopyThread class. More...
 
class  CoverDelegate
 The CoverDelegate class. More...
 
class  CoverModel
 The CoverModel class. More...
 
class  CoverView
 The CoverView class. More...
 
class  CoverViewContextMenu
 Context menu with some additional actions compared to Gui::LibraryContextMenu. More...
 
class  CoverViewPixmapCache
 A cache class. Internally handled as QCache class. More...
 
class  DiscAction
 A single action representing one or all discs. More...
 
class  DiscPopupMenu
 A menu containing various DiscAction objects. More...
 
class  FileExtensionBar
 The FileExtensionBar class. More...
 
class  Filter
 
class  GenreTreeItem
 
class  GenreView
 The GenreView class. More...
 
class  GenreViewContextMenu
 Context Menu for the tree view. Notification of the tree view action is done by using a bool setting listener to Set::Lib_GenreTree So there's not signal for it. Everything else can be accessed using the methods of Gui::ContextMenu. More...
 
class  GUI_AbstractLibrary
 The GUI_AbstractLibrary class. More...
 
class  GUI_CoverView
 
class  GUI_EmptyLibrary
 The GUI_EmptyLibrary class. More...
 
class  GUI_LibraryInfoBox
 A info box containing library statistics :: More...
 
class  GUI_LibraryReloadDialog
 Reload dialog containing a combo box which allows you choosing between fast and deep reloading. More...
 
class  GUI_LocalLibrary
 The GUI_LocalLibrary class. More...
 
class  HeaderView
 
class  ImportCache
 The ImportCache class. More...
 
class  Importer
 The LibraryImporter class. More...
 
class  Info
 The Info class. More...
 
class  ItemModel
 The ItemModel is intended to abstract the various views. It supports searching, selections and a library. More...
 
class  ItemView
 The main task of the ItemView is to display a context menu for various selections. It also handles drag and drop events with a cover. It supports merging and imports. More...
 
class  LocalLibraryMenu
 A menu in the player's menubar containing some library actions. More...
 
class  LocalLibraryWatcher
 
class  Manager
 
class  MenuButtonViews
 
class  MergeData
 
class  PluginCombobox
 
class  PluginComboBoxDelegate
 
class  PluginHandler
 Library Plugin Manager. More...
 
class  RatingDelegate
 A special delegate class for tables containing a rating. More...
 
class  ReloadThread
 
class  SearchBar
 
class  Sortings
 The Sortings class. More...
 
class  TableView
 The TableView class. More...
 
class  TrackModel
 The TrackModel class. More...
 
class  TrackView
 The TrackView class. More...
 

Typedefs

using ImportCachePtr = std::shared_ptr< ImportCache >
 
using ColumnHeaderPtr = std::shared_ptr< ColumnHeader >
 
using ColumnHeaderList = QList< ColumnHeaderPtr >
 
using InfoPtr = std::shared_ptr< Info >
 
using SearchModeMask = std::underlying_type_t< SearchMode >
 

Enumerations

enum class  TrackDeletionMode : quint8 {
  None =0 ,
  OnlyLibrary ,
  AlsoFiles
}
 The TrackDeletionMode enum.
 
enum class  ReloadQuality : quint8 {
  Fast =0 ,
  Accurate ,
  Unknown
}
 The ReloadQuality enum.
 
enum class  ViewType : quint8 {
  Standard =0 ,
  CoverView ,
  FileView
}
 
enum class  SearchMode : int {
  None = 0 ,
  CaseInsensitve = (1 << 0) ,
  NoSpecialChars = (1 << 1) ,
  NoDiacriticChars = (1 << 2) ,
  SearchModeMaskSize = (1 << 3)
}
 
enum class  SortOrder : unsigned char {
  NoSorting = 0 ,
  ArtistNameAsc ,
  ArtistNameDesc ,
  ArtistTrackcountAsc ,
  ArtistTrackcountDesc ,
  AlbumNameAsc ,
  AlbumNameDesc ,
  AlbumYearAsc ,
  AlbumYearDesc ,
  AlbumTracksAsc ,
  AlbumTracksDesc ,
  AlbumDurationAsc ,
  AlbumDurationDesc ,
  AlbumRatingAsc ,
  AlbumRatingDesc ,
  TrackNumAsc ,
  TrackNumDesc ,
  TrackTitleAsc ,
  TrackTitleDesc ,
  TrackAlbumAsc ,
  TrackAlbumDesc ,
  TrackArtistAsc ,
  TrackArtistDesc ,
  TrackAlbumArtistAsc ,
  TrackAlbumArtistDesc ,
  TrackYearAsc ,
  TrackYearDesc ,
  TrackLenghtAsc ,
  TrackLengthDesc ,
  TrackBitrateAsc ,
  TrackBitrateDesc ,
  TrackSizeAsc ,
  TrackSizeDesc ,
  TrackDiscnumberAsc ,
  TrackDiscnumberDesc ,
  TrackRatingAsc ,
  TrackRatingDesc ,
  TrackFiletypeAsc ,
  TrackFiletypeDesc ,
  TrackDateModifiedAsc ,
  TrackDateModifiedDesc ,
  TrackDateAddedAsc ,
  TrackDateAddedDesc
}
 

Functions

QString convertSearchstring (const QString &str)
 
QString convertSearchstring (const QString &str, SearchModeMask mode)
 
QString convertSearchstring (const QString &str, SearchModeMask mode, const QList< QChar > &ignoredChars)
 

Detailed Description

An interface class needed when implementing a library plugin.