1 #ifndef VOGLEDITOR_STATETREEQUERYITEM_H
2 #define VOGLEDITOR_STATETREEQUERYITEM_H
4 #include "vogleditor_statetreeitem.h"
6 class vogl_query_state;
8 class vogleditor_stateTreeQueryItem: public vogleditor_stateTreeItem
11 vogleditor_stateTreeQueryItem(QString name, GLuint64 handle, vogleditor_stateTreeItem* parent, const vogl_query_state* pState);
12 virtual ~vogleditor_stateTreeQueryItem()
15 m_pDiffBaseState = NULL;
18 void set_diff_base_state(const vogl_query_state* pBaseState);
20 GLuint64 get_handle() const { return m_handle; }
22 virtual bool hasChanged() const;
26 const vogl_query_state* m_pState;
27 const vogl_query_state* m_pDiffBaseState;
30 #endif // VOGLEDITOR_STATETREEQUERYITEM_H