diff options
Diffstat (limited to 'doc/man/man3/tqpopupmenu.3qt')
-rw-r--r-- | doc/man/man3/tqpopupmenu.3qt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqpopupmenu.3qt b/doc/man/man3/tqpopupmenu.3qt index b9451474d..aeaf43a07 100644 --- a/doc/man/man3/tqpopupmenu.3qt +++ b/doc/man/man3/tqpopupmenu.3qt @@ -70,16 +70,16 @@ Inherits TQFrame and TQMenuData. .SS "Important Inherited Members" .in +1c .ti -1c -.BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.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 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQPixmap & 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 TQKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.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 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" @@ -127,10 +127,10 @@ Inherits TQFrame and TQMenuData. .BI "void \fBclear\fR ()" .br .ti -1c -.BI "QKeySequence \fBaccel\fR ( int id ) const" +.BI "TQKeySequence \fBaccel\fR ( int id ) const" .br .ti -1c -.BI "void \fBsetAccel\fR ( const QKeySequence & key, int id )" +.BI "void \fBsetAccel\fR ( const TQKeySequence & key, int id )" .br .ti -1c .BI "TQIconSet * \fBiconSet\fR ( int id ) const" @@ -266,7 +266,7 @@ This signal is emitted just before the popup menu is displayed. You can connect See also aboutToHide(), setItemEnabled(), setItemChecked(), insertItem(), and removeItem(). .PP Example: mdi/application.cpp. -.SH "QKeySequence TQMenuData::accel ( int id ) const" +.SH "TQKeySequence TQMenuData::accel ( int id ) const" Returns the accelerator key that has been defined for the menu item \fIid\fR, or 0 if it has no accelerator key or if there is no such menu item. .PP See also setAccel(), TQAccel, and ntqnamespace.h. @@ -403,7 +403,7 @@ Example: scrollview/scrollview.cpp. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the id of the item at \fIpos\fR, or -1 if there is no item there or if it is a separator. -.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )" The family of insertItem() functions inserts menu items into a popup menu or a menu bar. .PP A menu item is usually either a text string or a pixmap, both with an optional icon or keyboard accelerator. For special cases it is also possible to insert custom items (see TQCustomMenuItem) or even widgets into popup menus. @@ -462,7 +462,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntq .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 TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & 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. @@ -470,7 +470,7 @@ 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(), TQAccel, and ntqnamespace.h. -.SH "int TQMenuData::insertItem ( const TQPixmap & 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 TQKeySequence & 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. @@ -480,7 +480,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 TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & 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 TQKeySequence & 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. @@ -680,7 +680,7 @@ Example: chart/chartform.cpp. Removes the menu item at position \fIindex\fR. .PP See also removeItem() and clear(). -.SH "void TQMenuData::setAccel ( const QKeySequence & key, int id )" +.SH "void TQMenuData::setAccel ( const TQKeySequence & key, int id )" Sets the accelerator key for the menu item \fIid\fR to \fIkey\fR. .PP An accelerator key consists of a key code and a combination of the modifiers SHIFT, CTRL, ALT or UNICODE_ACCEL (OR'ed or added). The header file ntqnamespace.h contains a list of key codes. |