00001 #ifndef IGUANA_STUDIO_IG_QT_APP_STATUS_BAR_SERVICE_H 00002 # define IGUANA_STUDIO_IG_QT_APP_STATUS_BAR_SERVICE_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Studio/interface/config.h" 00007 # include "Iguana/Framework/interface/IgStateElement.h" 00008 00009 //<<<<<< PUBLIC DEFINES >>>>>> 00010 //<<<<<< PUBLIC CONSTANTS >>>>>> 00011 //<<<<<< PUBLIC TYPES >>>>>> 00012 00013 class QWidget; 00014 class QMainWindow; 00015 class QString; 00016 00017 //<<<<<< PUBLIC VARIABLES >>>>>> 00018 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00019 //<<<<<< CLASS DECLARATIONS >>>>>> 00020 00021 class IGUANA_STUDIO_API IgQtAppStatusBarService : public IgStateElement 00022 { 00023 IG_DECLARE_STATE_ELEMENT (IgQtAppStatusBarService); 00024 public: 00025 IgQtAppStatusBarService (IgState *state, QWidget *mainWindow); 00026 ~IgQtAppStatusBarService (void); 00027 00028 void setMessage (QString message); 00029 void setMessage (const std::string &message); 00030 void setMessage (const char *message); 00031 00032 private: 00033 IgState *m_state; 00034 QMainWindow *m_mainWindow; 00035 00036 // undefined semantics 00037 IgQtAppStatusBarService (const IgQtAppStatusBarService &); 00038 IgQtAppStatusBarService &operator= (const IgQtAppStatusBarService &); 00039 }; 00040 00041 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00042 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00043 00044 #endif // IGUANA_STUDIO_IG_QT_APP_STATUS_BAR_SERVICE_H