aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/src/string.h')
-rw-r--r--c++-qt/src/string.h49
1 files changed, 28 insertions, 21 deletions
diff --git a/c++-qt/src/string.h b/c++-qt/src/string.h
index 9bf6ce3..a679fc0 100644
--- a/c++-qt/src/string.h
+++ b/c++-qt/src/string.h
@@ -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#ifndef GATS_STRING_H 8#ifndef GATS_STRING_H
2#define GATS_STRING_H 9#define GATS_STRING_H
3 10
@@ -6,27 +13,27 @@
6 13
7namespace Gats 14namespace Gats
8{ 15{
9 class String : public Gats::Object, public QByteArray 16 class String : public Gats::Object, public QByteArray
10 { 17 {
11 Q_OBJECT; 18 Q_OBJECT;
12 public: 19 public:
13 String(); 20 String();
14 String( const char *s ); 21 String( const char *s );
15 String( const char *s, long iLength ); 22 String( const char *s, long iLength );
16 String( long iLength ); 23 String( long iLength );
17 String( const String &s ); 24 String( const String &s );
18 String( const QByteArray &s ); 25 String( const QByteArray &s );
19 virtual ~String(); 26 virtual ~String();
20 27
21 virtual Object *clone() const; 28 virtual Object *clone() const;
22 29
23 virtual Type getType() const { return typeString; } 30 virtual Type getType() const { return typeString; }
24 31
25 virtual void write( QIODevice &rOut ) const; 32 virtual void write( QIODevice &rOut ) const;
26 virtual void read( QIODevice &rIn, char cType ); 33 virtual void read( QIODevice &rIn, char cType );
27 34
28 private: 35 private:
29 }; 36 };
30}; 37};
31 38
32//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s ); 39//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s );