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
QString & append(QChar ch)
void slotChangeFrame(int frameId)
Definition: framemanager.cpp:131
iterator insert(const Key &key, const T &value)
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 &)
static void setPartGuiActive(KParts::ReadOnlyPart *part, bool active)
Definition: framemanager.cpp:46
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
virtual QAction * action(const char *name)=0
QString number(int n, int base)
void signalLoadingProgress(int)
void append(const T &value)
void slotBrowserForwardAboutToShow()
Definition: framemanager.cpp:343
void slotBrowserForward()
Definition: framemanager.cpp:355
Definition: feedlist.h:41
virtual bool isLoading() const
returns whether the embedded part is loading a website.
Definition: frame.cpp:51
Definition: frame.h:61
bool isEmpty() const
virtual KParts::ReadOnlyPart * part() const =0
bool sendEvent(QObject *receiver, QEvent *event)
Frame * findFrameById(int id) const
Definition: framemanager.cpp:126
KParts::OpenUrlArguments args() const
Definition: openurlrequest.cpp:65
Definition: frame.h:61
QFuture< void > map(Sequence &sequence, MapFunction function)
void signalCurrentFrameChanged(Akregator::Frame *deactivated, Akregator::Frame *activated)
emitted when the active frame is switched
Definition: frame.h:61
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
QString fromLatin1(const char *str, int size)
void signalCanceled(const QString &)
Definition: browserframe.h:49
Definition: frame.h:61
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
FrameManager(QWidget *mainWin=0, QObject *parent=0)
Definition: framemanager.cpp:56
KParts::BrowserArguments browserArgs() const
Definition: openurlrequest.cpp:76
void setEnabled(bool)
void signalFrameAdded(Akregator::Frame *)
void signalIconChanged(const QIcon &)
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.