|
|
@ -343,25 +343,25 @@ void KbfxConfigApp::KbfxNewsBrowserOpenURLRequest ( const KURL &url, const KPart
|
|
|
|
|
|
|
|
|
|
|
|
void KbfxConfigApp::KbfxNewsBrowserCompleted()
|
|
|
|
void KbfxConfigApp::KbfxNewsBrowserCompleted()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kio->KbfxKioDownloadEnd();
|
|
|
|
tdeio->KbfxKioDownloadEnd();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KbfxConfigApp::browserInit()
|
|
|
|
void KbfxConfigApp::browserInit()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* initialize NewsBrowser widget */
|
|
|
|
/* initialize NewsBrowser widget */
|
|
|
|
kio = new KbfxKioDownload();
|
|
|
|
tdeio = new KbfxKioDownload();
|
|
|
|
connect ( kio, TQT_SIGNAL ( KbfxKioDownloadReady() ),
|
|
|
|
connect ( tdeio, TQT_SIGNAL ( KbfxKioDownloadReady() ),
|
|
|
|
this, TQT_SLOT ( KbfxNewsBrowserLoad() ) );
|
|
|
|
this, TQT_SLOT ( KbfxNewsBrowserLoad() ) );
|
|
|
|
kio->KbfxKioDownloadStart ( m_KbfxNewsBrowserAddress );
|
|
|
|
tdeio->KbfxKioDownloadStart ( m_KbfxNewsBrowserAddress );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KbfxConfigApp::KbfxNewsBrowserLoad()
|
|
|
|
void KbfxConfigApp::KbfxNewsBrowserLoad()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ( kio->KbfxBrowserError() ) KBFXNewsBrowser->setText ( m_KbfxNewsBrowserError );
|
|
|
|
if ( tdeio->KbfxBrowserError() ) KBFXNewsBrowser->setText ( m_KbfxNewsBrowserError );
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
browser = new TDEHTMLPart ( KBFXNewsBrowser );
|
|
|
|
browser = new TDEHTMLPart ( KBFXNewsBrowser );
|
|
|
|
browser->openURL ( kio->KbfxBrowserTmpFile() );
|
|
|
|
browser->openURL ( tdeio->KbfxBrowserTmpFile() );
|
|
|
|
browser->view()->resize ( KBFXNewsBrowser->width(), KBFXNewsBrowser->height() );
|
|
|
|
browser->view()->resize ( KBFXNewsBrowser->width(), KBFXNewsBrowser->height() );
|
|
|
|
browser->view()->setVScrollBarMode ( TQScrollView::AlwaysOff );
|
|
|
|
browser->view()->setVScrollBarMode ( TQScrollView::AlwaysOff );
|
|
|
|
browser->view()->setHScrollBarMode ( TQScrollView::AlwaysOff );
|
|
|
|
browser->view()->setHScrollBarMode ( TQScrollView::AlwaysOff );
|
|
|
|