summaryrefslogtreecommitdiffstats
path: root/tdehtml/rendering/render_frames.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/rendering/render_frames.cpp')
-rw-r--r--tdehtml/rendering/render_frames.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tdehtml/rendering/render_frames.cpp b/tdehtml/rendering/render_frames.cpp
index 68c66495a..1035f97a0 100644
--- a/tdehtml/rendering/render_frames.cpp
+++ b/tdehtml/rendering/render_frames.cpp
@@ -66,7 +66,7 @@ RenderFrameSet::RenderFrameSet( HTMLFrameSetElementImpl *frameSet)
m_resizing = m_clientresizing= false;
- m_cursor = Qt::ArrowCursor;
+ m_cursor = TQt::ArrowCursor;
m_hSplit = -1;
m_vSplit = -1;
@@ -498,13 +498,13 @@ bool RenderFrameSet::userResize( MouseEventImpl *evt )
}
- m_cursor = Qt::ArrowCursor;
+ m_cursor = TQt::ArrowCursor;
if(m_hSplit != -1 && m_vSplit != -1)
- m_cursor = Qt::SizeAllCursor;
+ m_cursor = TQt::SizeAllCursor;
else if( m_vSplit != -1 )
- m_cursor = Qt::SizeHorCursor;
+ m_cursor = TQt::SizeHorCursor;
else if( m_hSplit != -1 )
- m_cursor = Qt::SizeVerCursor;
+ m_cursor = TQt::SizeVerCursor;
if(!m_resizing && evt->id() == EventImpl::MOUSEDOWN_EVENT)
{
@@ -548,8 +548,8 @@ bool RenderFrameSet::userResize( MouseEventImpl *evt )
TDEHTMLView *view = canvas()->view();
if ((m_resizing || evt->id() == EventImpl::MOUSEUP_EVENT) && view) {
TQPainter paint( view );
- paint.setPen( Qt::gray );
- paint.setBrush( Qt::gray );
+ paint.setPen( TQt::gray );
+ paint.setBrush( TQt::gray );
paint.setRasterOp( TQt::XorROP );
TQRect r(xPos(), yPos(), width(), height());
const int rBord = 3;
@@ -634,9 +634,9 @@ void RenderPart::setWidget( TQWidget *widget )
#endif
setQWidget( widget );
- widget->setFocusPolicy(TQ_WheelFocus);
+ widget->setFocusPolicy(TQWidget::WheelFocus);
if(widget->inherits("TDEHTMLView"))
- connect( widget, TQT_SIGNAL( cleared() ), this, TQT_SLOT( slotViewCleared() ) );
+ connect( widget, TQ_SIGNAL( cleared() ), this, TQ_SLOT( slotViewCleared() ) );
setNeedsLayoutAndMinMaxRecalc();
@@ -674,7 +674,7 @@ RenderFrame::RenderFrame( DOM::HTMLFrameElementImpl *frame )
void RenderFrame::slotViewCleared()
{
- if(m_widget->inherits(TQSCROLLVIEW_OBJECT_NAME_STRING)) {
+ if(m_widget->inherits("TQScrollView")) {
#ifdef DEBUG_LAYOUT
kdDebug(6031) << "frame is a scrollview!" << endl;
#endif
@@ -888,7 +888,7 @@ bool RenderPartObject::partLoadingErrorNotify( tdehtml::ChildFrame *childFrame,
}
// Dissociate ourselves from the current event loop (to prevent crashes
// due to the message box staying up)
- TQTimer::singleShot( 0, this, TQT_SLOT( slotPartLoadingErrorNotify() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotPartLoadingErrorNotify() ) );
#if 0
Tokenizer *tokenizer = static_cast<DOM::DocumentImpl *>(part->document().handle())->tokenizer();
if (tokenizer) tokenizer->setOnHold( true );
@@ -989,7 +989,7 @@ void RenderPartObject::layout( )
void RenderPartObject::slotViewCleared()
{
- if(m_widget->inherits(TQSCROLLVIEW_OBJECT_NAME_STRING) ) {
+ if(m_widget->inherits("TQScrollView") ) {
#ifdef DEBUG_LAYOUT
kdDebug(6031) << "iframe is a scrollview!" << endl;
#endif