akregator
framemanager.cpp
Go to the documentation of this file.
56 FrameManager::FrameManager(QWidget* mainWin, QObject* parent) : QObject(parent), m_mainWin(mainWin), m_currentFrame(0)
78 connect(frame, SIGNAL(signalCanceled(Akregator::Frame*,QString)), this, SLOT(slotSetCanceled(Akregator::Frame*,QString)) );
79 connect(frame, SIGNAL(signalStarted(Akregator::Frame*)), this, SLOT(slotSetStarted(Akregator::Frame*)) );
80 connect(frame, SIGNAL(signalCaptionChanged(Akregator::Frame*,QString)), this, SLOT(slotSetCaption(Akregator::Frame*,QString)));
81 connect(frame, SIGNAL(signalLoadingProgress(Akregator::Frame*,int)), this, SLOT(slotSetProgress(Akregator::Frame*,int)));
82 connect(frame, SIGNAL(signalCompleted(Akregator::Frame*)), this, SLOT(slotSetCompleted(Akregator::Frame*)));
83 connect(frame, SIGNAL(signalTitleChanged(Akregator::Frame*,QString)), this, SLOT(slotSetTitle(Akregator::Frame*,QString)) );
84 connect(frame, SIGNAL(signalStatusText(Akregator::Frame*,QString)), this, SLOT(slotSetStatusText(Akregator::Frame*,QString))
87 connect(frame, SIGNAL(signalOpenUrlRequest(Akregator::OpenUrlRequest&)), this, SLOT(slotOpenUrlRequest(Akregator::OpenUrlRequest&)) );
89 connect(frame, SIGNAL(signalCanGoBackToggled(Akregator::Frame*,bool)), this, SLOT(slotCanGoBackToggled(Akregator::Frame*,bool)) );
90 connect(frame, SIGNAL(signalCanGoForwardToggled(Akregator::Frame*,bool)), this, SLOT(slotCanGoForwardToggled(Akregator::Frame*,bool)) );
91 connect(frame, SIGNAL(signalIsReloadableToggled(Akregator::Frame*,bool)), this, SLOT(slotIsReloadableToggled(Akregator::Frame*,bool))
94 connect(frame, SIGNAL(signalIsLoadingToggled(Akregator::Frame*,bool)), this, SLOT(slotIsLoadingToggled(Akregator::Frame*,bool)) );
259 if (request.browserArgs().newTab() || request.browserArgs().forcesNewWindow() || request.options() == OpenUrlRequest::NewTab)
288 const QString cmd = KMacroExpander::expandMacrosShellQuote(Settings::externalBrowserCustomCommand(), map);
303 void FrameManager::slotOpenUrlRequest(OpenUrlRequest& request, bool useOpenInBackgroundSetting )
void slotOpenUrlRequest(Akregator::OpenUrlRequest &request, bool useOpenInBackgroundSetting=true)
Definition: framemanager.cpp:303
Definition: frame.h:53
void slotChangeFrame(int frameId)
Definition: framemanager.cpp:131
void signalCompleted()
Definition: openurlrequest.h:42
bool isRemovable() const
Returns whether the frame can be removed from Akregator (via detach or close tab etc.) Usually all tabs but the main tab can be removed.
Definition: frame.cpp:122
void signalRequestNewFrame(int &id)
void setOpenInBackground(bool background)
Definition: openurlrequest.cpp:60
void signalSelectFrame(int id)
void signalTitleChanged(const QString &)
Definition: feedlist.h:40
static void setPartGuiActive(KParts::ReadOnlyPart *part, bool active)
Definition: framemanager.cpp:46
virtual QAction * action(const char *name)=0
void signalLoadingProgress(int)
void slotBrowserForwardAboutToShow()
Definition: framemanager.cpp:343
void slotBrowserForward()
Definition: framemanager.cpp:355
virtual bool isLoading() const
returns whether the embedded part is loading a website.
Definition: frame.cpp:51
Definition: frame.h:61
virtual KParts::ReadOnlyPart * part() const =0
Frame * findFrameById(int id) const
Definition: framemanager.cpp:126
KParts::OpenUrlArguments args() const
Definition: openurlrequest.cpp:65
Definition: frame.h:61
void signalCurrentFrameChanged(Akregator::Frame *deactivated, Akregator::Frame *activated)
emitted when the active frame is switched
Definition: frame.h:61
static bool externalBrowserUseKdeDefault()
Get Use default KDE web browser.
Definition: akregatorconfig.h:695
virtual bool canGoForward() const
returns whether it is possible to go forward in the history
Definition: frame.h:89
void signalStarted()
Definition: browserrun.h:35
void signalFrameRemoved(int id)
void slotRemoveFrame(int frameId)
Definition: framemanager.cpp:105
void signalCaptionChanged(const QString &)
void slotBrowserBackAboutToShow()
Definition: framemanager.cpp:337
void setMainWindow(QWidget *mainWin)
Definition: framemanager.cpp:64
virtual bool isReloadable() const
returns whether the shown content can be reloaded
Definition: frame.h:98
void signalStatusText(const QString &)
static ActionManager * getInstance()
Definition: actionmanager.cpp:35
virtual bool canGoBack() const
returns whether it is possible to go back in the history
Definition: frame.h:94
static QString externalBrowserCustomCommand()
Get External Browser Custom Command.
Definition: akregatorconfig.h:733
void signalCanceled(const QString &)
Definition: browserframe.h:49
Definition: frame.h:61
FrameManager(QWidget *mainWin=0, QObject *parent=0)
Definition: framemanager.cpp:56
KParts::BrowserArguments browserArgs() const
Definition: openurlrequest.cpp:76
void signalFrameAdded(Akregator::Frame *)
void signalIconChanged(const QIcon &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:14 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:58:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.