summaryrefslogtreecommitdiffstats
path: root/kword/KWDocStruct.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kword/KWDocStruct.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kword/KWDocStruct.cpp')
-rw-r--r--kword/KWDocStruct.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kword/KWDocStruct.cpp b/kword/KWDocStruct.cpp
index 5fe52cf6..bf39df9f 100644
--- a/kword/KWDocStruct.cpp
+++ b/kword/KWDocStruct.cpp
@@ -44,7 +44,7 @@
#include <ktoolbar.h>
#include <ktoolbarbutton.h>
-#include <tqlayout.h>
+#include <layout.h>
/******************************************************************/
/* Class: KWOrderedFrameSet */
@@ -385,12 +385,12 @@ void KWDocStructTextFrameSetItem::setupTextFrames()
if ( KListViewItem::parent()->firstChild() == this && dok->processingType() == KWDocument::WP )
{
if ( dok->numColumns() == 1 )
- name=i18n( "Page %1" ).tqarg(TQString::number(j + 1));
+ name=i18n( "Page %1" ).arg(TQString::number(j + 1));
else
- name=i18n( "Column %1" ).tqarg(TQString::number(j + 1));
+ name=i18n( "Column %1" ).arg(TQString::number(j + 1));
}
else
- name=i18n( "Text Frame %1" ).tqarg(TQString::number(j + 1));
+ name=i18n( "Text Frame %1" ).arg(TQString::number(j + 1));
KWDocStructTextFrameItem* child = findTextFrameItem(frame);
if (child)
child->setText(0, name);
@@ -899,7 +899,7 @@ void KWDocStructRootItem::setupFormulaFrames()
if ( frameset->type() == FT_FORMULA &&
frameset->frameCount()>0 )
{
- _name=i18n("Formula Frame %1").tqarg(TQString::number(i+1));
+ _name=i18n("Formula Frame %1").arg(TQString::number(i+1));
child = new KWDocStructFormulaItem(this, _name, dynamic_cast<KWFormulaFrameSet*>( frameset ));
}
}
@@ -977,7 +977,7 @@ void KWDocStructRootItem::setupPictures()
frameset = dok->frameSet( i );
if ( frameset->type() == FT_PICTURE && frameset->frameCount()>0)
{
- _name=i18n("Picture (%1) %2").tqarg(dynamic_cast<KWPictureFrameSet*>( frameset )->key().filename()).tqarg(++j);
+ _name=i18n("Picture (%1) %2").arg(dynamic_cast<KWPictureFrameSet*>( frameset )->key().filename()).arg(++j);
child = new KWDocStructPictureItem(this, _name, dynamic_cast<KWPictureFrameSet*>( frameset ));
}
}