LibEngsas
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
lib
core
eglobal.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2010 - 2012 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17
MA 02110-1301 USA.
18
*/
19
101
#ifndef EGLOBAL_H
102
#define EGLOBAL_H
103
104
#ifdef E_BUILD_CORE_LIB
105
#define E_CORE_EXPORT Q_DECL_EXPORT
106
#else
107
#define E_CORE_EXPORT Q_DECL_IMPORT
108
#endif
109
110
#include <QObject>
111
112
class
ECmdLineOption
;
113
class
EAboutPerson
;
114
class
ESetupWizardObject
;
115
class
EModuleListWidgetItem
;
116
class
ESpreadsheet
;
117
121
namespace
EngSaS {
125
enum
FileFilter
{
126
Load
,
127
Save
128
};
129
130
Q_FLAGS(AvailableActions)
135
enum
AvailableAction
136
{
137
FileNew
= 0x0001,
138
FileOpen
= 0x0002,
139
FileSave
= 0x0004,
140
FileSaveAs
= 0x0008,
141
FilePrint
= 0x0016,
142
EditUndo
= 0x0032,
143
EditRedo
= 0x0064,
144
EditCut
= 0x0128,
145
EditCopy
= 0x0256,
146
EditPaste
= 0x0512,
147
ViewReload
= 0x1024
148
};
149
Q_DECLARE_FLAGS(AvailableActions,
AvailableAction
)
150
Q_ENUMS(
AvailableAction
)
151
156
typedef QList<
ECmdLineOption
*>
CmdLineOptions
;
160
typedef QList<
EAboutPerson
*>
AboutPersons
;
164
typedef QList<
ESetupWizardObject
*>
SetupWizardObjects
;
168
typedef QList<
EModuleListWidgetItem
*>
ModuleListWidgetItems
;
172
typedef QList<
ESpreadsheet
*>
Spreadsheets
;
173
177
namespace SQL {
181
enum
DatabaseType
{
182
Other
,
183
SQLite
184
};
185
};
186
};
187
188
Q_DECLARE_OPERATORS_FOR_FLAGS(EngSaS::AvailableActions)
189
190
#endif // EGLOBAL_H
Generated by
1.8.1.2