From 5ee096e7842b068b1119591af8b080e6cd3f5130 Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 10 Jan 2006 14:20:50 +0000 Subject: [PATCH] Property "visibleCount" --- src/Qtx/QtxMRUAction.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Qtx/QtxMRUAction.h b/src/Qtx/QtxMRUAction.h index 12a87e024..debd6bdfb 100755 --- a/src/Qtx/QtxMRUAction.h +++ b/src/Qtx/QtxMRUAction.h @@ -38,9 +38,11 @@ class QTX_EXPORT QtxMRUAction : public QtxAction { Q_OBJECT + Q_PROPERTY( int visibleCount READ visibleCount WRITE setVisibleCount ) + public: - typedef enum { Items, SubMenu } PopupMode; - typedef enum { MoveFirst, MoveLast, AddFirst, AddLast } InsertMode; + enum { Items, SubMenu }; + enum { MoveFirst, MoveLast, AddFirst, AddLast }; public: QtxMRUAction( QObject* = 0, const char* = 0 ); -- 2.39.2