wlanutilities/wlanwizard/inc/wlanwizardhelper.h
changeset 46 2fbd1d709fe7
parent 38 2dc6da6fb431
child 53 bdc64aa9b954
equal deleted inserted replaced
45:d9ec2b8c6bad 46:2fbd1d709fe7
    82         ConfUsePsk = 13,
    82         ConfUsePsk = 13,
    83         //! bool: if true processing connection page is required.
    83         //! bool: if true processing connection page is required.
    84         ConfProcessSettings = 14,
    84         ConfProcessSettings = 14,
    85         //! QString: Localized error string for WlanWizardPageGenericError
    85         //! QString: Localized error string for WlanWizardPageGenericError
    86         ConfGenericErrorString = 15,
    86         ConfGenericErrorString = 15,
       
    87         //! WlanWizardScanList: Available network options
       
    88         ConfAvailableNetworkOptions = 16,
       
    89         //! bool: Wps supported
       
    90         ConfWpsSupported = 17,
       
    91         //! int: Identifies how many steps should be gone backwards from 
       
    92         // GenericErrorPage
       
    93         ConfGenericErrorPageStepsBackwards = 18,
    87     };
    94     };
    88     
    95     
    89 public:
    96 public:
    90     
    97     
    91     /*!
    98     /*!
   109     virtual void setConfiguration(
   116     virtual void setConfiguration(
   110         ConfigurationId confId, 
   117         ConfigurationId confId, 
   111         const QVariant &value) = 0;
   118         const QVariant &value) = 0;
   112     
   119     
   113     /*!
   120     /*!
       
   121      * Clears wlan configuration at the given configuration identifier and sets
       
   122      * the configuration value to type Invalid.
       
   123      * 
       
   124      * @param [in] confId Configuration Identifier do to be cleared
       
   125      */
       
   126     virtual void clearConfiguration(ConfigurationId confId) = 0;
       
   127     
       
   128     /*!
       
   129      * Tests whether a configuration has been set.
       
   130      * 
       
   131      * @param [in] confId Configuration Identifier do to be tested
       
   132      * @return true if configuration value != Invalid, else false.
       
   133      */
       
   134     virtual bool configurationExists(ConfigurationId confId) = 0;
       
   135     
       
   136     /*!
   114        Enables the next button in wizard.
   137        Enables the next button in wizard.
   115        
   138        
   116        @param [in] enable to enable button set to true.
   139        @param [in] enable to enable button set to true.
   117      */
   140      */
   118     virtual void enableNextButton(bool enable) = 0;
   141     virtual void enableNextButton(bool enable) = 0;
   119 
       
   120     /*!
       
   121        Enables the previous button in wizard.
       
   122        
       
   123        @param [in] enable to enable button set to true.
       
   124      */
       
   125     virtual void enablePrevButton(bool enable) = 0;
       
   126 
   142 
   127     /*!
   143     /*!
   128        Adds a new wizard page into the wizard framework.
   144        Adds a new wizard page into the wizard framework.
   129        
   145        
   130        @param [in] pageId The identifier of Page. See WlanWizardPage::PageIds.
   146        @param [in] pageId The identifier of Page. See WlanWizardPage::PageIds.