summaryrefslogtreecommitdiffstats
path: root/khelpcenter/view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khelpcenter/view.cpp')
-rw-r--r--khelpcenter/view.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/khelpcenter/view.cpp b/khelpcenter/view.cpp
index 725ce0455..b0190afd8 100644
--- a/khelpcenter/view.cpp
+++ b/khelpcenter/view.cpp
@@ -13,7 +13,7 @@
#include <tdehtmlview.h>
#include <tdelocale.h>
#include <tdepopupmenu.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tqfileinfo.h>
#include <tqclipboard.h>
@@ -35,10 +35,10 @@ View::View( TQWidget *parentWidget, const char *widgetName,
m_zoomStepping = 10;
- connect( this, TQT_SIGNAL( setWindowCaption( const TQString & ) ),
- this, TQT_SLOT( setTitle( const TQString & ) ) );
- connect( this, TQT_SIGNAL( popupMenu( const TQString &, const TQPoint& ) ),
- this, TQT_SLOT( showMenu( const TQString &, const TQPoint& ) ) );
+ connect( this, TQ_SIGNAL( setWindowCaption( const TQString & ) ),
+ this, TQ_SLOT( setTitle( const TQString & ) ) );
+ connect( this, TQ_SIGNAL( popupMenu( const TQString &, const TQPoint& ) ),
+ this, TQ_SLOT( showMenu( const TQString &, const TQPoint& ) ) );
TQString css = langLookup("common/tde-default.css");
if (!css.isEmpty())
@@ -62,7 +62,7 @@ View::~View()
void View::copySelectedText()
{
- kapp->clipboard()->setText( selectedText() );
+ tdeApp->clipboard()->setText( selectedText() );
}
bool View::openURL( const KURL &url )
@@ -267,7 +267,7 @@ void View::showMenu( const TQString& url, const TQPoint& pos)
}
else
{
- pop->insertItem(i18n("Copy Link Address"), this, TQT_SLOT(slotCopyLink()));
+ pop->insertItem(i18n("Copy Link Address"), this, TQ_SLOT(slotCopyLink()));
mCopyURL = completeURL(url).url();
}
@@ -329,7 +329,7 @@ bool View::eventFilter( TQObject *o, TQEvent *e )
htmlDocument().links().length() == 0 )
return TDEHTMLPart::eventFilter( o, e );
- TQKeyEvent *ke = TQT_TQKEYEVENT( e );
+ TQKeyEvent *ke = static_cast<TQKeyEvent*>( e );
if ( ke->state() & TQt::ShiftButton && ke->key() == Key_Space ) {
// If we're on the first page, it does not make sense to go back.
if ( baseURL().path().endsWith( "/index.html" ) )
@@ -374,7 +374,7 @@ KURL View::urlFromLinkNode( const DOM::Node &n ) const
void View::slotReload( const KURL &url )
{
- const_cast<TDEHTMLSettings *>( settings() )->init( kapp->config() );
+ const_cast<TDEHTMLSettings *>( settings() )->init( tdeApp->config() );
KParts::URLArgs args = browserExtension()->urlArgs();
args.reload = true;
browserExtension()->setURLArgs( args );