summaryrefslogtreecommitdiffstats
path: root/amor/amorbubble.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /amor/amorbubble.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amor/amorbubble.h')
-rw-r--r--amor/amorbubble.h22
1 files changed, 11 insertions, 11 deletions
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 <kapplication.h>
-#include <qwidget.h>
-#include <qbitmap.h>
+#include <tqwidget.h>
+#include <tqbitmap.h>
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
};