diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/rendering/render_replaced.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/rendering/render_replaced.h')
-rw-r--r-- | khtml/rendering/render_replaced.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/khtml/rendering/render_replaced.h b/khtml/rendering/render_replaced.h index 97c14a0a8..cb147e3c0 100644 --- a/khtml/rendering/render_replaced.h +++ b/khtml/rendering/render_replaced.h @@ -23,8 +23,8 @@ #define render_replaced_h #include "rendering/render_block.h" -#include <qobject.h> -#include <qscrollview.h> +#include <tqobject.h> +#include <tqscrollview.h> class KHTMLView; class QWidget; @@ -81,7 +81,7 @@ protected: }; -class RenderWidget : public QObject, public RenderReplaced, public khtml::Shared<RenderWidget> +class RenderWidget : public TQObject, public RenderReplaced, public khtml::Shared<RenderWidget> { Q_OBJECT public: @@ -99,7 +99,7 @@ public: virtual void updateFromElement(); - QWidget *widget() const { return m_widget; } + TQWidget *widget() const { return m_widget; } KHTMLView* view() const { return m_view; } void deref(); @@ -107,11 +107,11 @@ public: void cancelPendingResize(); bool needsMask() const { return m_needsMask; } - static void paintWidget(PaintInfo& pI, QWidget *widget, int tx, int ty); + static void paintWidget(PaintInfo& pI, TQWidget *widget, int tx, int ty); virtual bool handleEvent(const DOM::EventImpl& ev); #ifdef ENABLE_DUMP - virtual void dump(QTextStream &stream, const QString &ind) const; + virtual void dump(TQTextStream &stream, const TQString &ind) const; #endif // for ECMA to flush all pending resizes @@ -127,13 +127,13 @@ protected: virtual bool acceptsSyntheticEvents() const { return true; } virtual void handleFocusOut() {} - bool event( QEvent *e ); + bool event( TQEvent *e ); - bool eventFilter(QObject* /*o*/, QEvent* e); - void setQWidget(QWidget *widget); + bool eventFilter(TQObject* /*o*/, TQEvent* e); + void setQWidget(TQWidget *widget); void resizeWidget( int w, int h ); - QWidget *m_widget; + TQWidget *m_widget; KHTMLView* m_view; //Because we mess with normal detach due to ref/deref, @@ -152,13 +152,13 @@ public: virtual int borderLeft() const { return canHaveBorder() ? RenderReplaced::borderLeft() : 0; } virtual int borderRight() const { return canHaveBorder() ? RenderReplaced::borderRight() : 0; } - class EventPropagator : public QWidget { + class EventPropagator : public TQWidget { public: - void sendEvent(QEvent *e); + void sendEvent(TQEvent *e); }; - class ScrollViewEventPropagator : public QScrollView { + class ScrollViewEventPropagator : public TQScrollView { public: - void sendEvent(QEvent *e); + void sendEvent(TQEvent *e); }; }; |