From 23db23a1df2317ebf7fee20dc9d5a51cfc5e4762 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 30 Mar 2012 13:42:22 +0200 Subject: [PATCH] Add mReadStateFlag mImageIndex m_XmlReader GetListOfTool --- vv/vvToolCreatorBase.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vv/vvToolCreatorBase.h b/vv/vvToolCreatorBase.h index d85fa80..b2c942f 100644 --- a/vv/vvToolCreatorBase.h +++ b/vv/vvToolCreatorBase.h @@ -27,6 +27,7 @@ class QAction; class vvToolBaseBase; +class QXmlStreamReader; //------------------------------------------------------------------------------ class vvToolCreatorBase: public QObject { @@ -43,6 +44,8 @@ class vvToolCreatorBase: public QObject { void addMenuToContextMenu(QMenu * m); void SetMenuName(std::string m) { m_MenuName = m; } + std::vector & GetListOfTool() { return mListOfTool; } + QString mToolName; QString mToolMenuName; QString mToolIconFilename; @@ -52,6 +55,9 @@ class vvToolCreatorBase: public QObject { bool mUseContextMenu; QMenu * mToolMenu; std::vector mListOfActions; + std::auto_ptr m_XmlReader; + bool mReadStateFlag; + int mImageIndex; public slots: virtual void MenuToolSlot(); -- 2.47.1