Example #1
0
 /// <summary>
 /// Required method for initializing the start page structure.
 /// </summary>
 private void InitializeComponent()
 {
     this.c_Browser = new QWebView(this);
     StartWebPage swp = new StartWebPage();
     //
     // swp
     //
     LinuxNativePool.Instance.Retain(swp);
     this.Connect(swp, SIGNAL("loadStarted()"), SLOT("OnLoadStarted()"));
     //
     // c_Browser
     //
     this.Connect(this.c_Browser, SIGNAL("loadStarted()"), SLOT("OnLoadStarted()"));
     this.Connect(this.c_Browser, SIGNAL("loadProgress(int)"), SLOT("OnLoadProgress(int)"));
     this.Connect(this.c_Browser, SIGNAL("loadFinished(bool)"), SLOT("OnLoadFinished(bool)"));
     this.c_Browser.SetPage(swp);
 }
Example #2
0
        /// <summary>
        /// Required method for initializing the start page structure.
        /// </summary>
        private void InitializeComponent()
        {
            this.c_Browser = new QWebView(this);
            StartWebPage swp = new StartWebPage();

            //
            // swp
            //
            LinuxNativePool.Instance.Retain(swp);
            this.Connect(swp, SIGNAL("loadStarted()"), SLOT("OnLoadStarted()"));
            //
            // c_Browser
            //
            this.Connect(this.c_Browser,SIGNAL("loadStarted()"),SLOT("OnLoadStarted()"));
            this.Connect(this.c_Browser,SIGNAL("loadProgress(int)"),SLOT("OnLoadProgress(int)"));
            this.Connect(this.c_Browser,SIGNAL("loadFinished(bool)"),SLOT("OnLoadFinished(bool)"));
            this.c_Browser.SetPage(swp);
        }