1 /***************************************************************************
2 * This file is part of KWorship. *
3 * Copyright 2008 James Hogan <james@albanarts.com> *
5 * KWorship 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. *
10 * KWorship 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. *
15 * You should have received a copy of the GNU General Public License *
16 * along with KWorship. If not, see <http://www.gnu.org/licenses/>. *
17 ***************************************************************************/
19 #ifndef _UpPresentationNode_h_
20 #define _UpPresentationNode_h_
23 * @file UpPresentationNode.h
24 * @brief A presentations node for a presentation.
25 * @author James Hogan <james@albanarts.com>
28 #include "NodeBasedModel.h"
32 /// A presentations node for a presentation.
33 class UpPresentationNode
: public DefaultModelNode
38 * Constructors + destructor.
41 /// Primary constructor.
42 UpPresentationNode(DefaultModelNode
* parent
, UpPresentation
* item
);
45 virtual ~UpPresentationNode();
51 UpPresentation
* getItem();
57 virtual QVariant
getData(int role
, int column
);
66 UpPresentation
* m_item
;
69 #endif // _UpPresentationNode_h_