#include <akregator_view.h>
Inherits TQWidget.
|
| enum | ViewMode { NormalView =0
, WidescreenView
, CombinedView
} |
| |
|
| void | slotOnShutdown () |
| |
| void | slotNodeSelected (TreeNode *node) |
| |
| void | slotArticleSelected (const Article &) |
| |
| void | slotFeedTreeContextMenu (TDEListView *, TreeNode *, const TQPoint &) |
| |
| void | slotSetTotalUnread () |
| |
| void | slotMouseButtonPressed (int button, const Article &article, const TQPoint &pos, int c) |
| |
| void | slotOpenArticleExternal (const Article &article, const TQPoint &, int) |
| |
| void | slotOpenCurrentArticleExternal () |
| |
| void | slotOpenCurrentArticleBackgroundTab () |
| |
| void | slotOpenCurrentArticle () |
| |
| void | slotCopyLinkAddress () |
| |
| void | slotOpenNewTab (const KURL &url, bool background=false) |
| |
| void | slotFrameChanged (Frame *f) |
| |
| void | slotCaptionChanged (const TQString &) |
| |
| void | slotFeedURLDropped (KURL::List &urls, TreeNode *after, Folder *parent) |
| |
| void | slotMouseOverInfo (const KFileItem *kifi) |
| |
| void | slotStatusText (const TQString &) |
| |
| void | slotStarted () |
| |
| void | slotCanceled (const TQString &) |
| |
| void | slotCompleted () |
| |
| void | slotLoadingProgress (int) |
| |
| void | slotFetchingStarted () |
| |
| void | slotFetchingStopped () |
| |
| void | slotFeedFetched (Feed *) |
| |
| void | slotFeedAdd () |
| |
| void | slotFeedAddGroup () |
| |
| void | slotFeedRemove () |
| |
| void | slotFeedModify () |
| |
| void | slotFetchCurrentFeed () |
| |
| void | slotFetchAllFeeds () |
| |
| void | slotMarkAllRead () |
| |
| void | slotMarkAllFeedsRead () |
| |
| void | slotOpenHomepage () |
| |
| void | slotArticleToggleKeepFlag (bool enabled) |
| |
| void | slotArticleDelete () |
| |
| void | slotSetSelectedArticleRead () |
| |
| void | slotSetSelectedArticleUnread () |
| |
| void | slotSetSelectedArticleNew () |
| |
| void | slotSetCurrentArticleReadDelayed () |
| |
| void | slotTextToSpeechRequest () |
| |
| void | slotAssignTag (const Tag &tag, bool assign) |
| |
| void | slotNewTag () |
| |
| void | slotTagCreated (const Tag &tag) |
| |
| void | slotTagRemoved (const Tag &tag) |
| |
| void | slotNormalView () |
| |
| void | slotWidescreenView () |
| |
| void | slotCombinedView () |
| |
| void | slotToggleShowQuickFilter () |
| |
| void | slotPrevUnreadArticle () |
| |
| void | slotNextUnreadArticle () |
| |
| void | slotMoveCurrentNodeUp () |
| |
| void | slotMoveCurrentNodeDown () |
| |
| void | slotMoveCurrentNodeLeft () |
| |
| void | slotMoveCurrentNodeRight () |
| |
|
| void | signalUnreadCountChanged (int) |
| |
|
void | setWindowCaption (const TQString &) |
| |
|
void | setStatusBarText (const TQString &) |
| |
|
void | setProgress (int) |
| |
|
void | signalStarted (TDEIO::Job *) |
| |
|
void | signalCompleted () |
| |
|
void | signalCanceled (const TQString &) |
| |
This is the main widget of the view, containing tree view, article list, viewer etc.
Definition at line 80 of file akregator_view.h.
◆ ViewMode
| enum Akregator::View::ViewMode |
◆ View()
constructor
- Parameters
-
| part | the Akregator::Part which contains this widget |
| parent | parent widget |
| Actionmanager | for this view |
| name | the name of the widget (TQWidget ) |
Definition at line 215 of file akregator_view.cpp.
◆ ~View()
| Akregator::View::~View |
( |
| ) |
|
destructor.
Note that cleanups should be done in slotOnShutdown(), so we don't risk accessing self-deleting objects after deletion.
Definition at line 202 of file akregator_view.cpp.
◆ addFeed()
| void Akregator::View::addFeed |
( |
const TQString & |
url, |
|
|
TreeNode * |
after, |
|
|
Folder * |
parent, |
|
|
bool |
autoExec = true |
|
) |
| |
|
protected |
◆ addFeedToGroup()
| void Akregator::View::addFeedToGroup |
( |
const TQString & |
url, |
|
|
const TQString & |
group |
|
) |
| |
Add a feed to a group.
- Parameters
-
| url | The URL of the feed to add. |
| group | The name of the folder into which the feed is added. If the group does not exist, it is created. The feed is added as the last member of the group. |
Definition at line 611 of file akregator_view.cpp.
◆ connectFrame
| void Akregator::View::connectFrame |
( |
Frame * |
f | ) |
|
|
protectedslot |
◆ connectToFeedList()
| void Akregator::View::connectToFeedList |
( |
FeedList * |
feedList | ) |
|
|
protected |
◆ currentFrame()
| Frame * Akregator::View::currentFrame |
( |
| ) |
const |
|
inline |
◆ disconnectFromFeedList()
| void Akregator::View::disconnectFromFeedList |
( |
FeedList * |
feedList | ) |
|
|
protected |
◆ feedListToOPML()
| TQDomDocument Akregator::View::feedListToOPML |
( |
| ) |
|
◆ importFeeds()
| bool Akregator::View::importFeeds |
( |
const TQDomDocument & |
doc | ) |
|
Adds the feeds in doc to the "Imported Folder".
- Parameters
-
| doc | the DOM tree (OPML) of the feeds to import |
Definition at line 513 of file akregator_view.cpp.
◆ loadFeeds()
| bool Akregator::View::loadFeeds |
( |
const TQDomDocument & |
doc, |
|
|
Folder * |
parent = 0 |
|
) |
| |
Parse OPML presentation of feeds and read in articles archive, if present.
If parent is NULL, the current feed list is replaced by the parsed one - Parameters
-
| doc | TQDomDocument generated from OPML |
| parent | The parent group the new nodes |
Definition at line 545 of file akregator_view.cpp.
◆ readProperties()
| void Akregator::View::readProperties |
( |
TDEConfig * |
config | ) |
|
|
virtual |
◆ saveProperties()
| void Akregator::View::saveProperties |
( |
TDEConfig * |
config | ) |
|
|
virtual |
◆ saveSettings()
| void Akregator::View::saveSettings |
( |
| ) |
|
saves settings.
Make sure that the Settings singleton is not destroyed yet when saveSettings is called
Definition at line 420 of file akregator_view.cpp.
◆ setTabIcon
| void Akregator::View::setTabIcon |
( |
const TQPixmap & |
icon | ) |
|
|
protectedslot |
◆ signalUnreadCountChanged
| void Akregator::View::signalUnreadCountChanged |
( |
int |
| ) |
|
|
signal |
emitted when the unread count of "All Feeds" was changed
◆ slotArticleDelete
| void Akregator::View::slotArticleDelete |
( |
| ) |
|
|
slot |
◆ slotArticleSelected
| void Akregator::View::slotArticleSelected |
( |
const Article & |
article | ) |
|
|
slot |
◆ slotArticleToggleKeepFlag
| void Akregator::View::slotArticleToggleKeepFlag |
( |
bool |
enabled | ) |
|
|
slot |
◆ slotAssignTag
| void Akregator::View::slotAssignTag |
( |
const Tag & |
tag, |
|
|
bool |
assign |
|
) |
| |
|
slot |
◆ slotCanceled
| void Akregator::View::slotCanceled |
( |
const TQString & |
s | ) |
|
|
slot |
◆ slotCaptionChanged
| void Akregator::View::slotCaptionChanged |
( |
const TQString & |
c | ) |
|
|
slot |
◆ slotCombinedView
| void Akregator::View::slotCombinedView |
( |
| ) |
|
|
slot |
◆ slotCompleted
| void Akregator::View::slotCompleted |
( |
| ) |
|
|
slot |
◆ slotCopyLinkAddress
| void Akregator::View::slotCopyLinkAddress |
( |
| ) |
|
|
slot |
◆ slotDeleteExpiredArticles
| void Akregator::View::slotDeleteExpiredArticles |
( |
| ) |
|
|
protectedslot |
◆ slotDoIntervalFetches
| void Akregator::View::slotDoIntervalFetches |
( |
| ) |
|
|
protectedslot |
◆ slotFeedAdd
| void Akregator::View::slotFeedAdd |
( |
| ) |
|
|
slot |
◆ slotFeedAddGroup
| void Akregator::View::slotFeedAddGroup |
( |
| ) |
|
|
slot |
◆ slotFeedFetched
| void Akregator::View::slotFeedFetched |
( |
Feed * |
feed | ) |
|
|
slot |
◆ slotFeedModify
| void Akregator::View::slotFeedModify |
( |
| ) |
|
|
slot |
calls the properties dialog for feeds, starts renaming for feed groups
Definition at line 991 of file akregator_view.cpp.
◆ slotFeedRemove
| void Akregator::View::slotFeedRemove |
( |
| ) |
|
|
slot |
removes the currently selected feed (ask for confirmation)
Definition at line 980 of file akregator_view.cpp.
◆ slotFeedTreeContextMenu
| void Akregator::View::slotFeedTreeContextMenu |
( |
TDEListView * |
, |
|
|
TreeNode * |
, |
|
|
const TQPoint & |
|
|
) |
| |
|
slot |
◆ slotFeedURLDropped
| void Akregator::View::slotFeedURLDropped |
( |
KURL::List & |
urls, |
|
|
TreeNode * |
after, |
|
|
Folder * |
parent |
|
) |
| |
|
slot |
◆ slotFetchAllFeeds
| void Akregator::View::slotFetchAllFeeds |
( |
| ) |
|
|
slot |
◆ slotFetchCurrentFeed
| void Akregator::View::slotFetchCurrentFeed |
( |
| ) |
|
|
slot |
◆ slotFetchingStarted
| void Akregator::View::slotFetchingStarted |
( |
| ) |
|
|
slot |
◆ slotFetchingStopped
| void Akregator::View::slotFetchingStopped |
( |
| ) |
|
|
slot |
◆ slotFrameChanged
| void Akregator::View::slotFrameChanged |
( |
Frame * |
f | ) |
|
|
slot |
called when another part/frame is activated.
Updates progress bar, caption etc. accordingly - Parameters
-
Definition at line 693 of file akregator_view.cpp.
◆ slotLoadingProgress
| void Akregator::View::slotLoadingProgress |
( |
int |
percent | ) |
|
|
slot |
◆ slotMarkAllFeedsRead
| void Akregator::View::slotMarkAllFeedsRead |
( |
| ) |
|
|
slot |
◆ slotMarkAllRead
| void Akregator::View::slotMarkAllRead |
( |
| ) |
|
|
slot |
◆ slotMouseButtonPressed
| void Akregator::View::slotMouseButtonPressed |
( |
int |
button, |
|
|
const Article & |
article, |
|
|
const TQPoint & |
pos, |
|
|
int |
c |
|
) |
| |
|
slot |
special behaviour in article list view (TODO: move code there?)
Definition at line 1110 of file akregator_view.cpp.
◆ slotMouseOverInfo
| void Akregator::View::slotMouseOverInfo |
( |
const KFileItem * |
kifi | ) |
|
|
slot |
displays a URL in the status bar when the user moves the mouse over a link
Definition at line 1444 of file akregator_view.cpp.
◆ slotMoveCurrentNodeDown
| void Akregator::View::slotMoveCurrentNodeDown |
( |
| ) |
|
|
slot |
◆ slotMoveCurrentNodeLeft
| void Akregator::View::slotMoveCurrentNodeLeft |
( |
| ) |
|
|
slot |
◆ slotMoveCurrentNodeRight
| void Akregator::View::slotMoveCurrentNodeRight |
( |
| ) |
|
|
slot |
◆ slotMoveCurrentNodeUp
| void Akregator::View::slotMoveCurrentNodeUp |
( |
| ) |
|
|
slot |
◆ slotNewTag
| void Akregator::View::slotNewTag |
( |
| ) |
|
|
slot |
◆ slotNextUnreadArticle
| void Akregator::View::slotNextUnreadArticle |
( |
| ) |
|
|
slot |
◆ slotNodeSelected
| void Akregator::View::slotNodeSelected |
( |
TreeNode * |
node | ) |
|
|
slot |
◆ slotNormalView
| void Akregator::View::slotNormalView |
( |
| ) |
|
|
slot |
◆ slotOnShutdown
| void Akregator::View::slotOnShutdown |
( |
| ) |
|
|
slot |
◆ slotOpenArticleExternal
| void Akregator::View::slotOpenArticleExternal |
( |
const Article & |
article, |
|
|
const TQPoint & |
, |
|
|
int |
|
|
) |
| |
|
slot |
◆ slotOpenCurrentArticle
| void Akregator::View::slotOpenCurrentArticle |
( |
| ) |
|
|
slot |
opens current article in new tab, background/foreground depends on settings TODO: use selected instead of current?
Definition at line 1219 of file akregator_view.cpp.
◆ slotOpenCurrentArticleBackgroundTab
| void Akregator::View::slotOpenCurrentArticleBackgroundTab |
( |
| ) |
|
|
slot |
opens the current article (currentItem) in background tab TODO: use selected instead of current?
Definition at line 1243 of file akregator_view.cpp.
◆ slotOpenCurrentArticleExternal
| void Akregator::View::slotOpenCurrentArticleExternal |
( |
| ) |
|
|
slot |
opens the current article (currentItem) in external browser TODO: use selected instead of current?
Definition at line 1238 of file akregator_view.cpp.
◆ slotOpenHomepage
| void Akregator::View::slotOpenHomepage |
( |
| ) |
|
|
slot |
◆ slotOpenNewTab
| void Akregator::View::slotOpenNewTab |
( |
const KURL & |
url, |
|
|
bool |
background = false |
|
) |
| |
|
slot |
opens a page viewer in a new tab and loads an URL
- Parameters
-
| url | the url to load |
| background | whether the tab should be opened in the background or in the foreground (activated after creation) |
Definition at line 432 of file akregator_view.cpp.
◆ slotOpenURL
| void Akregator::View::slotOpenURL |
( |
const KURL & |
url, |
|
|
Akregator::Viewer * |
currentViewer, |
|
|
Akregator::BrowserRun::OpeningMode |
mode |
|
) |
| |
|
protectedslot |
◆ slotOpenURLReply
| void Akregator::View::slotOpenURLReply |
( |
const KURL & |
url, |
|
|
Akregator::Viewer * |
currentViewer, |
|
|
Akregator::BrowserRun::OpeningMode |
mode |
|
) |
| |
|
protectedslot |
HACK: receives signal from browserrun when the browserrun detects an HTML mimetype and actually loads the page TODO: Remove for KDE 4.0.
Definition at line 864 of file akregator_view.cpp.
◆ slotPrevUnreadArticle
| void Akregator::View::slotPrevUnreadArticle |
( |
| ) |
|
|
slot |
◆ slotSetCurrentArticleReadDelayed
| void Akregator::View::slotSetCurrentArticleReadDelayed |
( |
| ) |
|
|
slot |
marks the currenctly selected article as read after a user-set delay
Definition at line 1434 of file akregator_view.cpp.
◆ slotSetSelectedArticleNew
| void Akregator::View::slotSetSelectedArticleNew |
( |
| ) |
|
|
slot |
◆ slotSetSelectedArticleRead
| void Akregator::View::slotSetSelectedArticleRead |
( |
| ) |
|
|
slot |
◆ slotSetSelectedArticleUnread
| void Akregator::View::slotSetSelectedArticleUnread |
( |
| ) |
|
|
slot |
◆ slotSettingsChanged()
| void Akregator::View::slotSettingsChanged |
( |
| ) |
|
◆ slotSetTotalUnread
| void Akregator::View::slotSetTotalUnread |
( |
| ) |
|
|
slot |
◆ slotStarted
| void Akregator::View::slotStarted |
( |
| ) |
|
|
slot |
◆ slotStatusText
| void Akregator::View::slotStatusText |
( |
const TQString & |
c | ) |
|
|
slot |
◆ slotTagCreated
| void Akregator::View::slotTagCreated |
( |
const Tag & |
tag | ) |
|
|
slot |
◆ slotTagRemoved
| void Akregator::View::slotTagRemoved |
( |
const Tag & |
tag | ) |
|
|
slot |
◆ slotTextToSpeechRequest
| void Akregator::View::slotTextToSpeechRequest |
( |
| ) |
|
|
slot |
◆ slotToggleShowQuickFilter
| void Akregator::View::slotToggleShowQuickFilter |
( |
| ) |
|
|
slot |
◆ slotUrlClickedInViewer
| void Akregator::View::slotUrlClickedInViewer |
( |
const KURL & |
url, |
|
|
Viewer * |
viewer, |
|
|
bool |
newTab, |
|
|
bool |
background |
|
) |
| |
|
protectedslot |
HACK: part of the url opening hack for 3.5.
called when a viewer emits urlClicked(). TODO: Remove for KDE4
Definition at line 850 of file akregator_view.cpp.
◆ slotWidescreenView
| void Akregator::View::slotWidescreenView |
( |
| ) |
|
|
slot |
◆ updateTagActions()
| void Akregator::View::updateTagActions |
( |
| ) |
|
|
protected |
◆ DeleteNodeVisitor
| friend class DeleteNodeVisitor |
|
friend |
◆ EditNodePropertiesVisitor
| friend class EditNodePropertiesVisitor |
|
friend |
◆ m_actionManager
◆ m_articleList
| ArticleListView* Akregator::View::m_articleList |
◆ m_articleSplitter
| TQSplitter* Akregator::View::m_articleSplitter |
◆ m_articleViewer
◆ m_currentFrame
| Frame* Akregator::View::m_currentFrame |
◆ m_deleteNodeVisitor
| DeleteNodeVisitor* Akregator::View::m_deleteNodeVisitor |
◆ m_displayingAboutPage
| bool Akregator::View::m_displayingAboutPage |
◆ m_editNodePropertiesVisitor
| EditNodePropertiesVisitor* Akregator::View::m_editNodePropertiesVisitor |
◆ m_expiryTimer
| TQTimer* Akregator::View::m_expiryTimer |
◆ m_feedList
◆ m_feedListView
| NodeListView* Akregator::View::m_feedListView |
◆ m_fetchTimer
| TQTimer* Akregator::View::m_fetchTimer |
◆ m_horizontalSplitter
| TQSplitter* Akregator::View::m_horizontalSplitter |
◆ m_keepFlagIcon
| TQPixmap Akregator::View::m_keepFlagIcon |
◆ m_listTabWidget
◆ m_mainFrame
| Frame* Akregator::View::m_mainFrame |
◆ m_mainTab
| TQWidget* Akregator::View::m_mainTab |
◆ m_markReadTimer
| TQTimer* Akregator::View::m_markReadTimer |
◆ m_part
◆ m_searchBar
| SearchBar* Akregator::View::m_searchBar |
◆ m_shuttingDown
| bool Akregator::View::m_shuttingDown |
◆ m_tabs
| TabWidget* Akregator::View::m_tabs |
◆ m_tagNodeList
| TagNodeList* Akregator::View::m_tagNodeList |
◆ m_tagNodeListView
| NodeListView* Akregator::View::m_tagNodeListView |
◆ m_viewMode
| ViewMode Akregator::View::m_viewMode |
The documentation for this class was generated from the following files:
|