KHTML
khtmlimage.cpp
Go to the documentation of this file.
72 setComponentData( KHTMLImageFactory::componentData(), prof == KHTMLPart::BrowserViewGUI && !parentPart );
108 connect(m_khtml->browserExtension(), SIGNAL(openUrlRequestDelayed(KUrl,KParts::OpenUrlArguments,KParts::BrowserArguments)),
111 connect(m_khtml->browserExtension(), SIGNAL(popupMenu(QPoint,KUrl,mode_t,KParts::OpenUrlArguments,KParts::BrowserArguments,KParts::BrowserExtension::PopupFlags,KParts::BrowserExtension::ActionGroupMap)),
112 this, SLOT(slotPopupMenu(QPoint,KUrl,mode_t,KParts::OpenUrlArguments,KParts::BrowserArguments,KParts::BrowserExtension::PopupFlags,KParts::BrowserExtension::ActionGroupMap)));
137 static const QString &html = KGlobal::staticQString( "<html><body><img src=\"%1\"></body></html>" );
160 DOM::DocumentImpl *impl = dynamic_cast<DOM::DocumentImpl *>( m_khtml->document().handle() ); // ### hack ;-)
202 caption = i18n( "%1 (%2 - %3x%4 Pixels)", m_image->suggestedTitle(), mimeType->comment(), m_image->pixmap_size().width(), m_image->pixmap_size().height() );
209 caption = i18n( "%1 (%2x%3 Pixels)" , m_image->suggestedTitle(), m_image->pixmap_size().width() , m_image->pixmap_size().height() );
211 caption = i18n( "Image - %1x%2 Pixels" , m_image->pixmap_size().width() , m_image->pixmap_size().height() );
257 DOM::HTMLDocumentImpl *impl = dynamic_cast<DOM::HTMLDocumentImpl *>( m_khtml->document().handle() );
325 static_cast<KHTMLPartBrowserExtension *>( m_imgPart->doc()->browserExtension() )->reparseConfiguration();
332 static_cast<KHTMLPartBrowserExtension *>( m_imgPart->doc()->browserExtension() )->disableScrolling();
QString caption()
QString i18n(const char *text)
Definition: khtml_part.h:272
static const KComponentData & componentData()
Definition: khtmlimage.h:55
virtual KActionCollection * actionCollection() const
void popupMenu(const QPoint &global, const KFileItemList &items, const KParts::OpenUrlArguments &args=KParts::OpenUrlArguments(), const KParts::BrowserArguments &browserArgs=KParts::BrowserArguments(), KParts::BrowserExtension::PopupFlags flags=KParts::BrowserExtension::DefaultPopupItems, const KParts::BrowserExtension::ActionGroupMap &actionGroups=ActionGroupMap())
KHTMLImageBrowserExtension(KHTMLImage *parent)
Definition: khtmlimage.cpp:302
KHTMLImage(QWidget *parentWidget, QObject *parent, KHTMLPart::GUIProfile prof)
Definition: khtmlimage.cpp:67
KStatusBar * statusBar() const
void setURLDropHandlingEnabled(bool enable)
void completed()
int contentsY() const
Returns the y coordinate of the contents area point that is currently located at the top left in the ...
Definition: khtmlview.cpp:697
void reparseConfiguration()
Definition: khtmlimage.cpp:323
void setUrl(const KUrl &url)
void started(KIO::Job *)
QString mimeType() const
Definition: khtmlimage.h:112
KHTMLView * view() const
Returns a pointer to the HTML document's view.
Definition: khtml_part.cpp:1056
void setStatusBarText(const QString &text)
KParts::BrowserExtension * browserExtension() const
Returns a pointer to the KParts::BrowserExtension.
Definition: khtml_part.cpp:1046
void setWindowCaption(const QString &caption)
int xOffset() const
KUrl url() const
virtual void setComponentData(const KComponentData &componentData)
virtual void guiActivateEvent(KParts::GUIActivateEvent *e)
Definition: khtmlimage.cpp:227
bool activated() const
bool reload() const
OpenUrlArguments arguments() const
Definition: khtml_part.h:272
virtual void setWidget(QWidget *widget)
void setMimeType(const QString &mime)
int contentsX() const
Returns the x coordinate of the contents area point that is currently located at the top left in the ...
Definition: khtmlview.cpp:692
int yOffset() const
Definition: khtmlimage.h:64
This is the BrowserExtension for a KHTMLPart document.
Definition: khtml_ext.h:43
static StatusBarExtension * childObject(QObject *obj)
void setAutoloadImages(bool enable)
Specifies whether images contained in the document should be loaded automatically or not...
Definition: khtml_part.cpp:1452
QAction * action(int index) const
const QString & staticQString(const char *str)
virtual void guiActivateEvent(GUIActivateEvent *event)
QString prettyUrl(AdjustPathOption trailing=LeaveTrailingSlash) const
void setStatusBar(KStatusBar *status)
virtual QObject * create(const char *iface, QWidget *parentWidget, QObject *parent, const QVariantList &args, const QString &keyword)
Definition: khtmlimage.cpp:52
virtual void notifyFinished(khtml::CachedObject *o)
Definition: khtmlimage.cpp:188
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.