summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/static/QByteArray.cs
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /qtsharp/src/bindings/static/QByteArray.cs
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtsharp/src/bindings/static/QByteArray.cs')
-rw-r--r--qtsharp/src/bindings/static/QByteArray.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/qtsharp/src/bindings/static/QByteArray.cs b/qtsharp/src/bindings/static/QByteArray.cs
index 5bb37574..ca910191 100644
--- a/qtsharp/src/bindings/static/QByteArray.cs
+++ b/qtsharp/src/bindings/static/QByteArray.cs
@@ -1,4 +1,4 @@
-// QByteArray.cs - A Qt to C# binding.
+// TQByteArray.cs - A Qt to C# binding.
//
// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com)
//
@@ -24,11 +24,11 @@ namespace Qt {
using System;
using System.Runtime.InteropServices;
- public class QByteArray : QMemArray, IDisposable {
+ public class TQByteArray : TQMemArray, IDisposable {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_new_QByteArray ();
- public QByteArray () : this (QNull.Instance)
+ public TQByteArray () : this (QNull.Instance)
{
rawObject = qt_new_QByteArray ();
RegisterObject (this);
@@ -36,21 +36,21 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_new_QByteArray1 (int size);
- public QByteArray (int size) : this (QNull.Instance)
+ public TQByteArray (int size) : this (QNull.Instance)
{
rawObject = qt_new_QByteArray1 (size);
RegisterObject (this);
}
- internal QByteArray (IntPtr ptr) : this (QNull.Instance)
+ internal TQByteArray (IntPtr ptr) : this (QNull.Instance)
{
rawObject = ptr;
RegisterObject(this);
}
- internal QByteArray (QNull dummy) : base (QNull.Instance) {}
+ internal TQByteArray (QNull dummy) : base (QNull.Instance) {}
- ~QByteArray ()
+ ~TQByteArray ()
{
Dispose (false);
}
@@ -69,9 +69,9 @@ namespace Qt {
(IntPtr rawObject, [MarshalAs(UnmanagedType.LPArray)] byte[] b,
uint length );
- public static implicit operator QByteArray (byte[] bArray)
+ public static implicit operator TQByteArray (byte[] bArray)
{
- QByteArray qbArray = new QByteArray (bArray.Length);
+ TQByteArray qbArray = new TQByteArray (bArray.Length);
qbArray.rawObject =
qt_QByteArray_assign1 (qbArray.rawObject, bArray, (uint) bArray.Length);
GC.KeepAlive (bArray);