diff options
Diffstat (limited to 'kugar/lib/mreportviewer.cpp')
-rw-r--r-- | kugar/lib/mreportviewer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kugar/lib/mreportviewer.cpp b/kugar/lib/mreportviewer.cpp index a3fd9ab5..5cbacf58 100644 --- a/kugar/lib/mreportviewer.cpp +++ b/kugar/lib/mreportviewer.cpp @@ -38,7 +38,7 @@ void MReportViewer::init() scroller = new TQScrollView( this ); // Connect the rendering update signal and slot - connect( rptEngine, TQT_SIGNAL( signalRendertqStatus( int ) ), + connect( rptEngine, TQT_SIGNAL( signalRenderStatus( int ) ), TQT_SLOT( slotRenderProgress( int ) ) ); connect( rptEngine, TQT_SIGNAL( preferedTemplate( const TQString & ) ), @@ -175,7 +175,7 @@ void MReportViewer::slotFirstPage() if ( ( page = report->getFirstPage() ) != 0 ) { display->setPage( page ); - display->tqrepaint(); + display->repaint(); } } @@ -192,7 +192,7 @@ void MReportViewer::slotNextPage() if ( ( page = report->getNextPage() ) != 0 ) { display->setPage( page ); - display->tqrepaint(); + display->repaint(); } else report->setCurrentPage( index ); @@ -211,7 +211,7 @@ void MReportViewer::slotPrevPage() if ( ( page = report->getPreviousPage() ) != 0 ) { display->setPage( page ); - display->tqrepaint(); + display->repaint(); } else report->setCurrentPage( index ); @@ -228,7 +228,7 @@ void MReportViewer::slotLastPage() if ( ( page = report->getLastPage() ) != 0 ) { display->setPage( page ); - display->tqrepaint(); + display->repaint(); } } @@ -273,9 +273,9 @@ void MReportViewer::slotRenderProgress( int p ) // Return the preferred size. -TQSize MReportViewer::tqsizeHint() const +TQSize MReportViewer::sizeHint() const { - return scroller -> tqsizeHint(); + return scroller -> sizeHint(); } void MReportViewer::printReport( KPrinter &printer ) |