SciDAVis
1.D4
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
scidavis
src
future
core
future_Folder.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : Folder.h
3
Project : SciDAVis
4
Description : Folder in a project
5
--------------------------------------------------------------------
6
Copyright : (C) 2007 Tilman Benkert (thzs*gmx.net)
7
Copyright : (C) 2007 Knut Franke (knut.franke*gmx.de)
8
(replace * with @ in the email addresses)
9
10
***************************************************************************/
11
12
/***************************************************************************
13
* *
14
* This program is free software; you can redistribute it and/or modify *
15
* it under the terms of the GNU General Public License as published by *
16
* the Free Software Foundation; either version 2 of the License, or *
17
* (at your option) any later version. *
18
* *
19
* This program is distributed in the hope that it will be useful, *
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22
* GNU General Public License for more details. *
23
* *
24
* You should have received a copy of the GNU General Public License *
25
* along with this program; if not, write to the Free Software *
26
* Foundation, Inc., 51 Franklin Street, Fifth Floor, *
27
* Boston, MA 02110-1301 USA *
28
* *
29
***************************************************************************/
30
#ifndef FUTURE_FOLDER_H
31
#define FUTURE_FOLDER_H
32
33
#include "
core/AbstractAspect.h
"
34
35
namespace
future{
37
class
Folder
:
public
AbstractAspect
38
{
39
Q_OBJECT
40
41
public
:
42
Folder
(
const
QString &
name
);
43
44
virtual
~Folder
();
45
46
virtual
QIcon
icon
()
const
;
48
51
virtual
QMenu *
createContextMenu
()
const
;
52
54
55
56
virtual
void
save
(QXmlStreamWriter *)
const
;
58
virtual
bool
load
(
XmlStreamReader
*);
59
protected
:
61
bool
readChildAspectElement
(
XmlStreamReader
* reader);
63
};
64
65
}
// namespace
66
#endif // ifndef FUTURE_FOLDER_H
Generated by
1.8.1