From 59a076e9336f1eebda8650437e6bc61077be1516 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:59:40 -0600 Subject: Remove additional unneeded tq method conversions --- amor/amor.cpp | 2 +- amor/amorbubble.cpp | 8 ++++---- amor/amorbubble.h | 4 ++-- amor/amorwidget.cpp | 2 +- amor/amorwidget.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'amor') diff --git a/amor/amor.cpp b/amor/amor.cpp index a9a73e3..7e8202b 100644 --- a/amor/amor.cpp +++ b/amor/amor.cpp @@ -748,7 +748,7 @@ void Amor::slotOffsetChanged(int off) // void Amor::slotAbout() { - TQString about = i18n("Amor Version %1\n\n").tqarg(AMOR_VERSION) + + TQString about = i18n("Amor Version %1\n\n").arg(AMOR_VERSION) + i18n("Amusing Misuse Of Resources\n\n") + i18n("Copyright (c) 1999 Martin R. Jones \n\n") + i18n("Original Author: Martin R. Jones \n") + diff --git a/amor/amorbubble.cpp b/amor/amorbubble.cpp index 5060f97..0af3c90 100644 --- a/amor/amorbubble.cpp +++ b/amor/amorbubble.cpp @@ -83,12 +83,12 @@ AmorBubble::~AmorBubble() //--------------------------------------------------------------------------- // -// Set the message to display in the bubble. Causes the tqgeometry of the +// Set the message to display in the bubble. Causes the geometry of the // widget to be recalculated. // void AmorBubble::setMessage(const TQString& message) { - mMessage = TQString( "%1" ).tqarg( message ); + mMessage = TQString( "%1" ).arg( 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 tqgeometry of the bubble + // initialise the default geometry 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 tqshape mask + // create and apply the shape mask mMask.resize(w, h); mMask.fill(color0); TQPainter maskPainter(&mMask); diff --git a/amor/amorbubble.h b/amor/amorbubble.h index 54e8912..f55cbd2 100644 --- a/amor/amorbubble.h +++ b/amor/amorbubble.h @@ -40,7 +40,7 @@ class TQTimer; //--------------------------------------------------------------------------- // -// AmorBubble displays a message in a tqshaped window +// AmorBubble displays a message in a shaped window // class AmorBubble : public TQWidget { @@ -70,7 +70,7 @@ protected: int mOriginX; // X origin of bubble arrow int mOriginY; // Y origin of bubble arrow TQRect mBound; // bounds of the text - TQBitmap mMask; // tqshape mask + TQBitmap mMask; // shape mask VertPos mArrowVert; // vertical position of the arrow HorzPos mArrowHorz; // horizontal position of the arrow TQTextBrowser *mBrowser; // displays the message diff --git a/amor/amorwidget.cpp b/amor/amorwidget.cpp index e5cc7b0..38dd0d3 100644 --- a/amor/amorwidget.cpp +++ b/amor/amorwidget.cpp @@ -64,7 +64,7 @@ void AmorWidget::setPixmap(const TQPixmap *pixmap) { XShapeCombineMask( x11Display(), winId(), ShapeBounding, 0, 0, mPixmap->mask()->handle(), ShapeSet ); - tqrepaint(false); + repaint(false); } update(); diff --git a/amor/amorwidget.h b/amor/amorwidget.h index 15f9126..3b46d4b 100644 --- a/amor/amorwidget.h +++ b/amor/amorwidget.h @@ -36,7 +36,7 @@ //--------------------------------------------------------------------------- // -// AmorWidget displays a tqshaped pixmap +// AmorWidget displays a shaped pixmap // class AmorWidget : public TQWidget { -- cgit v1.2.1