summaryrefslogtreecommitdiffstats
path: root/doc/html/qvaluevector-h.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/html/qvaluevector-h.html
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'doc/html/qvaluevector-h.html')
-rw-r--r--doc/html/qvaluevector-h.html42
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/qvaluevector-h.html b/doc/html/qvaluevector-h.html
index 70d71c386..a51eb524c 100644
--- a/doc/html/qvaluevector-h.html
+++ b/doc/html/qvaluevector-h.html
@@ -164,9 +164,9 @@ Q_INLINE_TEMPLATES TQValueVectorPrivate&lt;T&gt;::TQValueVectorPrivate( const TQ
finish = start + i;
end = start + i;
#if defined(__xlC__) &amp;&amp; __xlC__ &lt; 0x400 // xlC 3.6 confused by const
- qCopy( (pointer)x.start, (pointer)x.finish, start );
+ tqCopy( (pointer)x.start, (pointer)x.finish, start );
#else
- qCopy( x.start, x.finish, start );
+ tqCopy( x.start, x.finish, start );
#endif
} else {
start = 0;
@@ -197,9 +197,9 @@ Q_INLINE_TEMPLATES void TQValueVectorPrivate&lt;T&gt;::insert( pointer pos, cons
const size_t offset = pos - start;
pointer newStart = new T[n];
pointer newFinish = newStart + offset;
- qCopy( start, pos, newStart );
+ tqCopy( start, pos, newStart );
*newFinish = x;
- qCopy( pos, finish, ++newFinish );
+ tqCopy( pos, finish, ++newFinish );
delete[] start;
start = newStart;
finish = newStart + lastSize + 1;
@@ -214,31 +214,31 @@ Q_INLINE_TEMPLATES void TQValueVectorPrivate&lt;T&gt;::insert( pointer pos, size
const size_t elems_after = finish - pos;
pointer old_finish = finish;
if ( elems_after &gt; n ) {
- qCopy( finish - n, finish, finish );
+ tqCopy( finish - n, finish, finish );
finish += n;
- qCopyBackward( pos, old_finish - n, old_finish );
- qFill( pos, pos + n, x );
+ tqCopyBackward( pos, old_finish - n, old_finish );
+ tqFill( pos, pos + n, x );
} else {
pointer filler = finish;
size_t i = n - elems_after;
for ( ; i &gt; 0; --i, ++filler )
*filler = x;
finish += n - elems_after;
- qCopy( pos, old_finish, finish );
+ tqCopy( pos, old_finish, finish );
finish += elems_after;
- qFill( pos, old_finish, x );
+ tqFill( pos, old_finish, x );
}
} else {
// not enough room
const size_t lastSize = size();
const size_t len = lastSize + TQMAX( lastSize, n );
pointer newStart = new T[len];
- pointer newFinish = qCopy( start, pos, newStart );
+ pointer newFinish = tqCopy( start, pos, newStart );
// fill up inserted space
size_t i = n;
for ( ; i &gt; 0; --i, ++newFinish )
*newFinish = x;
- newFinish = qCopy( pos, finish, newFinish );
+ newFinish = tqCopy( pos, finish, newFinish );
delete[] start;
start = newStart;
finish = newFinish;
@@ -260,7 +260,7 @@ template &lt;class T&gt;
Q_INLINE_TEMPLATES Q_TYPENAME TQValueVectorPrivate&lt;T&gt;::pointer TQValueVectorPrivate&lt;T&gt;::growAndCopy( size_t n, pointer s, pointer f )
{
pointer newStart = new T[n];
- qCopy( s, f, newStart );
+ tqCopy( s, f, newStart );
delete[] start;
return newStart;
}
@@ -302,13 +302,13 @@ public:
TQValueVector( std::vector&lt;T&gt;&amp; v ) // ### remove in 4.0
{
sh = new TQValueVectorPrivate&lt;T&gt;( v.size() );
- qCopy( v.begin(), v.end(), begin() );
+ tqCopy( v.begin(), v.end(), begin() );
}
TQValueVector( const std::vector&lt;T&gt;&amp; v )
{
sh = new TQValueVectorPrivate&lt;T&gt;( v.size() );
- qCopy( v.begin(), v.end(), begin() );
+ tqCopy( v.begin(), v.end(), begin() );
}
#endif
@@ -330,7 +330,7 @@ public:
{
clear();
resize( v.size() );
- qCopy( v.begin(), v.end(), begin() );
+ tqCopy( v.begin(), v.end(), begin() );
return *this;
}
#endif
@@ -475,7 +475,7 @@ public:
{
detach();
if ( pos + 1 != end() )
- qCopy( pos + 1, sh-&gt;finish, pos );
+ tqCopy( pos + 1, sh-&gt;finish, pos );
--sh-&gt;finish;
return pos;
}
@@ -483,7 +483,7 @@ public:
iterator erase( iterator first, iterator last )
{
detach();
- qCopy( last, sh-&gt;finish, first );
+ tqCopy( last, sh-&gt;finish, first );
sh-&gt;finish = sh-&gt;finish - ( last - first );
return first;
}
@@ -491,12 +491,12 @@ public:
// ### remove in TQt 4.0
bool operator==( const TQValueVector&lt;T&gt;&amp; x )
{
- return size()==x.size() ? qEqual( constBegin(), constEnd(), x.begin()) : FALSE;
+ return size()==x.size() ? tqEqual( constBegin(), constEnd(), x.begin()) : FALSE;
}
bool operator==( const TQValueVector&lt;T&gt;&amp; x ) const
{
- return size()==x.size() ? qEqual( begin(), end(), x.begin() ) : FALSE;
+ return size()==x.size() ? tqEqual( begin(), end(), x.begin() ) : FALSE;
}
typedef T ValueType;
@@ -528,7 +528,7 @@ template &lt;class T&gt;
Q_INLINE_TEMPLATES TQValueVector&lt;T&gt;::TQValueVector( size_type n, const T&amp; val )
{
sh = new TQValueVectorPrivate&lt;T&gt;( n );
- qFill( begin(), end(), val );
+ tqFill( begin(), end(), val );
}
template &lt;class T&gt;
@@ -556,7 +556,7 @@ Q_INLINE_TEMPLATES Q_TYPENAME TQValueVector&lt;T&gt;::iterator TQValueVector&lt;
} else {
*sh-&gt;finish = *(sh-&gt;finish - 1);
++sh-&gt;finish;
- qCopyBackward( pos, sh-&gt;finish - 2, sh-&gt;finish - 1 );
+ tqCopyBackward( pos, sh-&gt;finish - 2, sh-&gt;finish - 1 );
*pos = x;
}
}