~ubuntu-branches/ubuntu/saucy/clementine/saucy

« back to all changes in this revision

Viewing changes to src/library/libraryview.h

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <boost/scoped_ptr.hpp>
28
28
 
29
29
class DeviceManager;
 
30
class LibraryFilterWidget;
30
31
class LibraryModel;
31
32
class OrganiseDialog;
32
 
class ScriptManager;
33
33
class TaskManager;
34
34
 
35
35
class QMimeData;
62
62
  // this will return all of it's songs.
63
63
  SongList GetSelectedSongs() const;
64
64
 
65
 
  void SetScriptManager(ScriptManager* scripts);
 
65
  void SetCoverProviders(CoverProviders* cover_providers);
66
66
  void SetTaskManager(TaskManager* task_manager);
67
67
  void SetLibrary(LibraryModel* library);
68
68
  void SetDeviceManager(DeviceManager* device_manager);
 
69
  void SetFilter(LibraryFilterWidget* filter);
69
70
 
70
71
  // QTreeView
71
72
  void keyboardSearch(const QString &search);
72
73
  void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible);
73
74
 
74
 
  // Returns a pretty automatic name for playlist created from the given list of
75
 
  // songs.
76
 
  static QString GetNameForNewPlaylist(const SongList& songs);
77
 
 
78
75
 public slots:
79
76
  void TotalSongCountUpdated(int count);
80
77
  void ReloadSettings();
117
114
  void ShowInVarious(bool on);
118
115
 
119
116
 private:
120
 
  ScriptManager* scripts_;
121
 
 
 
117
  CoverProviders* cover_providers_;
122
118
  LibraryModel* library_;
123
119
  DeviceManager* devices_;
124
120
  TaskManager* task_manager_;
 
121
  LibraryFilterWidget* filter_;
125
122
 
126
123
  int total_song_count_;
127
124