diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/urlbutton.h | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip |
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/urlbutton.h')
-rw-r--r-- | src/urlbutton.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/urlbutton.h b/src/urlbutton.h index 3ede7f8..0dc57a2 100644 --- a/src/urlbutton.h +++ b/src/urlbutton.h @@ -21,11 +21,11 @@ #ifndef URLBUTTON_H #define URLBUTTON_H -#include <qpushbutton.h> +#include <tqpushbutton.h> class KURL; class URLNavigator; -class QPainter; +class TQPainter; /** * @brief Base class for buttons of the URL navigator. @@ -35,12 +35,13 @@ class QPainter; * * @author Peter Penz */ -class URLButton : public QPushButton +class URLButton : public TQPushButton { Q_OBJECT + TQ_OBJECT public: - URLButton(URLNavigator* parent); + URLButton(URLNavigator* tqparent); virtual ~URLButton(); URLNavigator* urlNavigator() const; @@ -56,10 +57,10 @@ protected: void setDisplayHintEnabled(DisplayHint hint, bool enable); bool isDisplayHintEnabled(DisplayHint hint) const; - virtual void enterEvent(QEvent* event); - virtual void leaveEvent(QEvent* event); + virtual void enterEvent(TQEvent* event); + virtual void leaveEvent(TQEvent* event); - QColor mixColors(const QColor& c1, const QColor& c2) const; + TQColor mixColors(const TQColor& c1, const TQColor& c2) const; private: int m_displayHint; |