summaryrefslogtreecommitdiffstats
path: root/src/urlbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbutton.h')
-rw-r--r--src/urlbutton.h15
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;