diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-02 21:37:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-06 11:24:55 +0900 |
commit | 7552c6d73043b1040139033f6864db48ae5446cf (patch) | |
tree | f90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/html/customlayout-example.html | |
parent | c113da2069b66130f67a0f27c699e1cec83588a5 (diff) | |
download | tqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip |
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/customlayout-example.html')
-rw-r--r-- | doc/html/customlayout-example.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/customlayout-example.html b/doc/html/customlayout-example.html index 6fa6ec4cb..8427c6586 100644 --- a/doc/html/customlayout-example.html +++ b/doc/html/customlayout-example.html @@ -77,8 +77,8 @@ public: void addItem( <a href="qlayoutitem.html">TQLayoutItem</a> *item); bool hasHeightForWidth() const; int heightForWidth( int ) const; - <a href="ntqsize.html">TQSize</a> sizeHint() const; - <a href="ntqsize.html">TQSize</a> minimumSize() const; + <a href="tqsize.html">TQSize</a> sizeHint() const; + <a href="tqsize.html">TQSize</a> minimumSize() const; <a href="qlayoutiterator.html">TQLayoutIterator</a> iterator(); TQSizePolicy::ExpandData expanding() const; @@ -223,12 +223,12 @@ int <a name="f451"></a>SimpleFlow::doLayout( const <a href="ntqrect.html">TQRect <a name="x1470"></a>TQSize SimpleFlow::<a href="ntqlayout.html#minimumSize">minimumSize</a>() const { - <a href="ntqsize.html">TQSize</a> s(0,0); + <a href="tqsize.html">TQSize</a> s(0,0); <a href="tqptrlistiterator.html">TQPtrListIterator</a><TQLayoutItem> it(list); <a href="qlayoutitem.html">TQLayoutItem</a> *o; while ( (o=it.<a href="tqptrlistiterator.html#current">current</a>()) != 0 ) { ++it; -<a name="x1485"></a><a name="x1474"></a> s = s.<a href="ntqsize.html#expandedTo">expandedTo</a>( o-><a href="qlayoutitem.html#minimumSize">minimumSize</a>() ); +<a name="x1485"></a><a name="x1474"></a> s = s.<a href="tqsize.html#expandedTo">expandedTo</a>( o-><a href="qlayoutitem.html#minimumSize">minimumSize</a>() ); } return s; } @@ -320,8 +320,8 @@ public: bool hasHeightForWidth() const; - <a href="ntqsize.html">TQSize</a> sizeHint() const; - <a href="ntqsize.html">TQSize</a> minimumSize() const; + <a href="tqsize.html">TQSize</a> sizeHint() const; + <a href="tqsize.html">TQSize</a> minimumSize() const; <a href="qlayoutiterator.html">TQLayoutIterator</a> iterator(); @@ -335,7 +335,7 @@ private: void calcSize( SizeType st ); <a href="tqptrlist.html">TQPtrList</a><BorderLayoutStruct> list; - <a href="ntqsize.html">TQSize</a> cached, mcached; + <a href="tqsize.html">TQSize</a> cached, mcached; bool sizeDirty, msizeDirty; }; @@ -608,8 +608,8 @@ public: ~CardLayout(); void addItem( <a href="qlayoutitem.html">TQLayoutItem</a> *item ); - <a href="ntqsize.html">TQSize</a> sizeHint() const; - <a href="ntqsize.html">TQSize</a> minimumSize() const; + <a href="tqsize.html">TQSize</a> sizeHint() const; + <a href="tqsize.html">TQSize</a> minimumSize() const; <a href="qlayoutiterator.html">TQLayoutIterator</a> iterator(); void setGeometry( const <a href="ntqrect.html">TQRect</a> &rect ); @@ -710,7 +710,7 @@ CardLayout::~CardLayout() <a name="x1517"></a>TQSize CardLayout::<a href="qlayoutitem.html#sizeHint">sizeHint</a>() const { - <a href="ntqsize.html">TQSize</a> s(0,0); + <a href="tqsize.html">TQSize</a> s(0,0); int n = list.<a href="tqptrlist.html#count">count</a>(); if ( n > 0 ) s = TQSize(100,70); //start with a nice default size @@ -718,20 +718,20 @@ CardLayout::~CardLayout() <a href="qlayoutitem.html">TQLayoutItem</a> *o; while ( (o=it.<a href="tqptrlistiterator.html#current">current</a>()) != 0 ) { ++it; -<a name="x1528"></a><a name="x1515"></a> s = s.<a href="ntqsize.html#expandedTo">expandedTo</a>( o-><a href="qlayoutitem.html#minimumSize">minimumSize</a>() ); +<a name="x1528"></a><a name="x1515"></a> s = s.<a href="tqsize.html#expandedTo">expandedTo</a>( o-><a href="qlayoutitem.html#minimumSize">minimumSize</a>() ); } return s + n*TQSize(<a href="ntqlayout.html#spacing">spacing</a>(),spacing()); } <a name="x1513"></a>TQSize CardLayout::<a href="ntqlayout.html#minimumSize">minimumSize</a>() const { - <a href="ntqsize.html">TQSize</a> s(0,0); + <a href="tqsize.html">TQSize</a> s(0,0); int n = list.<a href="tqptrlist.html#count">count</a>(); <a href="tqptrlistiterator.html">TQPtrListIterator</a><TQLayoutItem> it(list); <a href="qlayoutitem.html">TQLayoutItem</a> *o; while ( (o=it.<a href="tqptrlistiterator.html#current">current</a>()) != 0 ) { ++it; - s = s.<a href="ntqsize.html#expandedTo">expandedTo</a>( o-><a href="qlayoutitem.html#minimumSize">minimumSize</a>() ); + s = s.<a href="tqsize.html#expandedTo">expandedTo</a>( o-><a href="qlayoutitem.html#minimumSize">minimumSize</a>() ); } return s + n*TQSize(<a href="ntqlayout.html#spacing">spacing</a>(),spacing()); } |