Additional k => tde renaming and fixes

pull/1/head
Slávek Banko 11 years ago
parent 4a603f31d7
commit 7b3be82ee4

@ -14,7 +14,7 @@ cmake_minimum_required( VERSION 2.8 )
##### general package setup ##################### ##### general package setup #####################
project( kio-locate ) project( kbfx )
##### include essential cmake modules ########### ##### include essential cmake modules ###########

@ -1 +1 @@
Subproject commit b4d585c643d92787bfa17b935ce00b09960ee360 Subproject commit 6b7f7225eff4c49b2dd71804d5fdacb03efcf461

@ -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 );

@ -128,7 +128,7 @@ class KbfxConfigApp : public KbfxConfigDlgMain
KbfxConfigDlgTooltip *pageTooltip; KbfxConfigDlgTooltip *pageTooltip;
KbfxConfigDlgAbout *pageAbout; KbfxConfigDlgAbout *pageAbout;
TDEHTMLPart * browser; TDEHTMLPart * browser;
KbfxKioDownload * kio; KbfxKioDownload * tdeio;
TQString m_KbfxThemeUrl; TQString m_KbfxThemeUrl;
TQString m_KbfxThemeFolderUrl; TQString m_KbfxThemeFolderUrl;
int m_KbfxPage; int m_KbfxPage;

@ -19,8 +19,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
#ifndef KBFX_KIO_DOWNLOAD_H #ifndef KBFX_TDEIO_DOWNLOAD_H
#define KBFX_KIO_DOWNLOAD_H #define KBFX_TDEIO_DOWNLOAD_H
#include <tdeio/job.h> #include <tdeio/job.h>
#include <tdetempfile.h> #include <tdetempfile.h>

@ -29,7 +29,7 @@ extern "C"
// static TQString check = "Static Check for Plugin"; // static TQString check = "Static Check for Plugin";
KbfxDataStack * view(); KbfxDataStack * view();
TQString name(); //Name of the Plugin My Music .if TOM Create..Configure .. TQString name(); //Name of the Plugin My Music .if TOM Create..Configure ..
TQString type(); //Type of the plugin ex: Application : Amork : kio ..etc TQString type(); //Type of the plugin ex: Application : Amork : tdeio ..etc
uint id(); //A id for menus uint id(); //A id for menus
KbfxDataGroup * search ( TQString str ); KbfxDataGroup * search ( TQString str );
} }

@ -33,7 +33,7 @@ extern "C"
{ {
KbfxDataStack * view(); KbfxDataStack * view();
TQString name(); //Name of the Plugin My Music .if TOM Create..Configure .. TQString name(); //Name of the Plugin My Music .if TOM Create..Configure ..
TQString type(); //Type of the plugin ex: Application : Amork : kio ..etc TQString type(); //Type of the plugin ex: Application : Amork : tdeio ..etc
uint id(); //A id for menus uint id(); //A id for menus
KbfxDataGroup * search ( TQString str ); KbfxDataGroup * search ( TQString str );
// KbfxPlasmaCanvasGroup * search(TQString _keyword,TQCanvas * canvas); //search and return a group // KbfxPlasmaCanvasGroup * search(TQString _keyword,TQCanvas * canvas); //search and return a group

Loading…
Cancel
Save