~neon/juk/master

1075 by Michael Pyne
I forgot to add license and contact information to the two files I added for drag-and-drop retagging.
1
/***************************************************************************
2
    begin                : Mon Jun 21 2004
3
    copyright            : (C) 2004 by Michael Pyne
1094 by Michael Pyne
CVS_SILENT Update my e-mail address info.
4
    email                : michael.pyne@kdemail.net
1075 by Michael Pyne
I forgot to add license and contact information to the two files I added for drag-and-drop retagging.
5
***************************************************************************/
6
7
/***************************************************************************
8
 *                                                                         *
9
 *   This program is free software; you can redistribute it and/or modify  *
10
 *   it under the terms of the GNU General Public License as published by  *
11
 *   the Free Software Foundation; either version 2 of the License, or     *
12
 *   (at your option) any later version.                                   *
13
 *                                                                         *
14
 ***************************************************************************/
15
1071 by Michael Pyne
* Implement drag-and-drop retagging of songs while using the tree view playlist mode, fixing bug 62307.
16
#ifndef TREEVIEWITEMPLAYLIST_H
17
#define TREEVIEWITEMPLAYLIST_H
18
19
#include "searchplaylist.h"
20
#include "playlistitem.h"
21
22
class QStringList;
23
24
class TreeViewItemPlaylist : public SearchPlaylist
25
{
26
    Q_OBJECT
27
28
public:
29
    TreeViewItemPlaylist(PlaylistCollection *collection,
30
                         const PlaylistSearch &search = PlaylistSearch(),
1553 by Scott Wheeler
Since 3.5 devel seems to have mostly slowed down, I'm synching with the branch
31
                         const QString &name = QString::null);
1071 by Michael Pyne
* Implement drag-and-drop retagging of songs while using the tree view playlist mode, fixing bug 62307.
32
1245 by Scott Wheeler
Create a new virtual to decide if the edit search option should be shown for
33
    virtual bool searchIsEditable() const { return false; }
1071 by Michael Pyne
* Implement drag-and-drop retagging of songs while using the tree view playlist mode, fixing bug 62307.
34
    void retag(const QStringList &files, Playlist *donorPlaylist);
35
36
signals:
37
    void signalTagsChanged();
38
39
private:
40
    PlaylistItem::ColumnType m_columnType;
41
};
42
43
#endif // TREEVIEWITEMPLAYLIST_H
1562 by Michael Pyne
Since we're standardizing the source style, figured I'd throw in the Big Huge Vim Modeline
44
45
// vim: set et sw=4 tw=0 sta: