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.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/c++-qt/src/string.h b/c++-qt/src/string.h
new file mode 100644
index 0000000..2acd946
--- /dev/null
+++ b/c++-qt/src/string.h
@@ -0,0 +1,32 @@
1#ifndef GATS_STRING_H
2#define GATS_STRING_H
3
4#include "gats-qt/object.h"
5#include <QByteArray>
6
7namespace Gats
8{
9 class String : public Gats::Object, public QByteArray
10 {
11 Q_OBJECT;
12 public:
13 String();
14 String( const char *s );
15 String( const char *s, long iLength );
16 String( long iLength );
17 String( const String &s );
18 String( const QByteArray &s );
19 virtual ~String();
20
21 virtual Type getType() const { return typeString; }
22
23 virtual void write( QIODevice &rOut ) const;
24 virtual void read( QIODevice &rIn, char cType );
25
26 private:
27 };
28};
29
30//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s );
31
32#endif