diff options
Diffstat (limited to 'doc/man/man3/tqmenudata.3qt')
-rw-r--r-- | doc/man/man3/tqmenudata.3qt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/man/man3/tqmenudata.3qt b/doc/man/man3/tqmenudata.3qt index 5b1144a68..8c092dd88 100644 --- a/doc/man/man3/tqmenudata.3qt +++ b/doc/man/man3/tqmenudata.3qt @@ -31,10 +31,10 @@ Inherited by TQMenuBar and TQPopupMenu. .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 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & 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 TQIconSet & 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 TQPixmap & 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 )" @@ -49,16 +49,16 @@ Inherited by TQMenuBar and TQPopupMenu. .BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" @@ -94,7 +94,7 @@ Inherited by TQMenuBar and TQPopupMenu. .BI "TQString \fBtext\fR ( int id ) const" .br .ti -1c -.BI "QPixmap * \fBpixmap\fR ( int id ) const" +.BI "TQPixmap * \fBpixmap\fR ( int id ) const" .br .ti -1c .BI "void \fBsetWhatsThis\fR ( int id, const TQString & text )" @@ -106,19 +106,19 @@ Inherited by TQMenuBar and TQPopupMenu. .BI "void \fBchangeItem\fR ( int id, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQPixmap & pixmap )" .br .ti -1c .BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQPixmap & pixmap )" .br .ti -1c .BI "void changeItem ( const TQString & text, int id ) \fI(obsolete)\fR" .br .ti -1c -.BI "void changeItem ( const QPixmap & pixmap, int id ) \fI(obsolete)\fR" +.BI "void changeItem ( const TQPixmap & pixmap, int id ) \fI(obsolete)\fR" .br .ti -1c .BI "void changeItem ( const TQIconSet & icon, const TQString & text, int id ) \fI(obsolete)\fR" @@ -226,7 +226,7 @@ If the index is invalid (for example, -1), the object itself is deactivated. Changes the text of the menu item \fIid\fR to \fItext\fR. If the item has an icon, the icon remains unchanged. .PP See also text(). -.SH "void TQMenuData::changeItem ( int id, const QPixmap & pixmap )" +.SH "void TQMenuData::changeItem ( int id, const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the pixmap of the menu item \fIid\fR to the pixmap \fIpixmap\fR. If the item has an icon, the icon is unchanged. @@ -238,7 +238,7 @@ This is an overloaded member function, provided for convenience. It behaves esse 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 TQMenuData::changeItem ( int id, const TQIconSet & icon, const QPixmap & pixmap )" +.SH "void TQMenuData::changeItem ( int id, const TQIconSet & icon, const TQPixmap & 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. @@ -250,7 +250,7 @@ See also pixmap(). Changes the text of the menu item \fIid\fR. If the item has an icon, the icon remains unchanged. .PP See also text(). -.SH "void TQMenuData::changeItem ( const QPixmap & pixmap, int id )" +.SH "void TQMenuData::changeItem ( const TQPixmap & pixmap, 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 pixmap of the menu item \fIid\fR. If the item has an icon, the icon remains unchanged. @@ -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 TQIconSet 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 TQPixmap 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 @@ -382,22 +382,22 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\ Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqnamespace.h. -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & 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 pixmap \fIpixmap\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. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & 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. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP @@ -438,17 +438,17 @@ 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 TQMenuData::insertItem ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & 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 pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & 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. @@ -456,7 +456,7 @@ Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, TQPopupMenu * 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 pixmap \fIpixmap\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. @@ -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 TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * 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. @@ -570,7 +570,7 @@ Virtual function; notifies subclasses that a popup menu item has been inserted. Virtual function; notifies subclasses that one or more items have changed state (enabled/disabled or checked/unchecked). .PP Reimplemented in TQMenuBar. -.SH "QPixmap * TQMenuData::pixmap ( int id ) const" +.SH "TQPixmap * TQMenuData::pixmap ( int id ) const" Returns the pixmap that has been set for menu item \fIid\fR, or 0 if no pixmap has been set. .PP See also changeItem(), text(), and iconSet(). |