diff options
author | Timothy Pearson <[email protected]> | 2013-01-27 20:55:46 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-27 20:55:46 -0600 |
commit | 8e6136491eebee929848c4c3072e744f9206deb4 (patch) | |
tree | 4af21caa66ee4abf3bd765a5e3310adfafd58a4a /src/kde/kchmviewwindow_tdehtmlpart.cpp | |
parent | 865e6145c0c7e9c0e5977774392a2b15b7942ed7 (diff) | |
download | kchmviewer-8e6136491eebee929848c4c3072e744f9206deb4.tar.gz kchmviewer-8e6136491eebee929848c4c3072e744f9206deb4.zip |
Rename kiobuffer and KHTML
Diffstat (limited to 'src/kde/kchmviewwindow_tdehtmlpart.cpp')
-rw-r--r-- | src/kde/kchmviewwindow_tdehtmlpart.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/kde/kchmviewwindow_tdehtmlpart.cpp b/src/kde/kchmviewwindow_tdehtmlpart.cpp index 4ad2538..73f136e 100644 --- a/src/kde/kchmviewwindow_tdehtmlpart.cpp +++ b/src/kde/kchmviewwindow_tdehtmlpart.cpp @@ -32,13 +32,13 @@ #include "kchmviewwindow_tdehtmlpart.moc" -TQWidget * KCHMViewWindow_KHTMLPart::getTQWidget() +TQWidget * KCHMViewWindow_TDEHTMLPart::getTQWidget() { return view(); } -KCHMViewWindow_KHTMLPart::KCHMViewWindow_KHTMLPart( TQTabWidget * parent ) - : KHTMLPart ( parent ), KCHMViewWindow ( parent ) +KCHMViewWindow_TDEHTMLPart::KCHMViewWindow_TDEHTMLPart( TQTabWidget * parent ) + : TDEHTMLPart ( parent ), KCHMViewWindow ( parent ) { m_zoomfactor = 0; m_currentEncoding = 0; @@ -54,11 +54,11 @@ KCHMViewWindow_KHTMLPart::KCHMViewWindow_KHTMLPart( TQTabWidget * parent ) } -KCHMViewWindow_KHTMLPart::~KCHMViewWindow_KHTMLPart() +KCHMViewWindow_TDEHTMLPart::~KCHMViewWindow_TDEHTMLPart() { } -bool KCHMViewWindow_KHTMLPart::openPage (const TQString& url) +bool KCHMViewWindow_TDEHTMLPart::openPage (const TQString& url) { // Set or change the encoding if ( m_currentEncoding != ::mainWindow->chmFile()->currentEncoding() ) @@ -73,15 +73,15 @@ bool KCHMViewWindow_KHTMLPart::openPage (const TQString& url) return true; } -void KCHMViewWindow_KHTMLPart::setZoomFactor( int zoom ) +void KCHMViewWindow_TDEHTMLPart::setZoomFactor( int zoom ) { m_zoomfactor = zoom; // Default ZoomFactor is 100, any increase or decrease should modify this value. - KHTMLPart::setZoomFactor ( 100 + (m_zoomfactor * 10) ); + TDEHTMLPart::setZoomFactor ( 100 + (m_zoomfactor * 10) ); } -void KCHMViewWindow_KHTMLPart::invalidate( ) +void KCHMViewWindow_TDEHTMLPart::invalidate( ) { m_zoomfactor = 0; m_searchForward = true; @@ -95,28 +95,28 @@ void KCHMViewWindow_KHTMLPart::invalidate( ) KCHMViewWindow::invalidate( ); } -int KCHMViewWindow_KHTMLPart::getScrollbarPosition( ) +int KCHMViewWindow_TDEHTMLPart::getScrollbarPosition( ) { return view()->contentsY (); } -void KCHMViewWindow_KHTMLPart::setScrollbarPosition( int pos ) +void KCHMViewWindow_TDEHTMLPart::setScrollbarPosition( int pos ) { view()->scrollBy (0, pos); } -void KCHMViewWindow_KHTMLPart::addZoomFactor( int value ) +void KCHMViewWindow_TDEHTMLPart::addZoomFactor( int value ) { setZoomFactor( m_zoomfactor + value); } -bool KCHMViewWindow_KHTMLPart::printCurrentPage() +bool KCHMViewWindow_TDEHTMLPart::printCurrentPage() { view()->print(); return true; } -void KCHMViewWindow_KHTMLPart::searchWord( const TQString & word, bool forward, bool ) +void KCHMViewWindow_TDEHTMLPart::searchWord( const TQString & word, bool forward, bool ) { if ( word != m_searchText || forward != m_searchForward ) { @@ -129,25 +129,25 @@ void KCHMViewWindow_KHTMLPart::searchWord( const TQString & word, bool forward, findTextNext (); } -void KCHMViewWindow_KHTMLPart::onOpenURLRequest( const KURL & url, const KParts::URLArgs & ) +void KCHMViewWindow_TDEHTMLPart::onOpenURLRequest( const KURL & url, const KParts::URLArgs & ) { bool sourcechange = true; emit signalLinkClicked ( url.prettyURL(), sourcechange ); } -void KCHMViewWindow_KHTMLPart::slotLinkClicked( const TQString & newlink ) +void KCHMViewWindow_TDEHTMLPart::slotLinkClicked( const TQString & newlink ) { bool notused; emit signalLinkClicked (newlink, notused); } -void KCHMViewWindow_KHTMLPart::clipSelectAll() +void KCHMViewWindow_TDEHTMLPart::clipSelectAll() { selectAll (); } -void KCHMViewWindow_KHTMLPart::clipCopy() +void KCHMViewWindow_TDEHTMLPart::clipCopy() { TQString text = selectedText(); @@ -155,7 +155,7 @@ void KCHMViewWindow_KHTMLPart::clipCopy() TQApplication::clipboard()->setText( text ); } -void KCHMViewWindow_KHTMLPart::onPopupMenu ( const TQString &url, const TQPoint & point ) +void KCHMViewWindow_TDEHTMLPart::onPopupMenu ( const TQString &url, const TQPoint & point ) { KTQPopupMenu * menu = getContextMenu( url, view() ); menu->exec( point ); |