From cfc42a28c327b96c6a2afee92af3bac1a479eb8a Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:49:52 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- amor/amorbubble.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'amor/amorbubble.h') diff --git a/amor/amorbubble.h b/amor/amorbubble.h index 722ec91..50f15b3 100644 --- a/amor/amorbubble.h +++ b/amor/amorbubble.h @@ -32,8 +32,8 @@ #endif #include -#include -#include +#include +#include class QTextBrowser; class QTimer; @@ -50,7 +50,7 @@ public: virtual ~AmorBubble(); void setOrigin(int x, int y) { mOriginX = x; mOriginY = y; } - void setMessage(const QString& message); + void setMessage(const TQString& message); bool mouseWithin() { return mMouseWithin; } @@ -59,20 +59,20 @@ protected: enum HorzPos { Left, Right }; void calcGeometry(); - void drawBubble(QPainter &p); - virtual void paintEvent(QPaintEvent *); - virtual void mouseReleaseEvent(QMouseEvent *); - virtual bool eventFilter( QObject *, QEvent * ); + void drawBubble(TQPainter &p); + virtual void paintEvent(TQPaintEvent *); + virtual void mouseReleaseEvent(TQMouseEvent *); + virtual bool eventFilter( TQObject *, TQEvent * ); protected: - QString mMessage; // message to display + TQString mMessage; // message to display int mOriginX; // X origin of bubble arrow int mOriginY; // Y origin of bubble arrow - QRect mBound; // bounds of the text - QBitmap mMask; // shape mask + TQRect mBound; // bounds of the text + TQBitmap mMask; // shape mask VertPos mArrowVert; // vertical position of the arrow HorzPos mArrowHorz; // horizontal position of the arrow - QTextBrowser *mBrowser; // displays the message + TQTextBrowser *mBrowser; // displays the message bool mMouseWithin; // the mouse pointer is inside the bubble }; -- cgit v1.2.3