QtWebKit/qwebframe.h Source File
Go to the documentation of this file.
44 class QWebNetworkRequest;
45 class QWebFramePrivate;
54 class DumpRenderTreeSupportQt;
57 class FrameLoaderClientQt;
59 class PlatformLayerProxyQt;
62 class QWebHitTestResultPrivate;
75 QRect boundingRect()
const;
81 QUrl linkTitle()
const;
87 QUrl imageUrl()
const;
90 bool isContentEditable()
const;
91 bool isContentSelected()
const;
99 QWebHitTestResultPrivate *d;
102 friend class QWebPagePrivate;
108 Q_PROPERTY(qreal textSizeMultiplier READ textSizeMultiplier WRITE setTextSizeMultiplier DESIGNABLE
false)
109 Q_PROPERTY(qreal zoomFactor READ zoomFactor WRITE setZoomFactor)
126 void load(const
QUrl &url);
131 void setContent(const QByteArray &
data, const
QString &mimeType =
QString(), const QUrl &baseUrl = QUrl());
133 void addToJavaScriptWindowObject(const QString &
name,
QObject *
object);
134 void addToJavaScriptWindowObject(const QString &name,
QObject *
object,
QScriptEngine::ValueOwnership ownership);
135 QString toHtml() const;
136 QString toPlainText() const;
137 QString renderTreeDump() const;
139 QString title() const;
140 void setUrl(const QUrl &url);
142 QUrl requestedUrl() const;
143 QUrl baseUrl() const;
145 QMultiMap<QString, QString> metaData() const;
147 QString frameName() const;
161 void scroll(
int,
int);
162 QPoint scrollPosition() const;
163 void setScrollPosition(const
QPoint &pos);
165 void scrollToAnchor(const QString& anchor);
168 ContentsLayer = 0x10,
169 ScrollBarLayer = 0x20,
179 void setTextSizeMultiplier(qreal factor);
180 qreal textSizeMultiplier()
const;
182 qreal zoomFactor()
const;
183 void setZoomFactor(qreal factor);
185 bool hasFocus()
const;
189 QRect geometry()
const;
190 QSize contentsSize()
const;
204 #ifndef QT_NO_PRINTER
205 void print(
QPrinter *printer)
const;
209 void javaScriptWindowObjectCleared();
211 void provisionalLoad();
212 void titleChanged(
const QString &title);
213 void urlChanged(
const QUrl &url);
215 void initialLayoutCompleted();
219 void contentsSizeChanged(
const QSize &
size);
222 void loadFinished(
bool ok);
229 friend class QWebPagePrivate;
230 friend class QWebFramePrivate;
231 friend class DumpRenderTreeSupportQt;
232 friend class WebCore::WidgetPrivate;
233 friend class WebCore::FrameLoaderClientQt;
234 friend class WebCore::ChromeClientQt;
235 friend class WebCore::PlatformLayerProxyQt;
GLXFBConfig Pixmap pixmap
#define Q_PRIVATE_SLOT(d, signature)
#define QT_BEGIN_NAMESPACE
GLsizei GLsizei GLenum GLenum const GLvoid * data
GLenum GLuint GLint GLint layer
GLsizei const GLfloat * value
virtual bool event(QEvent *)
GLuint const GLchar * name