diff options
Diffstat (limited to 'kspread/kspread_view.cc')
-rw-r--r-- | kspread/kspread_view.cc | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kspread/kspread_view.cc b/kspread/kspread_view.cc index 89c5ff35..b54932da 100644 --- a/kspread/kspread_view.cc +++ b/kspread/kspread_view.cc @@ -237,7 +237,7 @@ public: TQPopupMenu *popupRow; TQPopupMenu *popupColumn; - TQPopupMenu* popupChild; // for embedded tqchildren + TQPopupMenu* popupChild; // for embedded children TQPopupMenu* popupListChoose; // for list of choose // the child for which the popup menu has been opened. @@ -1473,7 +1473,7 @@ bool KPSheetSelectPage::isValid(TQString& /*msg*/) TQString KPSheetSelectPage::printOptionForIndex(unsigned int index) { - return TQString("sheetprintorder%1").tqarg(index); + return TQString("sheetprintorder%1").arg(index); } void KPSheetSelectPage::prependAvailableSheet(const TQString& sheetname) @@ -1880,7 +1880,7 @@ View::~View() // of embedded child documents possible repaints in Sheet are not // performed. The repains can happen if you delete an embedded document, // which leads to an regionInvalidated() signal emission in KoView, which calls - // tqrepaint, etc.etc. :-) (Simon) + // repaint, etc.etc. :-) (Simon) delete d->selection; delete d->choice; @@ -3832,8 +3832,8 @@ void View::setActiveSheet( Sheet * _t, bool updateSheet ) if ( updateSheet ) { d->tabBar->setActiveTab( _t->sheetName() ); - d->vBorderWidget->tqrepaint(); - d->hBorderWidget->tqrepaint(); + d->vBorderWidget->repaint(); + d->hBorderWidget->repaint(); d->activeSheet->setRegionPaintDirty(TQRect(TQPoint(0,0), TQPoint(KS_colMax, KS_rowMax))); d->canvas->slotMaxColumn( d->activeSheet->maxColumn() ); d->canvas->slotMaxRow( d->activeSheet->maxRow() ); @@ -3914,8 +3914,8 @@ void View::changeSheet( const TQString& _name ) updateBorderButton(); //update visible area - d->vBorderWidget->tqrepaint(); - d->hBorderWidget->tqrepaint(); + d->vBorderWidget->repaint(); + d->hBorderWidget->repaint(); d->canvas->slotMaxColumn( d->activeSheet->maxColumn() ); d->canvas->slotMaxRow( d->activeSheet->maxRow() ); t->setRegionPaintDirty( t->visibleRect( d->canvas ) ); @@ -4971,7 +4971,7 @@ void View::print( KPrinter &prt ) Sheet* sheet = doc()->map()->findSheet(*sheetlistiterator); if (sheet == NULL) { - kdWarning() << i18n("Sheet %1 could not be found for printing").tqarg(*sheetlistiterator) << endl; + kdWarning() << i18n("Sheet %1 could not be found for printing").arg(*sheetlistiterator) << endl; continue; } @@ -5038,7 +5038,7 @@ void View::print( KPrinter &prt ) if( !prt.previewOnly() ) { KMessageBox::information( 0, - i18n("Nothing to print for sheet %1.").tqarg( + i18n("Nothing to print for sheet %1.").arg( d->activeSheet->sheetName()) ); //@todo: make sure we really can comment this out, // what to do with partially broken printouts? @@ -5051,13 +5051,13 @@ void View::print( KPrinter &prt ) this->setActiveSheet(selectedsheet); } -void View::insertChart( const TQRect& _tqgeometry, KoDocumentEntry& _e ) +void View::insertChart( const TQRect& _geometry, KoDocumentEntry& _e ) { if ( !d->activeSheet ) return; // Transform the view coordinates to document coordinates - KoRect unzoomedRect = doc()->unzoomRect( _tqgeometry ); + KoRect unzoomedRect = doc()->unzoomRect( _geometry ); unzoomedRect.moveBy( d->canvas->xOffset(), d->canvas->yOffset() ); InsertObjectCommand *cmd = 0; @@ -5073,13 +5073,13 @@ void View::insertChart( const TQRect& _tqgeometry, KoDocumentEntry& _e ) cmd->execute(); } -void View::insertChild( const TQRect& _tqgeometry, KoDocumentEntry& _e ) +void View::insertChild( const TQRect& _geometry, KoDocumentEntry& _e ) { if ( !d->activeSheet ) return; // Transform the view coordinates to document coordinates - KoRect unzoomedRect = doc()->unzoomRect( _tqgeometry ); + KoRect unzoomedRect = doc()->unzoomRect( _geometry ); unzoomedRect.moveBy( d->canvas->xOffset(), d->canvas->yOffset() ); InsertObjectCommand *cmd = new InsertObjectCommand( unzoomedRect, _e, d->canvas ); @@ -5135,11 +5135,11 @@ void View::slotUpdateChildGeometry( EmbeddedKOfficeObject */*_child*/ ) assert( f != 0L ); // Are we already up to date ? - if ( _child->tqgeometry() == f->partGeometry() ) + if ( _child->geometry() == f->partGeometry() ) return; // TODO zooming - f->setPartGeometry( _child->tqgeometry() ); + f->setPartGeometry( _child->geometry() ); */ } @@ -5498,7 +5498,7 @@ KoDocument * View::hitTest( const TQPoint& /*pos*/ ) // return 0; // } // -// TQPtrListIterator<KoDocumentChild> it( doc()->tqchildren() ); +// TQPtrListIterator<KoDocumentChild> it( doc()->children() ); // for (; it.current(); ++it ) // { // // Is the child document on the visible sheet ? @@ -6401,7 +6401,7 @@ void View::styleDialog() d->activeSheet->setRegionPaintDirty( d->activeSheet->visibleRect( d->canvas ) ); } if ( d->canvas ) - d->canvas->tqrepaint(); + d->canvas->repaint(); } void View::paperLayoutDlg() @@ -6748,9 +6748,9 @@ void View::zoomMinus() if ( d->activeSheet != 0L ) d->activeSheet->setLayoutDirtyFlag(); - d->canvas->tqrepaint(); - d->vBorderWidget->tqrepaint(); - d->hBorderWidget->tqrepaint(); + d->canvas->repaint(); + d->vBorderWidget->repaint(); + d->hBorderWidget->repaint(); } void View::zoomPlus() @@ -6763,9 +6763,9 @@ void View::zoomPlus() if ( d->activeSheet != 0L ) d->activeSheet->setLayoutDirtyFlag(); - d->canvas->tqrepaint(); - d->vBorderWidget->tqrepaint(); - d->hBorderWidget->tqrepaint(); + d->canvas->repaint(); + d->vBorderWidget->repaint(); + d->hBorderWidget->repaint(); } */ @@ -6911,9 +6911,9 @@ void View::slotAddSheet( Sheet *_sheet ) void View::slotRefreshView() { refreshView(); - d->canvas->tqrepaint(); - d->vBorderWidget->tqrepaint(); - d->hBorderWidget->tqrepaint(); + d->canvas->repaint(); + d->vBorderWidget->repaint(); + d->hBorderWidget->repaint(); } void View::slotUpdateView( Sheet *_sheet ) |