summaryrefslogtreecommitdiffstats
path: root/kword/KWDocStruct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWDocStruct.cpp')
-rw-r--r--kword/KWDocStruct.cpp70
1 files changed, 35 insertions, 35 deletions
diff --git a/kword/KWDocStruct.cpp b/kword/KWDocStruct.cpp
index 1aa56d5e..5fe52cf6 100644
--- a/kword/KWDocStruct.cpp
+++ b/kword/KWDocStruct.cpp
@@ -74,18 +74,18 @@ bool KWOrderedFrameSet::operator<( KWOrderedFrameSet ofs )
/* Class: KWDocDocListViewItem */
/******************************************************************/
-KWDocListViewItem::KWDocListViewItem(TQListViewItem* tqparent, const TQString& text)
- : KListViewItem(tqparent, text)
+KWDocListViewItem::KWDocListViewItem(TQListViewItem* parent, const TQString& text)
+ : KListViewItem(parent, text)
{
}
-KWDocListViewItem::KWDocListViewItem(TQListViewItem* tqparent, TQListViewItem* after, const TQString& text )
- :KListViewItem(tqparent, after, text)
+KWDocListViewItem::KWDocListViewItem(TQListViewItem* parent, TQListViewItem* after, const TQString& text )
+ :KListViewItem(parent, after, text)
{
}
-KWDocListViewItem::KWDocListViewItem(TQListView* tqparent, const TQString& text)
- :KListViewItem(tqparent, text)
+KWDocListViewItem::KWDocListViewItem(TQListView* parent, const TQString& text)
+ :KListViewItem(parent, text)
{
}
@@ -120,14 +120,14 @@ KWGUI* KWDocListViewItem::gui()
/* Class: KWDocStructParagItem */
/******************************************************************/
-KWDocStructParagItem::KWDocStructParagItem(TQListViewItem* tqparent, const TQString& text, KWTextParag* parag )
- : KWDocListViewItem(tqparent, text), m_parag(parag)
+KWDocStructParagItem::KWDocStructParagItem(TQListViewItem* parent, const TQString& text, KWTextParag* parag )
+ : KWDocListViewItem(parent, text), m_parag(parag)
{
}
-KWDocStructParagItem::KWDocStructParagItem(TQListViewItem* tqparent, TQListViewItem* after,
+KWDocStructParagItem::KWDocStructParagItem(TQListViewItem* parent, TQListViewItem* after,
const TQString& text, KWTextParag* parag )
- : KWDocListViewItem(tqparent, after, text), m_parag(parag)
+ : KWDocListViewItem(parent, after, text), m_parag(parag)
{
}
@@ -185,15 +185,15 @@ void KWDocStructParagItem::speakItem()
/* Class: KWDocStructTextFrameItem */
/******************************************************************/
-KWDocStructTextFrameItem::KWDocStructTextFrameItem(TQListViewItem* tqparent, const TQString& text,
+KWDocStructTextFrameItem::KWDocStructTextFrameItem(TQListViewItem* parent, const TQString& text,
KWTextFrameSet* frameset, KWFrame* frame)
- : KWDocListViewItem(tqparent, text), m_frame(frame), m_frameset(frameset)
+ : KWDocListViewItem(parent, text), m_frame(frame), m_frameset(frameset)
{
}
-KWDocStructTextFrameItem::KWDocStructTextFrameItem(TQListViewItem* tqparent, TQListViewItem* after,
+KWDocStructTextFrameItem::KWDocStructTextFrameItem(TQListViewItem* parent, TQListViewItem* after,
const TQString& text, KWTextFrameSet* frameset, KWFrame* frame)
- : KWDocListViewItem(tqparent, after, text), m_frame(frame), m_frameset(frameset)
+ : KWDocListViewItem(parent, after, text), m_frame(frame), m_frameset(frameset)
{
}
@@ -345,15 +345,15 @@ KWDocStructParagItem* KWDocStructTextFrameItem::findTextParagItem(const KWTextPa
/* Class: KWDocStructTextFrameSetItem */
/******************************************************************/
-KWDocStructTextFrameSetItem::KWDocStructTextFrameSetItem(TQListViewItem* tqparent, const TQString& text,
+KWDocStructTextFrameSetItem::KWDocStructTextFrameSetItem(TQListViewItem* parent, const TQString& text,
KWTextFrameSet* frameset)
- : KWDocListViewItem(tqparent, text ), m_frameset(frameset)
+ : KWDocListViewItem(parent, text ), m_frameset(frameset)
{
}
-KWDocStructTextFrameSetItem::KWDocStructTextFrameSetItem(TQListViewItem* tqparent, TQListViewItem* after,
+KWDocStructTextFrameSetItem::KWDocStructTextFrameSetItem(TQListViewItem* parent, TQListViewItem* after,
const TQString& text, KWTextFrameSet* frameset)
- : KWDocListViewItem(tqparent, after, text), m_frameset(frameset)
+ : KWDocListViewItem(parent, after, text), m_frameset(frameset)
{
}
@@ -382,7 +382,7 @@ void KWDocStructTextFrameSetItem::setupTextFrames()
{
KWFrame* frame = framePtrs.at(j);
TQString name;
- if ( KListViewItem::tqparent()->firstChild() == this && dok->processingType() == KWDocument::WP )
+ if ( KListViewItem::parent()->firstChild() == this && dok->processingType() == KWDocument::WP )
{
if ( dok->numColumns() == 1 )
name=i18n( "Page %1" ).tqarg(TQString::number(j + 1));
@@ -463,15 +463,15 @@ KWDocStructTextFrameItem* KWDocStructTextFrameSetItem::findTextFrameItem(const K
/* Class: KWDocStructTableItem */
/******************************************************************/
-KWDocStructTableItem::KWDocStructTableItem(TQListViewItem* tqparent, const TQString& text,
+KWDocStructTableItem::KWDocStructTableItem(TQListViewItem* parent, const TQString& text,
KWTableFrameSet* table)
- :KWDocListViewItem(tqparent, text), m_table(table)
+ :KWDocListViewItem(parent, text), m_table(table)
{
}
-KWDocStructTableItem::KWDocStructTableItem(TQListViewItem* tqparent, TQListViewItem* after,
+KWDocStructTableItem::KWDocStructTableItem(TQListViewItem* parent, TQListViewItem* after,
const TQString& text, KWTableFrameSet* table)
- :KWDocListViewItem(tqparent, after, text), m_table(table)
+ :KWDocListViewItem(parent, after, text), m_table(table)
{
}
@@ -589,9 +589,9 @@ KWDocStructTextFrameItem* KWDocStructTableItem::findCellItem(const KWTextFrameSe
/* Class: KWDocStructPictureItem */
/******************************************************************/
-KWDocStructPictureItem::KWDocStructPictureItem(TQListViewItem* tqparent, const TQString& text,
+KWDocStructPictureItem::KWDocStructPictureItem(TQListViewItem* parent, const TQString& text,
KWPictureFrameSet* pic)
- : KWDocListViewItem(tqparent, text), m_pic(pic)
+ : KWDocListViewItem(parent, text), m_pic(pic)
{
}
@@ -629,9 +629,9 @@ void KWDocStructPictureItem::editProperties()
/* Class: KWDocStructFormulaItem */
/******************************************************************/
-KWDocStructFormulaItem::KWDocStructFormulaItem(TQListViewItem* tqparent, const TQString& text,
+KWDocStructFormulaItem::KWDocStructFormulaItem(TQListViewItem* parent, const TQString& text,
KWFormulaFrameSet* form)
- : KWDocListViewItem(tqparent, text), m_form(form)
+ : KWDocListViewItem(parent, text), m_form(form)
{
}
@@ -675,9 +675,9 @@ void KWDocStructFormulaItem::speakItem()
/* Class: KWDocStructPartItem */
/******************************************************************/
-KWDocStructPartItem::KWDocStructPartItem(TQListViewItem* tqparent, const TQString& text,
+KWDocStructPartItem::KWDocStructPartItem(TQListViewItem* parent, const TQString& text,
KWPartFrameSet* part)
- : KWDocListViewItem(tqparent, text), m_part(part)
+ : KWDocListViewItem(parent, text), m_part(part)
{
}
@@ -715,9 +715,9 @@ void KWDocStructPartItem::editProperties()
/* Class: KWDocStructRootItem */
/******************************************************************/
-KWDocStructRootItem::KWDocStructRootItem(TQListView* tqparent, const TQString& text,
+KWDocStructRootItem::KWDocStructRootItem(TQListView* parent, const TQString& text,
TypeStructDocItem type )
- : KWDocListViewItem(tqparent, text), m_type(type)
+ : KWDocListViewItem(parent, text), m_type(type)
{
switch ( type ) {
case Arrangement: {
@@ -1046,8 +1046,8 @@ KWDocStructTableItem* KWDocStructRootItem::findTableItem(const KWFrameSet* frame
/* Class: KWDocStructTree */
/******************************************************************/
-KWDocStructTree::KWDocStructTree(TQWidget* tqparent, KWDocument* doc, KWGUI* gui)
- : KListView(tqparent), m_doc(doc), m_gui(gui)
+KWDocStructTree::KWDocStructTree(TQWidget* parent, KWDocument* doc, KWGUI* gui)
+ : KListView(parent), m_doc(doc), m_gui(gui)
{
embedded = new KWDocStructRootItem( this, i18n( "Embedded Objects" ), Embedded);
formulafrms = new KWDocStructRootItem( this, i18n( "Formula Frames" ), FormulaFrames);
@@ -1188,8 +1188,8 @@ void KWDocStructTree::slotReturnPressed(TQListViewItem* i)
/* Class: KWDocStruct */
/******************************************************************/
-KWDocStruct::KWDocStruct(TQWidget* tqparent, KWDocument* doc, KWGUI* gui)
- : TQWidget(tqparent), m_doc(doc), m_gui(gui)
+KWDocStruct::KWDocStruct(TQWidget* parent, KWDocument* doc, KWGUI* gui)
+ : TQWidget(parent), m_doc(doc), m_gui(gui)
{
m_layout = new TQVBoxLayout( this );