summaryrefslogtreecommitdiffstats
path: root/kword/KWDocStruct.cpp
diff options
context:
space:
mode:
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 ));
}
}