summaryrefslogtreecommitdiffstats
path: root/src/kde
diff options
context:
space:
mode:
Diffstat (limited to 'src/kde')
-rw-r--r--src/kde/kchmviewwindow_tdehtmlpart.cpp36
-rw-r--r--src/kde/kchmviewwindow_tdehtmlpart.h14
2 files changed, 25 insertions, 25 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 );
diff --git a/src/kde/kchmviewwindow_tdehtmlpart.h b/src/kde/kchmviewwindow_tdehtmlpart.h
index b840b44..4bc45c7 100644
--- a/src/kde/kchmviewwindow_tdehtmlpart.h
+++ b/src/kde/kchmviewwindow_tdehtmlpart.h
@@ -19,8 +19,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef KCHMVIEWWINDOW_KHTMLPART_H
-#define KCHMVIEWWINDOW_KHTMLPART_H
+#ifndef KCHMVIEWWINDOW_TDEHTMLPART_H
+#define KCHMVIEWWINDOW_TDEHTMLPART_H
#include "kde-qt.h"
@@ -36,19 +36,19 @@
@author Georgy Yunaev
*/
/*
- * For TQt-only version, we cannot compile KCHMViewWindow_KHTMLPart. However,
+ * For TQt-only version, we cannot compile KCHMViewWindow_TDEHTMLPart. However,
* we cannot just exclude it, because it would not generate a MOC file for a KDE
* version. Therefore we declare it, and compile the .moc file, but do not provide
* the class methods.
*/
#if defined (USE_KDE)
-class KCHMViewWindow_KHTMLPart : public KHTMLPart, public KCHMViewWindow
+class KCHMViewWindow_TDEHTMLPart : public TDEHTMLPart, public KCHMViewWindow
{
Q_OBJECT
public:
- KCHMViewWindow_KHTMLPart( TQTabWidget * parent );
- ~KCHMViewWindow_KHTMLPart();
+ KCHMViewWindow_TDEHTMLPart( TQTabWidget * parent );
+ ~KCHMViewWindow_TDEHTMLPart();
//! Open a page from current chm archive
virtual bool openPage (const TQString& url);
@@ -115,4 +115,4 @@ private:
#endif /* USE_KDE */
-#endif /* KCHMVIEWWINDOW_KHTMLPART_H */
+#endif /* KCHMVIEWWINDOW_TDEHTMLPART_H */