VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtPublishObserversMenuItem.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: DtPublishObserversMenuItem.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00016 #include <vrvCoreQt/DtCheckedItem.h>
00017 
00018 namespace makVrf
00019 {
00020    class DT_DLL_VRFGUICOREQT DtPublishObserversMenuItem : public makVrv::DtCheckedItem
00021    {
00022       Q_OBJECT
00023 
00024    public:
00025       DtPublishObserversMenuItem(makVrv::DtDe&);
00026 
00027       virtual ~DtPublishObserversMenuItem();
00028 
00030       virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00031 
00032    protected: 
00033       //Set the value due to being triggered.
00034       virtual void setValue(bool value);
00035 
00036       //Get the current value.
00037       virtual bool getValue() const;
00038 
00039       virtual void on_aboutToShow();
00040 
00041    protected:
00042       mutable bool  myPublishingObservers;
00043       mutable bool  myInitializedFromSettings;
00044    };
00045 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)