summaryrefslogtreecommitdiffstats
path: root/kword/KWCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWCanvas.cpp')
-rw-r--r--kword/KWCanvas.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp
index 5b15914b..fdd6eb6b 100644
--- a/kword/KWCanvas.cpp
+++ b/kword/KWCanvas.cpp
@@ -40,7 +40,7 @@
#include <tqbuffer.h>
#include <tqtimer.h>
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <tqprogressdialog.h>
#include <tqobjectlist.h>
#include <tqapplication.h>
@@ -201,7 +201,7 @@ void KWCanvas::repaintChanged( KWFrameSet * fs, bool resetChanged )
void KWCanvas::repaintAll( bool erase /* = false */ )
{
//kdDebug(32002) << "KWCanvas::repaintAll erase=" << erase << endl;
- viewport()->repaint( erase );
+ viewport()->tqrepaint( erase );
}
void KWCanvas::viewportResizeEvent( TQResizeEvent * )
@@ -305,7 +305,7 @@ void KWCanvas::drawFrameSet( KWFrameSet * frameset, TQPainter * painter,
if ( painter->device()->devType() == TQInternal::Printer )
focus = false;
- TQColorGroup gb = TQApplication::palette().active();
+ TQColorGroup gb = TQApplication::tqpalette().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::clipboard()->setSelectionMode( true );
+ TQApplication::tqclipboard()->setSelectionMode( true );
m_currentFrameSetEdit->paste();
- TQApplication::clipboard()->setSelectionMode( false );
+ TQApplication::tqclipboard()->setSelectionMode( false );
}
}
else if ( e->button() == Qt::RightButton ) {
@@ -1032,7 +1032,7 @@ void KWCanvas::mrCreateTable()
emit docStructChanged(Tables);
}
m_doc->updateAllFrames();
- m_doc->layout();
+ m_doc->tqlayout();
repaintAll();
}
@@ -1751,7 +1751,7 @@ bool KWCanvas::eventFilter( TQObject *o, TQEvent *e )
break;
case TQt::Key_M: // 'M' -> mark debug output
{
- const TQDateTime dtMark ( TQDateTime::currentDateTime() );
+ const TQDateTime dtMark ( TQDateTime::tqcurrentDateTime() );
kdDebug(32002) << "Developer mark: " << dtMark.toString("yyyy-MM-dd hh:mm:ss,zzz") << endl;
keyev->accept();
break;
@@ -2231,7 +2231,7 @@ void FrameResizePolicy::handleMouseMove(TQt::ButtonState keyState, const KoPoint
sizeRect.setX( TQMAX(0, sizeRect.x()) ); // otherwise it would get wider than the page
}
- // each frame in m_frames should be reshaped from the original size stored in the
+ // each frame in m_frames should be retqshaped from the original size stored in the
// m_frameResize data to a size that equals the reshaping of m_boundingrect to sizeRect
class Converter {
public: