wlanutilities/wlanlogin/wlanloginapp/src/wlanloginmainwindow.cpp
changeset 56 de27cc8389dd
parent 46 2fbd1d709fe7
equal deleted inserted replaced
50:d4198dcb9983 56:de27cc8389dd
    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