aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/boolean.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/src/boolean.h')
-rw-r--r--c++-qt/src/boolean.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/c++-qt/src/boolean.h b/c++-qt/src/boolean.h
deleted file mode 100644
index 7e42981..0000000
--- a/c++-qt/src/boolean.h
+++ /dev/null
@@ -1,41 +0,0 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libgats library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#ifndef GATS_BOOLEAN_H
9#define GATS_BOOLEAN_H
10
11#include "gats-qt/object.h"
12
13class QIODevice;
14
15namespace Gats
16{
17 class Boolean : public Gats::Object
18 {
19 Q_OBJECT;
20 public:
21 Boolean();
22 Boolean( bool bVal );
23 virtual ~Boolean();
24
25 virtual Object *clone() const;
26
27 virtual Type getType() const { return typeBoolean; }
28 bool getValue() const { return bVal; }
29 void setValue( bool b ) { bVal = b; }
30
31 virtual void write( QIODevice &rOut ) const;
32 virtual void read( QIODevice &rIn, char cType );
33
34 private:
35 bool bVal;
36 };
37};
38
39//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Boolean &b );
40
41#endif