From 367ff3fb9e3933f6704c98359cdd8d934ace941f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 24 Aug 2024 20:52:58 +0900 Subject: Rename global classes nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/annotated.html | 2 +- doc/html/classchart.html | 2 +- doc/html/classes.html | 2 +- doc/html/debug.html | 2 +- doc/html/drawdemo-example.html | 2 +- doc/html/functions.html | 14 +- doc/html/headers.html | 4 +- doc/html/hierarchy.html | 2 +- doc/html/index | 262 ++++----- doc/html/mainclasses.html | 2 +- doc/html/ntqapplication.html | 6 +- doc/html/ntqguardedptr.html | 194 ------ doc/html/ntqvariant.html | 2 +- doc/html/object.html | 2 +- doc/html/objectmodel.html | 2 +- doc/html/qaccessible-h.html | 2 +- doc/html/qdockarea-h.html | 2 +- doc/html/qglobal-h.html | 1113 ----------------------------------- doc/html/qguardedptr-h.html | 189 ------ doc/html/qguardedptr-members.html | 55 -- doc/html/qnamespace-h.html | 2 +- doc/html/qrangecontrol-h.html | 2 +- doc/html/qt.dcf | 24 +- doc/html/titleindex | 8 +- doc/html/toplevel-example.html | 2 +- doc/html/tqasciicache-h.html | 2 +- doc/html/tqasciidict-h.html | 2 +- doc/html/tqcache-h.html | 2 +- doc/html/tqdeepcopy-h.html | 2 +- doc/html/tqdict-h.html | 2 +- doc/html/tqdir-h.html | 2 +- doc/html/tqdropsite-h.html | 2 +- doc/html/tqglobal-h.html | 1113 +++++++++++++++++++++++++++++++++++ doc/html/tqguardedptr-h.html | 189 ++++++ doc/html/tqguardedptr-members.html | 55 ++ doc/html/tqguardedptr.html | 194 ++++++ doc/html/tqimageformatplugin-h.html | 2 +- doc/html/tqintcache-h.html | 2 +- doc/html/tqintdict-h.html | 2 +- doc/html/tqiodevice-h.html | 2 +- doc/html/tqmap-h.html | 2 +- doc/html/tqmemarray-h.html | 2 +- doc/html/tqmenudata-h.html | 2 +- doc/html/tqmutex-h.html | 2 +- doc/html/tqobject.html | 2 +- doc/html/tqpair-h.html | 2 +- doc/html/tqptrcollection-h.html | 2 +- doc/html/tqptrdict-h.html | 2 +- doc/html/tqptrlist-h.html | 2 +- doc/html/tqptrqueue-h.html | 2 +- doc/html/tqptrstack-h.html | 2 +- doc/html/tqptrvector-h.html | 2 +- doc/html/tqsemaphore-h.html | 2 +- doc/html/tqsgistyle-h.html | 2 +- doc/html/tqsizepolicy-h.html | 2 +- doc/html/tqsql-h.html | 2 +- doc/html/tqsqldriverplugin-h.html | 2 +- doc/html/tqstyleplugin-h.html | 2 +- doc/html/tqtable-h.html | 2 +- doc/html/tqtextcodecplugin-h.html | 2 +- doc/html/tqthreadstorage-h.html | 2 +- doc/html/tqwaitcondition-h.html | 2 +- doc/html/tqwidgetplugin-h.html | 2 +- doc/html/tutorial1-11.html | 2 +- doc/html/whatsthis | 2 +- 65 files changed, 1761 insertions(+), 1761 deletions(-) delete mode 100644 doc/html/ntqguardedptr.html delete mode 100644 doc/html/qglobal-h.html delete mode 100644 doc/html/qguardedptr-h.html delete mode 100644 doc/html/qguardedptr-members.html create mode 100644 doc/html/tqglobal-h.html create mode 100644 doc/html/tqguardedptr-h.html create mode 100644 doc/html/tqguardedptr-members.html create mode 100644 doc/html/tqguardedptr.html (limited to 'doc/html') diff --git a/doc/html/annotated.html b/doc/html/annotated.html index abf9e6945..b1e79524a 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -171,7 +171,7 @@ body { background: #ffffff; color: black; } TQGridLayoutLays out widgets in a grid TQGridViewAbstract base for fixed-size grids TQGroupBoxGroup box frame with a title -TQGuardedPtrTemplate class that provides guarded pointers to TQObjects +TQGuardedPtrTemplate class that provides guarded pointers to TQObjects TQHBoxHorizontal geometry management for its child widgets TQHBoxLayoutLines up widgets horizontally TQHButtonGroupOrganizes TQButton widgets in a group with one horizontal row diff --git a/doc/html/classchart.html b/doc/html/classchart.html index 7fee244f9..948d1eeb0 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -246,7 +246,7 @@ body { background: #ffffff; color: black; } - + diff --git a/doc/html/classes.html b/doc/html/classes.html index b5854f15a..b8853c709 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -765,7 +765,7 @@ classes, see TQt's Main Classes. -TQGuardedPtr +TQGuardedPtr TQNetworkProtocol diff --git a/doc/html/debug.html b/doc/html/debug.html index ac0220ee7..cbe7c9ed5 100644 --- a/doc/html/debug.html +++ b/doc/html/debug.html @@ -74,7 +74,7 @@ or acts strangely. More useful if you use object names than not, but often useful even without names.

Debugging Macros

-

The header file ntqglobal.h contains many debugging macros and +

The header file tqglobal.h contains many debugging macros and #defines.

Two important macros are:

  • TQGLayoutIterator
  • TQGLColormap -
  • TQGuardedPtr +
  • TQGuardedPtr
  • TQHostAddress
  • TQHttpHeader
      diff --git a/doc/html/index b/doc/html/index index 7904d6053..400220ec5 100644 --- a/doc/html/index +++ b/doc/html/index @@ -2239,83 +2239,83 @@ "TQFtp::state" tqftp.html#state "TQFtp::stateChanged" tqftp.html#stateChanged "TQFtp::~TQFtp" tqftp.html#~TQFtp -"QGArray::assign" ntqgarray.html#assign -"QGArray::at" ntqgarray.html#at -"QGArray::bsearch" ntqgarray.html#bsearch -"QGArray::contains" ntqgarray.html#contains -"QGArray::data" ntqgarray.html#data -"QGArray::deleteData" ntqgarray.html#deleteData -"QGArray::detach" ntqgarray.html#detach -"QGArray::duplicate" ntqgarray.html#duplicate -"QGArray::fill" ntqgarray.html#fill -"QGArray::find" ntqgarray.html#find -"QGArray::isEqual" ntqgarray.html#isEqual -"QGArray::msg_index" ntqgarray.html#msg_index -"QGArray::newData" ntqgarray.html#newData -"QGArray::nrefs" ntqgarray.html#nrefs -"QGArray::operator=" ntqgarray.html#operator-eq -"QGArray::resetRawData" ntqgarray.html#resetRawData -"QGArray::resize" ntqgarray.html#resize -"QGArray::setExpand" ntqgarray.html#setExpand -"QGArray::setRawData" ntqgarray.html#setRawData -"QGArray::setSharedBlock" ntqgarray.html#setSharedBlock -"QGArray::sharedBlock" ntqgarray.html#sharedBlock -"QGArray::size" ntqgarray.html#size -"QGArray::sort" ntqgarray.html#sort -"QGArray::store" ntqgarray.html#store -"QGArray::~QGArray" ntqgarray.html#~QGArray -"QGCache::clear" ntqgcache.html#clear -"QGCache::count" ntqgcache.html#count -"QGCache::find_other" ntqgcache.html#find_other -"QGCache::find_string" ntqgcache.html#find_string -"QGCache::insert_string" ntqgcache.html#insert_string -"QGCache::makeRoomFor" ntqgcache.html#makeRoomFor -"QGCache::maxCost" ntqgcache.html#maxCost -"QGCache::operator=" ntqgcache.html#operator-eq -"QGCache::remove_string" ntqgcache.html#remove_string -"QGCache::setMaxCost" ntqgcache.html#setMaxCost -"QGCache::size" ntqgcache.html#size -"QGCache::statistics" ntqgcache.html#statistics -"QGCache::take_other" ntqgcache.html#take_other -"QGCache::take_string" ntqgcache.html#take_string -"QGCache::totalCost" ntqgcache.html#totalCost -"QGCache::~QGCache" ntqgcache.html#~QGCache -"QGCacheIterator::atFirst" qgcacheiterator.html#atFirst -"QGCacheIterator::atLast" qgcacheiterator.html#atLast -"QGCacheIterator::count" qgcacheiterator.html#count -"QGCacheIterator::get" qgcacheiterator.html#get -"QGCacheIterator::getKeyAscii" qgcacheiterator.html#getKeyAscii -"QGCacheIterator::getKeyInt" qgcacheiterator.html#getKeyInt -"QGCacheIterator::getKeyString" qgcacheiterator.html#getKeyString -"QGCacheIterator::operator()" qgcacheiterator.html#operator() -"QGCacheIterator::operator++" qgcacheiterator.html#operator++ -"QGCacheIterator::operator+=" qgcacheiterator.html#operator+-eq -"QGCacheIterator::operator--" qgcacheiterator.html#operator-- -"QGCacheIterator::operator-=" qgcacheiterator.html#operator--eq -"QGCacheIterator::operator=" qgcacheiterator.html#operator-eq -"QGCacheIterator::toFirst" qgcacheiterator.html#toFirst -"QGCacheIterator::toLast" qgcacheiterator.html#toLast -"QGCacheIterator::~QGCacheIterator" qgcacheiterator.html#~QGCacheIterator -"QGDict::clear" ntqgdict.html#clear -"QGDict::count" ntqgdict.html#count -"QGDict::hashKeyAscii" ntqgdict.html#hashKeyAscii -"QGDict::hashKeyString" ntqgdict.html#hashKeyString -"QGDict::look_string" ntqgdict.html#look_string -"QGDict::operator=" ntqgdict.html#operator-eq -"QGDict::read" ntqgdict.html#read -"QGDict::remove_string" ntqgdict.html#remove_string -"QGDict::resize" ntqgdict.html#resize -"QGDict::size" ntqgdict.html#size -"QGDict::statistics" ntqgdict.html#statistics -"QGDict::unlink_common" ntqgdict.html#unlink_common -"QGDict::write" ntqgdict.html#write -"QGDict::~QGDict" ntqgdict.html#~QGDict -"QGDictIterator::operator()" qgdictiterator.html#operator() -"QGDictIterator::operator++" qgdictiterator.html#operator++ -"QGDictIterator::operator+=" qgdictiterator.html#operator+-eq -"QGDictIterator::operator=" qgdictiterator.html#operator-eq -"QGDictIterator::toFirst" qgdictiterator.html#toFirst -"QGDictIterator::~QGDictIterator" qgdictiterator.html#~QGDictIterator +"TQGArray::assign" tqgarray.html#assign +"TQGArray::at" tqgarray.html#at +"TQGArray::bsearch" tqgarray.html#bsearch +"TQGArray::contains" tqgarray.html#contains +"TQGArray::data" tqgarray.html#data +"TQGArray::deleteData" tqgarray.html#deleteData +"TQGArray::detach" tqgarray.html#detach +"TQGArray::duplicate" tqgarray.html#duplicate +"TQGArray::fill" tqgarray.html#fill +"TQGArray::find" tqgarray.html#find +"TQGArray::isEqual" tqgarray.html#isEqual +"TQGArray::msg_index" tqgarray.html#msg_index +"TQGArray::newData" tqgarray.html#newData +"TQGArray::nrefs" tqgarray.html#nrefs +"TQGArray::operator=" tqgarray.html#operator-eq +"TQGArray::resetRawData" tqgarray.html#resetRawData +"TQGArray::resize" tqgarray.html#resize +"TQGArray::setExpand" tqgarray.html#setExpand +"TQGArray::setRawData" tqgarray.html#setRawData +"TQGArray::setSharedBlock" tqgarray.html#setSharedBlock +"TQGArray::sharedBlock" tqgarray.html#sharedBlock +"TQGArray::size" tqgarray.html#size +"TQGArray::sort" tqgarray.html#sort +"TQGArray::store" tqgarray.html#store +"TQGArray::~TQGArray" tqgarray.html#~TQGArray +"TQGCache::clear" tqgcache.html#clear +"TQGCache::count" tqgcache.html#count +"TQGCache::find_other" tqgcache.html#find_other +"TQGCache::find_string" tqgcache.html#find_string +"TQGCache::insert_string" tqgcache.html#insert_string +"TQGCache::makeRoomFor" tqgcache.html#makeRoomFor +"TQGCache::maxCost" tqgcache.html#maxCost +"TQGCache::operator=" tqgcache.html#operator-eq +"TQGCache::remove_string" tqgcache.html#remove_string +"TQGCache::setMaxCost" tqgcache.html#setMaxCost +"TQGCache::size" tqgcache.html#size +"TQGCache::statistics" tqgcache.html#statistics +"TQGCache::take_other" tqgcache.html#take_other +"TQGCache::take_string" tqgcache.html#take_string +"TQGCache::totalCost" tqgcache.html#totalCost +"TQGCache::~TQGCache" tqgcache.html#~TQGCache +"TQGCacheIterator::atFirst" tqgcacheiterator.html#atFirst +"TQGCacheIterator::atLast" tqgcacheiterator.html#atLast +"TQGCacheIterator::count" tqgcacheiterator.html#count +"TQGCacheIterator::get" tqgcacheiterator.html#get +"TQGCacheIterator::getKeyAscii" tqgcacheiterator.html#getKeyAscii +"TQGCacheIterator::getKeyInt" tqgcacheiterator.html#getKeyInt +"TQGCacheIterator::getKeyString" tqgcacheiterator.html#getKeyString +"TQGCacheIterator::operator()" tqgcacheiterator.html#operator() +"TQGCacheIterator::operator++" tqgcacheiterator.html#operator++ +"TQGCacheIterator::operator+=" tqgcacheiterator.html#operator+-eq +"TQGCacheIterator::operator--" tqgcacheiterator.html#operator-- +"TQGCacheIterator::operator-=" tqgcacheiterator.html#operator--eq +"TQGCacheIterator::operator=" tqgcacheiterator.html#operator-eq +"TQGCacheIterator::toFirst" tqgcacheiterator.html#toFirst +"TQGCacheIterator::toLast" tqgcacheiterator.html#toLast +"TQGCacheIterator::~TQGCacheIterator" tqgcacheiterator.html#~TQGCacheIterator +"TQGDict::clear" tqgdict.html#clear +"TQGDict::count" tqgdict.html#count +"TQGDict::hashKeyAscii" tqgdict.html#hashKeyAscii +"TQGDict::hashKeyString" tqgdict.html#hashKeyString +"TQGDict::look_string" tqgdict.html#look_string +"TQGDict::operator=" tqgdict.html#operator-eq +"TQGDict::read" tqgdict.html#read +"TQGDict::remove_string" tqgdict.html#remove_string +"TQGDict::resize" tqgdict.html#resize +"TQGDict::size" tqgdict.html#size +"TQGDict::statistics" tqgdict.html#statistics +"TQGDict::unlink_common" tqgdict.html#unlink_common +"TQGDict::write" tqgdict.html#write +"TQGDict::~TQGDict" tqgdict.html#~TQGDict +"TQGDictIterator::operator()" tqgdictiterator.html#operator() +"TQGDictIterator::operator++" tqgdictiterator.html#operator++ +"TQGDictIterator::operator+=" tqgdictiterator.html#operator+-eq +"TQGDictIterator::operator=" tqgdictiterator.html#operator-eq +"TQGDictIterator::toFirst" tqgdictiterator.html#toFirst +"TQGDictIterator::~TQGDictIterator" tqgdictiterator.html#~TQGDictIterator "TQGL" tqgl.html "TQGL::FormatOption" tqgl.html#FormatOption "TQGLColormap" tqglcolormap.html @@ -2423,51 +2423,51 @@ "TQGLayoutIterator::next" tqglayoutiterator.html#next "TQGLayoutIterator::takeCurrent" tqglayoutiterator.html#takeCurrent "TQGLayoutIterator::~TQGLayoutIterator" tqglayoutiterator.html#~TQGLayoutIterator -"QGList::append" ntqglist.html#append -"QGList::at" ntqglist.html#at -"QGList::cfirst" ntqglist.html#cfirst -"QGList::clast" ntqglist.html#clast -"QGList::clear" ntqglist.html#clear -"QGList::compareItems" ntqglist.html#compareItems -"QGList::contains" ntqglist.html#contains -"QGList::containsRef" ntqglist.html#containsRef -"QGList::count" ntqglist.html#count -"QGList::currentNode" ntqglist.html#currentNode -"QGList::find" ntqglist.html#find -"QGList::findRef" ntqglist.html#findRef -"QGList::first" ntqglist.html#first -"QGList::get" ntqglist.html#get -"QGList::inSort" ntqglist.html#inSort -"QGList::insertAt" ntqglist.html#insertAt -"QGList::last" ntqglist.html#last -"QGList::locate" ntqglist.html#locate -"QGList::next" ntqglist.html#next -"QGList::operator=" ntqglist.html#operator-eq -"QGList::operator==" ntqglist.html#operator-eq-eq -"QGList::prepend" ntqglist.html#prepend -"QGList::prev" ntqglist.html#prev -"QGList::read" ntqglist.html#read -"QGList::relinkNode" ntqglist.html#relinkNode -"QGList::remove" ntqglist.html#remove -"QGList::removeAt" ntqglist.html#removeAt -"QGList::removeFirst" ntqglist.html#removeFirst -"QGList::removeLast" ntqglist.html#removeLast -"QGList::removeNode" ntqglist.html#removeNode -"QGList::removeRef" ntqglist.html#removeRef -"QGList::replaceAt" ntqglist.html#replaceAt -"QGList::sort" ntqglist.html#sort -"QGList::take" ntqglist.html#take -"QGList::takeAt" ntqglist.html#takeAt -"QGList::takeFirst" ntqglist.html#takeFirst -"QGList::takeLast" ntqglist.html#takeLast -"QGList::takeNode" ntqglist.html#takeNode -"QGList::toVector" ntqglist.html#toVector -"QGList::unlink" ntqglist.html#unlink -"QGList::write" ntqglist.html#write -"QGList::~QGList" ntqglist.html#~QGList -"QGVector::compareItems" ntqgvector.html#compareItems -"QGVector::read" ntqgvector.html#read -"QGVector::write" ntqgvector.html#write +"TQGList::append" tqglist.html#append +"TQGList::at" tqglist.html#at +"TQGList::cfirst" tqglist.html#cfirst +"TQGList::clast" tqglist.html#clast +"TQGList::clear" tqglist.html#clear +"TQGList::compareItems" tqglist.html#compareItems +"TQGList::contains" tqglist.html#contains +"TQGList::containsRef" tqglist.html#containsRef +"TQGList::count" tqglist.html#count +"TQGList::currentNode" tqglist.html#currentNode +"TQGList::find" tqglist.html#find +"TQGList::findRef" tqglist.html#findRef +"TQGList::first" tqglist.html#first +"TQGList::get" tqglist.html#get +"TQGList::inSort" tqglist.html#inSort +"TQGList::insertAt" tqglist.html#insertAt +"TQGList::last" tqglist.html#last +"TQGList::locate" tqglist.html#locate +"TQGList::next" tqglist.html#next +"TQGList::operator=" tqglist.html#operator-eq +"TQGList::operator==" tqglist.html#operator-eq-eq +"TQGList::prepend" tqglist.html#prepend +"TQGList::prev" tqglist.html#prev +"TQGList::read" tqglist.html#read +"TQGList::relinkNode" tqglist.html#relinkNode +"TQGList::remove" tqglist.html#remove +"TQGList::removeAt" tqglist.html#removeAt +"TQGList::removeFirst" tqglist.html#removeFirst +"TQGList::removeLast" tqglist.html#removeLast +"TQGList::removeNode" tqglist.html#removeNode +"TQGList::removeRef" tqglist.html#removeRef +"TQGList::replaceAt" tqglist.html#replaceAt +"TQGList::sort" tqglist.html#sort +"TQGList::take" tqglist.html#take +"TQGList::takeAt" tqglist.html#takeAt +"TQGList::takeFirst" tqglist.html#takeFirst +"TQGList::takeLast" tqglist.html#takeLast +"TQGList::takeNode" tqglist.html#takeNode +"TQGList::toVector" tqglist.html#toVector +"TQGList::unlink" tqglist.html#unlink +"TQGList::write" tqglist.html#write +"TQGList::~TQGList" tqglist.html#~TQGList +"TQGVector::compareItems" tqgvector.html#compareItems +"TQGVector::read" tqgvector.html#read +"TQGVector::write" tqgvector.html#write "TQGb18030Codec" tqgb18030codec.html "TQGb2312Codec" tqgb2312codec.html "TQGbkCodec" tqgbkcodec.html @@ -2562,15 +2562,15 @@ "TQGroupBox::title" tqgroupbox.html#title-prop "TQGroupBox::toggled" tqgroupbox.html#toggled "TQGroupBox::~TQGroupBox" tqgroupbox.html#~TQGroupBox -"QGuardedPtr" ntqguardedptr.html -"QGuardedPtr::isNull" ntqguardedptr.html#isNull -"QGuardedPtr::operator T *" ntqguardedptr.html#operator-T-* -"QGuardedPtr::operator!=" ntqguardedptr.html#operator!-eq -"QGuardedPtr::operator*" ntqguardedptr.html#operator* -"QGuardedPtr::operator->" ntqguardedptr.html#operator--gt -"QGuardedPtr::operator=" ntqguardedptr.html#operator-eq -"QGuardedPtr::operator==" ntqguardedptr.html#operator-eq-eq -"QGuardedPtr::~QGuardedPtr" ntqguardedptr.html#~QGuardedPtr +"TQGuardedPtr" tqguardedptr.html +"TQGuardedPtr::isNull" tqguardedptr.html#isNull +"TQGuardedPtr::operator T *" tqguardedptr.html#operator-T-* +"TQGuardedPtr::operator!=" tqguardedptr.html#operator!-eq +"TQGuardedPtr::operator*" tqguardedptr.html#operator* +"TQGuardedPtr::operator->" tqguardedptr.html#operator--gt +"TQGuardedPtr::operator=" tqguardedptr.html#operator-eq +"TQGuardedPtr::operator==" tqguardedptr.html#operator-eq-eq +"TQGuardedPtr::~TQGuardedPtr" tqguardedptr.html#~TQGuardedPtr "TQHBox" tqhbox.html "TQHBox::setSpacing" tqhbox.html#setSpacing "TQHBox::setStretchFactor" tqhbox.html#setStretchFactor diff --git a/doc/html/mainclasses.html b/doc/html/mainclasses.html index 25f3ee8d7..49e2247e4 100644 --- a/doc/html/mainclasses.html +++ b/doc/html/mainclasses.html @@ -107,7 +107,7 @@ classes), see TQt's Classes. TQColorDialog -TQGuardedPtr +TQGuardedPtr TQPen diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 51edb764d..4ddc40444 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -1738,7 +1738,7 @@ the event was consumed by normal handling, and -1 if the event

      Prints a warning message containing the source code file name and line number if test is FALSE. -

      This is really a macro defined in ntqglobal.h. +

      This is really a macro defined in tqglobal.h.

      Q_ASSERT is useful for testing pre- and post-conditions.

      Example:

      @@ -1746,7 +1746,7 @@ line number if test is FALSE.
               // File: div.cpp
               //
       
      -        #include <ntqglobal.h>
      +        #include <tqglobal.h>
       
               int divide( int a, int b )
               {
      @@ -1769,7 +1769,7 @@ message using the tqWarning() function:
       

      If p is 0, prints a warning message containing the source code file name and line number, saying that the program ran out of memory. -

      This is really a macro defined in ntqglobal.h. +

      This is really a macro defined in tqglobal.h.

      Example:

               int *a;
      diff --git a/doc/html/ntqguardedptr.html b/doc/html/ntqguardedptr.html
      deleted file mode 100644
      index f5a687711..000000000
      --- a/doc/html/ntqguardedptr.html
      +++ /dev/null
      @@ -1,194 +0,0 @@
      -
      -
      -
      -
      -
      -TQGuardedPtr Class
      -
      -
      -
      -
      -
      -
      -
      -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQGuardedPtr Class Reference

      - -

      The TQGuardedPtr class is a template class that provides guarded pointers to TQObjects. -More... -

      #include <ntqguardedptr.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - -The TQGuardedPtr class is a template class that provides guarded pointers to TQObjects. -

      - -

      A guarded pointer, TQGuardedPtr<X>, behaves like a normal C++ -pointer X*, except that it is automatically set to 0 when -the referenced object is destroyed (unlike normal C++ pointers, -which become "dangling pointers" in such cases). X must be a -subclass of TQObject. -

      Guarded pointers are useful whenever you need to store a pointer -to a TQObject that is owned by someone else and therefore might be -destroyed while you still hold a reference to it. You can safely -test the pointer for validity. -

      Example: -

      -        TQGuardedPtr<TQLabel> label = new TQLabel( 0, "label" );
      -        label->setText( "I like guarded pointers" );
      -
      -        delete (TQLabel*) label; // simulate somebody destroying the label
      -
      -        if ( label)
      -            label->show();
      -        else
      -            tqDebug("The label has been destroyed");
      -    
      - -

      The program will output The label has been destroyed rather -than dereferencing an invalid address in label->show(). -

      The functions and operators available with a TQGuardedPtr are the -same as those available with a normal unguarded pointer, except -the pointer arithmetic operators (++, --, -, and +), which are -normally used only with arrays of objects. Use them like normal -pointers and you will not need to read this class documentation. -

      For creating guarded pointers, you can construct or assign to them -from an X* or from another guarded pointer of the same type. You -can compare them with each other using operator==() and -operator!=(), or test for 0 with isNull(). And you can dereference -them using either the *x or the x->member notation. -

      A guarded pointer will automatically cast to an X*, so you can -freely mix guarded and unguarded pointers. This means that if you -have a TQGuardedPtr, you can pass it to a function that -requires a TQWidget*. For this reason, it is of little value to -declare functions to take a TQGuardedPtr as a parameter; just use -normal pointers. Use a TQGuardedPtr when you are storing a pointer -over time. -

      Note again that class X must inherit TQObject, or a compilation -or link error will result. -

      See also Object Model. - -


      Member Function Documentation

      -

      TQGuardedPtr::TQGuardedPtr () -

      - -

      Constructs a 0 guarded pointer. -

      See also isNull(). - -

      TQGuardedPtr::TQGuardedPtr ( T * p ) -

      - -

      Constructs a guarded pointer that points to same object as p -points to. - -

      TQGuardedPtr::TQGuardedPtr ( const TQGuardedPtr<T> & p ) -

      - -

      Copy one guarded pointer from another. The constructed guarded -pointer points to the same object that p points to (which may -be 0). - -

      TQGuardedPtr::~TQGuardedPtr () -

      - -

      Destroys the guarded pointer. Just like a normal pointer, -destroying a guarded pointer does not destroy the object being -pointed to. - -

      bool TQGuardedPtr::isNull () const -

      - -

      Returns TRUE if the referenced object has been destroyed or if -there is no referenced object; otherwise returns FALSE. - -

      TQGuardedPtr::operator T * () const -

      - -

      Cast operator; implements pointer semantics. Because of this -function you can pass a TQGuardedPtr<X> to a function where an X* -is required. - -

      bool TQGuardedPtr::operator!= ( const TQGuardedPtr<T> & p ) const -

      - -

      Inequality operator; implements pointer semantics, the negation of -operator==(). Returns TRUE if p and this guarded pointer are -not pointing to the same object; otherwise returns FALSE. - -

      T & TQGuardedPtr::operator* () const -

      - -

      Dereference operator; implements pointer semantics. Just use this -operator as you would with a normal C++ pointer. - -

      T * TQGuardedPtr::operator-> () const -

      - -

      Overloaded arrow operator; implements pointer semantics. Just use -this operator as you would with a normal C++ pointer. - -

      TQGuardedPtr<T> & TQGuardedPtr::operator= ( const TQGuardedPtr<T> & p ) -

      - -

      Assignment operator. This guarded pointer then points to the same -object as p points to. - -

      TQGuardedPtr<T> & TQGuardedPtr::operator= ( T * p ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Assignment operator. This guarded pointer then points to the same -object as p points to. - -

      bool TQGuardedPtr::operator== ( const TQGuardedPtr<T> & p ) const -

      - -

      Equality operator; implements traditional pointer semantics. -Returns TRUE if both p and this guarded pointer are 0, or if -both p and this pointer point to the same object; otherwise -returns FALSE. -

      See also operator!=(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index 9fe348db0..e6072413d 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -280,7 +280,7 @@ contain.
    • TQVariant::Time - a TQTime
    • TQVariant::UInt - an unsigned int

    Note that TQt's definition of bool depends on the compiler. -ntqglobal.h has the system-dependent definition of bool. +tqglobal.h has the system-dependent definition of bool.


    Member Function Documentation

    TQVariant::TQVariant () diff --git a/doc/html/object.html b/doc/html/object.html index 9ff3b9a27..cd1cbee54 100644 --- a/doc/html/object.html +++ b/doc/html/object.html @@ -53,7 +53,7 @@ that make it possible to elegantly integrate many tasks in an event-driven GUI;
  • hierarchical and queryable object trees that organize object ownership in a natural way; -
  • guarded pointers, TQGuardedPtr, that are automatically +
  • guarded pointers, TQGuardedPtr, that are automatically set to 0 when the referenced object is destroyed, unlike normal C++ pointers which become "dangling pointers" when their objects are destroyed. diff --git a/doc/html/objectmodel.html b/doc/html/objectmodel.html index f2b30000c..ffe27ee1d 100644 --- a/doc/html/objectmodel.html +++ b/doc/html/objectmodel.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; }

    These classes form the basis of the TQt Object Model.

    -
    TQGuardedPtrTemplate class that provides guarded pointers to TQObjects +
    TQGuardedPtrTemplate class that provides guarded pointers to TQObjects
    TQMetaObjectMeta information about TQt objects
    TQMetaPropertyStores meta data about a property
    TQObjectThe base class of all TQt objects diff --git a/doc/html/qaccessible-h.html b/doc/html/qaccessible-h.html index af28f9338..97152cc28 100644 --- a/doc/html/qaccessible-h.html +++ b/doc/html/qaccessible-h.html @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; } #include "tqobject.h" #include <private/qcom_p.h> #include "tqrect.h" -#include "ntqguardedptr.h" +#include "tqguardedptr.h" #include "tqmemarray.h" #endif // QT_H diff --git a/doc/html/qdockarea-h.html b/doc/html/qdockarea-h.html index ef60a96bb..1f4830f3a 100644 --- a/doc/html/qdockarea-h.html +++ b/doc/html/qdockarea-h.html @@ -83,7 +83,7 @@ body { background: #ffffff; color: black; } #include "ntqdockwindow.h" #include "tqlayout.h" #include "tqvaluelist.h" -#include "ntqguardedptr.h" +#include "tqguardedptr.h" #include "tqtextstream.h" #endif // QT_H diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html deleted file mode 100644 index 110d27d4f..000000000 --- a/doc/html/qglobal-h.html +++ /dev/null @@ -1,1113 +0,0 @@ - - - - - -ntqglobal.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    ntqglobal.h

    - -

    This is the verbatim text of the ntqglobal.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/ntqglobal.h   3.3.8   edited Feb 2 15:00 $
    -**
    -** Global type declarations and definitions
    -**
    -** Created : 920529
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the tools module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** This file may be used under the terms of the Q Public License as
    -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
    -** included in the packaging of this file.  Licensees holding valid TQt
    -** Commercial licenses may use this file in accordance with the TQt
    -** Commercial License Agreement provided with the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQGLOBAL_H
    -#define TQGLOBAL_H
    -
    -#define TQT_VERSION_STR   "3.3.8"
    -/*
    -   TQT_VERSION is (major << 16) + (minor << 8) + patch.
    - */
    -#define TQT_VERSION 0x030308
    -
    -/*
    -   The operating system, must be one of: (Q_OS_x)
    -
    -     MACX	- Mac OS X
    -     MAC9	- Mac OS 9
    -     DARWIN     - Darwin OS (Without Mac OS X)
    -     MSDOS	- MS-DOS and Windows
    -     OS2	- OS/2
    -     OS2EMX	- XFree86 on OS/2 (not PM)
    -     WIN32	- Win32 (Windows 95/98/ME and Windows NT/2000/XP)
    -     CYGWIN	- Cygwin
    -     SOLARIS	- Sun Solaris
    -     HPUX	- HP-UX
    -     ULTRIX	- DEC Ultrix
    -     LINUX	- Linux
    -     FREEBSD	- FreeBSD
    -     NETBSD	- NetBSD
    -     OPENBSD	- OpenBSD
    -     BSDI	- BSD/OS
    -     IRIX	- SGI Irix
    -     OSF	- HP Tru64 UNIX
    -     SCO	- SCO OpenServer 5
    -     UNIXWARE	- UnixWare 7, Open UNIX 8
    -     AIX	- AIX
    -     HURD	- GNU Hurd
    -     DGUX	- DG/UX
    -     RELIANT	- Reliant UNIX
    -     DYNIX	- DYNIX/ptx
    -     TQNX	- TQNX
    -     TQNX6	- TQNX RTP 6.1
    -     LYNX	- LynxOS
    -     BSD4	- Any BSD 4.4 system
    -     UNIX	- Any UNIX BSD/SYSV system
    -*/
    -
    -#if defined(__DARWIN_X11__)
    -#  define Q_OS_DARWIN
    -#elif defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__))
    -#  define Q_OS_MACX
    -#elif defined(__MACOSX__)
    -#  define Q_OS_MACX
    -#elif defined(macintosh)
    -#  define Q_OS_MAC9
    -#elif defined(__CYGWIN__)
    -#  define Q_OS_CYGWIN
    -#elif defined(MSDOS) || defined(_MSDOS)
    -#  define Q_OS_MSDOS
    -#elif defined(__OS2__)
    -#  if defined(__EMX__)
    -#    define Q_OS_OS2EMX
    -#  else
    -#    define Q_OS_OS2
    -#  endif
    -#elif !defined(SAG_COM) && (defined(WIN64) || defined(_WIN64) || defined(__WIN64__))
    -#  define Q_OS_WIN32
    -#  define Q_OS_WIN64
    -#elif !defined(SAG_COM) && (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__))
    -#  define Q_OS_WIN32
    -#elif defined(__MWERKS__) && defined(__INTEL__)
    -#  define Q_OS_WIN32
    -#elif defined(__sun) || defined(sun)
    -#  define Q_OS_SOLARIS
    -#elif defined(hpux) || defined(__hpux)
    -#  define Q_OS_HPUX
    -#elif defined(__ultrix) || defined(ultrix)
    -#  define Q_OS_ULTRIX
    -#elif defined(sinix)
    -#  define Q_OS_RELIANT
    -#elif defined(__linux__) || defined(__linux) || defined(__GNU__) || defined(__GLIBC__)
    -#  define Q_OS_LINUX
    -#elif defined(__FreeBSD__) || defined(__DragonFly__)
    -#  define Q_OS_FREEBSD
    -#  define Q_OS_BSD4
    -#elif defined(__NetBSD__)
    -#  define Q_OS_NETBSD
    -#  define Q_OS_BSD4
    -#elif defined(__OpenBSD__)
    -#  define Q_OS_OPENBSD
    -#  define Q_OS_BSD4
    -#elif defined(__bsdi__)
    -#  define Q_OS_BSDI
    -#  define Q_OS_BSD4
    -#elif defined(__sgi)
    -#  define Q_OS_IRIX
    -#elif defined(__osf__)
    -#  define Q_OS_OSF
    -#elif defined(_AIX)
    -#  define Q_OS_AIX
    -#elif defined(__Lynx__)
    -#  define Q_OS_LYNX
    -#elif defined(__DGUX__)
    -#  define Q_OS_DGUX
    -#elif defined(__QNXNTO__)
    -#  define Q_OS_QNX6
    -#elif defined(__QNX__)
    -#  define Q_OS_QNX
    -#elif defined(_SEQUENT_)
    -#  define Q_OS_DYNIX
    -#elif defined(_SCO_DS)                   /* SCO OpenServer 5 + GCC */
    -#  define Q_OS_SCO
    -#elif defined(__USLC__)                  /* all SCO platforms + UDK or OUDK */
    -#  define Q_OS_UNIXWARE
    -#  define Q_OS_UNIXWARE7
    -#elif defined(__svr4__) && defined(i386) /* Open UNIX 8 + GCC */
    -#  define Q_OS_UNIXWARE
    -#  define Q_OS_UNIXWARE7
    -#elif defined(__MAKEDEPEND__)
    -#else
    -#  error "TQt has not been ported to this OS - talk to qt-bugs@trolltech.com"
    -#endif
    -
    -#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
    -#  define Q_OS_WIN
    -#endif
    -
    -#if defined(Q_OS_MAC9) || defined(Q_OS_MACX)
    -#  define Q_OS_MAC
    -#endif
    -
    -#if defined(Q_OS_MAC9) || defined(Q_OS_MSDOS) || defined(Q_OS_OS2) || defined(Q_OS_WIN)
    -#  undef Q_OS_UNIX
    -#elif !defined(Q_OS_UNIX)
    -#  define Q_OS_UNIX
    -#endif
    -
    -#if defined(Q_OS_MACX)
    -#  ifdef MAC_OS_X_VERSION_MIN_REQUIRED
    -#    undef MAC_OS_X_VERSION_MIN_REQUIRED
    -#  endif
    -#  define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_2
    -#  include <AvailabilityMacros.h>
    -#  if !defined(MAC_OS_X_VERSION_10_3)
    -#     define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1
    -#  endif
    -#  if !defined(MAC_OS_X_VERSION_10_4)
    -#       define MAC_OS_X_VERSION_10_4 MAC_OS_X_VERSION_10_3 + 1
    -#  endif
    -#  if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_4)
    -#    error "This version of Mac OS X is unsupported"
    -#  endif
    -#endif
    -
    -
    -/*
    -   The compiler, must be one of: (Q_CC_x)
    -
    -     SYM	- Symantec C++ for both PC and Macintosh
    -     MPW	- MPW C++
    -     MWERKS	- Metrowerks CodeWarrior
    -     MSVC	- Microsoft Visual C/C++, Intel C++ for Windows
    -     BOR	- Borland/Turbo C++
    -     WAT	- Watcom C++
    -     GNU	- GNU C++
    -     COMEAU	- Comeau C++
    -     EDG	- Edison Design Group C++
    -     OC		- CenterLine C++
    -     SUN	- Sun WorkShop, Forte Developer, or Sun ONE Studio C++
    -     MIPS	- MIPSpro C++
    -     DEC	- DEC C++
    -     HP		- HPUX C++
    -     HPACC	- HPUX ANSI C++
    -     USLC	- SCO OUDK, UDK, and UnixWare 2.X C++
    -     CDS	- Reliant C++
    -     KAI	- KAI C++
    -     INTEL	- Intel C++ for Linux, Intel C++ for Windows
    -     HIGHC	- MetaWare High C/C++
    -     PGI	- Portland Group C++
    -     GHS	- Green Hills Optimizing C++ Compilers
    -
    -   Should be sorted most to least authoritative.
    -*/
    -
    -/* Symantec C++ is now Digital Mars */
    -#if defined(__DMC__) || defined(__SC__)
    -#  define Q_CC_SYM
    -/* "explicit" semantics implemented in 8.1e but keyword recognized since 7.5 */
    -#  if defined(__SC__) && __SC__ < 0x750
    -#    define Q_NO_EXPLICIT_KEYWORD
    -#  endif
    -#  define Q_NO_USING_KEYWORD
    -#  if !defined(_CPPUNWIND)
    -#    define Q_NO_EXCEPTIONS
    -#  endif
    -
    -#elif defined(applec)
    -#  define Q_CC_MPW
    -#  define Q_NO_BOOL_TYPE
    -#  define Q_NO_EXPLICIT_KEYWORD
    -#  define Q_NO_USING_KEYWORD
    -
    -#elif defined(__MWERKS__)
    -#  define Q_CC_MWERKS
    -/* "explicit" recognized since 4.0d1 */
    -#  define TQMAC_PASCAL pascal
    -
    -#elif defined(_MSC_VER)
    -#  define Q_CC_MSVC
    -/* proper support of bool for _MSC_VER >= 1100 */
    -#  define Q_CANNOT_DELETE_CONSTANT
    -#  define TQ_INLINE_TEMPLATES inline
    -/* Visual C++.Net issues for _MSC_VER >= 1300 */
    -#  if _MSC_VER >= 1300
    -#    define Q_CC_MSVC_NET
    -#    if _MSC_VER < 1310 || (defined(Q_OS_WIN64) && defined(_M_IA64))
    -#      define TQ_TYPENAME
    -#    endif
    -#  endif
    -/* Intel C++ disguising as Visual C++: the `using' keyword avoids warnings */
    -#  if defined(__INTEL_COMPILER)
    -#    define Q_CC_INTEL
    -#    if !defined(__EXCEPTIONS)
    -#      define Q_NO_EXCEPTIONS
    -#    endif
    -#  else
    -#    define Q_NO_USING_KEYWORD /* ### check "using" status */
    -#  endif
    -
    -#elif defined(__BORLANDC__) || defined(__TURBOC__)
    -#  define Q_CC_BOR
    -#  if __BORLANDC__ < 0x502
    -#    define Q_NO_BOOL_TYPE
    -#    define Q_NO_EXPLICIT_KEYWORD
    -#  endif
    -#  define Q_NO_USING_KEYWORD /* ### check "using" status */
    -
    -#elif defined(__WATCOMC__)
    -#  define Q_CC_WAT
    -#  if defined(Q_OS_QNX4)
    -/* compiler flags */
    -#    define TQ_TYPENAME
    -#    define Q_NO_BOOL_TYPE
    -#    define Q_CANNOT_DELETE_CONSTANT
    -#    define mutable
    -/* ??? */
    -#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
    -/* no template classes in TQVariant */
    -#    define TQT_NO_TEMPLATE_VARIANT
    -/* Wcc does not fill in functions needed by valuelists, maps, and
    -   valuestacks implicitly */
    -#    define TQ_FULL_TEMPLATE_INSTANTIATION
    -/* can we just compare the structures? */
    -#    define TQ_FULL_TEMPLATE_INSTANTIATION_MEMCMP
    -/* these are not useful to our customers */
    -#    define TQT_NO_SQL
    -#  endif
    -
    -#elif defined(__GNUC__)
    -#  define Q_CC_GNU
    -#  define Q_C_CALLBACKS
    -#  if __GNUC__ == 2 && __GNUC_MINOR__ <= 7
    -#    define TQ_FULL_TEMPLATE_INSTANTIATION
    -#  endif
    -/* GCC 2.95 knows "using" but does not support it correctly */
    -#  if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
    -#    define Q_NO_USING_KEYWORD
    -#  endif
    -/* GCC 3.1 and GCC 3.2 wrongly define _SB_CTYPE_MACROS on HP-UX */
    -#  if defined(Q_OS_HPUX) && __GNUC__ == 3 && __GNUC_MINOR__ >= 1
    -#    define Q_WRONG_SB_CTYPE_MACROS
    -#  endif
    -
    -/* ARM gcc pads structs to 32 bits, even when they contain a single
    -   char, or short.  We tell gcc to pack TQChars to 16 bits, to avoid
    -   TQString bloat. However, gcc 3.4 doesn't allow us to create references to
    -   members of a packed struct. (Pointers are OK, because then you
    -   supposedly know what you are doing.) */
    -#  if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)
    -#    define TQ_PACKED __attribute__ ((packed))
    -#    if __GNUC__ == 3 && __GNUC_MINOR__ >= 4
    -#      define Q_NO_PACKED_REFERENCE
    -#    endif
    -#  endif
    -#  if !defined(__EXCEPTIONS)
    -#    define Q_NO_EXCEPTIONS
    -#  endif
    -
    -/* IBM compiler versions are a bit messy. There are actually two products:
    -   the C product, and the C++ product. The C++ compiler is always packaged
    -   with the latest version of the C compiler. Version numbers do not always
    -   match. This little table (I'm not sure it's accurate) should be helpful:
    -
    -   C++ product                C product
    -
    -            C Set 3.1         C Compiler 3.0
    -                  ...         ...
    -   C++ Compiler 3.6.6         C Compiler 4.3
    -                  ...         ...
    -   Visual Age C++ 4.0         ...
    -                  ...         ...
    -   Visual Age C++ 5.0         C Compiler 5.0
    -                  ...         ...
    -   Visual Age C++ 6.0         C Compiler 6.0
    -
    -   Now:
    -   __xlC__    is the version of the C compiler in hexadecimal notation
    -              is only an approximation of the C++ compiler version
    -   __IBMCPP__ is the version of the C++ compiler in decimal notation
    -              but it is not defined on older compilers like C Set 3.1 */
    -#elif defined(__xlC__)
    -#  define Q_CC_XLC
    -#  define TQ_FULL_TEMPLATE_INSTANTIATION
    -#  if __xlC__ < 0x400
    -#    define Q_NO_BOOL_TYPE
    -#    define Q_NO_EXPLICIT_KEYWORD
    -#    define Q_NO_USING_KEYWORD
    -#    define TQ_TYPENAME
    -#    define TQ_INLINE_TEMPLATES inline
    -#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
    -#    define Q_CANNOT_DELETE_CONSTANT
    -#  endif
    -
    -/* Older versions of DEC C++ do not define __EDG__ or __EDG - observed
    -   on DEC C++ V5.5-004. New versions do define  __EDG__ - observed on
    -   Compaq C++ V6.3-002.
    -   This compiler is different enough from other EDG compilers to handle
    -   it separately anyway. */
    -#elif defined(__DECCXX) || defined(__DECC)
    -#  define Q_CC_DEC
    -/* Compaq C++ V6 compilers are EDG-based but I'm not sure about older
    -   DEC C++ V5 compilers. */
    -#  if defined(__EDG__)
    -#    define Q_CC_EDG
    -#  endif
    -/* Compaq have disabled EDG's _BOOL macro and use _BOOL_EXISTS instead
    -   - observed on Compaq C++ V6.3-002.
    -   In any case versions prior to Compaq C++ V6.0-005 do not have bool. */
    -#  if !defined(_BOOL_EXISTS)
    -#    define Q_NO_BOOL_TYPE
    -#  endif
    -/* Spurious (?) error messages observed on Compaq C++ V6.5-014. */
    -#  define Q_NO_USING_KEYWORD
    -/* Apply to all versions prior to Compaq C++ V6.0-000 - observed on
    -   DEC C++ V5.5-004. */
    -#  if __DECCXX_VER < 60060000
    -#    define TQ_TYPENAME
    -#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
    -#    define Q_CANNOT_DELETE_CONSTANT
    -#  endif
    -/* avoid undefined symbol problems with out-of-line template members */
    -#  define TQ_INLINE_TEMPLATES inline
    -
    -/* Compilers with EDG front end are similar. To detect them we test:
    -   __EDG documented by SGI, observed on MIPSpro 7.3.1.1 and KAI C++ 4.0b
    -   __EDG__ documented in EDG online docs, observed on Compaq C++ V6.3-002 */
    -#elif defined(__EDG) || defined(__EDG__)
    -#  define Q_CC_EDG
    -/* From the EDG documentation (does not seem to apply to Compaq C++):
    -   _BOOL
    -    	Defined in C++ mode when bool is a keyword. The name of this
    -	predefined macro is specified by a configuration flag. _BOOL
    -	is the default.
    -   __BOOL_DEFINED
    -   	Defined in Microsoft C++ mode when bool is a keyword. */
    -#  if !defined(_BOOL) && !defined(__BOOL_DEFINED)
    -#    define Q_NO_BOOL_TYPE
    -#  endif
    -
    -/* The Comeau compiler is based on EDG and does define __EDG__ */
    -#  if defined(__COMO__)
    -#    define Q_CC_COMEAU
    -#    define Q_C_CALLBACKS
    -
    -/* The `using' keyword was introduced to avoid KAI C++ warnings
    -   but it's now causing KAI C++ errors instead. The standard is
    -   unclear about the use of this keyword, and in practice every
    -   compiler is using its own set of rules. Forget it. */
    -#  elif defined(__KCC)
    -#    define Q_CC_KAI
    -#    if !defined(_EXCEPTIONS)
    -#      define Q_NO_EXCEPTIONS
    -#    endif
    -#    define Q_NO_USING_KEYWORD
    -
    -/* Using the `using' keyword avoids Intel C++ for Linux warnings */
    -#  elif defined(__INTEL_COMPILER)
    -#    define Q_CC_INTEL
    -#    if !defined(__EXCEPTIONS)
    -#      define Q_NO_EXCEPTIONS
    -#    endif
    -
    -/* The Portland Group compiler is based on EDG and does define __EDG__ */
    -#  elif defined(__PGI)
    -#    define Q_CC_PGI
    -#    if !defined(__EXCEPTIONS)
    -#      define Q_NO_EXCEPTIONS
    -#    endif
    -
    -/* Never tested! */
    -#  elif defined(__ghs)
    -#    define Q_CC_GHS
    -
    -/* The UnixWare 7 UDK compiler is based on EDG and does define __EDG__ */
    -#  elif defined(__USLC__) && defined(__SCO_VERSION__)
    -#    define Q_CC_USLC
    -/* The latest UDK 7.1.1b does not need this, but previous versions do */
    -#    if !defined(__SCO_VERSION__) || (__SCO_VERSION__ < 302200010)
    -#      define TQ_INLINE_TEMPLATES inline
    -#    endif
    -#    define Q_NO_USING_KEYWORD /* ### check "using" status */
    -
    -/* Never tested! */
    -#  elif defined(CENTERLINE_CLPP) || defined(OBJECTCENTER)
    -#    define Q_CC_OC
    -#    define Q_NO_USING_KEYWORD
    -
    -/* CDS++ defines __EDG__ although this is not documented in the Reliant
    -   documentation. It also follows conventions like _BOOL and this documented */
    -#  elif defined(sinix)
    -#    define Q_CC_CDS
    -#    define Q_NO_USING_KEYWORD
    -#    if defined(__cplusplus) && (__cplusplus < 2) /* Cfront C++ mode */
    -#      define Q_NO_EXCEPTIONS
    -#    endif
    -
    -/* The MIPSpro compiler in o32 mode is based on EDG but disables features
    -   such as template specialization nevertheless */
    -#  elif defined(__sgi)
    -#    define Q_CC_MIPS
    -#    if defined(_MIPS_SIM) && (_MIPS_SIM == _ABIO32) /* o32 ABI */
    -#      define TQ_TYPENAME
    -#      define Q_BROKEN_TEMPLATE_SPECIALIZATION
    -#      define Q_NO_EXPLICIT_KEYWORD
    -#      define TQ_INLINE_TEMPLATES inline
    -#    elif defined(_COMPILER_VERSION) && (_COMPILER_VERSION < 730) /* 7.2 */
    -#      define TQ_TYPENAME
    -#      define Q_BROKEN_TEMPLATE_SPECIALIZATION
    -#    endif
    -#    define Q_NO_USING_KEYWORD /* ### check "using" status */
    -#    if defined(_COMPILER_VERSION) && (_COMPILER_VERSION >= 740)
    -#      pragma set woff 3624,3625, 3649 /* turn off some harmless warnings */
    -#    endif
    -#  endif
    -
    -/* The older UnixWare 2.X compiler? */
    -#elif defined(__USLC__)
    -#  define Q_CC_USLC
    -#  define TQ_TYPENAME
    -#  define Q_NO_BOOL_TYPE
    -#  define Q_NO_EXPLICIT_KEYWORD
    -#  define Q_NO_USING_KEYWORD
    -#  define TQ_INLINE_TEMPLATES inline
    -
    -/* Never tested! */
    -#elif defined(__HIGHC__)
    -#  define Q_CC_HIGHC
    -
    -#elif defined(__SUNPRO_CC) || defined(__SUNPRO_C)
    -#  define Q_CC_SUN
    -/* 5.0 compiler or better
    -    'bool' is enabled by default but can be disabled using -features=nobool
    -    in which case _BOOL is not defined
    -        this is the default in 4.2 compatibility mode triggered by -compat=4 */
    -#  if __SUNPRO_CC >= 0x500
    -#    if !defined(_BOOL)
    -#      define Q_NO_BOOL_TYPE
    -#    endif
    -#    if defined(__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT <= 4)
    -#      define Q_NO_USING_KEYWORD
    -#    endif
    -#    define Q_C_CALLBACKS
    -/* 4.2 compiler or older */
    -#  else
    -#    define Q_NO_BOOL_TYPE
    -#    define Q_NO_EXPLICIT_KEYWORD
    -#    define Q_NO_USING_KEYWORD
    -#  endif
    -
    -/* CDS++ does not seem to define __EDG__ or __EDG according to Reliant
    -   documentation but nevertheless uses EDG conventions like _BOOL */
    -#elif defined(sinix)
    -#  define Q_CC_EDG
    -#  define Q_CC_CDS
    -#  if !defined(_BOOL)
    -#    define Q_NO_BOOL_TYPE
    -#  endif
    -#  define Q_BROKEN_TEMPLATE_SPECIALIZATION
    -
    -#elif defined(Q_OS_HPUX)
    -/* __HP_aCC was not defined in first aCC releases */
    -#  if defined(__HP_aCC) || __cplusplus >= 199707L
    -#    define Q_CC_HPACC
    -#  else
    -#    define Q_CC_HP
    -#    define Q_NO_BOOL_TYPE
    -#    define TQ_FULL_TEMPLATE_INSTANTIATION
    -#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
    -#    define Q_NO_EXPLICIT_KEYWORD
    -#  endif
    -#  define Q_NO_USING_KEYWORD /* ### check "using" status */
    -
    -#else
    -#  error "TQt has not been tested with this compiler - talk to qt-bugs@trolltech.com"
    -#endif
    -
    -#ifndef TQ_PACKED
    -#  define TQ_PACKED
    -#endif
    -
    -
    -/*
    -   The window system, must be one of: (TQ_WS_x)
    -
    -     MACX	- Mac OS X
    -     MAC9	- Mac OS 9
    -     WIN32	- Windows
    -     X11	- X Window System
    -     PM		- unsupported
    -     WIN16	- unsupported
    -*/
    -
    -#if defined(Q_OS_MAC9)
    -#  define TQ_WS_MAC9
    -#elif defined(Q_OS_MSDOS)
    -#  define TQ_WS_WIN16
    -#  error "TQt requires Win32 and does not work with Windows 3.x"
    -#elif defined(_WIN32_X11_)
    -#  define TQ_WS_X11
    -#elif defined(Q_OS_WIN32)
    -#  define TQ_WS_WIN32
    -#  if defined(Q_OS_WIN64)
    -#    define TQ_WS_WIN64
    -#  endif
    -#elif defined(Q_OS_OS2)
    -#  define TQ_WS_PM
    -#  error "TQt does not work with OS/2 Presentation Manager or Workplace Shell"
    -#elif defined(Q_OS_UNIX)
    -#  if defined(Q_OS_MACX)
    -#    define TQ_WS_MACX
    -#  else
    -#    define TQ_WS_X11
    -#  endif
    -#endif
    -#if defined(Q_OS_MAC) && !defined(TQMAC_PASCAL)
    -#  define TQMAC_PASCAL
    -#endif
    -
    -#if defined(TQ_WS_WIN16) || defined(TQ_WS_WIN32)
    -#  define TQ_WS_WIN
    -#endif
    -
    -#if (defined(TQ_WS_MAC9) || defined(TQ_WS_MACX)) && !defined(TQ_WS_X11)
    -#  define TQ_WS_MAC
    -#endif
    -
    -
    -/*
    -   Some classes do not permit copies to be made of an object.
    -   These classes contains a private copy constructor and operator=
    -   to disable copying (the compiler gives an error message).
    -   Undefine TQ_DISABLE_COPY to turn off this checking.
    -*/
    -
    -#define TQ_DISABLE_COPY
    -
    -#if defined(__cplusplus)
    -
    -
    -//
    -// Useful type definitions for TQt
    -//
    -
    -#if defined(Q_NO_BOOL_TYPE)
    -#if defined(Q_CC_HP)
    -// bool is an unsupported reserved keyword in later versions
    -#define bool int
    -#else
    -typedef int bool;
    -#endif
    -#endif
    -
    -typedef unsigned char   uchar;
    -typedef unsigned short  ushort;
    -typedef unsigned	uint;
    -typedef unsigned long   ulong;
    -typedef char	       *pchar;
    -typedef uchar	       *puchar;
    -typedef const char     *pcchar;
    -
    -
    -//
    -// Constant bool values
    -//
    -
    -#ifndef TRUE
    -const bool FALSE = 0;
    -const bool TRUE = !0;
    -#endif
    -#if defined(__WATCOMC__)
    -#  if defined(Q_OS_QNX4)
    -const bool false = FALSE;
    -const bool true = TRUE;
    -#  endif
    -#endif
    -
    -//
    -// Proper for-scoping
    -// ### turn on in 4.0
    -
    -#if 0 && defined(Q_CC_MSVC) && !defined(Q_CC_MSVC_NET)
    -#  define for if(0){}else for
    -#endif
    -
    -//
    -// Use the "explicit" keyword on platforms that support it.
    -//
    -
    -#if !defined(Q_NO_EXPLICIT_KEYWORD)
    -#  define Q_EXPLICIT explicit
    -#else
    -#  define Q_EXPLICIT
    -#endif
    -
    -
    -//
    -// Utility macros and inline functions
    -//
    -
    -#define TQMAX(a, b)	((b) < (a) ? (a) : (b))
    -#define TQMIN(a, b)	((a) < (b) ? (a) : (b))
    -#define TQABS(a)	((a) >= 0  ? (a) : -(a))
    -
    -inline int tqRound( double d )
    -{
    -    return d >= 0.0 ? int(d + 0.5) : int( d - ((int)d-1) + 0.5 ) + ((int)d-1);
    -}
    -
    -
    -//
    -// Size-dependent types (architechture-dependent byte order)
    -//
    -
    -typedef signed char		TQ_INT8;		// 8 bit signed
    -typedef unsigned char		TQ_UINT8;	// 8 bit unsigned
    -typedef short			TQ_INT16;	// 16 bit signed
    -typedef unsigned short		TQ_UINT16;	// 16 bit unsigned
    -typedef int			TQ_INT32;	// 32 bit signed
    -typedef unsigned int		TQ_UINT32;	// 32 bit unsigned
    -#if defined(Q_OS_WIN64)
    -typedef __int64			TQ_LONG;		// word up to 64 bit signed
    -typedef unsigned __int64	TQ_ULONG;	// word up to 64 bit unsigned
    -#else
    -typedef long			TQ_LONG;		// word up to 64 bit signed
    -typedef unsigned long		TQ_ULONG;	// word up to 64 bit unsigned
    -#endif
    -#if defined(Q_OS_WIN) && !defined(Q_CC_GNU)
    -#  define TQ_INT64_C(c) 		c ## i64	// signed 64 bit constant
    -#  define TQ_UINT64_C(c)		c ## ui64	// unsigned 64 bit constant
    -typedef __int64			TQ_INT64;	// 64 bit signed
    -typedef unsigned __int64	TQ_UINT64;	// 64 bit unsigned
    -#else
    -#  define TQ_INT64_C(c) 		c ## LL		// signed 64 bit constant
    -#  define TQ_UINT64_C(c)		c ## ULL	// unsigned 64 bit constant
    -typedef long long		TQ_INT64;	// 64 bit signed
    -typedef unsigned long long	TQ_UINT64;	// 64 bit unsigned
    -#endif
    -typedef TQ_INT64			TQ_LLONG;	// signed long long
    -typedef TQ_UINT64		TQ_ULLONG;	// unsigned long long
    -
    -#if defined(Q_OS_MACX) && !defined(QT_LARGEFILE_SUPPORT)
    -#  define QT_LARGEFILE_SUPPORT 64
    -#endif
    -#if defined(QT_LARGEFILE_SUPPORT)
    -    typedef TQ_ULLONG TQtOffset;
    -#else
    -    typedef TQ_ULONG TQtOffset;
    -#endif
    -
    -
    -//
    -// Data stream functions is provided by many classes (defined in tqdatastream.h)
    -//
    -
    -class TQDataStream;
    -
    -
    -//
    -// Feature subsetting
    -//
    -// Note that disabling some features will produce a libtqt that is not
    -// compatible with other libtqt builds. Such modifications are only
    -// supported on TQt/Embedded where reducing the library size is important
    -// and where the application-suite is often a fixed set.
    -//
    -
    -#if !defined(QT_MOC)
    -#if defined(TQCONFIG_LOCAL)
    -#include "qconfig-local.h"
    -#elif defined(TQCONFIG_MINIMAL)
    -#include "qconfig-minimal.h"
    -#elif defined(TQCONFIG_SMALL)
    -#include "qconfig-small.h"
    -#elif defined(TQCONFIG_MEDIUM)
    -#include "qconfig-medium.h"
    -#elif defined(TQCONFIG_LARGE)
    -#include "qconfig-large.h"
    -#else // everything...
    -#include "ntqconfig.h"
    -#endif
    -#endif
    -
    -
    -#ifndef TQT_BUILD_KEY
    -#define TQT_BUILD_KEY "unspecified"
    -#endif
    -
    -// prune to local config
    -#include "ntqmodules.h"
    -#ifndef TQT_MODULE_DIALOGS
    -# define TQT_NO_DIALOG
    -#endif
    -#ifndef TQT_MODULE_WORKSPACE
    -# define TQT_NO_WORKSPACE
    -#endif
    -#ifndef TQT_MODULE_NETWORK
    -#define TQT_NO_NETWORK
    -#endif
    -#ifndef TQT_MODULE_CANVAS
    -# define TQT_NO_CANVAS
    -#endif
    -#ifndef TQT_MODULE_TABLE
    -#define TQT_NO_TABLE
    -#endif
    -#ifndef TQT_MODULE_XML
    -# define TQT_NO_XML
    -#endif
    -#ifndef TQT_MODULE_OPENGL
    -# define TQT_NO_OPENGL
    -#endif
    -#if !defined(TQT_MODULE_SQL)
    -# define TQT_NO_SQL
    -#endif
    -
    -#if defined(TQ_WS_MAC9)
    -//No need for menu merging
    -#  ifndef TQMAC_QMENUBAR_NO_MERGE
    -#    define TQMAC_QMENUBAR_NO_MERGE
    -#  endif
    -//Mac9 does not use quartz
    -#  ifndef TQMAC_NO_QUARTZ
    -#    define TQMAC_NO_QUARTZ
    -#  endif
    -#  ifndef TQMAC_QMENUBAR_NO_EVENT
    -#    define TQMAC_QMENUBAR_NO_EVENT
    -#  endif
    -#endif
    -#if defined(TQ_WS_MACX) //for no nobody uses quartz, just putting in first level hooks
    -#  ifndef TQMAC_NO_QUARTZ
    -#    define TQMAC_NO_QUARTZ
    -#  endif
    -#  ifndef TQMAC_QMENUBAR_NO_EVENT
    -#    define TQMAC_QMENUBAR_NO_EVENT
    -#  endif
    -#endif
    -
    -#ifndef QT_H
    -#include "ntqfeatures.h"
    -#endif /* QT_H */
    -
    -
    -//
    -// Create TQt DLL if QT_DLL is defined (Windows only)
    -// or QT_SHARED is defined (Kylix only)
    -//
    -
    -#if defined(Q_OS_WIN)
    -#  if defined(QT_NODLL)
    -#    undef QT_MAKEDLL
    -#    undef QT_DLL
    -#  elif defined(QT_MAKEDLL)	/* create a TQt DLL library */
    -#    if defined(QT_DLL)
    -#      undef QT_DLL
    -#    endif
    -#    define TQ_EXPORT  __declspec(dllexport)
    -#    define Q_TEMPLATEDLL
    -#    define Q_TEMPLATE_EXTERN
    -#    undef  TQ_DISABLE_COPY	/* avoid unresolved externals */
    -#  elif defined(QT_DLL)		/* use a TQt DLL library */
    -#    define TQ_EXPORT  __declspec(dllimport)
    -#    define Q_TEMPLATEDLL
    -#    ifndef Q_TEMPLATE_EXTERN
    -#      if defined(Q_CC_MSVC_NET)
    -#        define Q_TEMPLATE_EXTERN extern
    -#      else
    -#        define Q_TEMPLATE_EXTERN
    -#      endif
    -#    endif
    -#    undef  TQ_DISABLE_COPY	/* avoid unresolved externals */
    -#  endif
    -#elif defined(Q_OS_LINUX) && defined(Q_CC_BOR)
    -#  if defined(QT_SHARED)	/* create a TQt shared library */
    -#    define TQ_EXPORT  __declspec(dllexport)
    -#    define Q_TEMPLATEDLL
    -#    define Q_TEMPLATE_EXTERN
    -#    undef  TQ_DISABLE_COPY	/* avoid unresolved externals */
    -#  else
    -#    define Q_TEMPLATEDLL
    -#    define Q_TEMPLATE_EXTERN
    -#    undef  TQ_DISABLE_COPY 	/* avoid unresolved externals */
    -#  endif
    -#else
    -#  undef QT_MAKEDLL		/* ignore these for other platforms */
    -#  undef QT_DLL
    -#endif
    -
    -#ifndef TQ_EXPORT
    -#  define TQ_EXPORT
    -#endif
    -
    -
    -//
    -// Some platform specific stuff
    -//
    -
    -#if defined(TQ_WS_WIN)
    -extern TQ_EXPORT bool qt_winunicode;
    -#endif
    -
    -
    -//
    -// System information
    -//
    -
    -TQ_EXPORT const char *tqVersion();
    -TQ_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
    -TQ_EXPORT bool tqSharedBuild();
    -#if defined(Q_OS_MAC)
    -int qMacVersion();
    -#elif defined(TQ_WS_WIN)
    -TQ_EXPORT int qWinVersion();
    -#if defined(UNICODE)
    -#define QT_WA( uni, ansi ) if ( qt_winunicode ) { uni } else { ansi }
    -#define QT_WA_INLINE( uni, ansi ) ( qt_winunicode ? uni : ansi )
    -#else
    -#define QT_WA( uni, ansi ) ansi
    -#define QT_WA_INLINE( uni, ansi ) ansi
    -#endif
    -#endif
    -
    -#ifdef Q_OS_TEMP
    -#ifdef QT_WA
    -#undef QT_WA
    -#undef QT_WA_INLINE
    -#endif
    -#define QT_WA( uni, ansi ) uni
    -#define QT_WA_INLINE( uni, ansi ) ( uni )
    -#endif
    -
    -#ifndef TQ_INLINE_TEMPLATES
    -#  define TQ_INLINE_TEMPLATES
    -#endif
    -
    -#ifndef TQ_TYPENAME
    -#  define TQ_TYPENAME typename
    -#endif
    -
    -//
    -// Use to avoid "unused parameter" warnings
    -//
    -#define Q_UNUSED(x) (void)x;
    -
    -//
    -// Debugging and error handling
    -//
    -
    -#if !defined(TQT_NO_CHECK)
    -#  define QT_CHECK_STATE			// check state of objects etc.
    -#  define QT_CHECK_RANGE			// check range of indexes etc.
    -#  define QT_CHECK_NULL				// check null pointers
    -#  define QT_CHECK_MATH				// check math functions
    -#endif
    -
    -#if !defined(TQT_NO_DEBUG) && !defined(QT_DEBUG)
    -#  define QT_DEBUG				// display debug messages
    -#  if !defined(TQT_NO_COMPAT)			// compatibility with TQt 2
    -#    if !defined(NO_DEBUG) && !defined(DEBUG)
    -#      if !defined(Q_OS_MACX)			// clash with MacOS X headers
    -#        define DEBUG
    -#      endif
    -#    endif
    -#  endif
    -#endif
    -
    -
    -TQ_EXPORT void tqDebug( const char *, ... )	// print debug message
    -#if defined(Q_CC_GNU) && !defined(__INSURE__)
    -    __attribute__ ((format (printf, 1, 2)))
    -#endif
    -;
    -
    -TQ_EXPORT void tqWarning( const char *, ... )	// print warning message
    -#if defined(Q_CC_GNU) && !defined(__INSURE__)
    -    __attribute__ ((format (printf, 1, 2)))
    -#endif
    -;
    -
    -TQ_EXPORT void tqFatal( const char *, ... )	// print fatal message and exit
    -#if defined(Q_CC_GNU)
    -    __attribute__ ((format (printf, 1, 2)))
    -#endif
    -;
    -
    -TQ_EXPORT void tqSystemWarning( const char *, int code = -1 );
    -
    -
    -#if !defined(Q_ASSERT)
    -#  if defined(QT_CHECK_STATE)
    -#    if defined(QT_FATAL_ASSERT)
    -#      define Q_ASSERT(x)  ((x) ? (void)0 : tqFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
    -#    else
    -#      define Q_ASSERT(x)  ((x) ? (void)0 : tqWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
    -#    endif
    -#  else
    -#    define Q_ASSERT(x)
    -#  endif
    -#endif
    -
    -#if !defined(TQT_NO_COMPAT)			// compatibility with TQt 2
    -#  if !defined(ASSERT)
    -#    if !defined(Q_OS_TEMP)
    -#      define ASSERT(x) Q_ASSERT(x)
    -#    endif
    -#  endif
    -#endif // TQT_NO_COMPAT
    -
    -
    -TQ_EXPORT bool tqt_check_pointer( bool c, const char *, int );
    -
    -#if defined(QT_CHECK_NULL)
    -#  define TQ_CHECK_PTR(p) (tqt_check_pointer((p)==0,__FILE__,__LINE__))
    -#else
    -#  define TQ_CHECK_PTR(p)
    -#endif
    -
    -enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg };
    -
    -typedef void (*TQtMsgHandler)(TQtMsgType, const char *);
    -TQ_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
    -
    -#if !defined(TQT_NO_COMPAT)			// compatibility with TQt 2
    -typedef TQtMsgHandler msg_handler;
    -#endif // TQT_NO_COMPAT
    -
    -TQ_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );
    -
    -TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc,
    -		   const char *newfunc );
    -TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc );
    -TQ_EXPORT void tqObsolete( const char *message );
    -
    -
    -//
    -// Install paths from configure
    -//
    -
    -TQ_EXPORT const char *tqInstallPath();
    -TQ_EXPORT const char *tqInstallPathDocs();
    -TQ_EXPORT const char *tqInstallPathHeaders();
    -TQ_EXPORT const char *tqInstallPathLibs();
    -TQ_EXPORT const char *tqInstallPathBins();
    -TQ_EXPORT const char *tqInstallPathPlugins();
    -TQ_EXPORT const char *tqInstallPathData();
    -TQ_EXPORT const char *tqInstallPathTranslations();
    -TQ_EXPORT const char *tqInstallPathSysconf();
    -
    -#endif /* __cplusplus */
    -
    -/*
    - compilers which follow outdated template instantiation rules
    - require a class to have a comparison operator to exist when
    - a TQValueList of this type is instantiated. It's not actually
    - used in the list, though. Hence the dummy implementation.
    - Just in case other code relies on it we better trigger a warning
    - mandating a real implementation.
    -*/
    -#ifdef TQ_FULL_TEMPLATE_INSTANTIATION
    -#  define TQ_DUMMY_COMPARISON_OPERATOR(C) \
    -    bool operator==( const C& ) const { \
    -        tqWarning( #C"::operator==( const "#C"& ) got called." ); \
    -        return FALSE; \
    -    }
    -#else
    -#  define TQ_DUMMY_COMPARISON_OPERATOR(C)
    -#endif
    -
    -#endif /* TQGLOBAL_H */
    -
    -/*
    - Avoid some particularly useless warnings from some stupid compilers.
    - To get ALL C++ compiler warnings, define QT_CC_WARNINGS or comment out
    - the line "#define TQT_NO_WARNINGS"
    -*/
    -
    -#if !defined(QT_CC_WARNINGS)
    -#  define TQT_NO_WARNINGS
    -#endif
    -#if defined(TQT_NO_WARNINGS)
    -#  if defined(Q_CC_MSVC)
    -#    pragma warning(disable: 4244) // 'conversion' conversion from 'type1' to 'type2', possible loss of data
    -#    pragma warning(disable: 4275) // non - DLL-interface classkey 'identifier' used as base for DLL-interface classkey 'identifier'
    -#    pragma warning(disable: 4514) // unreferenced inline/local function has been removed
    -#    pragma warning(disable: 4800) // 'type' : forcing value to bool 'true' or 'false' (performance warning)
    -#    pragma warning(disable: 4097) // typedef-name 'identifier1' used as synonym for class-name 'identifier2'
    -#    pragma warning(disable: 4706) // assignment within conditional expression
    -#    pragma warning(disable: 4786) // truncating debug info after 255 characters
    -#    pragma warning(disable: 4660) // template-class specialization 'identifier' is already instantiated
    -#    pragma warning(disable: 4355) // 'this' : used in base member initializer list
    -#    pragma warning(disable: 4231) // nonstandard extension used : 'extern' before template explicit instantiation
    -#    pragma warning(disable: 4710) // function not inlined
    -#  elif defined(Q_CC_BOR)
    -#    pragma option -w-inl
    -#    pragma option -w-aus
    -#    pragma warn -inl
    -#    pragma warn -pia
    -#    pragma warn -ccc
    -#    pragma warn -rch
    -#    pragma warn -sig
    -#  endif
    -#endif
    -
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qguardedptr-h.html b/doc/html/qguardedptr-h.html deleted file mode 100644 index 5880c063a..000000000 --- a/doc/html/qguardedptr-h.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -ntqguardedptr.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    ntqguardedptr.h

    - -

    This is the verbatim text of the ntqguardedptr.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/ntqguardedptr.h   3.3.8   edited Jan 11 14:38 $
    -**
    -** Definition of TQGuardedPtr class
    -**
    -** Created : 990929
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** This file may be used under the terms of the Q Public License as
    -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
    -** included in the packaging of this file.  Licensees holding valid TQt
    -** Commercial licenses may use this file in accordance with the TQt
    -** Commercial License Agreement provided with the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQGUARDEDPTR_H
    -#define TQGUARDEDPTR_H
    -
    -#ifndef QT_H
    -#include "tqobject.h"
    -#endif // QT_H
    -
    -// ### 4.0: rename to something without Private in it. Not really internal.
    -class TQ_EXPORT TQGuardedPtrPrivate : public TQObject, public TQShared
    -{
    -    TQ_OBJECT
    -public:
    -    TQGuardedPtrPrivate( TQObject* );
    -    ~TQGuardedPtrPrivate();
    -
    -    TQObject* object() const;
    -    void reconnect( TQObject* );
    -
    -private slots:
    -    void objectDestroyed();
    -
    -private:
    -    TQObject* obj;
    -#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
    -    TQGuardedPtrPrivate( const TQGuardedPtrPrivate & );
    -    TQGuardedPtrPrivate &operator=( const TQGuardedPtrPrivate & );
    -#endif
    -};
    -
    -template <class T>
    -class TQGuardedPtr
    -{
    -public:
    -    TQGuardedPtr() : priv( new TQGuardedPtrPrivate( 0 ) ) {}
    -
    -    TQGuardedPtr( T* o) {
    -	priv = new TQGuardedPtrPrivate( (TQObject*)o );
    -    }
    -
    -    TQGuardedPtr(const TQGuardedPtr<T> &p) {
    -	priv = p.priv;
    -	ref();
    -    }
    -
    -    ~TQGuardedPtr() { deref(); }
    -
    -    TQGuardedPtr<T> &operator=(const TQGuardedPtr<T> &p) {
    -	if ( priv != p.priv ) {
    -	    deref();
    -	    priv = p.priv;
    -	    ref();
    -	}
    -	return *this;
    -    }
    -
    -    TQGuardedPtr<T> &operator=(T* o) {
    -	if ( priv && priv->count == 1 ) {
    -	    priv->reconnect( (TQObject*)o );
    -	} else {
    -	    deref();
    -	    priv = new TQGuardedPtrPrivate( (TQObject*)o );
    -	}
    -	return *this;
    -    }
    -
    -    bool operator==( const TQGuardedPtr<T> &p ) const {
    -	return (T*)(*this) == (T*) p;
    -    }
    -
    -    bool operator!= ( const TQGuardedPtr<T>& p ) const {
    -	return !( *this == p );
    -    }
    -
    -    bool isNull() const { return !priv || !priv->object(); }
    -
    -    T* operator->() const { return (T*)(priv?priv->object():0); }
    -
    -    T& operator*() const { return *((T*)(priv?priv->object():0)); }
    -
    -    operator T*() const { return (T*)(priv?priv->object():0); }
    -
    -private:
    -
    -    void ref() { if (priv) priv->ref(); }
    -
    -    void deref() {
    -	if ( priv && priv->deref() )
    -	    delete priv;
    -    }
    -
    -    TQGuardedPtrPrivate* priv;
    -};
    -
    -
    -
    -
    -inline TQObject* TQGuardedPtrPrivate::object() const
    -{
    -    return obj;
    -}
    -
    -#define Q_DEFINED_QGUARDEDPTR
    -#include "ntqwinexport.h"
    -#endif
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qguardedptr-members.html b/doc/html/qguardedptr-members.html deleted file mode 100644 index 840db0154..000000000 --- a/doc/html/qguardedptr-members.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - -TQGuardedPtr Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQGuardedPtr

    - -

    This is the complete list of member functions for -TQGuardedPtr, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qnamespace-h.html b/doc/html/qnamespace-h.html index 99550d231..77d06b772 100644 --- a/doc/html/qnamespace-h.html +++ b/doc/html/qnamespace-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQNAMESPACE_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H diff --git a/doc/html/qrangecontrol-h.html b/doc/html/qrangecontrol-h.html index af57c2567..0fa779b10 100644 --- a/doc/html/qrangecontrol-h.html +++ b/doc/html/qrangecontrol-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQRANGECONTROL_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #include "tqframe.h" #endif // QT_H diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index a7059ee45..a67086285 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -2944,18 +2944,18 @@
    -
    - QGuardedPtr - isNull - operator T * - operator!= - operator* - operator-> - operator= - operator== - ~QGuardedPtr -
    -
    +
    + TQGuardedPtr + isNull + operator T * + operator!= + operator* + operator-> + operator= + operator== + ~TQGuardedPtr +
    +
    TQHBox diff --git a/doc/html/titleindex b/doc/html/titleindex index cc490b64c..706f1afbb 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -419,8 +419,8 @@ TQGridView Class | tqgridview.html TQGridView Member List | tqgridview-members.html TQGroupBox Class | tqgroupbox.html TQGroupBox Member List | tqgroupbox-members.html -QGuardedPtr Class | ntqguardedptr.html -QGuardedPtr Member List | qguardedptr-members.html +TQGuardedPtr Class | tqguardedptr.html +TQGuardedPtr Member List | tqguardedptr-members.html TQHBox Class | tqhbox.html TQHBox Member List | tqhbox-members.html TQHBoxLayout Class | tqhboxlayout.html @@ -1137,11 +1137,11 @@ tqftp.h Include File | tqftp-h.html tqgb18030codec.h Include File | tqgb18030codec-h.html tqgl.h Include File | tqgl-h.html tqglcolormap.h Include File | tqglcolormap-h.html -ntqglobal.h Include File | qglobal-h.html +tqglobal.h Include File | tqglobal-h.html tqgrid.h Include File | tqgrid-h.html tqgridview.h Include File | tqgridview-h.html tqgroupbox.h Include File | tqgroupbox-h.html -ntqguardedptr.h Include File | qguardedptr-h.html +tqguardedptr.h Include File | tqguardedptr-h.html tqhbox.h Include File | tqhbox-h.html tqhbuttongroup.h Include File | tqhbuttongroup-h.html tqheader.h Include File | tqheader-h.html diff --git a/doc/html/toplevel-example.html b/doc/html/toplevel-example.html index 7f18142a6..25d078b3f 100644 --- a/doc/html/toplevel-example.html +++ b/doc/html/toplevel-example.html @@ -221,7 +221,7 @@ build the library.
    1. Unfortunately some X11 window managers also require the WX11BypassWM flag to be set in addition; but some other X11 window managers will have problems if this flag is set. Back...
    2. -The example uses TQGuardedPtr to make sure that the +The example uses TQGuardedPtr to make sure that the pointer is reset to zero when the widget object is destroyed due to the WDestructiveClose flag. Back...
    3. diff --git a/doc/html/tqasciicache-h.html b/doc/html/tqasciicache-h.html index 4b855e787..f2859b806 100644 --- a/doc/html/tqasciicache-h.html +++ b/doc/html/tqasciicache-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQASCIICACHE_H #ifndef QT_H -#include "ntqgcache.h" +#include "tqgcache.h" #endif // QT_H diff --git a/doc/html/tqasciidict-h.html b/doc/html/tqasciidict-h.html index 793815e91..607ee3cb2 100644 --- a/doc/html/tqasciidict-h.html +++ b/doc/html/tqasciidict-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQASCIIDICT_H #ifndef QT_H -#include "ntqgdict.h" +#include "tqgdict.h" #endif // QT_H template<class type> diff --git a/doc/html/tqcache-h.html b/doc/html/tqcache-h.html index a588e4eb2..7401cb017 100644 --- a/doc/html/tqcache-h.html +++ b/doc/html/tqcache-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQCACHE_H #ifndef QT_H -#include "ntqgcache.h" +#include "tqgcache.h" #endif // QT_H template<class type> diff --git a/doc/html/tqdeepcopy-h.html b/doc/html/tqdeepcopy-h.html index e4efa73c6..7b2f1c7c3 100644 --- a/doc/html/tqdeepcopy-h.html +++ b/doc/html/tqdeepcopy-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQDEEPCOPY_H #ifndef QT_H -# include "ntqglobal.h" +# include "tqglobal.h" #endif // QT_H template <class T> diff --git a/doc/html/tqdict-h.html b/doc/html/tqdict-h.html index b1d95ca50..0522a9a01 100644 --- a/doc/html/tqdict-h.html +++ b/doc/html/tqdict-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQDICT_H #ifndef QT_H -#include "ntqgdict.h" +#include "tqgdict.h" #endif // QT_H template<class type> diff --git a/doc/html/tqdir-h.html b/doc/html/tqdir-h.html index f2105b349..7dcdd88af 100644 --- a/doc/html/tqdir-h.html +++ b/doc/html/tqdir-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQDIR_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #include "tqstrlist.h" #include "tqfileinfo.h" #endif // QT_H diff --git a/doc/html/tqdropsite-h.html b/doc/html/tqdropsite-h.html index 84e7fff0e..cd48d738b 100644 --- a/doc/html/tqdropsite-h.html +++ b/doc/html/tqdropsite-h.html @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H #endif diff --git a/doc/html/tqglobal-h.html b/doc/html/tqglobal-h.html new file mode 100644 index 000000000..a8bfeb032 --- /dev/null +++ b/doc/html/tqglobal-h.html @@ -0,0 +1,1113 @@ + + + + + +tqglobal.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqglobal.h

      + +

      This is the verbatim text of the tqglobal.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqglobal.h   3.3.8   edited Feb 2 15:00 $
      +**
      +** Global type declarations and definitions
      +**
      +** Created : 920529
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the tools module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQGLOBAL_H
      +#define TQGLOBAL_H
      +
      +#define TQT_VERSION_STR   "3.3.8"
      +/*
      +   TQT_VERSION is (major << 16) + (minor << 8) + patch.
      + */
      +#define TQT_VERSION 0x030308
      +
      +/*
      +   The operating system, must be one of: (Q_OS_x)
      +
      +     MACX	- Mac OS X
      +     MAC9	- Mac OS 9
      +     DARWIN     - Darwin OS (Without Mac OS X)
      +     MSDOS	- MS-DOS and Windows
      +     OS2	- OS/2
      +     OS2EMX	- XFree86 on OS/2 (not PM)
      +     WIN32	- Win32 (Windows 95/98/ME and Windows NT/2000/XP)
      +     CYGWIN	- Cygwin
      +     SOLARIS	- Sun Solaris
      +     HPUX	- HP-UX
      +     ULTRIX	- DEC Ultrix
      +     LINUX	- Linux
      +     FREEBSD	- FreeBSD
      +     NETBSD	- NetBSD
      +     OPENBSD	- OpenBSD
      +     BSDI	- BSD/OS
      +     IRIX	- SGI Irix
      +     OSF	- HP Tru64 UNIX
      +     SCO	- SCO OpenServer 5
      +     UNIXWARE	- UnixWare 7, Open UNIX 8
      +     AIX	- AIX
      +     HURD	- GNU Hurd
      +     DGUX	- DG/UX
      +     RELIANT	- Reliant UNIX
      +     DYNIX	- DYNIX/ptx
      +     TQNX	- TQNX
      +     TQNX6	- TQNX RTP 6.1
      +     LYNX	- LynxOS
      +     BSD4	- Any BSD 4.4 system
      +     UNIX	- Any UNIX BSD/SYSV system
      +*/
      +
      +#if defined(__DARWIN_X11__)
      +#  define Q_OS_DARWIN
      +#elif defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__))
      +#  define Q_OS_MACX
      +#elif defined(__MACOSX__)
      +#  define Q_OS_MACX
      +#elif defined(macintosh)
      +#  define Q_OS_MAC9
      +#elif defined(__CYGWIN__)
      +#  define Q_OS_CYGWIN
      +#elif defined(MSDOS) || defined(_MSDOS)
      +#  define Q_OS_MSDOS
      +#elif defined(__OS2__)
      +#  if defined(__EMX__)
      +#    define Q_OS_OS2EMX
      +#  else
      +#    define Q_OS_OS2
      +#  endif
      +#elif !defined(SAG_COM) && (defined(WIN64) || defined(_WIN64) || defined(__WIN64__))
      +#  define Q_OS_WIN32
      +#  define Q_OS_WIN64
      +#elif !defined(SAG_COM) && (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__))
      +#  define Q_OS_WIN32
      +#elif defined(__MWERKS__) && defined(__INTEL__)
      +#  define Q_OS_WIN32
      +#elif defined(__sun) || defined(sun)
      +#  define Q_OS_SOLARIS
      +#elif defined(hpux) || defined(__hpux)
      +#  define Q_OS_HPUX
      +#elif defined(__ultrix) || defined(ultrix)
      +#  define Q_OS_ULTRIX
      +#elif defined(sinix)
      +#  define Q_OS_RELIANT
      +#elif defined(__linux__) || defined(__linux) || defined(__GNU__) || defined(__GLIBC__)
      +#  define Q_OS_LINUX
      +#elif defined(__FreeBSD__) || defined(__DragonFly__)
      +#  define Q_OS_FREEBSD
      +#  define Q_OS_BSD4
      +#elif defined(__NetBSD__)
      +#  define Q_OS_NETBSD
      +#  define Q_OS_BSD4
      +#elif defined(__OpenBSD__)
      +#  define Q_OS_OPENBSD
      +#  define Q_OS_BSD4
      +#elif defined(__bsdi__)
      +#  define Q_OS_BSDI
      +#  define Q_OS_BSD4
      +#elif defined(__sgi)
      +#  define Q_OS_IRIX
      +#elif defined(__osf__)
      +#  define Q_OS_OSF
      +#elif defined(_AIX)
      +#  define Q_OS_AIX
      +#elif defined(__Lynx__)
      +#  define Q_OS_LYNX
      +#elif defined(__DGUX__)
      +#  define Q_OS_DGUX
      +#elif defined(__QNXNTO__)
      +#  define Q_OS_QNX6
      +#elif defined(__QNX__)
      +#  define Q_OS_QNX
      +#elif defined(_SEQUENT_)
      +#  define Q_OS_DYNIX
      +#elif defined(_SCO_DS)                   /* SCO OpenServer 5 + GCC */
      +#  define Q_OS_SCO
      +#elif defined(__USLC__)                  /* all SCO platforms + UDK or OUDK */
      +#  define Q_OS_UNIXWARE
      +#  define Q_OS_UNIXWARE7
      +#elif defined(__svr4__) && defined(i386) /* Open UNIX 8 + GCC */
      +#  define Q_OS_UNIXWARE
      +#  define Q_OS_UNIXWARE7
      +#elif defined(__MAKEDEPEND__)
      +#else
      +#  error "TQt has not been ported to this OS - talk to qt-bugs@trolltech.com"
      +#endif
      +
      +#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
      +#  define Q_OS_WIN
      +#endif
      +
      +#if defined(Q_OS_MAC9) || defined(Q_OS_MACX)
      +#  define Q_OS_MAC
      +#endif
      +
      +#if defined(Q_OS_MAC9) || defined(Q_OS_MSDOS) || defined(Q_OS_OS2) || defined(Q_OS_WIN)
      +#  undef Q_OS_UNIX
      +#elif !defined(Q_OS_UNIX)
      +#  define Q_OS_UNIX
      +#endif
      +
      +#if defined(Q_OS_MACX)
      +#  ifdef MAC_OS_X_VERSION_MIN_REQUIRED
      +#    undef MAC_OS_X_VERSION_MIN_REQUIRED
      +#  endif
      +#  define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_2
      +#  include <AvailabilityMacros.h>
      +#  if !defined(MAC_OS_X_VERSION_10_3)
      +#     define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1
      +#  endif
      +#  if !defined(MAC_OS_X_VERSION_10_4)
      +#       define MAC_OS_X_VERSION_10_4 MAC_OS_X_VERSION_10_3 + 1
      +#  endif
      +#  if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_4)
      +#    error "This version of Mac OS X is unsupported"
      +#  endif
      +#endif
      +
      +
      +/*
      +   The compiler, must be one of: (Q_CC_x)
      +
      +     SYM	- Symantec C++ for both PC and Macintosh
      +     MPW	- MPW C++
      +     MWERKS	- Metrowerks CodeWarrior
      +     MSVC	- Microsoft Visual C/C++, Intel C++ for Windows
      +     BOR	- Borland/Turbo C++
      +     WAT	- Watcom C++
      +     GNU	- GNU C++
      +     COMEAU	- Comeau C++
      +     EDG	- Edison Design Group C++
      +     OC		- CenterLine C++
      +     SUN	- Sun WorkShop, Forte Developer, or Sun ONE Studio C++
      +     MIPS	- MIPSpro C++
      +     DEC	- DEC C++
      +     HP		- HPUX C++
      +     HPACC	- HPUX ANSI C++
      +     USLC	- SCO OUDK, UDK, and UnixWare 2.X C++
      +     CDS	- Reliant C++
      +     KAI	- KAI C++
      +     INTEL	- Intel C++ for Linux, Intel C++ for Windows
      +     HIGHC	- MetaWare High C/C++
      +     PGI	- Portland Group C++
      +     GHS	- Green Hills Optimizing C++ Compilers
      +
      +   Should be sorted most to least authoritative.
      +*/
      +
      +/* Symantec C++ is now Digital Mars */
      +#if defined(__DMC__) || defined(__SC__)
      +#  define Q_CC_SYM
      +/* "explicit" semantics implemented in 8.1e but keyword recognized since 7.5 */
      +#  if defined(__SC__) && __SC__ < 0x750
      +#    define Q_NO_EXPLICIT_KEYWORD
      +#  endif
      +#  define Q_NO_USING_KEYWORD
      +#  if !defined(_CPPUNWIND)
      +#    define Q_NO_EXCEPTIONS
      +#  endif
      +
      +#elif defined(applec)
      +#  define Q_CC_MPW
      +#  define Q_NO_BOOL_TYPE
      +#  define Q_NO_EXPLICIT_KEYWORD
      +#  define Q_NO_USING_KEYWORD
      +
      +#elif defined(__MWERKS__)
      +#  define Q_CC_MWERKS
      +/* "explicit" recognized since 4.0d1 */
      +#  define TQMAC_PASCAL pascal
      +
      +#elif defined(_MSC_VER)
      +#  define Q_CC_MSVC
      +/* proper support of bool for _MSC_VER >= 1100 */
      +#  define Q_CANNOT_DELETE_CONSTANT
      +#  define TQ_INLINE_TEMPLATES inline
      +/* Visual C++.Net issues for _MSC_VER >= 1300 */
      +#  if _MSC_VER >= 1300
      +#    define Q_CC_MSVC_NET
      +#    if _MSC_VER < 1310 || (defined(Q_OS_WIN64) && defined(_M_IA64))
      +#      define TQ_TYPENAME
      +#    endif
      +#  endif
      +/* Intel C++ disguising as Visual C++: the `using' keyword avoids warnings */
      +#  if defined(__INTEL_COMPILER)
      +#    define Q_CC_INTEL
      +#    if !defined(__EXCEPTIONS)
      +#      define Q_NO_EXCEPTIONS
      +#    endif
      +#  else
      +#    define Q_NO_USING_KEYWORD /* ### check "using" status */
      +#  endif
      +
      +#elif defined(__BORLANDC__) || defined(__TURBOC__)
      +#  define Q_CC_BOR
      +#  if __BORLANDC__ < 0x502
      +#    define Q_NO_BOOL_TYPE
      +#    define Q_NO_EXPLICIT_KEYWORD
      +#  endif
      +#  define Q_NO_USING_KEYWORD /* ### check "using" status */
      +
      +#elif defined(__WATCOMC__)
      +#  define Q_CC_WAT
      +#  if defined(Q_OS_QNX4)
      +/* compiler flags */
      +#    define TQ_TYPENAME
      +#    define Q_NO_BOOL_TYPE
      +#    define Q_CANNOT_DELETE_CONSTANT
      +#    define mutable
      +/* ??? */
      +#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
      +/* no template classes in TQVariant */
      +#    define TQT_NO_TEMPLATE_VARIANT
      +/* Wcc does not fill in functions needed by valuelists, maps, and
      +   valuestacks implicitly */
      +#    define TQ_FULL_TEMPLATE_INSTANTIATION
      +/* can we just compare the structures? */
      +#    define TQ_FULL_TEMPLATE_INSTANTIATION_MEMCMP
      +/* these are not useful to our customers */
      +#    define TQT_NO_SQL
      +#  endif
      +
      +#elif defined(__GNUC__)
      +#  define Q_CC_GNU
      +#  define Q_C_CALLBACKS
      +#  if __GNUC__ == 2 && __GNUC_MINOR__ <= 7
      +#    define TQ_FULL_TEMPLATE_INSTANTIATION
      +#  endif
      +/* GCC 2.95 knows "using" but does not support it correctly */
      +#  if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
      +#    define Q_NO_USING_KEYWORD
      +#  endif
      +/* GCC 3.1 and GCC 3.2 wrongly define _SB_CTYPE_MACROS on HP-UX */
      +#  if defined(Q_OS_HPUX) && __GNUC__ == 3 && __GNUC_MINOR__ >= 1
      +#    define Q_WRONG_SB_CTYPE_MACROS
      +#  endif
      +
      +/* ARM gcc pads structs to 32 bits, even when they contain a single
      +   char, or short.  We tell gcc to pack TQChars to 16 bits, to avoid
      +   TQString bloat. However, gcc 3.4 doesn't allow us to create references to
      +   members of a packed struct. (Pointers are OK, because then you
      +   supposedly know what you are doing.) */
      +#  if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)
      +#    define TQ_PACKED __attribute__ ((packed))
      +#    if __GNUC__ == 3 && __GNUC_MINOR__ >= 4
      +#      define Q_NO_PACKED_REFERENCE
      +#    endif
      +#  endif
      +#  if !defined(__EXCEPTIONS)
      +#    define Q_NO_EXCEPTIONS
      +#  endif
      +
      +/* IBM compiler versions are a bit messy. There are actually two products:
      +   the C product, and the C++ product. The C++ compiler is always packaged
      +   with the latest version of the C compiler. Version numbers do not always
      +   match. This little table (I'm not sure it's accurate) should be helpful:
      +
      +   C++ product                C product
      +
      +            C Set 3.1         C Compiler 3.0
      +                  ...         ...
      +   C++ Compiler 3.6.6         C Compiler 4.3
      +                  ...         ...
      +   Visual Age C++ 4.0         ...
      +                  ...         ...
      +   Visual Age C++ 5.0         C Compiler 5.0
      +                  ...         ...
      +   Visual Age C++ 6.0         C Compiler 6.0
      +
      +   Now:
      +   __xlC__    is the version of the C compiler in hexadecimal notation
      +              is only an approximation of the C++ compiler version
      +   __IBMCPP__ is the version of the C++ compiler in decimal notation
      +              but it is not defined on older compilers like C Set 3.1 */
      +#elif defined(__xlC__)
      +#  define Q_CC_XLC
      +#  define TQ_FULL_TEMPLATE_INSTANTIATION
      +#  if __xlC__ < 0x400
      +#    define Q_NO_BOOL_TYPE
      +#    define Q_NO_EXPLICIT_KEYWORD
      +#    define Q_NO_USING_KEYWORD
      +#    define TQ_TYPENAME
      +#    define TQ_INLINE_TEMPLATES inline
      +#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
      +#    define Q_CANNOT_DELETE_CONSTANT
      +#  endif
      +
      +/* Older versions of DEC C++ do not define __EDG__ or __EDG - observed
      +   on DEC C++ V5.5-004. New versions do define  __EDG__ - observed on
      +   Compaq C++ V6.3-002.
      +   This compiler is different enough from other EDG compilers to handle
      +   it separately anyway. */
      +#elif defined(__DECCXX) || defined(__DECC)
      +#  define Q_CC_DEC
      +/* Compaq C++ V6 compilers are EDG-based but I'm not sure about older
      +   DEC C++ V5 compilers. */
      +#  if defined(__EDG__)
      +#    define Q_CC_EDG
      +#  endif
      +/* Compaq have disabled EDG's _BOOL macro and use _BOOL_EXISTS instead
      +   - observed on Compaq C++ V6.3-002.
      +   In any case versions prior to Compaq C++ V6.0-005 do not have bool. */
      +#  if !defined(_BOOL_EXISTS)
      +#    define Q_NO_BOOL_TYPE
      +#  endif
      +/* Spurious (?) error messages observed on Compaq C++ V6.5-014. */
      +#  define Q_NO_USING_KEYWORD
      +/* Apply to all versions prior to Compaq C++ V6.0-000 - observed on
      +   DEC C++ V5.5-004. */
      +#  if __DECCXX_VER < 60060000
      +#    define TQ_TYPENAME
      +#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
      +#    define Q_CANNOT_DELETE_CONSTANT
      +#  endif
      +/* avoid undefined symbol problems with out-of-line template members */
      +#  define TQ_INLINE_TEMPLATES inline
      +
      +/* Compilers with EDG front end are similar. To detect them we test:
      +   __EDG documented by SGI, observed on MIPSpro 7.3.1.1 and KAI C++ 4.0b
      +   __EDG__ documented in EDG online docs, observed on Compaq C++ V6.3-002 */
      +#elif defined(__EDG) || defined(__EDG__)
      +#  define Q_CC_EDG
      +/* From the EDG documentation (does not seem to apply to Compaq C++):
      +   _BOOL
      +    	Defined in C++ mode when bool is a keyword. The name of this
      +	predefined macro is specified by a configuration flag. _BOOL
      +	is the default.
      +   __BOOL_DEFINED
      +   	Defined in Microsoft C++ mode when bool is a keyword. */
      +#  if !defined(_BOOL) && !defined(__BOOL_DEFINED)
      +#    define Q_NO_BOOL_TYPE
      +#  endif
      +
      +/* The Comeau compiler is based on EDG and does define __EDG__ */
      +#  if defined(__COMO__)
      +#    define Q_CC_COMEAU
      +#    define Q_C_CALLBACKS
      +
      +/* The `using' keyword was introduced to avoid KAI C++ warnings
      +   but it's now causing KAI C++ errors instead. The standard is
      +   unclear about the use of this keyword, and in practice every
      +   compiler is using its own set of rules. Forget it. */
      +#  elif defined(__KCC)
      +#    define Q_CC_KAI
      +#    if !defined(_EXCEPTIONS)
      +#      define Q_NO_EXCEPTIONS
      +#    endif
      +#    define Q_NO_USING_KEYWORD
      +
      +/* Using the `using' keyword avoids Intel C++ for Linux warnings */
      +#  elif defined(__INTEL_COMPILER)
      +#    define Q_CC_INTEL
      +#    if !defined(__EXCEPTIONS)
      +#      define Q_NO_EXCEPTIONS
      +#    endif
      +
      +/* The Portland Group compiler is based on EDG and does define __EDG__ */
      +#  elif defined(__PGI)
      +#    define Q_CC_PGI
      +#    if !defined(__EXCEPTIONS)
      +#      define Q_NO_EXCEPTIONS
      +#    endif
      +
      +/* Never tested! */
      +#  elif defined(__ghs)
      +#    define Q_CC_GHS
      +
      +/* The UnixWare 7 UDK compiler is based on EDG and does define __EDG__ */
      +#  elif defined(__USLC__) && defined(__SCO_VERSION__)
      +#    define Q_CC_USLC
      +/* The latest UDK 7.1.1b does not need this, but previous versions do */
      +#    if !defined(__SCO_VERSION__) || (__SCO_VERSION__ < 302200010)
      +#      define TQ_INLINE_TEMPLATES inline
      +#    endif
      +#    define Q_NO_USING_KEYWORD /* ### check "using" status */
      +
      +/* Never tested! */
      +#  elif defined(CENTERLINE_CLPP) || defined(OBJECTCENTER)
      +#    define Q_CC_OC
      +#    define Q_NO_USING_KEYWORD
      +
      +/* CDS++ defines __EDG__ although this is not documented in the Reliant
      +   documentation. It also follows conventions like _BOOL and this documented */
      +#  elif defined(sinix)
      +#    define Q_CC_CDS
      +#    define Q_NO_USING_KEYWORD
      +#    if defined(__cplusplus) && (__cplusplus < 2) /* Cfront C++ mode */
      +#      define Q_NO_EXCEPTIONS
      +#    endif
      +
      +/* The MIPSpro compiler in o32 mode is based on EDG but disables features
      +   such as template specialization nevertheless */
      +#  elif defined(__sgi)
      +#    define Q_CC_MIPS
      +#    if defined(_MIPS_SIM) && (_MIPS_SIM == _ABIO32) /* o32 ABI */
      +#      define TQ_TYPENAME
      +#      define Q_BROKEN_TEMPLATE_SPECIALIZATION
      +#      define Q_NO_EXPLICIT_KEYWORD
      +#      define TQ_INLINE_TEMPLATES inline
      +#    elif defined(_COMPILER_VERSION) && (_COMPILER_VERSION < 730) /* 7.2 */
      +#      define TQ_TYPENAME
      +#      define Q_BROKEN_TEMPLATE_SPECIALIZATION
      +#    endif
      +#    define Q_NO_USING_KEYWORD /* ### check "using" status */
      +#    if defined(_COMPILER_VERSION) && (_COMPILER_VERSION >= 740)
      +#      pragma set woff 3624,3625, 3649 /* turn off some harmless warnings */
      +#    endif
      +#  endif
      +
      +/* The older UnixWare 2.X compiler? */
      +#elif defined(__USLC__)
      +#  define Q_CC_USLC
      +#  define TQ_TYPENAME
      +#  define Q_NO_BOOL_TYPE
      +#  define Q_NO_EXPLICIT_KEYWORD
      +#  define Q_NO_USING_KEYWORD
      +#  define TQ_INLINE_TEMPLATES inline
      +
      +/* Never tested! */
      +#elif defined(__HIGHC__)
      +#  define Q_CC_HIGHC
      +
      +#elif defined(__SUNPRO_CC) || defined(__SUNPRO_C)
      +#  define Q_CC_SUN
      +/* 5.0 compiler or better
      +    'bool' is enabled by default but can be disabled using -features=nobool
      +    in which case _BOOL is not defined
      +        this is the default in 4.2 compatibility mode triggered by -compat=4 */
      +#  if __SUNPRO_CC >= 0x500
      +#    if !defined(_BOOL)
      +#      define Q_NO_BOOL_TYPE
      +#    endif
      +#    if defined(__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT <= 4)
      +#      define Q_NO_USING_KEYWORD
      +#    endif
      +#    define Q_C_CALLBACKS
      +/* 4.2 compiler or older */
      +#  else
      +#    define Q_NO_BOOL_TYPE
      +#    define Q_NO_EXPLICIT_KEYWORD
      +#    define Q_NO_USING_KEYWORD
      +#  endif
      +
      +/* CDS++ does not seem to define __EDG__ or __EDG according to Reliant
      +   documentation but nevertheless uses EDG conventions like _BOOL */
      +#elif defined(sinix)
      +#  define Q_CC_EDG
      +#  define Q_CC_CDS
      +#  if !defined(_BOOL)
      +#    define Q_NO_BOOL_TYPE
      +#  endif
      +#  define Q_BROKEN_TEMPLATE_SPECIALIZATION
      +
      +#elif defined(Q_OS_HPUX)
      +/* __HP_aCC was not defined in first aCC releases */
      +#  if defined(__HP_aCC) || __cplusplus >= 199707L
      +#    define Q_CC_HPACC
      +#  else
      +#    define Q_CC_HP
      +#    define Q_NO_BOOL_TYPE
      +#    define TQ_FULL_TEMPLATE_INSTANTIATION
      +#    define Q_BROKEN_TEMPLATE_SPECIALIZATION
      +#    define Q_NO_EXPLICIT_KEYWORD
      +#  endif
      +#  define Q_NO_USING_KEYWORD /* ### check "using" status */
      +
      +#else
      +#  error "TQt has not been tested with this compiler - talk to qt-bugs@trolltech.com"
      +#endif
      +
      +#ifndef TQ_PACKED
      +#  define TQ_PACKED
      +#endif
      +
      +
      +/*
      +   The window system, must be one of: (TQ_WS_x)
      +
      +     MACX	- Mac OS X
      +     MAC9	- Mac OS 9
      +     WIN32	- Windows
      +     X11	- X Window System
      +     PM		- unsupported
      +     WIN16	- unsupported
      +*/
      +
      +#if defined(Q_OS_MAC9)
      +#  define TQ_WS_MAC9
      +#elif defined(Q_OS_MSDOS)
      +#  define TQ_WS_WIN16
      +#  error "TQt requires Win32 and does not work with Windows 3.x"
      +#elif defined(_WIN32_X11_)
      +#  define TQ_WS_X11
      +#elif defined(Q_OS_WIN32)
      +#  define TQ_WS_WIN32
      +#  if defined(Q_OS_WIN64)
      +#    define TQ_WS_WIN64
      +#  endif
      +#elif defined(Q_OS_OS2)
      +#  define TQ_WS_PM
      +#  error "TQt does not work with OS/2 Presentation Manager or Workplace Shell"
      +#elif defined(Q_OS_UNIX)
      +#  if defined(Q_OS_MACX)
      +#    define TQ_WS_MACX
      +#  else
      +#    define TQ_WS_X11
      +#  endif
      +#endif
      +#if defined(Q_OS_MAC) && !defined(TQMAC_PASCAL)
      +#  define TQMAC_PASCAL
      +#endif
      +
      +#if defined(TQ_WS_WIN16) || defined(TQ_WS_WIN32)
      +#  define TQ_WS_WIN
      +#endif
      +
      +#if (defined(TQ_WS_MAC9) || defined(TQ_WS_MACX)) && !defined(TQ_WS_X11)
      +#  define TQ_WS_MAC
      +#endif
      +
      +
      +/*
      +   Some classes do not permit copies to be made of an object.
      +   These classes contains a private copy constructor and operator=
      +   to disable copying (the compiler gives an error message).
      +   Undefine TQ_DISABLE_COPY to turn off this checking.
      +*/
      +
      +#define TQ_DISABLE_COPY
      +
      +#if defined(__cplusplus)
      +
      +
      +//
      +// Useful type definitions for TQt
      +//
      +
      +#if defined(Q_NO_BOOL_TYPE)
      +#if defined(Q_CC_HP)
      +// bool is an unsupported reserved keyword in later versions
      +#define bool int
      +#else
      +typedef int bool;
      +#endif
      +#endif
      +
      +typedef unsigned char   uchar;
      +typedef unsigned short  ushort;
      +typedef unsigned	uint;
      +typedef unsigned long   ulong;
      +typedef char	       *pchar;
      +typedef uchar	       *puchar;
      +typedef const char     *pcchar;
      +
      +
      +//
      +// Constant bool values
      +//
      +
      +#ifndef TRUE
      +const bool FALSE = 0;
      +const bool TRUE = !0;
      +#endif
      +#if defined(__WATCOMC__)
      +#  if defined(Q_OS_QNX4)
      +const bool false = FALSE;
      +const bool true = TRUE;
      +#  endif
      +#endif
      +
      +//
      +// Proper for-scoping
      +// ### turn on in 4.0
      +
      +#if 0 && defined(Q_CC_MSVC) && !defined(Q_CC_MSVC_NET)
      +#  define for if(0){}else for
      +#endif
      +
      +//
      +// Use the "explicit" keyword on platforms that support it.
      +//
      +
      +#if !defined(Q_NO_EXPLICIT_KEYWORD)
      +#  define Q_EXPLICIT explicit
      +#else
      +#  define Q_EXPLICIT
      +#endif
      +
      +
      +//
      +// Utility macros and inline functions
      +//
      +
      +#define TQMAX(a, b)	((b) < (a) ? (a) : (b))
      +#define TQMIN(a, b)	((a) < (b) ? (a) : (b))
      +#define TQABS(a)	((a) >= 0  ? (a) : -(a))
      +
      +inline int tqRound( double d )
      +{
      +    return d >= 0.0 ? int(d + 0.5) : int( d - ((int)d-1) + 0.5 ) + ((int)d-1);
      +}
      +
      +
      +//
      +// Size-dependent types (architechture-dependent byte order)
      +//
      +
      +typedef signed char		TQ_INT8;		// 8 bit signed
      +typedef unsigned char		TQ_UINT8;	// 8 bit unsigned
      +typedef short			TQ_INT16;	// 16 bit signed
      +typedef unsigned short		TQ_UINT16;	// 16 bit unsigned
      +typedef int			TQ_INT32;	// 32 bit signed
      +typedef unsigned int		TQ_UINT32;	// 32 bit unsigned
      +#if defined(Q_OS_WIN64)
      +typedef __int64			TQ_LONG;		// word up to 64 bit signed
      +typedef unsigned __int64	TQ_ULONG;	// word up to 64 bit unsigned
      +#else
      +typedef long			TQ_LONG;		// word up to 64 bit signed
      +typedef unsigned long		TQ_ULONG;	// word up to 64 bit unsigned
      +#endif
      +#if defined(Q_OS_WIN) && !defined(Q_CC_GNU)
      +#  define TQ_INT64_C(c) 		c ## i64	// signed 64 bit constant
      +#  define TQ_UINT64_C(c)		c ## ui64	// unsigned 64 bit constant
      +typedef __int64			TQ_INT64;	// 64 bit signed
      +typedef unsigned __int64	TQ_UINT64;	// 64 bit unsigned
      +#else
      +#  define TQ_INT64_C(c) 		c ## LL		// signed 64 bit constant
      +#  define TQ_UINT64_C(c)		c ## ULL	// unsigned 64 bit constant
      +typedef long long		TQ_INT64;	// 64 bit signed
      +typedef unsigned long long	TQ_UINT64;	// 64 bit unsigned
      +#endif
      +typedef TQ_INT64			TQ_LLONG;	// signed long long
      +typedef TQ_UINT64		TQ_ULLONG;	// unsigned long long
      +
      +#if defined(Q_OS_MACX) && !defined(QT_LARGEFILE_SUPPORT)
      +#  define QT_LARGEFILE_SUPPORT 64
      +#endif
      +#if defined(QT_LARGEFILE_SUPPORT)
      +    typedef TQ_ULLONG TQtOffset;
      +#else
      +    typedef TQ_ULONG TQtOffset;
      +#endif
      +
      +
      +//
      +// Data stream functions is provided by many classes (defined in tqdatastream.h)
      +//
      +
      +class TQDataStream;
      +
      +
      +//
      +// Feature subsetting
      +//
      +// Note that disabling some features will produce a libtqt that is not
      +// compatible with other libtqt builds. Such modifications are only
      +// supported on TQt/Embedded where reducing the library size is important
      +// and where the application-suite is often a fixed set.
      +//
      +
      +#if !defined(QT_MOC)
      +#if defined(TQCONFIG_LOCAL)
      +#include "qconfig-local.h"
      +#elif defined(TQCONFIG_MINIMAL)
      +#include "qconfig-minimal.h"
      +#elif defined(TQCONFIG_SMALL)
      +#include "qconfig-small.h"
      +#elif defined(TQCONFIG_MEDIUM)
      +#include "qconfig-medium.h"
      +#elif defined(TQCONFIG_LARGE)
      +#include "qconfig-large.h"
      +#else // everything...
      +#include "ntqconfig.h"
      +#endif
      +#endif
      +
      +
      +#ifndef TQT_BUILD_KEY
      +#define TQT_BUILD_KEY "unspecified"
      +#endif
      +
      +// prune to local config
      +#include "ntqmodules.h"
      +#ifndef TQT_MODULE_DIALOGS
      +# define TQT_NO_DIALOG
      +#endif
      +#ifndef TQT_MODULE_WORKSPACE
      +# define TQT_NO_WORKSPACE
      +#endif
      +#ifndef TQT_MODULE_NETWORK
      +#define TQT_NO_NETWORK
      +#endif
      +#ifndef TQT_MODULE_CANVAS
      +# define TQT_NO_CANVAS
      +#endif
      +#ifndef TQT_MODULE_TABLE
      +#define TQT_NO_TABLE
      +#endif
      +#ifndef TQT_MODULE_XML
      +# define TQT_NO_XML
      +#endif
      +#ifndef TQT_MODULE_OPENGL
      +# define TQT_NO_OPENGL
      +#endif
      +#if !defined(TQT_MODULE_SQL)
      +# define TQT_NO_SQL
      +#endif
      +
      +#if defined(TQ_WS_MAC9)
      +//No need for menu merging
      +#  ifndef TQMAC_QMENUBAR_NO_MERGE
      +#    define TQMAC_QMENUBAR_NO_MERGE
      +#  endif
      +//Mac9 does not use quartz
      +#  ifndef TQMAC_NO_QUARTZ
      +#    define TQMAC_NO_QUARTZ
      +#  endif
      +#  ifndef TQMAC_QMENUBAR_NO_EVENT
      +#    define TQMAC_QMENUBAR_NO_EVENT
      +#  endif
      +#endif
      +#if defined(TQ_WS_MACX) //for no nobody uses quartz, just putting in first level hooks
      +#  ifndef TQMAC_NO_QUARTZ
      +#    define TQMAC_NO_QUARTZ
      +#  endif
      +#  ifndef TQMAC_QMENUBAR_NO_EVENT
      +#    define TQMAC_QMENUBAR_NO_EVENT
      +#  endif
      +#endif
      +
      +#ifndef QT_H
      +#include "ntqfeatures.h"
      +#endif /* QT_H */
      +
      +
      +//
      +// Create TQt DLL if QT_DLL is defined (Windows only)
      +// or QT_SHARED is defined (Kylix only)
      +//
      +
      +#if defined(Q_OS_WIN)
      +#  if defined(QT_NODLL)
      +#    undef QT_MAKEDLL
      +#    undef QT_DLL
      +#  elif defined(QT_MAKEDLL)	/* create a TQt DLL library */
      +#    if defined(QT_DLL)
      +#      undef QT_DLL
      +#    endif
      +#    define TQ_EXPORT  __declspec(dllexport)
      +#    define Q_TEMPLATEDLL
      +#    define Q_TEMPLATE_EXTERN
      +#    undef  TQ_DISABLE_COPY	/* avoid unresolved externals */
      +#  elif defined(QT_DLL)		/* use a TQt DLL library */
      +#    define TQ_EXPORT  __declspec(dllimport)
      +#    define Q_TEMPLATEDLL
      +#    ifndef Q_TEMPLATE_EXTERN
      +#      if defined(Q_CC_MSVC_NET)
      +#        define Q_TEMPLATE_EXTERN extern
      +#      else
      +#        define Q_TEMPLATE_EXTERN
      +#      endif
      +#    endif
      +#    undef  TQ_DISABLE_COPY	/* avoid unresolved externals */
      +#  endif
      +#elif defined(Q_OS_LINUX) && defined(Q_CC_BOR)
      +#  if defined(QT_SHARED)	/* create a TQt shared library */
      +#    define TQ_EXPORT  __declspec(dllexport)
      +#    define Q_TEMPLATEDLL
      +#    define Q_TEMPLATE_EXTERN
      +#    undef  TQ_DISABLE_COPY	/* avoid unresolved externals */
      +#  else
      +#    define Q_TEMPLATEDLL
      +#    define Q_TEMPLATE_EXTERN
      +#    undef  TQ_DISABLE_COPY 	/* avoid unresolved externals */
      +#  endif
      +#else
      +#  undef QT_MAKEDLL		/* ignore these for other platforms */
      +#  undef QT_DLL
      +#endif
      +
      +#ifndef TQ_EXPORT
      +#  define TQ_EXPORT
      +#endif
      +
      +
      +//
      +// Some platform specific stuff
      +//
      +
      +#if defined(TQ_WS_WIN)
      +extern TQ_EXPORT bool qt_winunicode;
      +#endif
      +
      +
      +//
      +// System information
      +//
      +
      +TQ_EXPORT const char *tqVersion();
      +TQ_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
      +TQ_EXPORT bool tqSharedBuild();
      +#if defined(Q_OS_MAC)
      +int qMacVersion();
      +#elif defined(TQ_WS_WIN)
      +TQ_EXPORT int qWinVersion();
      +#if defined(UNICODE)
      +#define QT_WA( uni, ansi ) if ( qt_winunicode ) { uni } else { ansi }
      +#define QT_WA_INLINE( uni, ansi ) ( qt_winunicode ? uni : ansi )
      +#else
      +#define QT_WA( uni, ansi ) ansi
      +#define QT_WA_INLINE( uni, ansi ) ansi
      +#endif
      +#endif
      +
      +#ifdef Q_OS_TEMP
      +#ifdef QT_WA
      +#undef QT_WA
      +#undef QT_WA_INLINE
      +#endif
      +#define QT_WA( uni, ansi ) uni
      +#define QT_WA_INLINE( uni, ansi ) ( uni )
      +#endif
      +
      +#ifndef TQ_INLINE_TEMPLATES
      +#  define TQ_INLINE_TEMPLATES
      +#endif
      +
      +#ifndef TQ_TYPENAME
      +#  define TQ_TYPENAME typename
      +#endif
      +
      +//
      +// Use to avoid "unused parameter" warnings
      +//
      +#define Q_UNUSED(x) (void)x;
      +
      +//
      +// Debugging and error handling
      +//
      +
      +#if !defined(TQT_NO_CHECK)
      +#  define QT_CHECK_STATE			// check state of objects etc.
      +#  define QT_CHECK_RANGE			// check range of indexes etc.
      +#  define QT_CHECK_NULL				// check null pointers
      +#  define QT_CHECK_MATH				// check math functions
      +#endif
      +
      +#if !defined(TQT_NO_DEBUG) && !defined(QT_DEBUG)
      +#  define QT_DEBUG				// display debug messages
      +#  if !defined(TQT_NO_COMPAT)			// compatibility with TQt 2
      +#    if !defined(NO_DEBUG) && !defined(DEBUG)
      +#      if !defined(Q_OS_MACX)			// clash with MacOS X headers
      +#        define DEBUG
      +#      endif
      +#    endif
      +#  endif
      +#endif
      +
      +
      +TQ_EXPORT void tqDebug( const char *, ... )	// print debug message
      +#if defined(Q_CC_GNU) && !defined(__INSURE__)
      +    __attribute__ ((format (printf, 1, 2)))
      +#endif
      +;
      +
      +TQ_EXPORT void tqWarning( const char *, ... )	// print warning message
      +#if defined(Q_CC_GNU) && !defined(__INSURE__)
      +    __attribute__ ((format (printf, 1, 2)))
      +#endif
      +;
      +
      +TQ_EXPORT void tqFatal( const char *, ... )	// print fatal message and exit
      +#if defined(Q_CC_GNU)
      +    __attribute__ ((format (printf, 1, 2)))
      +#endif
      +;
      +
      +TQ_EXPORT void tqSystemWarning( const char *, int code = -1 );
      +
      +
      +#if !defined(Q_ASSERT)
      +#  if defined(QT_CHECK_STATE)
      +#    if defined(QT_FATAL_ASSERT)
      +#      define Q_ASSERT(x)  ((x) ? (void)0 : tqFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
      +#    else
      +#      define Q_ASSERT(x)  ((x) ? (void)0 : tqWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__))
      +#    endif
      +#  else
      +#    define Q_ASSERT(x)
      +#  endif
      +#endif
      +
      +#if !defined(TQT_NO_COMPAT)			// compatibility with TQt 2
      +#  if !defined(ASSERT)
      +#    if !defined(Q_OS_TEMP)
      +#      define ASSERT(x) Q_ASSERT(x)
      +#    endif
      +#  endif
      +#endif // TQT_NO_COMPAT
      +
      +
      +TQ_EXPORT bool tqt_check_pointer( bool c, const char *, int );
      +
      +#if defined(QT_CHECK_NULL)
      +#  define TQ_CHECK_PTR(p) (tqt_check_pointer((p)==0,__FILE__,__LINE__))
      +#else
      +#  define TQ_CHECK_PTR(p)
      +#endif
      +
      +enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg };
      +
      +typedef void (*TQtMsgHandler)(TQtMsgType, const char *);
      +TQ_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler );
      +
      +#if !defined(TQT_NO_COMPAT)			// compatibility with TQt 2
      +typedef TQtMsgHandler msg_handler;
      +#endif // TQT_NO_COMPAT
      +
      +TQ_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE );
      +
      +TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc,
      +		   const char *newfunc );
      +TQ_EXPORT void tqObsolete( const char *obj, const char *oldfunc );
      +TQ_EXPORT void tqObsolete( const char *message );
      +
      +
      +//
      +// Install paths from configure
      +//
      +
      +TQ_EXPORT const char *tqInstallPath();
      +TQ_EXPORT const char *tqInstallPathDocs();
      +TQ_EXPORT const char *tqInstallPathHeaders();
      +TQ_EXPORT const char *tqInstallPathLibs();
      +TQ_EXPORT const char *tqInstallPathBins();
      +TQ_EXPORT const char *tqInstallPathPlugins();
      +TQ_EXPORT const char *tqInstallPathData();
      +TQ_EXPORT const char *tqInstallPathTranslations();
      +TQ_EXPORT const char *tqInstallPathSysconf();
      +
      +#endif /* __cplusplus */
      +
      +/*
      + compilers which follow outdated template instantiation rules
      + require a class to have a comparison operator to exist when
      + a TQValueList of this type is instantiated. It's not actually
      + used in the list, though. Hence the dummy implementation.
      + Just in case other code relies on it we better trigger a warning
      + mandating a real implementation.
      +*/
      +#ifdef TQ_FULL_TEMPLATE_INSTANTIATION
      +#  define TQ_DUMMY_COMPARISON_OPERATOR(C) \
      +    bool operator==( const C& ) const { \
      +        tqWarning( #C"::operator==( const "#C"& ) got called." ); \
      +        return FALSE; \
      +    }
      +#else
      +#  define TQ_DUMMY_COMPARISON_OPERATOR(C)
      +#endif
      +
      +#endif /* TQGLOBAL_H */
      +
      +/*
      + Avoid some particularly useless warnings from some stupid compilers.
      + To get ALL C++ compiler warnings, define QT_CC_WARNINGS or comment out
      + the line "#define TQT_NO_WARNINGS"
      +*/
      +
      +#if !defined(QT_CC_WARNINGS)
      +#  define TQT_NO_WARNINGS
      +#endif
      +#if defined(TQT_NO_WARNINGS)
      +#  if defined(Q_CC_MSVC)
      +#    pragma warning(disable: 4244) // 'conversion' conversion from 'type1' to 'type2', possible loss of data
      +#    pragma warning(disable: 4275) // non - DLL-interface classkey 'identifier' used as base for DLL-interface classkey 'identifier'
      +#    pragma warning(disable: 4514) // unreferenced inline/local function has been removed
      +#    pragma warning(disable: 4800) // 'type' : forcing value to bool 'true' or 'false' (performance warning)
      +#    pragma warning(disable: 4097) // typedef-name 'identifier1' used as synonym for class-name 'identifier2'
      +#    pragma warning(disable: 4706) // assignment within conditional expression
      +#    pragma warning(disable: 4786) // truncating debug info after 255 characters
      +#    pragma warning(disable: 4660) // template-class specialization 'identifier' is already instantiated
      +#    pragma warning(disable: 4355) // 'this' : used in base member initializer list
      +#    pragma warning(disable: 4231) // nonstandard extension used : 'extern' before template explicit instantiation
      +#    pragma warning(disable: 4710) // function not inlined
      +#  elif defined(Q_CC_BOR)
      +#    pragma option -w-inl
      +#    pragma option -w-aus
      +#    pragma warn -inl
      +#    pragma warn -pia
      +#    pragma warn -ccc
      +#    pragma warn -rch
      +#    pragma warn -sig
      +#  endif
      +#endif
      +
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqguardedptr-h.html b/doc/html/tqguardedptr-h.html new file mode 100644 index 000000000..0c6c50e9f --- /dev/null +++ b/doc/html/tqguardedptr-h.html @@ -0,0 +1,189 @@ + + + + + +tqguardedptr.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqguardedptr.h

      + +

      This is the verbatim text of the tqguardedptr.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqguardedptr.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQGuardedPtr class
      +**
      +** Created : 990929
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQGUARDEDPTR_H
      +#define TQGUARDEDPTR_H
      +
      +#ifndef QT_H
      +#include "tqobject.h"
      +#endif // QT_H
      +
      +// ### 4.0: rename to something without Private in it. Not really internal.
      +class TQ_EXPORT TQGuardedPtrPrivate : public TQObject, public TQShared
      +{
      +    TQ_OBJECT
      +public:
      +    TQGuardedPtrPrivate( TQObject* );
      +    ~TQGuardedPtrPrivate();
      +
      +    TQObject* object() const;
      +    void reconnect( TQObject* );
      +
      +private slots:
      +    void objectDestroyed();
      +
      +private:
      +    TQObject* obj;
      +#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
      +    TQGuardedPtrPrivate( const TQGuardedPtrPrivate & );
      +    TQGuardedPtrPrivate &operator=( const TQGuardedPtrPrivate & );
      +#endif
      +};
      +
      +template <class T>
      +class TQGuardedPtr
      +{
      +public:
      +    TQGuardedPtr() : priv( new TQGuardedPtrPrivate( 0 ) ) {}
      +
      +    TQGuardedPtr( T* o) {
      +	priv = new TQGuardedPtrPrivate( (TQObject*)o );
      +    }
      +
      +    TQGuardedPtr(const TQGuardedPtr<T> &p) {
      +	priv = p.priv;
      +	ref();
      +    }
      +
      +    ~TQGuardedPtr() { deref(); }
      +
      +    TQGuardedPtr<T> &operator=(const TQGuardedPtr<T> &p) {
      +	if ( priv != p.priv ) {
      +	    deref();
      +	    priv = p.priv;
      +	    ref();
      +	}
      +	return *this;
      +    }
      +
      +    TQGuardedPtr<T> &operator=(T* o) {
      +	if ( priv && priv->count == 1 ) {
      +	    priv->reconnect( (TQObject*)o );
      +	} else {
      +	    deref();
      +	    priv = new TQGuardedPtrPrivate( (TQObject*)o );
      +	}
      +	return *this;
      +    }
      +
      +    bool operator==( const TQGuardedPtr<T> &p ) const {
      +	return (T*)(*this) == (T*) p;
      +    }
      +
      +    bool operator!= ( const TQGuardedPtr<T>& p ) const {
      +	return !( *this == p );
      +    }
      +
      +    bool isNull() const { return !priv || !priv->object(); }
      +
      +    T* operator->() const { return (T*)(priv?priv->object():0); }
      +
      +    T& operator*() const { return *((T*)(priv?priv->object():0)); }
      +
      +    operator T*() const { return (T*)(priv?priv->object():0); }
      +
      +private:
      +
      +    void ref() { if (priv) priv->ref(); }
      +
      +    void deref() {
      +	if ( priv && priv->deref() )
      +	    delete priv;
      +    }
      +
      +    TQGuardedPtrPrivate* priv;
      +};
      +
      +
      +
      +
      +inline TQObject* TQGuardedPtrPrivate::object() const
      +{
      +    return obj;
      +}
      +
      +#define Q_DEFINED_QGUARDEDPTR
      +#include "ntqwinexport.h"
      +#endif
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqguardedptr-members.html b/doc/html/tqguardedptr-members.html new file mode 100644 index 000000000..78b80aed1 --- /dev/null +++ b/doc/html/tqguardedptr-members.html @@ -0,0 +1,55 @@ + + + + + +TQGuardedPtr Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQGuardedPtr

      + +

      This is the complete list of member functions for +TQGuardedPtr, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqguardedptr.html b/doc/html/tqguardedptr.html new file mode 100644 index 000000000..a8b550a70 --- /dev/null +++ b/doc/html/tqguardedptr.html @@ -0,0 +1,194 @@ + + + + + +TQGuardedPtr Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQGuardedPtr Class Reference

      + +

      The TQGuardedPtr class is a template class that provides guarded pointers to TQObjects. +More... +

      #include <tqguardedptr.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + +The TQGuardedPtr class is a template class that provides guarded pointers to TQObjects. +

      + +

      A guarded pointer, TQGuardedPtr<X>, behaves like a normal C++ +pointer X*, except that it is automatically set to 0 when +the referenced object is destroyed (unlike normal C++ pointers, +which become "dangling pointers" in such cases). X must be a +subclass of TQObject. +

      Guarded pointers are useful whenever you need to store a pointer +to a TQObject that is owned by someone else and therefore might be +destroyed while you still hold a reference to it. You can safely +test the pointer for validity. +

      Example: +

      +        TQGuardedPtr<TQLabel> label = new TQLabel( 0, "label" );
      +        label->setText( "I like guarded pointers" );
      +
      +        delete (TQLabel*) label; // simulate somebody destroying the label
      +
      +        if ( label)
      +            label->show();
      +        else
      +            tqDebug("The label has been destroyed");
      +    
      + +

      The program will output The label has been destroyed rather +than dereferencing an invalid address in label->show(). +

      The functions and operators available with a TQGuardedPtr are the +same as those available with a normal unguarded pointer, except +the pointer arithmetic operators (++, --, -, and +), which are +normally used only with arrays of objects. Use them like normal +pointers and you will not need to read this class documentation. +

      For creating guarded pointers, you can construct or assign to them +from an X* or from another guarded pointer of the same type. You +can compare them with each other using operator==() and +operator!=(), or test for 0 with isNull(). And you can dereference +them using either the *x or the x->member notation. +

      A guarded pointer will automatically cast to an X*, so you can +freely mix guarded and unguarded pointers. This means that if you +have a TQGuardedPtr, you can pass it to a function that +requires a TQWidget*. For this reason, it is of little value to +declare functions to take a TQGuardedPtr as a parameter; just use +normal pointers. Use a TQGuardedPtr when you are storing a pointer +over time. +

      Note again that class X must inherit TQObject, or a compilation +or link error will result. +

      See also Object Model. + +


      Member Function Documentation

      +

      TQGuardedPtr::TQGuardedPtr () +

      + +

      Constructs a 0 guarded pointer. +

      See also isNull(). + +

      TQGuardedPtr::TQGuardedPtr ( T * p ) +

      + +

      Constructs a guarded pointer that points to same object as p +points to. + +

      TQGuardedPtr::TQGuardedPtr ( const TQGuardedPtr<T> & p ) +

      + +

      Copy one guarded pointer from another. The constructed guarded +pointer points to the same object that p points to (which may +be 0). + +

      TQGuardedPtr::~TQGuardedPtr () +

      + +

      Destroys the guarded pointer. Just like a normal pointer, +destroying a guarded pointer does not destroy the object being +pointed to. + +

      bool TQGuardedPtr::isNull () const +

      + +

      Returns TRUE if the referenced object has been destroyed or if +there is no referenced object; otherwise returns FALSE. + +

      TQGuardedPtr::operator T * () const +

      + +

      Cast operator; implements pointer semantics. Because of this +function you can pass a TQGuardedPtr<X> to a function where an X* +is required. + +

      bool TQGuardedPtr::operator!= ( const TQGuardedPtr<T> & p ) const +

      + +

      Inequality operator; implements pointer semantics, the negation of +operator==(). Returns TRUE if p and this guarded pointer are +not pointing to the same object; otherwise returns FALSE. + +

      T & TQGuardedPtr::operator* () const +

      + +

      Dereference operator; implements pointer semantics. Just use this +operator as you would with a normal C++ pointer. + +

      T * TQGuardedPtr::operator-> () const +

      + +

      Overloaded arrow operator; implements pointer semantics. Just use +this operator as you would with a normal C++ pointer. + +

      TQGuardedPtr<T> & TQGuardedPtr::operator= ( const TQGuardedPtr<T> & p ) +

      + +

      Assignment operator. This guarded pointer then points to the same +object as p points to. + +

      TQGuardedPtr<T> & TQGuardedPtr::operator= ( T * p ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Assignment operator. This guarded pointer then points to the same +object as p points to. + +

      bool TQGuardedPtr::operator== ( const TQGuardedPtr<T> & p ) const +

      + +

      Equality operator; implements traditional pointer semantics. +Returns TRUE if both p and this guarded pointer are 0, or if +both p and this pointer point to the same object; otherwise +returns FALSE. +

      See also operator!=(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqimageformatplugin-h.html b/doc/html/tqimageformatplugin-h.html index ccebb345d..b9db99da2 100644 --- a/doc/html/tqimageformatplugin-h.html +++ b/doc/html/tqimageformatplugin-h.html @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; } #define TQIMAGEFORMATPLUGIN_H #ifndef QT_H -#include "ntqgplugin.h" +#include "tqgplugin.h" #include "tqstringlist.h" #endif // QT_H diff --git a/doc/html/tqintcache-h.html b/doc/html/tqintcache-h.html index 655f6803c..d3d4f8b34 100644 --- a/doc/html/tqintcache-h.html +++ b/doc/html/tqintcache-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQINTCACHE_H #ifndef QT_H -#include "ntqgcache.h" +#include "tqgcache.h" #endif // QT_H diff --git a/doc/html/tqintdict-h.html b/doc/html/tqintdict-h.html index d6160d829..7b924fd57 100644 --- a/doc/html/tqintdict-h.html +++ b/doc/html/tqintdict-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQINTDICT_H #ifndef QT_H -#include "ntqgdict.h" +#include "tqgdict.h" #endif // QT_H template<class type> diff --git a/doc/html/tqiodevice-h.html b/doc/html/tqiodevice-h.html index 21f46dc22..a5a242b6f 100644 --- a/doc/html/tqiodevice-h.html +++ b/doc/html/tqiodevice-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQIODEVICE_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #include "tqcstring.h" #endif // QT_H diff --git a/doc/html/tqmap-h.html b/doc/html/tqmap-h.html index 6f64a738a..2ba8f2826 100644 --- a/doc/html/tqmap-h.html +++ b/doc/html/tqmap-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQMAP_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #include "ntqshared.h" #include "tqdatastream.h" #include "tqpair.h" diff --git a/doc/html/tqmemarray-h.html b/doc/html/tqmemarray-h.html index 733464292..6fd05b064 100644 --- a/doc/html/tqmemarray-h.html +++ b/doc/html/tqmemarray-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQMEMARRAY_H #ifndef QT_H -#include "ntqgarray.h" +#include "tqgarray.h" #endif // QT_H diff --git a/doc/html/tqmenudata-h.html b/doc/html/tqmenudata-h.html index 9303c9b95..b7a6c277a 100644 --- a/doc/html/tqmenudata-h.html +++ b/doc/html/tqmenudata-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQMENUDATA_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #include "tqiconset.h" // conversion TQPixmap->TQIconset #include "ntqkeysequence.h" #include "tqstring.h" diff --git a/doc/html/tqmutex-h.html b/doc/html/tqmutex-h.html index 1dfe1578f..cdb6e2881 100644 --- a/doc/html/tqmutex-h.html +++ b/doc/html/tqmutex-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQMUTEX_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H #if defined(TQT_THREAD_SUPPORT) diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index 78b60839d..d381ffc36 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -140,7 +140,7 @@ and whether it inherits() another class in the TQObject hierarchy.

      When an object is deleted, it emits a destroyed() signal. You can catch this signal to avoid dangling references to TQObjects. The -TQGuardedPtr class provides an elegant way to use this feature. +TQGuardedPtr class provides an elegant way to use this feature.

      TQObjects can receive events through event() and filter the events of other objects. See installEventFilter() and eventFilter() for details. A convenience handler, childEvent(), can be reimplemented diff --git a/doc/html/tqpair-h.html b/doc/html/tqpair-h.html index 628866267..41631cf32 100644 --- a/doc/html/tqpair-h.html +++ b/doc/html/tqpair-h.html @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; } #define TQPAIR_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #include "tqdatastream.h" #endif // QT_H diff --git a/doc/html/tqptrcollection-h.html b/doc/html/tqptrcollection-h.html index 6ccde3862..092074ea3 100644 --- a/doc/html/tqptrcollection-h.html +++ b/doc/html/tqptrcollection-h.html @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; } #define TQPTRCOLLECTION_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H diff --git a/doc/html/tqptrdict-h.html b/doc/html/tqptrdict-h.html index 546458afa..7d1b7468e 100644 --- a/doc/html/tqptrdict-h.html +++ b/doc/html/tqptrdict-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQPTRDICT_H #ifndef QT_H -#include "ntqgdict.h" +#include "tqgdict.h" #endif // QT_H template<class type> diff --git a/doc/html/tqptrlist-h.html b/doc/html/tqptrlist-h.html index aa5e489bd..4a61f288f 100644 --- a/doc/html/tqptrlist-h.html +++ b/doc/html/tqptrlist-h.html @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; } #define TQPTRLIST_H #ifndef QT_H -#include "ntqglist.h" +#include "tqglist.h" #endif // QT_H template<class type> diff --git a/doc/html/tqptrqueue-h.html b/doc/html/tqptrqueue-h.html index 8bc2e1302..5edc732be 100644 --- a/doc/html/tqptrqueue-h.html +++ b/doc/html/tqptrqueue-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQPTRQUEUE_H #ifndef QT_H -#include "ntqglist.h" +#include "tqglist.h" #endif // QT_H template<class type> diff --git a/doc/html/tqptrstack-h.html b/doc/html/tqptrstack-h.html index 19f0029c9..a305d66ab 100644 --- a/doc/html/tqptrstack-h.html +++ b/doc/html/tqptrstack-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQPTRSTACK_H #ifndef QT_H -#include "ntqglist.h" +#include "tqglist.h" #endif // QT_H template<class type> diff --git a/doc/html/tqptrvector-h.html b/doc/html/tqptrvector-h.html index ceeaf48ff..e6762edcf 100644 --- a/doc/html/tqptrvector-h.html +++ b/doc/html/tqptrvector-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQPTRVECTOR_H #ifndef QT_H -#include "ntqgvector.h" +#include "tqgvector.h" #endif // QT_H template<class type> diff --git a/doc/html/tqsemaphore-h.html b/doc/html/tqsemaphore-h.html index 85e153ba8..e49f94167 100644 --- a/doc/html/tqsemaphore-h.html +++ b/doc/html/tqsemaphore-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQSEMAPHORE_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H #if defined(TQT_THREAD_SUPPORT) diff --git a/doc/html/tqsgistyle-h.html b/doc/html/tqsgistyle-h.html index a5e1dc9fc..85999810c 100644 --- a/doc/html/tqsgistyle-h.html +++ b/doc/html/tqsgistyle-h.html @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqmotifstyle.h" -#include "ntqguardedptr.h" +#include "tqguardedptr.h" #include "tqwidget.h" #endif // QT_H diff --git a/doc/html/tqsizepolicy-h.html b/doc/html/tqsizepolicy-h.html index 6bcd7240e..63afd3fdc 100644 --- a/doc/html/tqsizepolicy-h.html +++ b/doc/html/tqsizepolicy-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQSIZEPOLICY_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H // Documentation is in qabstractlayout.cpp. diff --git a/doc/html/tqsql-h.html b/doc/html/tqsql-h.html index 6588f2d0e..24bdd60ba 100644 --- a/doc/html/tqsql-h.html +++ b/doc/html/tqsql-h.html @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; } #define TQSQL_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H #if !defined( TQT_MODULE_SQL ) || defined( QT_LICENSE_PROFESSIONAL ) diff --git a/doc/html/tqsqldriverplugin-h.html b/doc/html/tqsqldriverplugin-h.html index 940172db3..ee16ef7b0 100644 --- a/doc/html/tqsqldriverplugin-h.html +++ b/doc/html/tqsqldriverplugin-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQSQLDRIVERPLUGIN_H #ifndef QT_H -#include "ntqgplugin.h" +#include "tqgplugin.h" #include "tqstringlist.h" #endif // QT_H diff --git a/doc/html/tqstyleplugin-h.html b/doc/html/tqstyleplugin-h.html index 2dcd19c82..76fcf48dc 100644 --- a/doc/html/tqstyleplugin-h.html +++ b/doc/html/tqstyleplugin-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQSTYLEPLUGIN_H #ifndef QT_H -#include "ntqgplugin.h" +#include "tqgplugin.h" #include "tqstringlist.h" #endif // QT_H diff --git a/doc/html/tqtable-h.html b/doc/html/tqtable-h.html index 6ee54ade4..2ea3f1e8b 100644 --- a/doc/html/tqtable-h.html +++ b/doc/html/tqtable-h.html @@ -83,7 +83,7 @@ body { background: #ffffff; color: black; } #include "tqheader.h" #include "tqmemarray.h" #include "tqptrlist.h" -#include "ntqguardedptr.h" +#include "tqguardedptr.h" #include "ntqshared.h" #include "tqintdict.h" #include "tqstringlist.h" diff --git a/doc/html/tqtextcodecplugin-h.html b/doc/html/tqtextcodecplugin-h.html index 1e717620b..6acb54ddd 100644 --- a/doc/html/tqtextcodecplugin-h.html +++ b/doc/html/tqtextcodecplugin-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQTEXTCODECPLUGIN_H #ifndef QT_H -#include "ntqgplugin.h" +#include "tqgplugin.h" #include "tqstringlist.h" #endif // QT_H diff --git a/doc/html/tqthreadstorage-h.html b/doc/html/tqthreadstorage-h.html index 748578a84..6a15c11f3 100644 --- a/doc/html/tqthreadstorage-h.html +++ b/doc/html/tqthreadstorage-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #ifdef TQT_THREAD_SUPPORT #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H class TQ_EXPORT TQThreadStorageData diff --git a/doc/html/tqwaitcondition-h.html b/doc/html/tqwaitcondition-h.html index 0cc7d9cfb..69993f79a 100644 --- a/doc/html/tqwaitcondition-h.html +++ b/doc/html/tqwaitcondition-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQWAITCONDITION_H #ifndef QT_H -#include "ntqglobal.h" +#include "tqglobal.h" #endif // QT_H #if defined(TQT_THREAD_SUPPORT) diff --git a/doc/html/tqwidgetplugin-h.html b/doc/html/tqwidgetplugin-h.html index adf01a3b3..495c4092c 100644 --- a/doc/html/tqwidgetplugin-h.html +++ b/doc/html/tqwidgetplugin-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQWIDGETPLUGIN_H #ifndef QT_H -#include "ntqgplugin.h" +#include "tqgplugin.h" #include "tqstringlist.h" #include "tqiconset.h" #endif // QT_H diff --git a/doc/html/tutorial1-11.html b/doc/html/tutorial1-11.html index 678762118..f353dd3b1 100644 --- a/doc/html/tutorial1-11.html +++ b/doc/html/tutorial1-11.html @@ -201,7 +201,7 @@ point, we construct a TQRect with size 6x6 and move it the point calculated above. In the same operation we convert the point into the widget's coordinate system (see The Coordinate System). -

      The tqRound() function is an inline function defined in ntqglobal.h (included +

      The tqRound() function is an inline function defined in tqglobal.h (included by all other TQt header files). tqRound() rounds a double to the closest integer.

      t11/main.cpp diff --git a/doc/html/whatsthis b/doc/html/whatsthis index f4ab3aa47..2c23a9b79 100644 --- a/doc/html/whatsthis +++ b/doc/html/whatsthis @@ -330,7 +330,7 @@ Template class that provides a list. | TQPtrList Template class that provides a queue. | TQPtrQueue Template class that provides a stack. | TQPtrStack Template class that provides arrays of simple types. | TQMemArray -Template class that provides guarded pointers to TQObjects. | QGuardedPtr +Template class that provides guarded pointers to TQObjects. | TQGuardedPtr Template class which ensures that implicitly shared and explicitly shared classes reference unique data. | TQDeepCopy Template collection class that provides a vector (array). | TQPtrVector Text object on a TQCanvas. | TQCanvasText -- cgit v1.2.1