summaryrefslogtreecommitdiffstats
path: root/kword/KWCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWCanvas.cpp')
-rw-r--r--kword/KWCanvas.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp
index 58baa44b..4a469cca 100644
--- a/kword/KWCanvas.cpp
+++ b/kword/KWCanvas.cpp
@@ -305,7 +305,7 @@ void KWCanvas::drawFrameSet( KWFrameSet * frameset, TQPainter * painter,
if ( painter->device()->devType() == TQInternal::Printer )
focus = false;
- TQColorGroup gb = TQApplication::tqpalette().active();
+ TQColorGroup gb = TQApplication::palette().active();
if ( focus && m_currentFrameSetEdit && frameset == m_currentFrameSetEdit->frameSet() )
// Currently edited frameset
m_currentFrameSetEdit->drawContents( painter, crect, gb, onlyChanged, resetChanged, viewMode, m_frameViewManager );
@@ -543,9 +543,9 @@ void KWCanvas::contentsMousePressEvent( TQMouseEvent *e )
if ( e->button() == Qt::MidButton ) {
if ( m_doc->isReadWrite() && m_currentFrameSetEdit && m_mouseMode == MM_EDIT )
{
- TQApplication::tqclipboard()->setSelectionMode( true );
+ TQApplication::clipboard()->setSelectionMode( true );
m_currentFrameSetEdit->paste();
- TQApplication::tqclipboard()->setSelectionMode( false );
+ TQApplication::clipboard()->setSelectionMode( false );
}
}
else if ( e->button() == Qt::RightButton ) {
@@ -1032,7 +1032,7 @@ void KWCanvas::mrCreateTable()
emit docStructChanged(Tables);
}
m_doc->updateAllFrames();
- m_doc->tqlayout();
+ m_doc->layout();
repaintAll();
}