akregator
browserframe.cpp
Go to the documentation of this file.
72 return !d->history.isEmpty() && d->current != d->history.end()-1 && d->current != d->history.end();
249 popup->addAction( createOpenLinkInNewTabAction( url, this, SLOT(slotOpenLinkInNewTab()), popup ) );
250 popup->addAction( createOpenLinkInExternalBrowserAction( url, this, SLOT(slotOpenLinkInBrowser()), popup ) );
251 addActionsToMenu( popup, actionGroups.value( QLatin1String("linkactions") ), ShowSeparatorIfNotEmpty );
274 void BrowserFrame::slotOpenUrlRequestDelayed(const KUrl& url, const OpenUrlArguments& args, const BrowserArguments& browserArgs)
436 const QString url = config.readEntry( QString::fromLatin1( "url" ).prepend( prefix ), QString() );
437 const QString mimetype = config.readEntry( QString::fromLatin1( "mimetype" ).prepend( prefix ), QString() );
Definition: frame.h:53
void loadConfig(const KConfigGroup &config, const QString &prefix)
Load a frame from a config file for session management.
Definition: browserframe.cpp:434
void slotPaletteOrFontChanged()
Definition: browserframe.cpp:419
bool loadPartForMimetype(const QString &mimetype)
Definition: openurlrequest.h:42
void removeListener(FaviconListener *listener)
Definition: feediconmanager.cpp:134
void signalIconChanged(Akregator::Frame *, const QIcon &icon)
QObject * sender() const
QVariant data() const
bool canGoForward() const
returns whether it is possible to go forward in the history
Definition: browserframe.cpp:70
T value() const
void slotOpenLinkInBrowser()
Definition: browserframe.cpp:120
virtual QAction * action(const char *name)=0
bool canGoBack() const
returns whether it is possible to go back in the history
Definition: browserframe.cpp:75
void signalOpenUrlRequest(Akregator::OpenUrlRequest &request)
void slotHistoryForwardAboutToShow()
Definition: browserframe.cpp:363
void slotHistoryForward()
Definition: browserframe.cpp:389
#define addSeparatorIfNotFirst()
bool isEmpty() const
bool isEmpty() const
KParts::ReadOnlyPart * part() const
The part that was created for a "NewTab" request.
Definition: openurlrequest.cpp:109
void slotHistoryBackAboutToShow()
Definition: browserframe.cpp:336
Definition: akregator_part.h:61
void setArgs(const KParts::OpenUrlArguments &args)
Definition: openurlrequest.cpp:70
QList< HistoryEntry > history
Definition: browserframe_p.h:65
KParts::OpenUrlArguments args() const
Definition: openurlrequest.cpp:65
void restoreHistoryEntry(const QList< HistoryEntry >::Iterator &entry)
Definition: article.h:41
void setBrowserArgs(const KParts::BrowserArguments &args)
Definition: openurlrequest.cpp:81
void setOptions(Options options)
Definition: openurlrequest.cpp:99
void appendHistoryEntry(const KUrl &url)
QList< HistoryEntry >::Iterator current
Definition: browserframe_p.h:68
void saveConfig(KConfigGroup &config, const QString &prefix)
Save a frame to a config file for session management.
Definition: browserframe.cpp:447
AKREGATOR_EXPORT QAction * createOpenLinkInExternalBrowserAction(const KUrl &url, QObject *receiver=0, const char *slot=0, QObject *parent=0)
Definition: actions.cpp:42
AKREGATOR_EXPORT QAction * createOpenLinkInNewTabAction(const KUrl &url, QObject *receiver=0, const char *slot=0, QObject *parent=0)
Definition: actions.cpp:33
static ActionManager * getInstance()
Definition: actionmanager.cpp:35
QPointer< KParts::ReadOnlyPart > part
Definition: browserframe_p.h:69
bool isLoading() const
returns whether the embedded part is loading a website.
Definition: browserframe.cpp:428
void addListener(const KUrl &url, FaviconListener *listener)
Definition: feediconmanager.cpp:123
QString fromLatin1(const char *str, int size)
void setFavicon(const QIcon &icon)
Definition: browserframe.cpp:96
bool openUrl(const OpenUrlRequest &request)
Definition: browserframe.cpp:304
Definition: browserframe.h:49
Definition: temporaryvalue.h:30
bool isReloadable() const
returns whether the shown content can be reloaded
Definition: browserframe.cpp:423
void updateHistoryEntry()
void slotOpenLinkInNewTab()
Definition: browserframe.cpp:127
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.