summaryrefslogtreecommitdiffstats
path: root/kghostview/kgv_miniwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-21 11:50:18 +0900
committerMichele Calgaro <[email protected]>2023-12-21 12:00:19 +0900
commit55cef714419f6e36e66dc75afc40682ea5c73a35 (patch)
tree5e72b5e899aa3837c1a7fd60fbe5cc21c0acead3 /kghostview/kgv_miniwidget.cpp
parent3849f5c32c10eba032a6738fd47331c0fa6afe1c (diff)
downloadtdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.tar.gz
tdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kghostview/kgv_miniwidget.cpp')
-rw-r--r--kghostview/kgv_miniwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kghostview/kgv_miniwidget.cpp b/kghostview/kgv_miniwidget.cpp
index 5d6ca3df..4a4dfc93 100644
--- a/kghostview/kgv_miniwidget.cpp
+++ b/kghostview/kgv_miniwidget.cpp
@@ -384,7 +384,7 @@ void KGVMiniWidget::showPage( int pagenumber )
kdDebug(4500) << "KGVMiniWidget::showPage( " << pagenumber << " )" << endl;
- TQT_TQWIDGET( _psWidget->parent() )->show();
+ static_cast<TQWidget*>( _psWidget->parent() )->show();
_psWidget->setFileName(_document->fileName(), dsc()->isStructured() );
_psWidget->clear();
@@ -452,8 +452,8 @@ void KGVMiniWidget::showPage( int pagenumber )
}
}
// Do this after ajusting pagenumber above
- _thumbnailService->cancelRequests( -1 , TQT_TQOBJECT(_part->scrollBox()), TQT_SLOT( setThumbnail( TQPixmap ) ) );
- _thumbnailService->delayedGetThumbnail( pagenumber, TQT_TQOBJECT(_part->scrollBox()), TQT_SLOT( setThumbnail( TQPixmap ) ), true );
+ _thumbnailService->cancelRequests( -1 , _part->scrollBox(), TQT_SLOT( setThumbnail( TQPixmap ) ) );
+ _thumbnailService->delayedGetThumbnail( pagenumber, _part->scrollBox(), TQT_SLOT( setThumbnail( TQPixmap ) ), true );
emit newPageShown( pagenumber );
}