aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/src/null.cpp')
-rw-r--r--c++-qt/src/null.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/c++-qt/src/null.cpp b/c++-qt/src/null.cpp
index f259887..8d46250 100644
--- a/c++-qt/src/null.cpp
+++ b/c++-qt/src/null.cpp
@@ -1,3 +1,10 @@
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
1#include "gats-qt/null.h" 8#include "gats-qt/null.h"
2 9
3#include <QIODevice> 10#include <QIODevice>
@@ -12,12 +19,12 @@ Gats::Null::~Null()
12 19
13Gats::Object *Gats::Null::clone() const 20Gats::Object *Gats::Null::clone() const
14{ 21{
15 return new Gats::Null(); 22 return new Gats::Null();
16} 23}
17 24
18void Gats::Null::write( QIODevice &rOut ) const 25void Gats::Null::write( QIODevice &rOut ) const
19{ 26{
20 rOut.write("n", 1 ); 27 rOut.write("n", 1 );
21} 28}
22 29
23void Gats::Null::read( QIODevice &rIn, char cType ) 30void Gats::Null::read( QIODevice &rIn, char cType )
@@ -26,6 +33,6 @@ void Gats::Null::read( QIODevice &rIn, char cType )
26/* 33/*
27Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b ) 34Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Null &b )
28{ 35{
29 return f << "(bool) " << b.getValue(); 36 return f << "(bool) " << b.getValue();
30} 37}
31*/ 38*/