diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
| commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
| tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kugar/lib/mreportviewer.cpp | |
| parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
| download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip | |
Rename a number of old tq methods that are no longer tq specific
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 a3fd9ab5d..5cbacf580 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 ) |
