Author: sh-sh-sh Date: Thu Jul 3 14:34:28 2008 New Revision: 48820 URL: http://svn.opensuse.org/viewcvs/yast?rev=48820&view=rev Log: added sample init() function Modified: branches/tmp/jdsn/registration/src/RegUpdateRepoPage.cc branches/tmp/jdsn/registration/src/RegUpdateRepoPage.h Modified: branches/tmp/jdsn/registration/src/RegUpdateRepoPage.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/RegUpdateRepoPage.cc?rev=48820&r1=48819&r2=48820&view=diff ============================================================================== --- branches/tmp/jdsn/registration/src/RegUpdateRepoPage.cc (original) +++ branches/tmp/jdsn/registration/src/RegUpdateRepoPage.cc Thu Jul 3 14:34:28 2008 @@ -35,6 +35,12 @@ } +void RegUpdateRepoPage::init() +{ + // TO DO: (?) Obtain update repo URL (if not passed in constructor) +} + + void RegUpdateRepoPage::createWidgets( YWidget * parent ) { YWizard * wizard = RegWizard::regWizard()->wizard(); Modified: branches/tmp/jdsn/registration/src/RegUpdateRepoPage.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/RegUpdateRepoPage.h?rev=48820&r1=48819&r2=48820&view=diff ============================================================================== --- branches/tmp/jdsn/registration/src/RegUpdateRepoPage.h (original) +++ branches/tmp/jdsn/registration/src/RegUpdateRepoPage.h Thu Jul 3 14:34:28 2008 @@ -36,6 +36,14 @@ virtual ~RegUpdateRepoPage(); /** + * Initialize internal data. This is called in show() just before widgets + * are created. + * + * Reimplemented from RegWizardPage. + **/ + virtual void init(); + + /** * Create the widgets for this page. * * Implemented from RegWizardPage. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org