diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 10:00:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 10:00:14 -0600 |
commit | 4d75f93557ba631d97a56e288a34ca27f4507653 (patch) | |
tree | 9c6aa673bd4900debf335044852a99b4d9f67133 /amor/amorbubble.cpp | |
parent | 6cdf35ab11c322f33feca5baf090ef56068b6049 (diff) | |
download | tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.tar.gz tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6cdf35ab11c322f33feca5baf090ef56068b6049.
Diffstat (limited to 'amor/amorbubble.cpp')
-rw-r--r-- | amor/amorbubble.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/amor/amorbubble.cpp b/amor/amorbubble.cpp index 0af3c90..49e65b7 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->colorGroup(); + TQColorGroup clgrp = mBrowser->tqcolorGroup(); clgrp.setColor(TQColorGroup::Text, TQt::black); //Laurent TQTextBrowser didn't have this function FIX me //mBrowser->setPaperColorGroup( clgrp ); @@ -83,12 +83,12 @@ AmorBubble::~AmorBubble() //--------------------------------------------------------------------------- // -// Set the message to display in the bubble. Causes the geometry of the +// Set the message to display in the bubble. Causes the tqgeometry of the // widget to be recalculated. // void AmorBubble::setMessage(const TQString& message) { - mMessage = TQString( "<html>%1</html>" ).arg( message ); + mMessage = TQString( "<html>%1</html>" ).tqarg( message ); // hacks because heightForWidth() doesn't work. setGeometry( -1000, 0, 300, 1000 ); show(); @@ -108,7 +108,7 @@ void AmorBubble::calcGeometry() mBound.setHeight( mBrowser->contentsHeight() ); mBound.moveBy(ARROW_WIDTH+BORDER_SIZE, BORDER_SIZE); - // initialise the default geometry of the bubble + // initialise the default tqgeometry of the bubble int w = mBound.width() + BORDER_SIZE * 2 + ARROW_WIDTH; int h = mBound.height() + BORDER_SIZE * 2; int xpos = mOriginX + BUBBLE_OFFSET; @@ -141,7 +141,7 @@ void AmorBubble::calcGeometry() setGeometry(xpos, ypos, w, h); mBrowser->setGeometry( mBound ); - // create and apply the shape mask + // create and apply the tqshape mask mMask.resize(w, h); mMask.fill(color0); TQPainter maskPainter(&mMask); @@ -195,7 +195,7 @@ void AmorBubble::drawBubble(TQPainter &p) p.drawPolygon(pointArray); p.setPen(pen); - p.drawPolyline(pointArray, 0, 3); + p.tqdrawPolyline(pointArray, 0, 3); } //--------------------------------------------------------------------------- |