summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_doc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_doc.cc')
-rw-r--r--kspread/kspread_doc.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/kspread/kspread_doc.cc b/kspread/kspread_doc.cc
index c277e991..8a580ecb 100644
--- a/kspread/kspread_doc.cc
+++ b/kspread/kspread_doc.cc
@@ -218,7 +218,7 @@ Doc::Doc( TQWidget *parentWidget, const char *widgetName, TQObject* parent, cons
if ( !name )
{
TQString tmp( "Document%1" );
- tmp = tmp.tqarg( d->s_docId++ );
+ tmp = tmp.arg( d->s_docId++ );
setName( tmp.local8Bit());//tmp.latin1() );
dcopObject();
}
@@ -998,7 +998,7 @@ bool Doc::loadOasis( const TQDomDocument& doc, KoOasisStyles& oasisStyles, const
if ( localName.isEmpty() )
setErrorMessage( i18n( "Invalid OASIS OpenDocument file. No tag found inside office:body." ) );
else
- setErrorMessage( i18n( "This document is not a spreadsheet, but %1. Please try opening it with the appropriate application." ).tqarg( KoDocument::tagNameToDocumentType( localName ) ) );
+ setErrorMessage( i18n( "This document is not a spreadsheet, but %1. Please try opening it with the appropriate application." ).arg( KoDocument::tagNameToDocumentType( localName ) ) );
deleteLoadingInfo();
return false;
}
@@ -1086,7 +1086,7 @@ bool Doc::loadXML( TQIODevice *, const TQDomDocument& doc )
if ( spread.attribute( "mime" ) != "application/x-kspread" && spread.attribute( "mime" ) != "application/vnd.kde.kspread" )
{
d->isLoading = false;
- setErrorMessage( i18n( "Invalid document. Expected mimetype application/x-kspread or application/vnd.kde.kspread, got %1" ).tqarg( spread.attribute("mime") ) );
+ setErrorMessage( i18n( "Invalid document. Expected mimetype application/x-kspread or application/vnd.kde.kspread, got %1" ).arg( spread.attribute("mime") ) );
return false;
}
@@ -1095,7 +1095,7 @@ bool Doc::loadXML( TQIODevice *, const TQDomDocument& doc )
{
int ret = KMessageBox::warningContinueCancel(
0, i18n("This document was created with a newer version of KSpread (syntax version: %1)\n"
- "When you open it with this version of KSpread, some information may be lost.").tqarg(d->syntaxVersion),
+ "When you open it with this version of KSpread, some information may be lost.").arg(d->syntaxVersion),
i18n("File Format Mismatch"), KStdGuiItem::cont() );
if ( ret == KMessageBox::Cancel )
{
@@ -1731,7 +1731,7 @@ void Doc::paintCellRegions(TQPainter& painter, const TQRect &viewRect,
const Sheet* sheet, bool /*drawCursor*/)
{
//
- // Clip away tqchildren
+ // Clip away children
//
TQRegion rgn = painter.clipRegion();
@@ -1749,7 +1749,7 @@ void Doc::paintCellRegions(TQPainter& painter, const TQRect &viewRect,
matrix = painter.worldMatrix();
}
-// TQPtrListIterator<KoDocumentChild> it( tqchildren() );
+// TQPtrListIterator<KoDocumentChild> it( children() );
// for( ; it.current(); ++it ) {
// // if ( ((Child*)it.current())->sheet() == sheet &&
// // !m_pView->hasDocumentInWindow( it.current()->document() ) )
@@ -2192,7 +2192,7 @@ void Doc::emitBeginOperation(bool waitCursor)
//are expected to be completed in a short time anyway.
TQCursor* activeOverride = static_cast<TQCursor*>(TQApplication::overrideCursor());
- if (waitCursor && ( (!activeOverride) || (activeOverride->tqshape() != TQt::waitCursor.tqshape()) ) )
+ if (waitCursor && ( (!activeOverride) || (activeOverride->shape() != TQt::waitCursor.shape()) ) )
{
TQApplication::setOverrideCursor(TQt::waitCursor);
}
@@ -2200,7 +2200,7 @@ void Doc::emitBeginOperation(bool waitCursor)
// /* just duplicate the current cursor on the stack, then */
// else if (TQApplication::overrideCursor() != NULL)
// {
-// TQApplication::setOverrideCursor(TQApplication::overrideCursor()->tqshape());
+// TQApplication::setOverrideCursor(TQApplication::overrideCursor()->shape());
// }
KoDocument::emitBeginOperation();
@@ -2379,7 +2379,7 @@ KoPictureCollection *Doc::pictureCollection()
return &d->m_pictureCollection;
}
-void Doc::tqrepaint( const TQRect& rect )
+void Doc::repaint( const TQRect& rect )
{
TQRect r;
TQPtrListIterator<KoView> it( views() );
@@ -2393,7 +2393,7 @@ void Doc::tqrepaint( const TQRect& rect )
}
}
-void Doc::tqrepaint( EmbeddedObject *obj )
+void Doc::repaint( EmbeddedObject *obj )
{
TQPtrListIterator<KoView> it( views() );
for( ; it.current(); ++it )
@@ -2404,7 +2404,7 @@ void Doc::tqrepaint( EmbeddedObject *obj )
}
}
-void Doc::tqrepaint( const KoRect& rect )
+void Doc::repaint( const KoRect& rect )
{
TQRect r;
TQPtrListIterator<KoView> it( views() );