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