![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: drawerKey.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtDrawerKey_H_ 00013 #define DtDrawerKey_H_ 00014 00015 #include "symbolDrawerInterface/symbolDrawerInterfaceDefines.h" 00016 00018 00020 #include <QtCore/QString> 00021 00026 00027 class DT_DLL_symbolDrawerInterface DtDrawerKey 00028 { 00029 public: 00031 DtDrawerKey( const QString & primary, 00032 const QString & secondary = QString() ); 00033 DtDrawerKey(const DtDrawerKey& orig); 00034 DtDrawerKey& operator=(const DtDrawerKey& orig); 00035 virtual ~DtDrawerKey(); 00036 00038 00039 virtual const QString & primary() const; 00040 virtual void setPrimary( const QString & name ); 00041 00042 virtual const QString & secondary() const; 00043 virtual void setSecondary( const QString & name ); 00044 00045 protected: 00046 DtDrawerKey(); 00047 00048 protected: 00049 QString myPrimary; 00050 QString mySecondary; 00051 00052 }; 00053 00054 #endif 00055