diff options
Diffstat (limited to 'src/kbfxtooltip.h')
-rw-r--r-- | src/kbfxtooltip.h | 69 |
1 files changed, 35 insertions, 34 deletions
diff --git a/src/kbfxtooltip.h b/src/kbfxtooltip.h index b358f5a..0bdd00c 100644 --- a/src/kbfxtooltip.h +++ b/src/kbfxtooltip.h @@ -22,14 +22,14 @@ #ifndef KBFX_TOOL_TIP #define KBFX_TOOL_TIP -#include <qcursor.h> -#include <qimage.h> -#include <qlabel.h> -#include <qmovie.h> -#include <qpainter.h> -#include <qpixmap.h> -#include <qtimer.h> -#include <qwidget.h> +#include <tqcursor.h> +#include <tqimage.h> +#include <tqlabel.h> +#include <tqmovie.h> +#include <tqpainter.h> +#include <tqpixmap.h> +#include <tqtimer.h> +#include <tqwidget.h> #include <kdebug.h> #include <kiconloader.h> @@ -42,18 +42,19 @@ #include <kbfxplasmapixmapprovider.h> -class KbfxToolTip:public QWidget +class KbfxToolTip:public TQWidget { Q_OBJECT + TQ_OBJECT public: - KbfxToolTip ( QWidget * parent=0,const char * name=0,WFlags fl=WType_TopLevel ); + KbfxToolTip ( TQWidget * tqparent=0,const char * name=0,WFlags fl=WType_TopLevel ); ~KbfxToolTip(); void setStartPos ( int x=0, int y=0 ); - virtual void paintEvent ( QPaintEvent *pe ); - void setBackground ( QPixmap bg ); - void setAnimationImage ( QString path ); - void setWindow ( QPixmap win ); + virtual void paintEvent ( TQPaintEvent *pe ); + void setBackground ( TQPixmap bg ); + void setAnimationImage ( TQString path ); + void setWindow ( TQPixmap win ); public slots: void hideToolTip(); @@ -61,33 +62,33 @@ class KbfxToolTip:public QWidget void setUserImage(); void setBoundBox(); void setAnimated ( bool ); - void setLabelText ( QString ); - void setHeadingText ( QString ); - void setVersionText ( QString ); + void setLabelText ( TQString ); + void setHeadingText ( TQString ); + void setVersionText ( TQString ); private: - QTimer * _hide_timer; - QTimer * _move_timer; - QTimer * _update_timer; + TQTimer * _hide_timer; + TQTimer * _move_timer; + TQTimer * _update_timer; int _x,_y; int _maxW; int _width; int _height; int _logo_move_x; - QPixmap _dude; - QPixmap _dude_box; - QImage _bg; - QLabel * _window; - QLabel * _agent; - QMovie * _agent_anim; + TQPixmap _dude; + TQPixmap _dude_box; + TQImage _bg; + TQLabel * _window; + TQLabel * _agent; + TQMovie * _agent_anim; bool _animate; - QString _label_text; - QString _heading_text; - QString _version_text; - QFont m_fontTooltipFont; - QImage logo; - QImage tooltip_win; - QImage tooltip_mask; - QImage dude_img; + TQString _label_text; + TQString _heading_text; + TQString _version_text; + TQFont m_fontTooltipFont; + TQImage logo; + TQImage tooltip_win; + TQImage tooltip_tqmask; + TQImage dude_img; }; #endif |