PageRenderTime 16ms CodeModel.GetById 9ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/src/libtomahawk/ViewPage.cpp

http://github.com/tomahawk-player/tomahawk
C++ | 66 lines | 33 code | 15 blank | 18 comment | 0 complexity | 38fb3ff2f2ec448eab60f67bf3e74907 MD5 | raw file
 1/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
 2 *
 3 *   Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
 4 *
 5 *   Tomahawk is free software: you can redistribute it and/or modify
 6 *   it under the terms of the GNU General Public License as published by
 7 *   the Free Software Foundation, either version 3 of the License, or
 8 *   (at your option) any later version.
 9 *
10 *   Tomahawk is distributed in the hope that it will be useful,
11 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
12 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 *   GNU General Public License for more details.
14 *
15 *   You should have received a copy of the GNU General Public License
16 *   along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#include "ViewPage.h"
20
21#include "utils/Logger.h"
22
23using namespace Tomahawk;
24
25
26ViewPage::~ViewPage()
27{
28}
29
30
31bool
32ViewPage::setFilter( const QString& filter )
33{
34    m_filter = filter;
35    return false;
36}
37
38
39bool
40ViewPage::willAcceptDrag( const QMimeData* data ) const
41{
42    Q_UNUSED( data );
43    return false;
44}
45
46
47bool
48ViewPage::dropMimeData( const QMimeData* data, Qt::DropAction action )
49{
50    Q_UNUSED( data );
51    Q_UNUSED( action );
52    return false;
53}
54
55
56bool
57ViewPage::addPageItem() const {
58    return true;
59}
60
61
62void
63ViewPage::onItemDeleted()
64{
65    // no-op
66}