summaryrefslogtreecommitdiffstats
path: root/kghostview/kgv_miniwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:34:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-18 19:03:13 +0900
commitea1f5870db808971e833dd901aac2647d50634bd (patch)
tree5eae36dbd282479c91ce1a65c2a7ef8edee0f619 /kghostview/kgv_miniwidget.cpp
parent21cae41ae67ab4478efda7b6def53fcf7e8003bc (diff)
downloadtdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.tar.gz
tdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c616fab9053b07ed30508ab714de876409d82653)
Diffstat (limited to 'kghostview/kgv_miniwidget.cpp')
-rw-r--r--kghostview/kgv_miniwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kghostview/kgv_miniwidget.cpp b/kghostview/kgv_miniwidget.cpp
index 4a4dfc93..580921f7 100644
--- a/kghostview/kgv_miniwidget.cpp
+++ b/kghostview/kgv_miniwidget.cpp
@@ -66,16 +66,16 @@ KGVMiniWidget::KGVMiniWidget( KGVPart* part, const char* name ) :
static_cast< TQPrinter::PageSize >( locale.pageSize() ) );
_thumbnailService = new ThumbnailService( this );
- connect( this, TQT_SIGNAL( newPageShown( int ) ),
- TQT_SLOT( updateStatusBarText( int ) ) );
+ connect( this, TQ_SIGNAL( newPageShown( int ) ),
+ TQ_SLOT( updateStatusBarText( int ) ) );
}
void KGVMiniWidget::setDocument( KGVDocument* document )
{
_document = document;
if( _document )
- connect( _document, TQT_SIGNAL( completed() ),
- TQT_SLOT( slotDocumentOpened() ) );
+ connect( _document, TQ_SIGNAL( completed() ),
+ TQ_SLOT( slotDocumentOpened() ) );
}
TQString KGVMiniWidget::pageSizeToString( TQPrinter::PageSize pageSize )
@@ -109,8 +109,8 @@ void KGVMiniWidget::setPSWidget( KPSWidget* psWidget )
{
_psWidget = psWidget;
// setMagnification( _magnification );
- connect( _psWidget, TQT_SIGNAL( newPageImage( TQPixmap ) ),
- this, TQT_SLOT( sendPage() ) );
+ connect( _psWidget, TQ_SIGNAL( newPageImage( TQPixmap ) ),
+ this, TQ_SLOT( sendPage() ) );
}
void KGVMiniWidget::goToPage()
@@ -452,8 +452,8 @@ void KGVMiniWidget::showPage( int pagenumber )
}
}
// Do this after ajusting pagenumber above
- _thumbnailService->cancelRequests( -1 , _part->scrollBox(), TQT_SLOT( setThumbnail( TQPixmap ) ) );
- _thumbnailService->delayedGetThumbnail( pagenumber, _part->scrollBox(), TQT_SLOT( setThumbnail( TQPixmap ) ), true );
+ _thumbnailService->cancelRequests( -1 , _part->scrollBox(), TQ_SLOT( setThumbnail( TQPixmap ) ) );
+ _thumbnailService->delayedGetThumbnail( pagenumber, _part->scrollBox(), TQ_SLOT( setThumbnail( TQPixmap ) ), true );
emit newPageShown( pagenumber );
}