summaryrefslogtreecommitdiffstats
path: root/kword
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
commit7d18baa666593a494ceea480732a8540ba471fe5 (patch)
tree1c656ba0da61a3bfcf4c4de730e66322865844fe /kword
parent951839808408bed4165fc025dbf00caf59ea319b (diff)
downloadkoffice-7d18baa666593a494ceea480732a8540ba471fe5.tar.gz
koffice-7d18baa666593a494ceea480732a8540ba471fe5.zip
Rename additional global TQt functions
Diffstat (limited to 'kword')
-rw-r--r--kword/KWCommand.cpp14
-rw-r--r--kword/KWInsertTOCCommand.cpp2
2 files changed, 8 insertions, 8 deletions
diff --git a/kword/KWCommand.cpp b/kword/KWCommand.cpp
index 20a4c918..5acb647e 100644
--- a/kword/KWCommand.cpp
+++ b/kword/KWCommand.cpp
@@ -88,7 +88,7 @@ KoTextCursor * KWPasteTextCommand::execute( KoTextCursor *c )
{
KoTextParag *firstParag = doc->paragAt( m_parag );
if ( !firstParag ) {
- qWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
+ tqWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
return 0;
}
//kdDebug() << "KWPasteTextCommand::execute m_parag=" << m_parag << " m_idx=" << m_idx
@@ -206,7 +206,7 @@ KoTextCursor * KWPasteTextCommand::unexecute( KoTextCursor *c )
{
KoTextParag *firstParag = doc->paragAt( m_parag );
if ( !firstParag ) {
- qWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
+ tqWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
return 0;
}
cursor.setParag( firstParag );
@@ -215,7 +215,7 @@ KoTextCursor * KWPasteTextCommand::unexecute( KoTextCursor *c )
KoTextParag *lastParag = doc->paragAt( m_lastParag );
if ( !lastParag ) {
- qWarning( "can't locate parag at %d, last parag: %d", m_lastParag, doc->lastParag()->paragId() );
+ tqWarning( "can't locate parag at %d, last parag: %d", m_lastParag, doc->lastParag()->paragId() );
return 0;
}
Q_ASSERT( lastParag->document() );
@@ -255,7 +255,7 @@ KoTextCursor * KWOasisPasteCommand::execute( KoTextCursor *c )
{
KoTextParag *firstParag = doc->paragAt( m_parag );
if ( !firstParag ) {
- qWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
+ tqWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
return c;
}
//kdDebug() << "KWOasisPasteCommand::execute m_parag=" << m_parag << " m_idx=" << m_idx
@@ -285,7 +285,7 @@ KoTextCursor * KWOasisPasteCommand::unexecute( KoTextCursor *c )
{
KoTextParag *firstParag = doc->paragAt( m_parag );
if ( !firstParag ) {
- qWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
+ tqWarning( "can't locate parag at %d, last parag: %d", m_parag, doc->lastParag()->paragId() );
return 0;
}
cursor.setParag( firstParag );
@@ -294,7 +294,7 @@ KoTextCursor * KWOasisPasteCommand::unexecute( KoTextCursor *c )
KoTextParag *lastParag = doc->paragAt( m_lastParag );
if ( !lastParag ) {
- qWarning( "can't locate parag at %d, last parag: %d", m_lastParag, doc->lastParag()->paragId() );
+ tqWarning( "can't locate parag at %d, last parag: %d", m_lastParag, doc->lastParag()->paragId() );
return 0;
}
Q_ASSERT( lastParag->document() );
@@ -340,7 +340,7 @@ void KWTextDeleteCommand::createBookmarkList()
#if 0
KoTextParag *s = doc ? doc->paragAt( id ) : parag;
if ( !s ) {
- qWarning( "can't locate parag at %d, last parag: %d", id, doc->lastParag()->paragId() );
+ tqWarning( "can't locate parag at %d, last parag: %d", id, doc->lastParag()->paragId() );
return;
}
diff --git a/kword/KWInsertTOCCommand.cpp b/kword/KWInsertTOCCommand.cpp
index ebf6c480..85b18a0a 100644
--- a/kword/KWInsertTOCCommand.cpp
+++ b/kword/KWInsertTOCCommand.cpp
@@ -42,7 +42,7 @@ KoTextCursor * KWInsertTOCCommand::execute( KoTextCursor *c )
KoTextParag *insertionParag = textdoc->paragAt( m_paragId );
if ( !insertionParag ) {
- qWarning( "KWInsertTOCCommand:: can't locate parag at %d, last parag: %d", m_paragId, textdoc->lastParag()->paragId() );
+ tqWarning( "KWInsertTOCCommand:: can't locate parag at %d, last parag: %d", m_paragId, textdoc->lastParag()->paragId() );
return c;
}
KWTextParag *body = static_cast<KWTextParag *>( insertionParag );