diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-04-10 10:42:00 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-04-10 10:42:00 +0200 |
commit | 7fdc8b30e85418cca031b45ad02f723373b73433 (patch) | |
tree | 491150f68ddc476645599a00d04e27b194e9648c /src/tastytooltip.h | |
parent | 3566ebfc3015ab32c4e0531defb41377c171fadb (diff) | |
download | tastymenu-7fdc8b30e85418cca031b45ad02f723373b73433.tar.gz tastymenu-7fdc8b30e85418cca031b45ad02f723373b73433.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/tastytooltip.h')
-rw-r--r-- | src/tastytooltip.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/tastytooltip.h b/src/tastytooltip.h index aea0838..3b78a03 100644 --- a/src/tastytooltip.h +++ b/src/tastytooltip.h @@ -20,36 +20,36 @@ #ifndef TASTYTOOLTIP_H #define TASTYTOOLTIP_H -#include <qwidget.h> -#include <qlayout.h> +#include <tqwidget.h> +#include <tqlayout.h> #include "tastytooltipwidget.h" /** @author Marco Martin <notmart@gmail.com> */ -class TastyToolTip : public QWidget +class TastyToolTip : public TQWidget { public: - TastyToolTip( QWidget * parent=0,const char * name=0, WFlags fl=WType_TopLevel); + TastyToolTip( TQWidget * parent=0,const char * name=0, WFlags fl=WType_TopLevel); ~TastyToolTip(); - void showTip(const QPoint & point); + void showTip(const TQPoint & point); void hideTip( ); - void loadIcon( QString iconName ); - void notify(const QPoint & point ); - void setMessage( QString message ); - void setTitle( QString title ); + void loadIcon( TQString iconName ); + void notify(const TQPoint & point ); + void setMessage( TQString message ); + void setTitle( TQString title ); protected: - virtual void mousePressEvent( QMouseEvent * e ){e=e;hide();} + virtual void mousePressEvent( TQMouseEvent * e ){e=e;hide();} private: - QString iconName; + TQString iconName; TastyToolTipWidget * toolTipWidget; - QVBoxLayout *tastyToolTipLayout; + TQVBoxLayout *tastyToolTipLayout; public slots: virtual void show(); |