[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenox/konq-embed/dropin/khtml
From: Luciano Montanaro <mikelima () cirulla ! net>
Date: 2005-07-29 9:16:56
Message-ID: 1122628616.759664.30497.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 439904 by montanaro:
Removed QT < 3.0 version check, added empty destructor
M +5 -5 khtml_ext.cpp
M +1 -4 khtml_ext.h
--- trunk/kdenox/konq-embed/dropin/khtml/khtml_ext.cpp #439903:439904
@@ -47,7 +47,7 @@
int KHTMLPartBrowserExtension::xOffset()
{
- return m_part->view()->contentsX();
+ return m_part->view()->contentsX();
}
int KHTMLPartBrowserExtension::yOffset()
@@ -83,16 +83,16 @@
m_part = part;
}
+KHTMLPartBrowserHostExtension::~KHTMLPartBrowserHostExtension()
+{
+}
+
QStringList KHTMLPartBrowserHostExtension::frameNames() const
{
return m_part->frameNames();
}
-#if QT_VERSION < 300
-const QList<KParts::ReadOnlyPart> KHTMLPartBrowserHostExtension::frames() const
-#else
const QPtrList<KParts::ReadOnlyPart> KHTMLPartBrowserHostExtension::frames() const
-#endif
{
return m_part->frames();
}
--- trunk/kdenox/konq-embed/dropin/khtml/khtml_ext.h #439903:439904
@@ -68,13 +68,10 @@
{
public:
KHTMLPartBrowserHostExtension( KHTMLPart *part );
+ ~KHTMLPartBrowserHostExtension();
virtual QStringList frameNames() const;
-#if QT_VERSION < 300
- virtual const QList<KParts::ReadOnlyPart> frames() const;
-#else
virtual const QPtrList<KParts::ReadOnlyPart> frames() const;
-#endif
virtual bool openURLInFrame( const KURL &url, const KParts::URLArgs &urlArgs );
private:
KHTMLPart *m_part;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic