wlanutilities/wlanwizard/src/wlanwizardpageinternal.cpp
changeset 50 d4198dcb9983
parent 46 2fbd1d709fe7
equal deleted inserted replaced
46:2fbd1d709fe7 50:d4198dcb9983
    22 #include <HbMainWindow>
    22 #include <HbMainWindow>
    23 
    23 
    24 // User includes
    24 // User includes
    25 #include "wlanwizard_p.h"
    25 #include "wlanwizard_p.h"
    26 #include "wlanwizardpageinternal.h"
    26 #include "wlanwizardpageinternal.h"
       
    27 #include "OstTraceDefinitions.h"
       
    28 #ifdef OST_TRACE_COMPILER_IN_USE
       
    29 #include "wlanwizardpageinternalTraces.h"
       
    30 #endif
       
    31 
    27 
    32 
    28 /*!
    33 /*!
    29    \class WlanWizardPageInternal
    34    \class WlanWizardPageInternal
    30    \brief Interface for internal wlan wizard pages. Contains pointer to private
    35    \brief Interface for internal wlan wizard pages. Contains pointer to private
    31    implementation of wlan wizard.
    36    implementation of wlan wizard.
    46  */
    51  */
    47 WlanWizardPageInternal::WlanWizardPageInternal(WlanWizardPrivate *wizard) :
    52 WlanWizardPageInternal::WlanWizardPageInternal(WlanWizardPrivate *wizard) :
    48     QObject(wizard), 
    53     QObject(wizard), 
    49     mWizard(wizard)
    54     mWizard(wizard)
    50 {
    55 {
       
    56     OstTraceFunctionEntry0( WLANWIZARDPAGEINTERNAL_WLANWIZARDPAGEINTERNAL_ENTRY );
       
    57     OstTraceFunctionExit0( WLANWIZARDPAGEINTERNAL_WLANWIZARDPAGEINTERNAL_EXIT );
    51 }
    58 }
    52 
    59 
    53 /*!
    60 /*!
    54    Destructor.
    61    Destructor.
    55  */
    62  */
    56 WlanWizardPageInternal::~WlanWizardPageInternal()
    63 WlanWizardPageInternal::~WlanWizardPageInternal()
    57 {
    64 {
       
    65     OstTraceFunctionEntry0( DUP1_WLANWIZARDPAGEINTERNAL_WLANWIZARDPAGEINTERNAL_ENTRY );
       
    66     OstTraceFunctionExit0( DUP1_WLANWIZARDPAGEINTERNAL_WLANWIZARDPAGEINTERNAL_EXIT );
    58 }
    67 }
    59 
    68 
    60 
    69 
    61 /*!
    70 /*!
    62    Loads requested section from given docml file.
    71    Loads requested section from given docml file.
    72     Qt::Orientation orientation,
    81     Qt::Orientation orientation,
    73     const QString &filename,
    82     const QString &filename,
    74     const QString &portraitSection,
    83     const QString &portraitSection,
    75     const QString &landscapeSection) const
    84     const QString &landscapeSection) const
    76 {
    85 {
       
    86     OstTraceFunctionEntry0( WLANWIZARDPAGEINTERNAL_LOADDOCMLSECTION_ENTRY );
    77     bool ok;
    87     bool ok;
    78     
    88     
    79     // Then load the orientation specific section
    89     // Then load the orientation specific section
    80     if (orientation == Qt::Horizontal) {
    90     if (orientation == Qt::Horizontal) {
    81         loader->load(filename, landscapeSection, &ok);
    91         loader->load(filename, landscapeSection, &ok);
    83     } else {
    93     } else {
    84         Q_ASSERT(orientation == Qt::Vertical);
    94         Q_ASSERT(orientation == Qt::Vertical);
    85         loader->load(filename, portraitSection, &ok);
    95         loader->load(filename, portraitSection, &ok);
    86         Q_ASSERT(ok);
    96         Q_ASSERT(ok);
    87     }
    97     }
       
    98     OstTraceFunctionExit0( WLANWIZARDPAGEINTERNAL_LOADDOCMLSECTION_EXIT );
    88 }
    99 }