diff options
Diffstat (limited to 'doc/html/table-small-table-demo-main-cpp.html')
-rw-r--r-- | doc/html/table-small-table-demo-main-cpp.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/table-small-table-demo-main-cpp.html b/doc/html/table-small-table-demo-main-cpp.html index 7d224c51f..ef7d0cf1f 100644 --- a/doc/html/table-small-table-demo-main-cpp.html +++ b/doc/html/table-small-table-demo-main-cpp.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/table/qtable.cpp:1655 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/table/tqtable.cpp:1655 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -43,7 +43,7 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qtable-h.html">ntqtable.h</a>> +#include <<a href="tqtable-h.html">tqtable.h</a>> #include <<a href="tqimage-h.html">tqimage.h</a>> #include <<a href="tqpixmap-h.html">tqpixmap.h</a>> #include <<a href="tqstringlist-h.html">tqstringlist.h</a>> @@ -62,18 +62,18 @@ int main( int argc, char **argv ) { <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); - <a href="ntqtable.html">TQTable</a> table( numRows, numCols ); + <a href="tqtable.html">TQTable</a> table( numRows, numCols ); -<a name="x2800"></a> <a href="ntqheader.html">TQHeader</a> *header = table.<a href="ntqtable.html#horizontalHeader">horizontalHeader</a>(); -<a name="x2798"></a> header-><a href="ntqheader.html#setLabel">setLabel</a>( 0, TQObject::tr( "Tiny" ), 40 ); - header-><a href="ntqheader.html#setLabel">setLabel</a>( 1, TQObject::tr( "Checkboxes" ) ); - header-><a href="ntqheader.html#setLabel">setLabel</a>( 5, TQObject::tr( "Combos" ) ); -<a name="x2802"></a> table.<a href="ntqtable.html#setColumnMovingEnabled">setColumnMovingEnabled</a>(TRUE); +<a name="x2800"></a> <a href="tqheader.html">TQHeader</a> *header = table.<a href="tqtable.html#horizontalHeader">horizontalHeader</a>(); +<a name="x2798"></a> header-><a href="tqheader.html#setLabel">setLabel</a>( 0, TQObject::tr( "Tiny" ), 40 ); + header-><a href="tqheader.html#setLabel">setLabel</a>( 1, TQObject::tr( "Checkboxes" ) ); + header-><a href="tqheader.html#setLabel">setLabel</a>( 5, TQObject::tr( "Combos" ) ); +<a name="x2802"></a> table.<a href="tqtable.html#setColumnMovingEnabled">setColumnMovingEnabled</a>(TRUE); <a href="tqimage.html">TQImage</a> img( qtlogo_xpm ); -<a name="x2801"></a><a name="x2799"></a> <a href="tqpixmap.html">TQPixmap</a> pix = img.<a href="tqimage.html#scaleHeight">scaleHeight</a>( table.<a href="ntqtable.html#rowHeight">rowHeight</a>(3) ); -<a name="x2804"></a> table.<a href="ntqtable.html#setPixmap">setPixmap</a>( 3, 2, pix ); -<a name="x2805"></a> table.<a href="ntqtable.html#setText">setText</a>( 3, 2, "A Pixmap" ); +<a name="x2801"></a><a name="x2799"></a> <a href="tqpixmap.html">TQPixmap</a> pix = img.<a href="tqimage.html#scaleHeight">scaleHeight</a>( table.<a href="tqtable.html#rowHeight">rowHeight</a>(3) ); +<a name="x2804"></a> table.<a href="tqtable.html#setPixmap">setPixmap</a>( 3, 2, pix ); +<a name="x2805"></a> table.<a href="tqtable.html#setText">setText</a>( 3, 2, "A Pixmap" ); <a href="tqstringlist.html">TQStringList</a> comboEntries; comboEntries << "one" << "two" << "three" << "four"; @@ -81,10 +81,10 @@ int main( int argc, char **argv ) for ( int i = 0; i < numRows; ++i ){ <a href="tqcombotableitem.html">TQComboTableItem</a> * item = new <a href="tqcombotableitem.html">TQComboTableItem</a>( &table, comboEntries, FALSE ); <a name="x2797"></a> item-><a href="tqcombotableitem.html#setCurrentItem">setCurrentItem</a>( i % 4 ); -<a name="x2803"></a> table.<a href="ntqtable.html#setItem">setItem</a>( i, 5, item ); +<a name="x2803"></a> table.<a href="tqtable.html#setItem">setItem</a>( i, 5, item ); } for ( int j = 0; j < numRows; ++j ) - table.<a href="ntqtable.html#setItem">setItem</a>( j, 1, new <a href="tqchecktableitem.html">TQCheckTableItem</a>( &table, "Check me" ) ); + table.<a href="tqtable.html#setItem">setItem</a>( j, 1, new <a href="tqchecktableitem.html">TQCheckTableItem</a>( &table, "Check me" ) ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &table ); table.<a href="tqwidget.html#show">show</a>(); |