diff options
Diffstat (limited to 'quanta/parts/preview')
-rw-r--r-- | quanta/parts/preview/whtmlpart.cpp | 12 | ||||
-rw-r--r-- | quanta/parts/preview/whtmlpart.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/quanta/parts/preview/whtmlpart.cpp b/quanta/parts/preview/whtmlpart.cpp index bfac210f..3979bb8b 100644 --- a/quanta/parts/preview/whtmlpart.cpp +++ b/quanta/parts/preview/whtmlpart.cpp @@ -34,10 +34,10 @@ #include "resource.h" WHTMLPart::WHTMLPart(TQWidget *parentWidget, const char *widgetName, bool enableViewSource, - TQObject *tqparent, const char *name, GUIProfile prof) - : KHTMLPart(parentWidget, widgetName, tqparent, name, prof), m_contextMenu(0) + TQObject *parent, const char *name, GUIProfile prof) + : KHTMLPart(parentWidget, widgetName, parent, name, prof), m_contextMenu(0) { - //kdDebug(24000) << "WHTMLPart: " << parentWidget << " " << widgetName << " " << tqparent << " " << name << this << endl; + //kdDebug(24000) << "WHTMLPart: " << parentWidget << " " << widgetName << " " << parent << " " << name << this << endl; hpos = 0; // get settings from konq. KConfig konqConfig("konquerorrc"); @@ -150,12 +150,12 @@ bool WHTMLPart::forwardEnable() } KParts::ReadOnlyPart *WHTMLPart::createPart( TQWidget * parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const TQString &, TQString &, TQStringList &, const TQStringList &) { - //kdDebug(24000) << "Create WHTMLPart: " << parentWidget << " " << widgetName << " " << tqparent << " " << name << endl; - return new WHTMLPart(parentWidget, widgetName, m_enableViewSource, tqparent, name); + //kdDebug(24000) << "Create WHTMLPart: " << parentWidget << " " << widgetName << " " << parent << " " << name << endl; + return new WHTMLPart(parentWidget, widgetName, m_enableViewSource, parent, name); } bool WHTMLPart::eventFilter(TQObject *watched, TQEvent *e) diff --git a/quanta/parts/preview/whtmlpart.h b/quanta/parts/preview/whtmlpart.h index 91f88b1e..2ec05dfe 100644 --- a/quanta/parts/preview/whtmlpart.h +++ b/quanta/parts/preview/whtmlpart.h @@ -32,7 +32,7 @@ class WHTMLPart : public KHTMLPart { TQ_OBJECT public: WHTMLPart(TQWidget *parentWidget = 0, const char *widgetname = 0, bool enableViewSource = false, - TQObject *tqparent = 0, const char *name = 0, GUIProfile prof = DefaultGUI ); + TQObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI ); virtual ~WHTMLPart(); /** Specify the URL where the preview was started */ @@ -62,7 +62,7 @@ signals: protected: virtual void urlSelected( const TQString &url, int button, int state, const TQString &_target, KParts::URLArgs args = KParts::URLArgs()); virtual KParts::ReadOnlyPart *createPart( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const TQString &mimetype, TQString &serviceName, TQStringList &serviceTypes, const TQStringList ¶ms); |