summaryrefslogtreecommitdiffstats
path: root/kalzium/src/kalziumtip.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kalzium/src/kalziumtip.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalzium/src/kalziumtip.h')
-rw-r--r--kalzium/src/kalziumtip.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kalzium/src/kalziumtip.h b/kalzium/src/kalziumtip.h
index 425e2a7e..217717b1 100644
--- a/kalzium/src/kalziumtip.h
+++ b/kalzium/src/kalziumtip.h
@@ -22,9 +22,9 @@
***************************************************************************/
-#include <qwidget.h>
-#include <qbitmap.h>
-#include <qtimer.h>
+#include <tqwidget.h>
+#include <tqbitmap.h>
+#include <tqtimer.h>
class QPaintEvent;
class QSimpleRichText;
@@ -44,19 +44,19 @@ class KalziumTip : public QWidget
public:
enum MaskEffect { Plain, Dissolve };
- KalziumTip( QWidget * parent = 0, const char * name = 0, WFlags f = 0 );
+ KalziumTip( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 );
- void showTip( QPoint, Element* element, int visibleWidth, int visibleHeight ); //show the tip
+ void showTip( TQPoint, Element* element, int visibleWidth, int visibleHeight ); //show the tip
void hide(); // hide it
protected:
- void paintEvent(QPaintEvent * e);
+ void paintEvent(TQPaintEvent * e);
void plainMask();
void dissolveMask();
// if the mouse pointer hovers us, send the event to the parent
// so we are some-what 'mouse transparent'
- void mouseMoveEvent(QMouseEvent * e);
+ void mouseMoveEvent(TQMouseEvent * e);
void displayInternal();
void display();
@@ -66,19 +66,19 @@ class KalziumTip : public QWidget
void internalUpdate();
private:
- QBitmap m_mask;
- QPoint m_mousePointer;
- QPixmap m_pixmap;
- QPixmap m_icon; //icon shown on the tip
- QPixmap m_noElemIcon; //icon for element wich have no image
+ TQBitmap m_mask;
+ TQPoint m_mousePointer;
+ TQPixmap m_pixmap;
+ TQPixmap m_icon; //icon shown on the tip
+ TQPixmap m_noElemIcon; //icon for element wich have no image
MaskEffect m_maskEffect; //inidicates to show mask effect or plain
- QSimpleRichText* m_richText;
+ TQSimpleRichText* m_richText;
int m_dissolveSize;
int m_dissolveDelta;
- QTimer m_frameTimer; //timer for the dissolve effect
+ TQTimer m_frameTimer; //timer for the dissolve effect
bool m_dirty; //indicates repainting the tooltip internal
const Element* m_tippedElement; //the element the tip is about