diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
| commit | 03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch) | |
| tree | caabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/src/kernel/tqpointarray.cpp | |
| parent | 0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff) | |
| download | tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip | |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/tqpointarray.cpp')
| -rw-r--r-- | experimental/tqtinterface/qt4/src/kernel/tqpointarray.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqpointarray.cpp b/experimental/tqtinterface/qt4/src/kernel/tqpointarray.cpp index f5d0016e1..c63421055 100644 --- a/experimental/tqtinterface/qt4/src/kernel/tqpointarray.cpp +++ b/experimental/tqtinterface/qt4/src/kernel/tqpointarray.cpp @@ -323,7 +323,7 @@ const double TQ_PI = 3.14159265358979323846; // pi // one more useful comment /*! Constructs a point array from the rectangle \a r. - If \a closed is FALSE, then the point array just tqcontains the + If \a closed is FALSE, then the point array just contains the following four points in the listed order: r.topLeft(), r.topRight(), r.bottomRight() and r.bottomLeft(). @@ -645,7 +645,7 @@ TQRect TQPointArray::boundingRect() const minx = maxx = pd->x(); miny = maxy = pd->y(); pd++; - for ( int i=1; i<(int)size(); i++ ) { // tqfind min+max x and y + for ( int i=1; i<(int)size(); i++ ) { // find min+max x and y if ( pd->x() < minx ) minx = pd->x(); else if ( pd->x() > maxx ) @@ -1018,7 +1018,7 @@ int pnt_on_line( const int* p, const int* q, const int* t ) * Point-Line distance is normalized with the Infinity Norm * avoiding square-root code and tightening the test vs the * Manhattan Norm. All math is done on the field of integers. - * The latter tqreplaces the initial ">= MAX(...)" test with + * The latter replaces the initial ">= MAX(...)" test with * "> (ABS(qx-px) + ABS(qy-py))" loosening both inequality * and norm, yielding a broader target line for selection. * The tightest test is employed here for best discrimination |
