summaryrefslogtreecommitdiffstats
path: root/karbon/karbon_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/karbon_view.cc')
-rw-r--r--karbon/karbon_view.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/karbon_view.cc b/karbon/karbon_view.cc
index 10df9e02..3ea792f2 100644
--- a/karbon/karbon_view.cc
+++ b/karbon/karbon_view.cc
@@ -494,7 +494,7 @@ KarbonView::addSelectionToClipboard() const
KarbonDrag* kd = new KarbonDrag();
kd->setObjectList( part()->document().selection()->objects() );
- TQApplication::tqclipboard()->setData( kd );
+ TQApplication::clipboard()->setData( kd );
}
void
@@ -503,7 +503,7 @@ KarbonView::editPaste()
KarbonDrag kd;
VObjectList objects;
- if( !kd.decode( TQApplication::tqclipboard()->data(), objects, part()->document() ) )
+ if( !kd.decode( TQApplication::clipboard()->data(), objects, part()->document() ) )
return;
// Paste with a small offset.
@@ -1310,11 +1310,11 @@ void
KarbonView::pageLayout()
{
KoHeadFoot hf;
- KoPageLayout tqlayout = part()->pageLayout();
+ KoPageLayout layout = part()->pageLayout();
KoUnit::Unit unit = part()->unit();
- if( KoPageLayoutDia::pageLayout( tqlayout, hf, FORMAT_AND_BORDERS | DISABLE_UNIT, unit ) )
+ if( KoPageLayoutDia::pageLayout( layout, hf, FORMAT_AND_BORDERS | DISABLE_UNIT, unit ) )
{
- part()->setPageLayout( tqlayout, unit );
+ part()->setPageLayout( layout, unit );
m_horizRuler->setUnit( unit );
m_vertRuler->setUnit( unit );
m_canvas->resizeContents( int( ( part()->pageLayout().ptWidth + 300 ) * zoom() ),