Mailinglist Archive: yast-commit (870 mails)

< Previous Next >
[yast-commit] r48820 - in /branches/tmp/jdsn/registration/src: RegUpdateRepoPage.cc RegUpdateRepoPage.h
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Thu, 03 Jul 2008 12:34:28 -0000
  • Message-id: <20080703123428.A47492BF91@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages