diff options
Diffstat (limited to 'src/widgets/ntqmenudata.h')
-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 |