From 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 20 Jul 2024 20:15:52 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 2) Signed-off-by: Michele Calgaro --- doc/man/man3/tqtable.3qt | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'doc/man/man3/tqtable.3qt') diff --git a/doc/man/man3/tqtable.3qt b/doc/man/man3/tqtable.3qt index ef46969a3..42d62234a 100644 --- a/doc/man/man3/tqtable.3qt +++ b/doc/man/man3/tqtable.3qt @@ -48,7 +48,7 @@ Inherited by TQDataTable. .BI "virtual void \fBsetText\fR ( int row, int col, const TQString & text )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( int row, int col, const QPixmap & pix )" +.BI "virtual void \fBsetPixmap\fR ( int row, int col, const TQPixmap & pix )" .br .ti -1c .BI "virtual QTableItem * \fBitem\fR ( int row, int col ) const" @@ -57,13 +57,13 @@ Inherited by TQDataTable. .BI "virtual TQString \fBtext\fR ( int row, int col ) const" .br .ti -1c -.BI "virtual QPixmap \fBpixmap\fR ( int row, int col ) const" +.BI "virtual TQPixmap \fBpixmap\fR ( int row, int col ) const" .br .ti -1c .BI "virtual void \fBclearCell\fR ( int row, int col )" .br .ti -1c -.BI "virtual QRect \fBcellGeometry\fR ( int row, int col ) const" +.BI "virtual TQRect \fBcellGeometry\fR ( int row, int col ) const" .br .ti -1c .BI "virtual int \fBcolumnWidth\fR ( int col ) const" @@ -165,16 +165,16 @@ Inherited by TQDataTable. .BI "virtual void \fBclearCellWidget\fR ( int row, int col )" .br .ti -1c -.BI "virtual QRect \fBcellRect\fR ( int row, int col ) const" +.BI "virtual TQRect \fBcellRect\fR ( int row, int col ) const" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const TQRect & cr, bool selected )" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected, const TQColorGroup & cg )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const TQRect & cr, bool selected, const TQColorGroup & cg )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const QRect & cr )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQRect & cr )" .br .ti -1c .BI "bool \fBisReadOnly\fR () const" @@ -333,13 +333,13 @@ Inherited by TQDataTable. .BI "void \fBcurrentChanged\fR ( int row, int col )" .br .ti -1c -.BI "void \fBclicked\fR ( int row, int col, int button, const QPoint & mousePos )" +.BI "void \fBclicked\fR ( int row, int col, int button, const TQPoint & mousePos )" .br .ti -1c -.BI "void \fBdoubleClicked\fR ( int row, int col, int button, const QPoint & mousePos )" +.BI "void \fBdoubleClicked\fR ( int row, int col, int button, const TQPoint & mousePos )" .br .ti -1c -.BI "void \fBpressed\fR ( int row, int col, int button, const QPoint & mousePos )" +.BI "void \fBpressed\fR ( int row, int col, int button, const TQPoint & mousePos )" .br .ti -1c .BI "void \fBselectionChanged\fR ()" @@ -348,7 +348,7 @@ Inherited by TQDataTable. .BI "void \fBvalueChanged\fR ( int row, int col )" .br .ti -1c -.BI "void \fBcontextMenuRequested\fR ( int row, int col, const QPoint & pos )" +.BI "void \fBcontextMenuRequested\fR ( int row, int col, const TQPoint & pos )" .br .ti -1c .BI "void \fBdropped\fR ( TQDropEvent * e )" @@ -631,10 +631,10 @@ See also adjustColumn(). This function is called to start in-place editing of the cell at \fIrow\fR, \fIcol\fR. Editing is achieved by creating an editor (createEditor() is called) and setting the cell's editor with setCellWidget() to the newly created editor. (After editing is complete endEdit() will be called to replace the cell's content with the editor's content.) If \fIreplace\fR is TRUE the editor will start empty; otherwise it will be initialized with the cell's content (if any), i.e. the user will be modifying the original cell content. .PP See also endEdit(). -.SH "QRect QTable::cellGeometry ( int row, int col ) const\fC [virtual]\fR" +.SH "TQRect QTable::cellGeometry ( int row, int col ) const\fC [virtual]\fR" Returns the bounding rectangle of the cell at \fIrow\fR, \fIcol\fR in content coordinates. -.SH "QRect QTable::cellRect ( int row, int col ) const\fC [virtual]\fR" -Returns the geometry of cell \fIrow\fR, \fIcol\fR in the cell's coordinate system. This is a convenience function useful in paintCell(). It is equivalent to QRect( QPoint(0,0), cellGeometry( row, col).size() ); +.SH "TQRect QTable::cellRect ( int row, int col ) const\fC [virtual]\fR" +Returns the geometry of cell \fIrow\fR, \fIcol\fR in the cell's coordinate system. This is a convenience function useful in paintCell(). It is equivalent to TQRect( TQPoint(0,0), cellGeometry( row, col).size() ); .PP See also cellGeometry(). .PP @@ -663,7 +663,7 @@ See also cellWidget() and setCellWidget(). Clears all selections and repaints the appropriate regions if \fIrepaint\fR is TRUE. .PP See also removeSelection(). -.SH "void QTable::clicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR" +.SH "void QTable::clicked ( int row, int col, int button, const TQPoint & mousePos )\fC [signal]\fR" This signal is emitted when mouse button \fIbutton\fR is clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR. .PP See also TQt::ButtonState. @@ -713,7 +713,7 @@ Reimplemented from QScrollView. This event handler is called when the user ends a drag and drop by dropping something onto \fIthis\fR QTable and thus triggers the drop event, \fIe\fR. .PP Reimplemented from QScrollView. -.SH "void QTable::contextMenuRequested ( int row, int col, const QPoint & pos )\fC [signal]\fR" +.SH "void QTable::contextMenuRequested ( int row, int col, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user invokes a context menu with the right mouse button (or with a system-specific keypress). The cell where the event took place is at \fIrow\fR, \fIcol\fR. \fIpos\fR is the position where the context menu will appear in the global coordinate system. This signal is always emitted, even if the contents of the cell are disabled. .SH "TQWidget * QTable::createEditor ( int row, int col, bool initFromCell ) const\fC [virtual protected]\fR" This function returns the widget which should be used as an editor for the contents of the cell at \fIrow\fR, \fIcol\fR. @@ -770,7 +770,7 @@ Example: chart/setdataform.cpp. Returns the number of the current selection or -1 if there is no current selection. .PP See also numSelections. -.SH "void QTable::doubleClicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR" +.SH "void QTable::doubleClicked ( int row, int col, int button, const TQPoint & mousePos )\fC [signal]\fR" This signal is emitted when mouse button \fIbutton\fR is double-clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR. .PP See also TQt::ButtonState. @@ -930,7 +930,7 @@ Returns the number of rows in the table. See the "numRows" property for details. Reimplemented in TQDataTable. .SH "int QTable::numSelections () const" Returns the number of selections. See the "numSelections" property for details. -.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & cr, bool selected, const TQColorGroup & cg )\fC [virtual]\fR" +.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected, const TQColorGroup & cg )\fC [virtual]\fR" Paints the cell at \fIrow\fR, \fIcol\fR on the painter \fIp\fR. The painter has already been translated to the cell's origin. \fIcr\fR describes the cell coordinates in the content coordinate system. .PP If \fIselected\fR is TRUE the cell is highlighted. @@ -952,7 +952,7 @@ Note that the painter is not clipped by default in order to get maximum efficien p->setClipping( FALSE ); .br .fi -.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & cr, bool selected )\fC [virtual]\fR" +.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Use the other paintCell() function. This function is only included for backwards compatibilty. @@ -960,17 +960,17 @@ Use the other paintCell() function. This function is only included for backwards This function fills the \fIcw\fR pixels wide and \fIch\fR pixels high rectangle starting at position \fIcx\fR, \fIcy\fR with the background color using the painter \fIp\fR. .PP paintEmptyArea() is invoked by drawContents() to erase or fill unused areas. -.SH "void QTable::paintFocus ( TQPainter * p, const QRect & cr )\fC [virtual]\fR" +.SH "void QTable::paintFocus ( TQPainter * p, const TQRect & cr )\fC [virtual]\fR" Draws the focus rectangle of the current cell (see currentRow(), currentColumn()). .PP The painter \fIp\fR is already translated to the cell's origin, while \fIcr\fR specifies the cell's geometry in content coordinates. -.SH "QPixmap QTable::pixmap ( int row, int col ) const\fC [virtual]\fR" +.SH "TQPixmap QTable::pixmap ( int row, int col ) const\fC [virtual]\fR" Returns the pixmap set for the cell at \fIrow\fR, \fIcol\fR, or a null-pixmap if the cell contains no pixmap. .PP See also setPixmap(). .PP Example: chart/setdataform.cpp. -.SH "void QTable::pressed ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR" +.SH "void QTable::pressed ( int row, int col, int button, const TQPoint & mousePos )\fC [signal]\fR" This signal is emitted when mouse button \fIbutton\fR is pressed. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR. .PP See also TQt::ButtonState. @@ -1133,7 +1133,7 @@ Example: regexptester/regexptester.cpp. Sets the number of columns in the table to \fIr\fR. See the "numCols" property for details. .SH "void QTable::setNumRows ( int r )\fC [virtual slot]\fR" Sets the number of rows in the table to \fIr\fR. See the "numRows" property for details. -.SH "void QTable::setPixmap ( int row, int col, const QPixmap & pix )\fC [virtual]\fR" +.SH "void QTable::setPixmap ( int row, int col, const TQPixmap & pix )\fC [virtual]\fR" Sets the pixmap in the cell at \fIrow\fR, \fIcol\fR to \fIpix\fR. .PP If the cell does not contain a table item a QTableItem is created with an EditType of \fCOnTyping\fR, otherwise the existing table item's pixmap (if any) is replaced with \fIpix\fR. -- cgit v1.2.1