diff options
author | Timothy Pearson <[email protected]> | 2012-10-31 15:34:18 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-10-31 15:34:18 -0500 |
commit | b0bd2889fa1058eec74c303b10cf8724a4c5efe2 (patch) | |
tree | 71536ffb5516eb1274e95fb859f3754b7fcebc37 /src | |
parent | 2fce73142f9e5c46c909934b03bca5a30512a3d0 (diff) | |
download | tqt3-b0bd2889fa1058eec74c303b10cf8724a4c5efe2.tar.gz tqt3-b0bd2889fa1058eec74c303b10cf8724a4c5efe2.zip |
Automated update from Qt3
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/ntqmenudata.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/widgets/ntqmenudata.h b/src/widgets/ntqmenudata.h index 0048c5ba5..c7afc95ee 100644 --- a/src/widgets/ntqmenudata.h +++ b/src/widgets/ntqmenudata.h @@ -90,6 +90,20 @@ public: void setVisible( bool visible ) { is_visible = visible; } void setWhatsThis( const TQString &text ) { whatsthis_data = text; } + // Do not use these methods unless you know exactly what you are doing! + void setSeparator( bool separator ) { is_separator = separator; } + void setEnabled( bool enabled ) { is_enabled = enabled; } + void setChecked( bool checked ) { is_checked = checked; } + void setIdent( int identifier ) { ident = identifier; } + void setIconSet( TQIconSet* iconset ) { iconset_data = iconset; } + void setPixmap( TQPixmap* pixmap ) { pixmap_data = pixmap; } + void setPopup( TQPopupMenu* popup ) { popup_menu = popup; } + void setWidget( TQWidget* widget ) { widget_item = widget; } +#ifndef QT_NO_ACCEL + void setKey( TQKeySequence key ) { accel_key = key; } +#endif + void setSignal( TQSignal* signal ) { signal_data = signal; } + private: int ident; // item identifier TQIconSet *iconset_data; // icons |