mmsharing/livecommsui/lcui/inc/lcuicomponentrepository.h
changeset 39 4bcc59142325
parent 26 5554410e16f5
equal deleted inserted replaced
37:e9675fb210bd 39:4bcc59142325
    27 class HbProgressDialog;
    27 class HbProgressDialog;
    28 class HbDialog;
    28 class HbDialog;
    29 class LcUiEngine;
    29 class LcUiEngine;
    30 class HbMenu;
    30 class HbMenu;
    31 class HbMessageBox;
    31 class HbMessageBox;
       
    32 class HbVolumeSliderPopup;
    32 
    33 
    33 class LcUiComponentRepository : public HbDocumentLoader   
    34 class LcUiComponentRepository : public HbDocumentLoader   
    34 {   
    35 {   
    35     friend class UT_LcUiComponentRepository;
    36     friend class UT_LcUiComponentRepository;
       
    37     friend class UT_LcView;
    36     
    38     
    37 public:    
    39 public:    
    38 
    40 
    39     explicit LcUiComponentRepository(LcUiEngine& engine);
    41     explicit LcUiComponentRepository(LcUiEngine& engine);
    40     ~LcUiComponentRepository();
    42     ~LcUiComponentRepository();
    57     bool loadLayout( const QString& layoutName );
    59     bool loadLayout( const QString& layoutName );
    58     // returns the currently loaded layout name
    60     // returns the currently loaded layout name
    59     QString layout()const;
    61     QString layout()const;
    60     // returns the previously loaded layout name
    62     // returns the previously loaded layout name
    61     QString previousLayout()const;
    63     QString previousLayout()const;
       
    64     
       
    65     HbVolumeSliderPopup* volumeSlider();
    62     
    66     
    63 private: //from HbDocumentLoader
    67 private: //from HbDocumentLoader
    64 
    68 
    65     QObject *createObject(const QString& type, const QString &name);
    69     QObject *createObject(const QString& type, const QString &name);
    66 
    70 
    96     
   100     
    97     HbDialog* mAcceptQuery;
   101     HbDialog* mAcceptQuery;
    98     HbProgressDialog* mInvitingNote;
   102     HbProgressDialog* mInvitingNote;
    99     HbProgressDialog* mWaitingNote;
   103     HbProgressDialog* mWaitingNote;
   100     HbDialog* mRecipientQuery;
   104     HbDialog* mRecipientQuery;
       
   105     HbVolumeSliderPopup* mVolumeSlider; 
   101     HbMessageBox* mShareOwnVideoQuery;
   106     HbMessageBox* mShareOwnVideoQuery;
   102     
   107     
   103     QString mLayout;
   108     QString mLayout;
   104     QString mPreviousLayout;
   109     QString mPreviousLayout;
   105 };
   110 };