|
|
|
@ -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
|
|
|
|
|