SymbolEditor
1.3.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Friends
Pages
Exceptions.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2011 by Stephen Allewell *
3
* sallewell@users.sourceforge.net *
4
* *
5
* This program 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 2 of the License, or *
8
* (at your option) any later version. *
9
********************************************************************************/
10
11
18
#ifndef Exceptions_H
19
#define Exceptions_H
20
21
22
#include <QDataStream>
23
#include <QtGlobal>
24
25
31
class
InvalidFile
32
{
33
public
:
34
InvalidFile
();
35
~InvalidFile
();
36
37
private
:
38
};
39
40
46
class
InvalidFileVersion
47
{
48
public
:
49
explicit
InvalidFileVersion
(qint32 v);
50
~InvalidFileVersion
();
51
52
qint32
version
;
53
};
54
55
61
class
FailedReadLibrary
62
{
63
public
:
64
explicit
FailedReadLibrary
(QDataStream::Status status);
65
~FailedReadLibrary
();
66
67
QString
statusMessage
()
const
;
68
69
private
:
70
QDataStream::Status
m_status
;
71
};
72
73
79
class
FailedWriteLibrary
80
{
81
public
:
82
explicit
FailedWriteLibrary
(QDataStream::Status status);
83
~FailedWriteLibrary
();
84
85
QString
statusMessage
()
const
;
86
87
private
:
88
QDataStream::Status
m_status
;
89
};
90
91
97
class
InvalidSymbolVersion
98
{
99
public
:
100
explicit
InvalidSymbolVersion
(qint32 v);
101
~InvalidSymbolVersion
();
102
103
qint32
version
;
104
};
105
106
107
#endif
src
Exceptions.h
Generated on Sun Feb 23 2014 16:39:21 for SymbolEditor by
1.8.2