summaryrefslogtreecommitdiffstats
path: root/amor
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:35:14 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:35:14 -0600
commit3ee504ecba6caf3c2609a8648fe3659f2b541544 (patch)
tree44f9bf073d7b46a12dfbab0486e6976d960a1aac /amor
parent4d75f93557ba631d97a56e288a34ca27f4507653 (diff)
downloadtdetoys-3ee504ecba6caf3c2609a8648fe3659f2b541544.tar.gz
tdetoys-3ee504ecba6caf3c2609a8648fe3659f2b541544.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'amor')
-rw-r--r--amor/amor.cpp4
-rw-r--r--amor/amoranim.cpp4
-rw-r--r--amor/amoranim.h4
-rw-r--r--amor/amorbubble.cpp4
4 files changed, 8 insertions, 8 deletions
diff --git a/amor/amor.cpp b/amor/amor.cpp
index 0a9b436..a9a73e3 100644
--- a/amor/amor.cpp
+++ b/amor/amor.cpp
@@ -152,7 +152,7 @@ Amor::Amor() : DCOPObject( "AmorIface" ), TQObject()
TQT_SLOT(slotMouseClicked(const TQPoint &)));
connect(mAmor, TQT_SIGNAL(dragged(const TQPoint &, bool)),
TQT_SLOT(slotWidgetDragged(const TQPoint &, bool)));
- mAmor->resize(mTheme.tqmaximumSize());
+ mAmor->resize(mTheme.maximumSize());
mTimer = new TQTimer(this);
connect(mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout()));
@@ -288,7 +288,7 @@ void Amor::reset()
mPosition = mCurrAnim->hotspot().x();
mState = Normal;
- mAmor->resize(mTheme.tqmaximumSize());
+ mAmor->resize(mTheme.maximumSize());
mCurrAnim->reset();
mTimer->start(0, true);
diff --git a/amor/amoranim.cpp b/amor/amoranim.cpp
index 31b4f6f..b4e595b 100644
--- a/amor/amoranim.cpp
+++ b/amor/amoranim.cpp
@@ -227,7 +227,7 @@ bool AmorThemeManager::readGroup(const TQString & seq)
mConfig->setGroup(list.at(i));
AmorAnim *anim = new AmorAnim(*mConfig);
animList->append(anim);
- mMaximumSize = mMaximumSize.expandedTo(anim->tqmaximumSize());
+ mMaximumSize = mMaximumSize.expandedTo(anim->maximumSize());
}
// If no animations were available for this group, just add the base anim
@@ -238,7 +238,7 @@ bool AmorThemeManager::readGroup(const TQString & seq)
if (anim)
{
animList->append(anim);
- mMaximumSize = mMaximumSize.expandedTo(anim->tqmaximumSize());
+ mMaximumSize = mMaximumSize.expandedTo(anim->maximumSize());
entries++;
}
}
diff --git a/amor/amoranim.h b/amor/amoranim.h
index d315840..acc4fba 100644
--- a/amor/amoranim.h
+++ b/amor/amoranim.h
@@ -59,7 +59,7 @@ public:
{ return (mCurrent < mSequence.count()); }
int totalMovement() const
{ return mTotalMovement; }
- TQSize tqmaximumSize() const
+ TQSize maximumSize() const
{ return mMaximumSize; }
int delay() const
@@ -103,7 +103,7 @@ public:
AmorAnim *random(const TQString & group);
- TQSize tqmaximumSize() const { return mMaximumSize; }
+ TQSize maximumSize() const { return mMaximumSize; }
protected:
TQString mPath;
diff --git a/amor/amorbubble.cpp b/amor/amorbubble.cpp
index 49e65b7..5060f97 100644
--- a/amor/amorbubble.cpp
+++ b/amor/amorbubble.cpp
@@ -55,7 +55,7 @@ AmorBubble::AmorBubble()
mBrowser->setWrapPolicy(TQTextEdit::AtWordOrDocumentBoundary); // too long to fit in one line?
- TQColorGroup clgrp = mBrowser->tqcolorGroup();
+ TQColorGroup clgrp = mBrowser->colorGroup();
clgrp.setColor(TQColorGroup::Text, TQt::black);
//Laurent TQTextBrowser didn't have this function FIX me
//mBrowser->setPaperColorGroup( clgrp );
@@ -195,7 +195,7 @@ void AmorBubble::drawBubble(TQPainter &p)
p.drawPolygon(pointArray);
p.setPen(pen);
- p.tqdrawPolyline(pointArray, 0, 3);
+ p.drawPolyline(pointArray, 0, 3);
}
//---------------------------------------------------------------------------