Seamly2D
Code documentation
vfileproperty_p.h
Go to the documentation of this file.
1 /************************************************************************
2  **
3  ** @file vfileproperty_p.h
4  ** @author hedgeware <internal(at)hedgeware.net>
5  ** @date
6  **
7  ** @brief
8  ** @copyright
9  ** All rights reserved. This program and the accompanying materials
10  ** are made available under the terms of the GNU Lesser General Public License
11  ** (LGPL) version 2.1 which accompanies this distribution, and is available at
12  ** http://www.gnu.org/licenses/lgpl-2.1.html
13  **
14  ** This library is distributed in the hope that it will be useful,
15  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  ** Lesser General Public License for more details.
18  **
19  *************************************************************************/
20 
21 #ifndef VFILEPROPERTY_P_H
22 #define VFILEPROPERTY_P_H
23 
24 // ONLY INCLUDE THIS IN .CPP FILES
25 
26 #include "vproperty_p.h"
27 
28 namespace VPE
29 {
30 
32 {
33 public:
34  //! File filters
35  QString FileFilters;
36 
37  //! Determines whether the file property is a file or a directory. Default: false
38  bool Directory;
39 
40 
41  //! Constructor passing name and type
42  VFilePropertyPrivate(const QString& name, QVariant::Type type, bool directory = false)
43  : VPropertyPrivate(name, type), FileFilters(), Directory(directory) {}
44 
45  //! Constructor
47  : VPropertyPrivate(), FileFilters(), Directory(false) {}
48 
49  virtual ~VFilePropertyPrivate() Q_DECL_OVERRIDE;
50 };
51 
53 {}
54 
55 }
56 
57 #endif // VFILEPROPERTY_P_H
VFilePropertyPrivate(const QString &name, QVariant::Type type, bool directory=false)
Constructor passing name and type.
virtual ~VFilePropertyPrivate() Q_DECL_OVERRIDE
bool Directory
Determines whether the file property is a file or a directory. Default: false.
QString FileFilters
File filters.
VFilePropertyPrivate()
Constructor.