tdepopupmenu.h
void setTitle(const TQString &title) TDE_DEPRECATED
Definition tdepopupmenu.cpp:676
virtual void activateItemAt(int index)
Reimplemented for internal purposes.
Definition tdepopupmenu.cpp:275
TQPopupMenu * contextMenu()
Returns the context menu associated with this menu.
Definition tdepopupmenu.cpp:512
static int contextMenuFocusItem()
returns the ID of the menuitem associated with the current context menu
Definition tdepopupmenu.cpp:533
static TDEPopupMenu * contextMenuFocus()
Returns the TDEPopupMenu associated with the current context menu.
Definition tdepopupmenu.cpp:538
void resetKeyboardVars(bool noMatches=false)
Definition tdepopupmenu.cpp:460
void setKeyboardShortcutsExecute(bool enable)
Enables execution of the menu item once it is uniquely specified.
Definition tdepopupmenu.cpp:480
void changeTitle(int id, const TQString &text)
Changes the title of the item at the specified id.
Definition tdepopupmenu.cpp:200
virtual void mousePressEvent(TQMouseEvent *e)
End keyboard navigation.
Definition tdepopupmenu.cpp:492
virtual void mouseReleaseEvent(TQMouseEvent *e)
Definition tdepopupmenu.cpp:503
virtual void closeEvent(TQCloseEvent *)
This is re-implemented for keyboard navigation.
Definition tdepopupmenu.cpp:268
int insertTitle(const TQString &text, int id=-1, int index=-1)
Inserts a title item with no icon.
Definition tdepopupmenu.cpp:181
TQString title(int id=-1) const
Returns the title of the title item at the specified id.
Definition tdepopupmenu.cpp:234
TQPixmap titlePixmap(int id) const
Returns the icon of the title item at the specified id.
Definition tdepopupmenu.cpp:250
TDEPopupMenu(TQWidget *parent=0, const char *name=0)
Constructs a TDEPopupMenu.
Definition tdepopupmenu.cpp:162
TQString underlineText(const TQString &text, uint length)
Definition tdepopupmenu.cpp:450
void aboutToShowContextMenu(TDEPopupMenu *menu, int menuItem, TQPopupMenu *ctxMenu)
connect to this signal to be notified when a context menu is about to be shown
void setKeyboardShortcutsEnabled(bool enable)
Enables keyboard navigation by searching for the entered key sequence.
Definition tdepopupmenu.cpp:475
TQt::ButtonState state() const
Return the state of the mouse button and keyboard modifiers when the last menuitem was activated.
Definition tdepopupmenu.cpp:281
void setTitle(const TQString &text, const TQPixmap *icon=0)
Sets the title string and optional icon for the title widget.
Definition tdepopupmenu.cpp:53
TDEPopupTitle(TQWidget *parent=0, const char *name=0)
Constructs a title widget with the user specified gradient, pixmap, and colors.
Definition tdepopupmenu.cpp:31
Trinity API Reference