diff options
Diffstat (limited to 'doc/man/man3/tqmenudata.3qt')
-rw-r--r-- | doc/man/man3/tqmenudata.3qt | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/man/man3/tqmenudata.3qt b/doc/man/man3/tqmenudata.3qt index cbc1f5277..6c71fdf0b 100644 --- a/doc/man/man3/tqmenudata.3qt +++ b/doc/man/man3/tqmenudata.3qt @@ -28,43 +28,43 @@ Inherited by QMenuBar and QPopupMenu. .BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( QCustomMenuItem * custom, int id = -1, int index = -1 )" @@ -88,7 +88,7 @@ Inherited by QMenuBar and QPopupMenu. .BI "void \fBsetAccel\fR ( const QKeySequence & key, int id )" .br .ti -1c -.BI "QIconSet * \fBiconSet\fR ( int id ) const" +.BI "TQIconSet * \fBiconSet\fR ( int id ) const" .br .ti -1c .BI "TQString \fBtext\fR ( int id ) const" @@ -109,10 +109,10 @@ Inherited by QMenuBar and QPopupMenu. .BI "void \fBchangeItem\fR ( int id, const QPixmap & pixmap )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QIconSet & icon, const TQString & text )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QIconSet & icon, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const QPixmap & pixmap )" .br .ti -1c .BI "void changeItem ( const TQString & text, int id ) \fI(obsolete)\fR" @@ -121,7 +121,7 @@ Inherited by QMenuBar and QPopupMenu. .BI "void changeItem ( const QPixmap & pixmap, int id ) \fI(obsolete)\fR" .br .ti -1c -.BI "void changeItem ( const QIconSet & icon, const TQString & text, int id ) \fI(obsolete)\fR" +.BI "void changeItem ( const TQIconSet & icon, const TQString & text, int id ) \fI(obsolete)\fR" .br .ti -1c .BI "bool \fBisItemActive\fR ( int id ) const" @@ -232,13 +232,13 @@ This is an overloaded member function, provided for convenience. It behaves esse Changes the pixmap of the menu item \fIid\fR to the pixmap \fIpixmap\fR. If the item has an icon, the icon is unchanged. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( int id, const QIconSet & icon, const TQString & text )" +.SH "void QMenuData::changeItem ( int id, const TQIconSet & icon, const TQString & text )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and text of the menu item \fIid\fR to the \fIicon\fR and \fItext\fR respectively. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( int id, const QIconSet & icon, const QPixmap & pixmap )" +.SH "void QMenuData::changeItem ( int id, const TQIconSet & icon, const QPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and pixmap of the menu item \fIid\fR to \fIicon\fR and \fIpixmap\fR respectively. @@ -256,7 +256,7 @@ See also text(). Changes the pixmap of the menu item \fIid\fR. If the item has an icon, the icon remains unchanged. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( const QIconSet & icon, const TQString & text, int id )" +.SH "void QMenuData::changeItem ( const TQIconSet & icon, const TQString & text, int id )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Changes the icon and text of the menu item \fIid\fR. @@ -301,7 +301,7 @@ Returns the menu item with identifier \fIid\fR, or 0 if there is no item with th Note that QMenuItem is an internal class, and that you should not need to call this function. Use the higher level functions like text(), pixmap() and changeItem() to get and modify menu item attributes instead. .PP See also indexOf(). -.SH "QIconSet * QMenuData::iconSet ( int id ) const" +.SH "TQIconSet * QMenuData::iconSet ( int id ) const" Returns the icon set that has been set for menu item \fIid\fR, or 0 if no icon set has been set. .PP See also changeItem(), text(), and pixmap(). @@ -356,7 +356,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. .PP -Some insert functions take a QIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. +Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. .PP The \fIid\fR specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative value will make TQt select a unique id for the item. .PP @@ -374,7 +374,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqn .PP Examples: .)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp. -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item. @@ -392,7 +392,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object. @@ -410,7 +410,7 @@ Inserts a menu item with text \fItext\fR, optional id \fIid\fR, and optional \fI Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -428,7 +428,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -448,7 +448,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -466,7 +466,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -504,7 +504,7 @@ If the widget is focus-enabled it will get focus when the user traverses the pop Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a custom menu item \fIcustom\fR with an \fIicon\fR and with optional id \fIid\fR, and optional \fIindex\fR position. |