summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/widgets/qmenudata.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/widgets/qmenudata.h b/src/widgets/qmenudata.h
index 13f26c3..ee6f9f9 100644
--- a/src/widgets/qmenudata.h
+++ b/src/widgets/qmenudata.h
@@ -90,6 +90,20 @@ public:
void setVisible( bool visible ) { is_visible = visible; }
void setWhatsThis( const QString &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( QIconSet* iconset ) { iconset_data = iconset; }
+ void setPixmap( QPixmap* pixmap ) { pixmap_data = pixmap; }
+ void setPopup( QPopupMenu* popup ) { popup_menu = popup; }
+ void setWidget( QWidget* widget ) { widget_item = widget; }
+#ifndef QT_NO_ACCEL
+ void setKey( QKeySequence key ) { accel_key = key; }
+#endif
+ void setSignal( QSignal* signal ) { signal_data = signal; }
+
private:
int ident; // item identifier
QIconSet *iconset_data; // icons