From b0bd2889fa1058eec74c303b10cf8724a4c5efe2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 31 Oct 2012 15:34:18 -0500 Subject: Automated update from Qt3 --- src/widgets/ntqmenudata.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.1