wlanutilities/wlanlogin/wlanloginapp/src/wlanloginmainwindow.cpp
changeset 53 bdc64aa9b954
parent 39 7b3e49e4608a
equal deleted inserted replaced
49:fb81b597edf1 53:bdc64aa9b954
    68  */
    68  */
    69 void WlanLoginMainWindow::addLoginView()
    69 void WlanLoginMainWindow::addLoginView()
    70 {
    70 {
    71     OstTraceFunctionEntry0(WLANLOGINMAINWINDOW_ADDLOGINVIEW_ENTRY);
    71     OstTraceFunctionEntry0(WLANLOGINMAINWINDOW_ADDLOGINVIEW_ENTRY);
    72 
    72 
    73     mLoginView = new WlanLoginView(mAppRef);
    73     mLoginView = new WlanLoginView(this);
    74     addView(mLoginView);
    74     addView(mLoginView);
    75 
    75 
    76     OstTraceFunctionExit0(WLANLOGINMAINWINDOW_ADDLOGINVIEW_EXIT);
    76     OstTraceFunctionExit0(WLANLOGINMAINWINDOW_ADDLOGINVIEW_EXIT);
    77 }
    77 }
    78 
    78 
    85     OstTraceFunctionEntry0(WLANLOGINMAINWINDOW_LOGINVIEW_ENTRY); 
    85     OstTraceFunctionEntry0(WLANLOGINMAINWINDOW_LOGINVIEW_ENTRY); 
    86     OstTraceFunctionExit0(WLANLOGINMAINWINDOW_LOGINVIEW_EXIT);
    86     OstTraceFunctionExit0(WLANLOGINMAINWINDOW_LOGINVIEW_EXIT);
    87     
    87     
    88     return mLoginView;
    88     return mLoginView;
    89 }
    89 }
       
    90 
       
    91 /*!
       
    92     This function returns pointer to application instance
       
    93  */
       
    94 WlanLoginApplication* WlanLoginMainWindow::application() const
       
    95 {
       
    96     OstTraceFunctionEntry0(WLANLOGINMAINWINDOW_APPLICATION_ENTRY); 
       
    97     OstTraceFunctionExit0(WLANLOGINMAINWINDOW_APPLICATION_EXIT);
       
    98     
       
    99     return mAppRef;
       
   100 }
       
   101