diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-31 18:47:11 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-31 18:47:11 -0500 |
commit | 308537cb0eb307820f385f38c55dc1ccc47b343b (patch) | |
tree | 4df558ba58f2b0bdee64d7a6dc97fe69cd80d927 /src/widgets | |
parent | 68fd119104cf123043eb7ee573de638cc159f743 (diff) | |
parent | b0bd2889fa1058eec74c303b10cf8724a4c5efe2 (diff) | |
download | tqt3-308537cb0eb307820f385f38c55dc1ccc47b343b.tar.gz tqt3-308537cb0eb307820f385f38c55dc1ccc47b343b.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
Diffstat (limited to 'src/widgets')
-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 |