summaryrefslogtreecommitdiffstats
path: root/src/gui/kdeext/QCanvasGroupableItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kdeext/QCanvasGroupableItem.cpp')
-rw-r--r--src/gui/kdeext/QCanvasGroupableItem.cpp70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/gui/kdeext/QCanvasGroupableItem.cpp b/src/gui/kdeext/QCanvasGroupableItem.cpp
index 2a31934..818004b 100644
--- a/src/gui/kdeext/QCanvasGroupableItem.cpp
+++ b/src/gui/kdeext/QCanvasGroupableItem.cpp
@@ -25,7 +25,7 @@
#include "QCanvasGroupableItem.h"
QCanvasGroupableItem::QCanvasGroupableItem(TQCanvasItem *i,
- QCanvasItemGroup *g,
+ TQCanvasItemGroup *g,
bool withRelativeCoords)
: m_group(g),
m_item(i)
@@ -66,15 +66,15 @@ QCanvasGroupableItem::detach()
//////////////////////////////////////////////////////////////////////
-QCanvasItemGroup::QCanvasItemGroup(TQCanvas *c)
+TQCanvasItemGroup::TQCanvasItemGroup(TQCanvas *c)
: TQCanvasItem(c)
{
- // RG_DEBUG << "QCanvasItemGroup() - this : " << this << endl;
+ // RG_DEBUG << "TQCanvasItemGroup() - this : " << this << endl;
}
-QCanvasItemGroup::~QCanvasItemGroup()
+TQCanvasItemGroup::~TQCanvasItemGroup()
{
- // RG_DEBUG << "~QCanvasItemGroup() - this : " << this << endl;
+ // RG_DEBUG << "~TQCanvasItemGroup() - this : " << this << endl;
// Tell all our items that we're being destroyed
TQCanvasItemList::Iterator i;
@@ -86,7 +86,7 @@ QCanvasItemGroup::~QCanvasItemGroup()
}
void
-QCanvasItemGroup::moveBy(double dx, double dy)
+TQCanvasItemGroup::moveBy(double dx, double dy)
{
TQCanvasItem::moveBy(dx, dy); // move ourselves
@@ -96,7 +96,7 @@ QCanvasItemGroup::moveBy(double dx, double dy)
}
void
-QCanvasItemGroup::advance(int stage)
+TQCanvasItemGroup::advance(int stage)
{
TQCanvasItemList::Iterator i;
for (i = m_items.begin(); i != m_items.end(); ++i)
@@ -104,7 +104,7 @@ QCanvasItemGroup::advance(int stage)
}
bool
-QCanvasItemGroup::collidesWith(const TQCanvasItem *item) const
+TQCanvasItemGroup::collidesWith(const TQCanvasItem *item) const
{
TQCanvasItemList::ConstIterator i;
for (i = m_items.begin(); i != m_items.end(); ++i)
@@ -115,7 +115,7 @@ QCanvasItemGroup::collidesWith(const TQCanvasItem *item) const
}
void
-QCanvasItemGroup::draw(TQPainter&)
+TQCanvasItemGroup::draw(TQPainter&)
{
// There isn't anything to do - all the items will be drawn
// seperately by the canvas anyway. However the function has to be
@@ -127,25 +127,25 @@ QCanvasItemGroup::draw(TQPainter&)
}
void
-QCanvasItemGroup::setVisible(bool yes)
+TQCanvasItemGroup::setVisible(bool yes)
{
TQCanvasItemList::Iterator i;
for (i = m_items.begin(); i != m_items.end(); ++i)
- (*i)->setVisible(yes);
+ (*i)->tqsetVisible(yes);
}
void
-QCanvasItemGroup::setSelected(bool yes)
+TQCanvasItemGroup::setSelected(bool yes)
{
TQCanvasItem::setSelected(yes);
TQCanvasItemList::Iterator i;
for (i = m_items.begin(); i != m_items.end(); ++i)
- (*i)->setVisible(yes);
+ (*i)->tqsetVisible(yes);
}
void
-QCanvasItemGroup::setEnabled(bool yes)
+TQCanvasItemGroup::setEnabled(bool yes)
{
TQCanvasItem::setEnabled(yes);
@@ -155,7 +155,7 @@ QCanvasItemGroup::setEnabled(bool yes)
}
void
-QCanvasItemGroup::setActive(bool yes)
+TQCanvasItemGroup::setActive(bool yes)
{
TQCanvasItem::setActive(yes);
@@ -165,13 +165,13 @@ QCanvasItemGroup::setActive(bool yes)
}
int
-QCanvasItemGroup::rtti() const
+TQCanvasItemGroup::rtti() const
{
return 10002;
}
-QRect
-QCanvasItemGroup::boundingRect() const
+TQRect
+TQCanvasItemGroup::boundingRect() const
{
TQRect r;
@@ -182,8 +182,8 @@ QCanvasItemGroup::boundingRect() const
return r;
}
-QRect
-QCanvasItemGroup::boundingRectAdvanced() const
+TQRect
+TQCanvasItemGroup::boundingRectAdvanced() const
{
TQRect r;
@@ -195,7 +195,7 @@ QCanvasItemGroup::boundingRectAdvanced() const
}
bool
-QCanvasItemGroup::collidesWith(const TQCanvasSprite *s,
+TQCanvasItemGroup::collidesWith(const TQCanvasSprite *s,
const TQCanvasPolygonalItem *p,
const TQCanvasRectangle *r,
const TQCanvasEllipse *e,
@@ -217,22 +217,22 @@ QCanvasItemGroup::collidesWith(const TQCanvasSprite *s,
}
void
-QCanvasItemGroup::addItem(TQCanvasItem *i)
+TQCanvasItemGroup::addItem(TQCanvasItem *i)
{
m_items.append(i);
}
void
-QCanvasItemGroup::addItemWithRelativeCoords(TQCanvasItem *i)
+TQCanvasItemGroup::addItemWithRelativeCoords(TQCanvasItem *i)
{
i->moveBy(x(), y());
addItem(i);
}
void
-QCanvasItemGroup::removeItem(TQCanvasItem *i)
+TQCanvasItemGroup::removeItem(TQCanvasItem *i)
{
- // RG_DEBUG << "QCanvasItemGroup::removeItem() - this : "
+ // RG_DEBUG << "TQCanvasItemGroup::removeItem() - this : "
// << this << " - item : " << i << endl;
m_items.remove(i);
}
@@ -240,40 +240,40 @@ QCanvasItemGroup::removeItem(TQCanvasItem *i)
//////////////////////////////////////////////////////////////////////
-QCanvasLineGroupable::QCanvasLineGroupable(TQCanvas *c,
- QCanvasItemGroup *g)
+TQCanvasLineGroupable::TQCanvasLineGroupable(TQCanvas *c,
+ TQCanvasItemGroup *g)
: TQCanvasLine(c),
QCanvasGroupableItem(this, g)
{}
//////////////////////////////////////////////////////////////////////
-QCanvasRectangleGroupable::QCanvasRectangleGroupable(TQCanvas *c,
- QCanvasItemGroup *g)
+TQCanvasRectangleGroupable::TQCanvasRectangleGroupable(TQCanvas *c,
+ TQCanvasItemGroup *g)
: TQCanvasRectangle(c),
QCanvasGroupableItem(this, g)
{}
//////////////////////////////////////////////////////////////////////
-QCanvasTextGroupable::QCanvasTextGroupable(const TQString& label,
+TQCanvasTextGroupable::TQCanvasTextGroupable(const TQString& label,
TQCanvas *c,
- QCanvasItemGroup *g)
+ TQCanvasItemGroup *g)
: TQCanvasText(label, c),
QCanvasGroupableItem(this, g)
{}
-QCanvasTextGroupable::QCanvasTextGroupable(TQCanvas *c,
- QCanvasItemGroup *g)
+TQCanvasTextGroupable::TQCanvasTextGroupable(TQCanvas *c,
+ TQCanvasItemGroup *g)
: TQCanvasText(c),
QCanvasGroupableItem(this, g)
{}
//////////////////////////////////////////////////////////////////////
-QCanvasSpriteGroupable::QCanvasSpriteGroupable(TQCanvasPixmapArray *pa,
+TQCanvasSpriteGroupable::TQCanvasSpriteGroupable(TQCanvasPixmapArray *pa,
TQCanvas *c,
- QCanvasItemGroup *g)
+ TQCanvasItemGroup *g)
: TQCanvasSprite(pa, c),
QCanvasGroupableItem(this, g)
{}