summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/static/QByteArray.cs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /qtsharp/src/bindings/static/QByteArray.cs
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
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 05f55be0..6fb2f1e7 100644
--- a/qtsharp/src/bindings/static/QByteArray.cs
+++ b/qtsharp/src/bindings/static/QByteArray.cs
@@ -1,4 +1,4 @@
-// TTQByteArray.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 TTQByteArray : TTQMemArray, IDisposable {
+ public class TQByteArray : TQMemArray, IDisposable {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_new_QByteArray ();
- public TTQByteArray () : this (TQNull.Instance)
+ public TQByteArray () : this (TQNull.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 TTQByteArray (int size) : this (TQNull.Instance)
+ public TQByteArray (int size) : this (TQNull.Instance)
{
rawObject = qt_new_QByteArray1 (size);
RegisterObject (this);
}
- internal TTQByteArray (IntPtr ptr) : this (TQNull.Instance)
+ internal TQByteArray (IntPtr ptr) : this (TQNull.Instance)
{
rawObject = ptr;
RegisterObject(this);
}
- internal TTQByteArray (TQNull dummy) : base (TQNull.Instance) {}
+ internal TQByteArray (TQNull dummy) : base (TQNull.Instance) {}
- ~TTQByteArray ()
+ ~TQByteArray ()
{
Dispose (false);
}
@@ -69,9 +69,9 @@ namespace Qt {
(IntPtr rawObject, [MarshalAs(UnmanagedType.LPArray)] byte[] b,
uint length );
- public static implicit operator TTQByteArray (byte[] bArray)
+ public static implicit operator TQByteArray (byte[] bArray)
{
- TTQByteArray qbArray = new TTQByteArray (bArray.Length);
+ TQByteArray qbArray = new TQByteArray (bArray.Length);
qbArray.rawObject =
qt_QByteArray_assign1 (qbArray.rawObject, bArray, (uint) bArray.Length);
GC.KeepAlive (bArray);