You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
572 lines
19 KiB
572 lines
19 KiB
'\" t
|
|
.TH TQMemArray 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
|
|
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
|
|
.\" license file included in the distribution for a complete license
|
|
.\" statement.
|
|
.\"
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
TQMemArray \- Template class that provides arrays of simple types
|
|
.SH SYNOPSIS
|
|
All the functions in this class are reentrant when TQt is built with thread support.</p>
|
|
.PP
|
|
\fC#include <tqmemarray.h>\fR
|
|
.PP
|
|
Inherited by TQByteArray and TQPointArray.
|
|
.PP
|
|
.SS "Public Members"
|
|
.in +1c
|
|
.ti -1c
|
|
.BI "typedef type * \fBIterator\fR"
|
|
.br
|
|
.ti -1c
|
|
.BI "typedef const type * \fBConstIterator\fR"
|
|
.br
|
|
.ti -1c
|
|
.BI "\fBTQMemArray\fR ()"
|
|
.br
|
|
.ti -1c
|
|
.BI "\fBTQMemArray\fR ( int size )"
|
|
.br
|
|
.ti -1c
|
|
.BI "\fBTQMemArray\fR ( const TQMemArray<type> & a )"
|
|
.br
|
|
.ti -1c
|
|
.BI "\fB~TQMemArray\fR ()"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQMemArray<type> & \fBoperator=\fR ( const TQMemArray<type> & a )"
|
|
.br
|
|
.ti -1c
|
|
.BI "type * \fBdata\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "uint \fBnrefs\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "uint \fBsize\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "uint \fBcount\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBisEmpty\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBisNull\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBresize\fR ( uint size )"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBresize\fR ( uint size, Optimization optim )"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBtruncate\fR ( uint pos )"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBfill\fR ( const type & v, int size = -1 )"
|
|
.br
|
|
.ti -1c
|
|
.BI "virtual void \fBdetach\fR ()"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQMemArray<type> \fBcopy\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQMemArray<type> & \fBassign\fR ( const TQMemArray<type> & a )"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQMemArray<type> & \fBassign\fR ( const type * data, uint size )"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQMemArray<type> & \fBduplicate\fR ( const TQMemArray<type> & a )"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQMemArray<type> & \fBduplicate\fR ( const type * data, uint size )"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQMemArray<type> & \fBsetRawData\fR ( const type * data, uint size )"
|
|
.br
|
|
.ti -1c
|
|
.BI "void \fBresetRawData\fR ( const type * data, uint size )"
|
|
.br
|
|
.ti -1c
|
|
.BI "int \fBfind\fR ( const type & v, uint index = 0 ) const"
|
|
.br
|
|
.ti -1c
|
|
.BI "int \fBcontains\fR ( const type & v ) const"
|
|
.br
|
|
.ti -1c
|
|
.BI "void \fBsort\fR ()"
|
|
.br
|
|
.ti -1c
|
|
.BI "int \fBbsearch\fR ( const type & v ) const"
|
|
.br
|
|
.ti -1c
|
|
.BI "type & \fBoperator[]\fR ( int index ) const"
|
|
.br
|
|
.ti -1c
|
|
.BI "type & \fBat\fR ( uint index ) const"
|
|
.br
|
|
.ti -1c
|
|
.BI "\fBoperator const type *\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBoperator==\fR ( const TQMemArray<type> & a ) const"
|
|
.br
|
|
.ti -1c
|
|
.BI "bool \fBoperator!=\fR ( const TQMemArray<type> & a ) const"
|
|
.br
|
|
.ti -1c
|
|
.BI "Iterator \fBbegin\fR ()"
|
|
.br
|
|
.ti -1c
|
|
.BI "Iterator \fBend\fR ()"
|
|
.br
|
|
.ti -1c
|
|
.BI "ConstIterator \fBbegin\fR () const"
|
|
.br
|
|
.ti -1c
|
|
.BI "ConstIterator \fBend\fR () const"
|
|
.br
|
|
.in -1c
|
|
.SS "Protected Members"
|
|
.in +1c
|
|
.ti -1c
|
|
.BI "\fBTQMemArray\fR ( int, int )"
|
|
.br
|
|
.in -1c
|
|
.SH RELATED FUNCTION DOCUMENTATION
|
|
.in +1c
|
|
.ti -1c
|
|
.BI "TQ_UINT16 \fBqChecksum\fR ( const char * data, uint len )"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQByteArray & a )"
|
|
.br
|
|
.ti -1c
|
|
.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQByteArray & a )"
|
|
.br
|
|
.in -1c
|
|
.SH DESCRIPTION
|
|
The TQMemArray class is a template class that provides arrays of simple types.
|
|
.PP
|
|
TQMemArray is implemented as a template class. Define a template instance TQMemArray<X> to create an array that contains X items.
|
|
.PP
|
|
TQMemArray stores the array elements directly in the array. It can only deal with simple types (i.e. C++ types, structs, and classes that have no constructors, destructors, or virtual functions). TQMemArray uses bitwise operations to copy and compare array elements.
|
|
.PP
|
|
The TQPtrVector collection class is also a kind of array. Like most collection classes, it uses pointers to the contained items.
|
|
.PP
|
|
TQMemArray uses explicit sharing with a reference count. If more than one array shares common data and one of the arrays is modified, all the arrays are modified.
|
|
.PP
|
|
The benefit of sharing is that a program does not need to duplicate data when it is not required, which results in lower memory use and less copying of data.
|
|
.PP
|
|
An alternative to TQMemArray is TQValueVector. The TQValueVector class also provides an array of objects, but can deal with objects that have constructors (specifically a copy constructor and a default constructor). TQValueVector provides an STL-compatible syntax and is implicitly shared.
|
|
.PP
|
|
Example:
|
|
.PP
|
|
.nf
|
|
.br
|
|
#include <tqmemarray.h>
|
|
.br
|
|
#include <stdio.h>
|
|
.br
|
|
.br
|
|
TQMemArray<int> fib( int num ) // returns fibonacci array
|
|
.br
|
|
{
|
|
.br
|
|
Q_ASSERT( num > 2 );
|
|
.br
|
|
TQMemArray<int> f( num ); // array of ints
|
|
.br
|
|
.br
|
|
f[0] = f[1] = 1;
|
|
.br
|
|
for ( int i = 2; i < num; i++ )
|
|
.br
|
|
f[i] = f[i-1] + f[i-2];
|
|
.br
|
|
.br
|
|
return f;
|
|
.br
|
|
}
|
|
.br
|
|
.br
|
|
int main()
|
|
.br
|
|
{
|
|
.br
|
|
TQMemArray<int> a = fib( 6 ); // get first 6 fibonaccis
|
|
.br
|
|
for ( int i = 0; i < a.size(); i++ )
|
|
.br
|
|
tqDebug( "%d: %d", i, a[i] );
|
|
.br
|
|
.br
|
|
tqDebug( "1 is found %d times", a.contains(1) );
|
|
.br
|
|
tqDebug( "5 is found at index %d", a.find(5) );
|
|
.br
|
|
.br
|
|
return 0;
|
|
.br
|
|
}
|
|
.br
|
|
.fi
|
|
.PP
|
|
Program output:
|
|
.PP
|
|
.nf
|
|
.br
|
|
0: 1
|
|
.br
|
|
1: 1
|
|
.br
|
|
2: 2
|
|
.br
|
|
3: 3
|
|
.br
|
|
4: 5
|
|
.br
|
|
5: 8
|
|
.br
|
|
1 is found 2 times
|
|
.br
|
|
5 is found at index 4
|
|
.br
|
|
.fi
|
|
.PP
|
|
Note concerning the use of TQMemArray for manipulating structs or classes: Compilers will often pad the size of structs of odd sizes up to the nearest word boundary. This will then be the size TQMemArray will use for its bitwise element comparisons. Because the remaining bytes will typically be uninitialized, this can cause find() etc. to fail to find the element. Example:
|
|
.PP
|
|
.nf
|
|
.br
|
|
// MyStruct may be padded to 4 or 8 bytes
|
|
.br
|
|
struct MyStruct
|
|
.br
|
|
{
|
|
.br
|
|
short i; // 2 bytes
|
|
.br
|
|
char c; // 1 byte
|
|
.br
|
|
};
|
|
.br
|
|
.br
|
|
TQMemArray<MyStruct> a(1);
|
|
.br
|
|
a[0].i = 5;
|
|
.br
|
|
a[0].c = 't';
|
|
.br
|
|
.br
|
|
MyStruct x;
|
|
.br
|
|
x.i = '5';
|
|
.br
|
|
x.c = 't';
|
|
.br
|
|
int i = a.find( x ); // may return -1 if the pad bytes differ
|
|
.br
|
|
.fi
|
|
.PP
|
|
To work around this, make sure that you use a struct where sizeof() returns the same as the sum of the sizes of the members either by changing the types of the struct members or by adding dummy members.
|
|
.PP
|
|
TQMemArray data can be traversed by iterators (see begin() and end()). The number of items is returned by count(). The array can be resized with resize() and filled using fill().
|
|
.PP
|
|
You can make a shallow copy of the array with assign() (or operator=()) and a deep copy with duplicate().
|
|
.PP
|
|
Search for values in the array with find() and contains(). For sorted arrays (see sort()) you can search using bsearch().
|
|
.PP
|
|
You can set the data directly using setRawData() and resetRawData(), although this requires care.
|
|
.PP
|
|
See also Shared Classes and Non-GUI Classes.
|
|
.SS "Member Type Documentation"
|
|
.SH "TQMemArray::ConstIterator"
|
|
A const TQMemArray iterator.
|
|
.PP
|
|
See also begin() and end().
|
|
.SH "TQMemArray::Iterator"
|
|
A TQMemArray iterator.
|
|
.PP
|
|
See also begin() and end().
|
|
.SH MEMBER FUNCTION DOCUMENTATION
|
|
.SH "TQMemArray::TQMemArray ( int, int )\fC [protected]\fR"
|
|
Constructs an array \fIwithout allocating\fR array space. The arguments should be (0, 0). Use at your own risk.
|
|
.SH "TQMemArray::TQMemArray ()"
|
|
Constructs a null array.
|
|
.PP
|
|
See also isNull().
|
|
.SH "TQMemArray::TQMemArray ( int size )"
|
|
Constructs an array with room for \fIsize\fR elements. Makes a null array if \fIsize\fR == 0.
|
|
.PP
|
|
The elements are left uninitialized.
|
|
.PP
|
|
See also resize() and isNull().
|
|
.SH "TQMemArray::TQMemArray ( const TQMemArray<type> & a )"
|
|
Constructs a shallow copy of \fIa\fR.
|
|
.PP
|
|
See also assign().
|
|
.SH "TQMemArray::~TQMemArray ()"
|
|
Dereferences the array data and deletes it if this was the last reference.
|
|
.SH "TQMemArray<type> & TQMemArray::assign ( const TQMemArray<type> & a )"
|
|
Shallow copy. Dereferences the current array and references the data contained in \fIa\fR instead. Returns a reference to this array.
|
|
.PP
|
|
See also operator=().
|
|
.SH "TQMemArray<type> & TQMemArray::assign ( const type * data, uint size )"
|
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
|
|
.PP
|
|
Shallow copy. Dereferences the current array and references the array data \fIdata\fR, which contains \fIsize\fR elements. Returns a reference to this array.
|
|
.PP
|
|
Do not delete \fIdata\fR later; TQMemArray will call free() on it at the right time.
|
|
.SH "type & TQMemArray::at ( uint index ) const"
|
|
Returns a reference to the element at position \fIindex\fR in the array.
|
|
.PP
|
|
This can be used to both read and set an element.
|
|
.PP
|
|
See also operator[]().
|
|
.SH "Iterator TQMemArray::begin ()"
|
|
Returns an iterator pointing at the beginning of this array. This iterator can be used in the same way as the iterators of TQValueList and TQMap, for example.
|
|
.SH "ConstIterator TQMemArray::begin () const"
|
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
|
|
.PP
|
|
Returns a const iterator pointing at the beginning of this array. This iterator can be used in the same way as the iterators of TQValueList and TQMap, for example.
|
|
.SH "int TQMemArray::bsearch ( const type & v ) const"
|
|
In a sorted array (as sorted by sort()), finds the first occurrence of \fIv\fR by using a binary search. For a sorted array this is generally much faster than find(), which does a linear search.
|
|
.PP
|
|
Returns the position of \fIv\fR, or -1 if \fIv\fR could not be found.
|
|
.PP
|
|
See also sort() and find().
|
|
.SH "int TQMemArray::contains ( const type & v ) const"
|
|
Returns the number of times \fIv\fR occurs in the array.
|
|
.PP
|
|
See also find().
|
|
.SH "TQMemArray<type> TQMemArray::copy () const"
|
|
Returns a deep copy of this array.
|
|
.PP
|
|
See also detach() and duplicate().
|
|
.SH "uint TQMemArray::count () const"
|
|
Returns the same as size().
|
|
.PP
|
|
See also size().
|
|
.PP
|
|
Example: scribble/scribble.cpp.
|
|
.SH "type * TQMemArray::data () const"
|
|
Returns a pointer to the actual array data.
|
|
.PP
|
|
The array is a null array if data() == 0 (null pointer).
|
|
.PP
|
|
See also isNull().
|
|
.PP
|
|
Examples:
|
|
.)l fileiconview/tqfileiconview.cpp and network/networkprotocol/nntp.cpp.
|
|
.SH "void TQMemArray::detach ()\fC [virtual]\fR"
|
|
Detaches this array from shared array data; i.e. it makes a private, deep copy of the data.
|
|
.PP
|
|
Copying will be performed only if the reference count is greater than one.
|
|
.PP
|
|
See also copy().
|
|
.PP
|
|
Reimplemented in TQBitArray.
|
|
.SH "TQMemArray<type> & TQMemArray::duplicate ( const TQMemArray<type> & a )"
|
|
Deep copy. Dereferences the current array and obtains a copy of the data contained in \fIa\fR instead. Returns a reference to this array.
|
|
.PP
|
|
See also copy().
|
|
.SH "TQMemArray<type> & TQMemArray::duplicate ( const type * data, uint size )"
|
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
|
|
.PP
|
|
Deep copy. Dereferences the current array and obtains a copy of the array data \fIdata\fR instead. Returns a reference to this array. The size of the array is given by \fIsize\fR.
|
|
.PP
|
|
See also copy().
|
|
.SH "Iterator TQMemArray::end ()"
|
|
Returns an iterator pointing behind the last element of this array. This iterator can be used in the same way as the iterators of TQValueList and TQMap, for example.
|
|
.SH "ConstIterator TQMemArray::end () const"
|
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
|
|
.PP
|
|
Returns a const iterator pointing behind the last element of this array. This iterator can be used in the same way as the iterators of TQValueList and TQMap, for example.
|
|
.SH "bool TQMemArray::fill ( const type & v, int size = -1 )"
|
|
Fills the array with the value \fIv\fR. If \fIsize\fR is specified as different from -1, then the array will be resized before being filled.
|
|
.PP
|
|
Returns TRUE if successful, i.e. if \fIsize\fR is -1, or \fIsize\fR is != -1 and the memory can be allocated; otherwise returns FALSE.
|
|
.PP
|
|
See also resize().
|
|
.SH "int TQMemArray::find ( const type & v, uint index = 0 ) const"
|
|
Finds the first occurrence of \fIv\fR, starting at position \fIindex\fR.
|
|
.PP
|
|
Returns the position of \fIv\fR, or -1 if \fIv\fR could not be found.
|
|
.PP
|
|
See also contains().
|
|
.SH "bool TQMemArray::isEmpty () const"
|
|
Returns TRUE if the array is empty; otherwise returns FALSE.
|
|
.PP
|
|
isEmpty() is equivalent to isNull() for TQMemArray (unlike TQString).
|
|
.SH "bool TQMemArray::isNull () const"
|
|
Returns TRUE if the array is null; otherwise returns FALSE.
|
|
.PP
|
|
A null array has size() == 0 and data() == 0.
|
|
.SH "uint TQMemArray::nrefs () const"
|
|
Returns the reference count for the shared array data. This reference count is always greater than zero.
|
|
.SH "TQMemArray::operator const type * () const"
|
|
Cast operator. Returns a pointer to the array.
|
|
.PP
|
|
See also data().
|
|
.SH "bool TQMemArray::operator!= ( const TQMemArray<type> & a ) const"
|
|
Returns TRUE if this array is different from \fIa\fR; otherwise returns FALSE.
|
|
.PP
|
|
The two arrays are compared bitwise.
|
|
.PP
|
|
See also operator==().
|
|
.SH "TQMemArray<type> & TQMemArray::operator= ( const TQMemArray<type> & a )"
|
|
Assigns a shallow copy of \fIa\fR to this array and returns a reference to this array.
|
|
.PP
|
|
Equivalent to assign( a ).
|
|
.SH "bool TQMemArray::operator== ( const TQMemArray<type> & a ) const"
|
|
Returns TRUE if this array is equal to \fIa\fR; otherwise returns FALSE.
|
|
.PP
|
|
The two arrays are compared bitwise.
|
|
.PP
|
|
See also operator!=().
|
|
.SH "type & TQMemArray::operator[] ( int index ) const"
|
|
Returns a reference to the element at position \fIindex\fR in the array.
|
|
.PP
|
|
This can be used to both read and set an element. Equivalent to at().
|
|
.PP
|
|
See also at().
|
|
.SH "void TQMemArray::resetRawData ( const type * data, uint size )"
|
|
Removes internal references to the raw data that was set using setRawData(). This means that TQMemArray no longer has access to the \fIdata\fR, so you are free to manipulate \fIdata\fR as you wish. You can now use the TQMemArray without affecting the original \fIdata\fR, for example by calling setRawData() with a pointer to some other data.
|
|
.PP
|
|
The arguments must be the \fIdata\fR and length, \fIsize\fR, that were passed to setRawData(). This is for consistency checking.
|
|
.PP
|
|
See also setRawData().
|
|
.SH "bool TQMemArray::resize ( uint size, Optimization optim )"
|
|
Resizes (expands or shrinks) the array to \fIsize\fR elements. The array becomes a null array if \fIsize\fR == 0.
|
|
.PP
|
|
Returns TRUE if successful, or FALSE if the memory cannot be allocated.
|
|
.PP
|
|
New elements are not initialized.
|
|
.PP
|
|
\fIoptim\fR is either \fCTQGArray::MemOptim\fR (the default) or \fCTQGArray::SpeedOptim\fR.
|
|
.PP
|
|
\fBNote:\fR By default, \fCSpeedOptim\fR is not available for general use since it is only available if TQt is built in a particular configuration.
|
|
.PP
|
|
See also size().
|
|
.PP
|
|
Example: fileiconview/tqfileiconview.cpp.
|
|
.SH "bool TQMemArray::resize ( uint size )"
|
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
|
|
.PP
|
|
Resizes (expands or shrinks) the array to \fIsize\fR elements. The array becomes a null array if \fIsize\fR == 0.
|
|
.PP
|
|
Returns TRUE if successful, i.e. if the memory can be allocated; otherwise returns FALSE.
|
|
.PP
|
|
New elements are not initialized.
|
|
.PP
|
|
See also size().
|
|
.SH "TQMemArray<type> & TQMemArray::setRawData ( const type * data, uint size )"
|
|
Sets raw data and returns a reference to the array.
|
|
.PP
|
|
Dereferences the current array and sets the new array data to \fIdata\fR and the new array size to \fIsize\fR. Do not attempt to resize or re-assign the array data when raw data has been set. Call resetRawData(\fIdata\fR, \fIsize\fR) to reset the array.
|
|
.PP
|
|
Setting raw data is useful because it sets TQMemArray data without allocating memory or copying data.
|
|
.PP
|
|
Example I (intended use):
|
|
.PP
|
|
.nf
|
|
.br
|
|
static char bindata[] = { 231, 1, 44, ... };
|
|
.br
|
|
TQByteArray a;
|
|
.br
|
|
a.setRawData( bindata, sizeof(bindata) ); // a points to bindata
|
|
.br
|
|
TQDataStream s( a, IO_ReadOnly ); // open on a's data
|
|
.br
|
|
s >> <something>; // read raw bindata
|
|
.br
|
|
a.resetRawData( bindata, sizeof(bindata) ); // finished
|
|
.br
|
|
.fi
|
|
.PP
|
|
Example II (you don't want to do this):
|
|
.PP
|
|
.nf
|
|
.br
|
|
static char bindata[] = { 231, 1, 44, ... };
|
|
.br
|
|
TQByteArray a, b;
|
|
.br
|
|
a.setRawData( bindata, sizeof(bindata) ); // a points to bindata
|
|
.br
|
|
a.resize( 8 ); // will crash
|
|
.br
|
|
b = a; // will crash
|
|
.br
|
|
a[2] = 123; // might crash
|
|
.br
|
|
// forget to resetRawData: will crash
|
|
.br
|
|
.fi
|
|
.PP
|
|
\fBWarning:\fR If you do not call resetRawData(), TQMemArray will attempt to deallocate or reallocate the raw data, which might not be too good. Be careful.
|
|
.PP
|
|
See also resetRawData().
|
|
.SH "uint TQMemArray::size () const"
|
|
Returns the size of the array (maximum number of elements).
|
|
.PP
|
|
The array is a null array if size() == 0.
|
|
.PP
|
|
See also isNull() and resize().
|
|
.SH "void TQMemArray::sort ()"
|
|
Sorts the array elements in ascending order, using bitwise comparison (memcmp()).
|
|
.PP
|
|
See also bsearch().
|
|
.SH "bool TQMemArray::truncate ( uint pos )"
|
|
Truncates the array at position \fIpos\fR.
|
|
.PP
|
|
Returns TRUE if successful, i.e. if the memory can be allocated; otherwise returns FALSE.
|
|
.PP
|
|
Equivalent to resize(\fIpos\fR).
|
|
.PP
|
|
See also resize().
|
|
.SH RELATED FUNCTION DOCUMENTATION
|
|
.SH "TQDataStream & operator<< ( TQDataStream & s, const TQByteArray & a )"
|
|
Writes byte array \fIa\fR to the stream \fIs\fR and returns a reference to the stream.
|
|
.PP
|
|
See also Format of the TQDataStream operators.
|
|
.SH "TQDataStream & operator>> ( TQDataStream & s, TQByteArray & a )"
|
|
Reads a byte array into \fIa\fR from the stream \fIs\fR and returns a reference to the stream.
|
|
.PP
|
|
See also Format of the TQDataStream operators.
|
|
.SH "TQ_UINT16 tqChecksum ( const char * data, uint len )"
|
|
Returns the CRC-16 checksum of \fIlen\fR bytes starting at \fIdata\fR.
|
|
.PP
|
|
The checksum is independent of the byte order (endianness).
|
|
|
|
.SH "SEE ALSO"
|
|
.BR http://doc.trolltech.com/tqmemarray.html
|
|
.BR http://www.trolltech.com/faq/tech.html
|
|
.SH COPYRIGHT
|
|
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
|
|
license file included in the distribution for a complete license
|
|
statement.
|
|
.SH AUTHOR
|
|
Generated automatically from the source code.
|
|
.SH BUGS
|
|
If you find a bug in Qt, please report it as described in
|
|
.BR http://doc.trolltech.com/bughowto.html .
|
|
Good bug reports help us to help you. Thank you.
|
|
.P
|
|
The definitive TQt documentation is provided in HTML format; it is
|
|
located at $TQTDIR/doc/html and can be read using TQt Assistant or with
|
|
a web browser. This man page is provided as a convenience for those
|
|
users who prefer man pages, although this format is not officially
|
|
supported by Trolltech.
|
|
.P
|
|
If you find errors in this manual page, please report them to
|
|
.BR qt-bugs@trolltech.com .
|
|
Please include the name of the manual page (tqmemarray.3qt) and the Qt
|
|
version (3.3.8).
|