<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>akregator/src: akregator_view.h Source File (akregator/src)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> <style type="text/css"> <!-- hr { display: none; } #content h2 { margin-left: 0px; } table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; } td.mdRow { padding: 8px 20px; } td.md { font-weight: bold; } td.mdname1 { font-weight: bold; color: #602020; } td.mdname { font-weight: bold; color: #602020; } --> </style> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <img id="nav_header_logo_right" alt="" align="right" src="../../../pimlogo.png" border="0" /> <div id="nav_header_title" align="left">KDE PIM API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_left" style="text-align: left;"> / <a href="../../../">API Reference</a> / <a href="../../html/index.html">akregator</a> / <a href=".">src</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <h2><a name="content"></a>akregator/src</h2> <!-- Generated by Doxygen 1.5.5 --> <h1>akregator_view.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> This file is part of Akregator.</span> <a name="l00003"></a>00003 <span class="comment"></span> <a name="l00004"></a>00004 <span class="comment"> Copyright (C) 2004 Stanislav Karchebny <Stanislav.Karchebny@kdemail.net></span> <a name="l00005"></a>00005 <span class="comment"> 2004 Sashmit Bhaduri <smt@vfemail.net></span> <a name="l00006"></a>00006 <span class="comment"> 2005 Frank Osterfeld <frank.osterfeld at kdemail.net></span> <a name="l00007"></a>00007 <span class="comment"></span> <a name="l00008"></a>00008 <span class="comment"> This program is free software; you can redistribute it and/or modify</span> <a name="l00009"></a>00009 <span class="comment"> it under the terms of the GNU General Public License as published by</span> <a name="l00010"></a>00010 <span class="comment"> the Free Software Foundation; either version 2 of the License, or</span> <a name="l00011"></a>00011 <span class="comment"> (at your option) any later version.</span> <a name="l00012"></a>00012 <span class="comment"></span> <a name="l00013"></a>00013 <span class="comment"> This program is distributed in the hope that it will be useful,</span> <a name="l00014"></a>00014 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00015"></a>00015 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> <a name="l00016"></a>00016 <span class="comment"> GNU General Public License for more details.</span> <a name="l00017"></a>00017 <span class="comment"></span> <a name="l00018"></a>00018 <span class="comment"> You should have received a copy of the GNU General Public License</span> <a name="l00019"></a>00019 <span class="comment"> along with this program; if not, write to the Free Software</span> <a name="l00020"></a>00020 <span class="comment"> Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span> <a name="l00021"></a>00021 <span class="comment"></span> <a name="l00022"></a>00022 <span class="comment"> As a special exception, permission is given to link this program</span> <a name="l00023"></a>00023 <span class="comment"> with any edition of Qt, and distribute the resulting executable,</span> <a name="l00024"></a>00024 <span class="comment"> without including the source code for Qt in the source distribution.</span> <a name="l00025"></a>00025 <span class="comment">*/</span> <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="preprocessor">#ifndef _AKREGATORVIEW_H_</span> <a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define _AKREGATORVIEW_H_</span> <a name="l00029"></a>00029 <span class="preprocessor"></span> <a name="l00030"></a>00030 <span class="preprocessor">#include <qpixmap.h></span> <a name="l00031"></a>00031 <span class="preprocessor">#include <qwidget.h></span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="preprocessor">#include <kurl.h></span> <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="preprocessor">#include "akregator_run.h"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "feed.h"</span> <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="keyword">class </span>QSplitter; <a name="l00039"></a>00039 <span class="keyword">class </span>QDomDocument; <a name="l00040"></a>00040 <span class="keyword">class </span>QDomElement; <a name="l00041"></a>00041 <span class="keyword">class </span>QHBox; <a name="l00042"></a>00042 <span class="keyword">class </span>QToolButton; <a name="l00043"></a>00043 <span class="keyword">class </span>QListViewItem; <a name="l00044"></a>00044 <span class="keyword">class </span>KComboBox; <a name="l00045"></a>00045 <span class="keyword">class </span>KConfig; <a name="l00046"></a>00046 <span class="keyword">class </span>KFileItem; <a name="l00047"></a>00047 <span class="keyword">class </span>KLineEdit; <a name="l00048"></a>00048 <span class="keyword">class </span>KListView; <a name="l00049"></a>00049 <span class="keyword">class </span>KListViewItem; <a name="l00050"></a>00050 <span class="keyword">class </span>KTabWidget; <a name="l00051"></a>00051 <span class="keyword">class </span>Viewer; <a name="l00052"></a>00052 <a name="l00053"></a>00053 <span class="keyword">namespace </span>KIO { <a name="l00054"></a>00054 <a name="l00055"></a>00055 <span class="keyword">class </span>Job; <a name="l00056"></a>00056 } <a name="l00057"></a>00057 <a name="l00058"></a>00058 <span class="keyword">namespace </span>Akregator { <a name="l00059"></a>00059 <a name="l00060"></a>00060 <span class="keyword">class </span>AboutPageViewer; <a name="l00061"></a>00061 <span class="keyword">class </span>ActionManagerImpl; <a name="l00062"></a>00062 <span class="keyword">class </span>ArticleMatcher; <a name="l00063"></a>00063 <span class="keyword">class </span>ArticleListView; <a name="l00064"></a>00064 <span class="keyword">class </span>ArticleViewer; <a name="l00065"></a>00065 <span class="keyword">class </span>BrowserRun; <a name="l00066"></a>00066 <span class="keyword">class </span>Folder; <a name="l00067"></a>00067 <span class="keyword">class </span>FeedList; <a name="l00068"></a>00068 <span class="keyword">class </span>Frame; <a name="l00069"></a>00069 <span class="keyword">class </span>NodeListView; <a name="l00070"></a>00070 <span class="keyword">class </span>ListTabWidget; <a name="l00071"></a>00071 <span class="keyword">class </span>Part; <a name="l00072"></a>00072 <span class="keyword">class </span>SearchBar; <a name="l00073"></a>00073 <span class="keyword">class </span>TabWidget; <a name="l00074"></a>00074 <span class="keyword">class </span>Tag; <a name="l00075"></a>00075 <span class="keyword">class </span>TagNodeList; <a name="l00076"></a>00076 <a name="l00080"></a><a class="code" href="classAkregator_1_1View.html">00080</a> <span class="keyword">class </span><a class="code" href="classAkregator_1_1View.html" title="This is the main widget of the view, containing tree view, article list, viewer etc...">View</a> : <span class="keyword">public</span> QWidget <a name="l00081"></a>00081 { <a name="l00082"></a>00082 Q_OBJECT <a name="l00083"></a>00083 <span class="keyword">public</span>: <a name="l00084"></a>00084 <a name="l00091"></a>00091 <a class="code" href="classAkregator_1_1View.html#68b7a5828072bd7bbf583f1d4a4e0ed0" title="constructor">View</a>(<a class="code" href="classAkregator_1_1Part.html" title="This is a RSS Aggregator &quot;Part&quot;.">Akregator::Part</a> *part, QWidget *parent, <a class="code" href="classAkregator_1_1ActionManagerImpl.html" title="Akregator-specific implementation of the ActionManager interface.">ActionManagerImpl</a>* actionManager, <span class="keyword">const</span> <span class="keywordtype">char</span>* name); <a name="l00092"></a>00092 <a name="l00095"></a>00095 <a class="code" href="classAkregator_1_1View.html#ae8d67a27612bcd066315995315a76e5" title="destructor.">~View</a>(); <a name="l00096"></a>00096 <a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#524fa260be510a1de14612f9b76d8f2c" title="saves settings.">saveSettings</a>(); <a name="l00099"></a>00099 <a name="l00100"></a>00100 <span class="keywordtype">void</span> slotSettingsChanged(); <a name="l00101"></a>00101 <a name="l00104"></a>00104 <span class="keywordtype">bool</span> <a class="code" href="classAkregator_1_1View.html#a92dab498944ee990031e9b9d1bb2236" title="Adds the feeds in doc to the &quot;Imported Folder&quot;.">importFeeds</a>(<span class="keyword">const</span> QDomDocument& doc); <a name="l00105"></a>00105 <a name="l00110"></a>00110 <span class="keywordtype">bool</span> <a class="code" href="classAkregator_1_1View.html#2f6eb960fdea851e5522a28f54d922b7" title="Parse OPML presentation of feeds and read in articles archive, if present.">loadFeeds</a>(<span class="keyword">const</span> QDomDocument& doc, <a class="code" href="classAkregator_1_1Folder.html" title="Represents a folder (containing feeds and/or other folders).">Folder</a>* parent = 0); <a name="l00111"></a>00111 <a name="l00115"></a>00115 QDomDocument <a class="code" href="classAkregator_1_1View.html#62e6a6a32a5ce89b98b467b511492d39">feedListToOPML</a>(); <a name="l00116"></a>00116 <a name="l00123"></a>00123 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#8cf27876e35bf3f5cd865a6e80eb2788" title="Add a feed to a group.">addFeedToGroup</a>(<span class="keyword">const</span> QString& url, <span class="keyword">const</span> QString& group); <a name="l00124"></a>00124 <a name="l00126"></a>00126 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#d3d897b1845add5b0619fa5f1ca59a1e" title="session management">readProperties</a>(KConfig* config); <a name="l00127"></a>00127 <span class="keyword">virtual</span> <span class="keywordtype">void</span> saveProperties(KConfig* config); <a name="l00128"></a>00128 <a name="l00129"></a>00129 Frame* currentFrame()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_currentFrame; } <a name="l00130"></a>00130 <a name="l00131"></a>00131 signals: <a name="l00133"></a>00133 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#a34ea7e09848d509005e80efe74b25b8" title="emitted when the unread count of &quot;All Feeds&quot; was changed">signalUnreadCountChanged</a>(<span class="keywordtype">int</span>); <a name="l00134"></a>00134 <a name="l00135"></a>00135 <span class="keywordtype">void</span> setWindowCaption(<span class="keyword">const</span> QString&); <a name="l00136"></a>00136 <span class="keywordtype">void</span> setStatusBarText(<span class="keyword">const</span> QString&); <a name="l00137"></a>00137 <span class="keywordtype">void</span> setProgress(<span class="keywordtype">int</span>); <a name="l00138"></a>00138 <span class="keywordtype">void</span> signalStarted(KIO::Job*); <a name="l00139"></a>00139 <span class="keywordtype">void</span> signalCompleted(); <a name="l00140"></a>00140 <span class="keywordtype">void</span> signalCanceled(<span class="keyword">const</span> QString&); <a name="l00141"></a>00141 <a name="l00142"></a>00142 <span class="keyword">public</span> slots: <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="keywordtype">void</span> slotOnShutdown(); <a name="l00145"></a>00145 <a name="l00147"></a>00147 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#5771f647c0fd90c828857da74f97841f" title="selected tree node has changed">slotNodeSelected</a>(<a class="code" href="classAkregator_1_1TreeNode.html" title="Abstract base class for all kind of elements in the feed tree, like feeds and feed...">TreeNode</a>* node); <a name="l00148"></a>00148 <a name="l00150"></a>00150 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#dcb8e0575e52f966299ca82dbb3ac9c3" title="the article selection has changed">slotArticleSelected</a>(<span class="keyword">const</span> <a class="code" href="classAkregator_1_1Article.html" title="A proxy class for RSS::Article with some additional methods to assist sorting.">Article</a>&); <a name="l00151"></a>00151 <a name="l00153"></a>00153 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#8d664d40ff761936897824890c1ec6b1" title="Shows requested popup menu for feed tree.">slotFeedTreeContextMenu</a>(KListView*, <a class="code" href="classAkregator_1_1TreeNode.html" title="Abstract base class for all kind of elements in the feed tree, like feeds and feed...">TreeNode</a>*, <span class="keyword">const</span> QPoint&); <a name="l00154"></a>00154 <a name="l00156"></a>00156 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#c5fe5db32bff5ce54c2f44e4acc787ab" title="emits signalUnreadCountChanged(int)">slotSetTotalUnread</a>(); <a name="l00157"></a>00157 <a name="l00159"></a>00159 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#a750ca71d3f4bd16f2a9b55c14135a32" title="special behaviour in article list view (TODO: move code there?)">slotMouseButtonPressed</a>(<span class="keywordtype">int</span> button, <span class="keyword">const</span> <a class="code" href="classAkregator_1_1Article.html" title="A proxy class for RSS::Article with some additional methods to assist sorting.">Article</a>& article, <span class="keyword">const</span> QPoint & pos, <span class="keywordtype">int</span> c); <a name="l00160"></a>00160 <a name="l00162"></a>00162 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#9e057967b1a4fd1dddf483b3ef54889f" title="opens article of item in external browser">slotOpenArticleExternal</a>(<span class="keyword">const</span> <a class="code" href="classAkregator_1_1Article.html" title="A proxy class for RSS::Article with some additional methods to assist sorting.">Article</a>& article, <span class="keyword">const</span> QPoint&, <span class="keywordtype">int</span>); <a name="l00163"></a>00163 <a name="l00166"></a>00166 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#35ca324744aa17a5d93addf2a9e4568c" title="opens the current article (currentItem) in external browser TODO: use selected instead...">slotOpenCurrentArticleExternal</a>(); <a name="l00167"></a>00167 <a name="l00170"></a>00170 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#8b874b9677a9234e46ab57565b398bab" title="opens the current article (currentItem) in background tab TODO: use selected instead...">slotOpenCurrentArticleBackgroundTab</a>(); <a name="l00171"></a>00171 <a name="l00173"></a>00173 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#2d97c49a7eb4fc1a80d1b5f36ad956e2" title="opens current article in new tab, background/foreground depends on settings TODO:...">slotOpenCurrentArticle</a>(); <a name="l00174"></a>00174 <a name="l00177"></a>00177 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#8cd6c15284c6dbf9367dba32ed79222d" title="copies the link of current article to clipboard">slotCopyLinkAddress</a>(); <a name="l00178"></a>00178 <a name="l00182"></a>00182 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#a5a99328351f0b1d1564d57808ddf711" title="opens a page viewer in a new tab and loads an URL">slotOpenNewTab</a>(<span class="keyword">const</span> KURL& url, <span class="keywordtype">bool</span> background = <span class="keyword">false</span>); <a name="l00183"></a>00183 <a name="l00186"></a>00186 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#b9fd8ba6990cd75b7537e758392c68ac" title="called when another part/frame is activated.">slotFrameChanged</a>(Frame *f); <a name="l00187"></a>00187 <a name="l00189"></a>00189 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#a2078c77fea1c387d327dafb35089ac4" title="sets the window caption after a frame change">slotCaptionChanged</a>(<span class="keyword">const</span> QString &); <a name="l00190"></a>00190 <a name="l00192"></a>00192 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#0aa903f500d4d01e41d1ee8ab8d12440" title="called when URLs are dropped into the tree view">slotFeedURLDropped</a> (KURL::List &urls, <a class="code" href="classAkregator_1_1TreeNode.html" title="Abstract base class for all kind of elements in the feed tree, like feeds and feed...">TreeNode</a>* after, <a class="code" href="classAkregator_1_1Folder.html" title="Represents a folder (containing feeds and/or other folders).">Folder</a> *parent); <a name="l00193"></a>00193 <a name="l00195"></a>00195 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#355b13d86ee9a7a735f4c4dda569b03a" title="displays a URL in the status bar when the user moves the mouse over a link">slotMouseOverInfo</a>(<span class="keyword">const</span> KFileItem *kifi); <a name="l00196"></a>00196 <a name="l00198"></a>00198 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#0e66502b54fd87a95430d09d2c1719bf" title="sets the status bar text to a given string">slotStatusText</a>(<span class="keyword">const</span> QString &); <a name="l00199"></a>00199 <a name="l00200"></a>00200 <span class="keywordtype">void</span> slotStarted(); <a name="l00201"></a>00201 <span class="keywordtype">void</span> slotCanceled(<span class="keyword">const</span> QString &); <a name="l00202"></a>00202 <span class="keywordtype">void</span> slotCompleted(); <a name="l00203"></a>00203 <span class="keywordtype">void</span> slotLoadingProgress(<span class="keywordtype">int</span>); <a name="l00204"></a>00204 <a name="l00205"></a>00205 <span class="keywordtype">void</span> slotFetchingStarted(); <a name="l00206"></a>00206 <span class="keywordtype">void</span> slotFetchingStopped(); <a name="l00207"></a>00207 <a name="l00208"></a>00208 <a name="l00210"></a>00210 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#df813d0f4e22a9b57dc118d7b64340b7" title="Feed has been fetched, populate article view if needed and update counters.">slotFeedFetched</a>(<a class="code" href="classAkregator_1_1Feed.html" title="represents a feed">Feed</a> *); <a name="l00211"></a>00211 <a name="l00213"></a>00213 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#0f44b28e758854b61266a5ff94203196" title="adds a new feed to the feed tree">slotFeedAdd</a>(); <a name="l00215"></a>00215 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#f59c8cc5fc786f20667e15aadd466c17" title="adds a feed group to the feed tree">slotFeedAddGroup</a>(); <a name="l00217"></a>00217 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#aae936ed3a74371b715693a3ab916e84" title="removes the currently selected feed (ask for confirmation)">slotFeedRemove</a>(); <a name="l00219"></a>00219 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#ceeb16397cb1b6a90e7551039a3625b3" title="calls the properties dialog for feeds, starts renaming for feed groups">slotFeedModify</a>(); <a name="l00221"></a>00221 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#249c67a8f9ccf69558a73f52e1ae09f2" title="fetches the currently selected feed">slotFetchCurrentFeed</a>(); <a name="l00223"></a>00223 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#d9ecc39ee3204193d8d082b6fdbffa46" title="starts fetching of all feeds in the tree">slotFetchAllFeeds</a>(); <a name="l00225"></a>00225 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#b7c02dc7794f947294c4f7a193f43bf2" title="marks all articles in the currently selected feed as read">slotMarkAllRead</a>(); <a name="l00227"></a>00227 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#f4e3d512d568bee3f2d76c758318e325" title="marks all articles in all feeds in the tree as read">slotMarkAllFeedsRead</a>(); <a name="l00229"></a>00229 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#d3ef562b937096f5f0ac08f118e06d64" title="opens the homepage of the currently selected feed">slotOpenHomepage</a>(); <a name="l00230"></a>00230 <a name="l00232"></a>00232 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#7a365bb7cf00c459a7241b7b4eaf0091" title="toggles the keep flag of the currently selected article">slotArticleToggleKeepFlag</a>(<span class="keywordtype">bool</span> enabled); <a name="l00234"></a>00234 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#98698cc96d4f83996a096017e1d91558" title="deletes the currently selected article">slotArticleDelete</a>(); <a name="l00236"></a>00236 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#217e6e7bb8cb8c4ec572b7f0f9a76dc2" title="marks the currently selected article as read">slotSetSelectedArticleRead</a>(); <a name="l00238"></a>00238 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#708a18a25f40cb134ac2991df0ea3176" title="marks the currently selected article as unread">slotSetSelectedArticleUnread</a>(); <a name="l00240"></a>00240 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#96122e757ac81f522f1daef4c4ba3ab8" title="marks the currently selected article as new">slotSetSelectedArticleNew</a>(); <a name="l00242"></a>00242 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#39d8c21551313de06b5bb41b486bfd29" title="marks the currenctly selected article as read after a user-set delay">slotSetCurrentArticleReadDelayed</a>(); <a name="l00243"></a>00243 <a name="l00245"></a>00245 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#da9f2ebeb3787d4e45e80fa550f6b79a" title="reads the currently selected articles using KTTSD">slotTextToSpeechRequest</a>(); <a name="l00246"></a>00246 <a name="l00247"></a>00247 <span class="keywordtype">void</span> slotAssignTag(<span class="keyword">const</span> Tag& tag, <span class="keywordtype">bool</span> assign); <a name="l00248"></a>00248 <span class="comment">//void slotRemoveTag(const Tag& tag);</span> <a name="l00249"></a>00249 <span class="keywordtype">void</span> slotNewTag(); <a name="l00250"></a>00250 <span class="keywordtype">void</span> slotTagCreated(<span class="keyword">const</span> Tag& tag); <a name="l00251"></a>00251 <span class="keywordtype">void</span> slotTagRemoved(<span class="keyword">const</span> Tag& tag); <a name="l00252"></a>00252 <a name="l00254"></a>00254 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#9f4253a801a0c06e567b6f5b9b94ab8e" title="switches view mode to normal view">slotNormalView</a>(); <a name="l00256"></a>00256 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#da047ed192ab73a7837f265f3987d9d6" title="switches view mode to widescreen view">slotWidescreenView</a>(); <a name="l00258"></a>00258 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#c11073c7a4be7a84f489614df24d9dbe" title="switches view mode to combined view">slotCombinedView</a>(); <a name="l00260"></a>00260 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#cbf8fcbd768cb14ebf906fac81f45bcb" title="toggles the visibility of the filter bar">slotToggleShowQuickFilter</a>(); <a name="l00261"></a>00261 <a name="l00263"></a>00263 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#4ee861cf7ba6fef373da06cc662b0dfb" title="selects the previous unread article in the article list">slotPrevUnreadArticle</a>(); <a name="l00265"></a>00265 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#f6dc7cdaddc5ea21a47b305c70182143" title="selects the next unread article in the article list">slotNextUnreadArticle</a>(); <a name="l00266"></a>00266 <a name="l00267"></a>00267 <span class="keywordtype">void</span> slotMoveCurrentNodeUp(); <a name="l00268"></a>00268 <span class="keywordtype">void</span> slotMoveCurrentNodeDown(); <a name="l00269"></a>00269 <span class="keywordtype">void</span> slotMoveCurrentNodeLeft(); <a name="l00270"></a>00270 <span class="keywordtype">void</span> slotMoveCurrentNodeRight(); <a name="l00271"></a>00271 <a name="l00272"></a>00272 <span class="keyword">protected</span>: <a name="l00273"></a>00273 <a name="l00274"></a>00274 <span class="keywordtype">void</span> addFeed(<span class="keyword">const</span> QString& url, <a class="code" href="classAkregator_1_1TreeNode.html" title="Abstract base class for all kind of elements in the feed tree, like feeds and feed...">TreeNode</a>* after, <a class="code" href="classAkregator_1_1Folder.html" title="Represents a folder (containing feeds and/or other folders).">Folder</a>* parent, <span class="keywordtype">bool</span> autoExec = <span class="keyword">true</span>); <a name="l00275"></a>00275 <a name="l00276"></a>00276 <span class="keywordtype">void</span> connectToFeedList(<a class="code" href="classAkregator_1_1FeedList.html" title="The model of a feed tree, represents an OPML document.">FeedList</a>* feedList); <a name="l00277"></a>00277 <span class="keywordtype">void</span> disconnectFromFeedList(<a class="code" href="classAkregator_1_1FeedList.html" title="The model of a feed tree, represents an OPML document.">FeedList</a>* feedList); <a name="l00278"></a>00278 <a name="l00279"></a>00279 <span class="keywordtype">void</span> updateTagActions(); <a name="l00280"></a>00280 <a name="l00281"></a>00281 <span class="keyword">protected</span> slots: <a name="l00282"></a>00282 <a name="l00283"></a>00283 <span class="keywordtype">void</span> connectFrame(Frame *); <a name="l00284"></a>00284 <a name="l00285"></a>00285 <span class="keywordtype">void</span> setTabIcon(<span class="keyword">const</span> QPixmap&); <a name="l00286"></a>00286 <a name="l00287"></a>00287 <span class="keywordtype">void</span> slotDoIntervalFetches(); <a name="l00288"></a>00288 <span class="keywordtype">void</span> slotDeleteExpiredArticles(); <a name="l00289"></a>00289 <a name="l00291"></a>00291 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#b6406b763f64f7230eba9c11c9c91fc7" title="HACK: receives signal from browserrun when the browserrun detects an HTML mimetype...">slotOpenURLReply</a>(<span class="keyword">const</span> KURL& url, Akregator::Viewer* currentViewer, Akregator::BrowserRun::OpeningMode mode); <a name="l00292"></a>00292 <a name="l00294"></a>00294 <span class="keywordtype">void</span> <a class="code" href="classAkregator_1_1View.html#1fb6d84f9339585dcd275f55905ffa3e" title="HACK: part of the url opening hack for 3.5.">slotUrlClickedInViewer</a>(<span class="keyword">const</span> KURL& url, Viewer* viewer, <span class="keywordtype">bool</span> newTab, <span class="keywordtype">bool</span> background); <a name="l00295"></a>00295 <a name="l00296"></a>00296 <span class="keywordtype">void</span> slotOpenURL(<span class="keyword">const</span> KURL& url, Akregator::Viewer* currentViewer, Akregator::BrowserRun::OpeningMode mode); <a name="l00297"></a>00297 <a name="l00298"></a>00298 <span class="keyword">public</span>: <span class="comment">// compat with KDE-3.x assertions, remove for KDE 4</span> <a name="l00299"></a>00299 <span class="comment">// private:</span> <a name="l00300"></a>00300 <a name="l00301"></a>00301 <span class="keyword">enum</span> ViewMode { NormalView=0, WidescreenView, CombinedView }; <a name="l00302"></a>00302 <a name="l00303"></a>00303 <a class="code" href="classAkregator_1_1FeedList.html" title="The model of a feed tree, represents an OPML document.">FeedList</a>* m_feedList; <a name="l00304"></a>00304 TagNodeList* m_tagNodeList; <a name="l00305"></a>00305 NodeListView* m_feedListView; <a name="l00306"></a>00306 NodeListView* m_tagNodeListView; <a name="l00307"></a>00307 ArticleListView *m_articleList; <a name="l00308"></a>00308 <a class="code" href="classAkregator_1_1ArticleViewer.html" title="This HTML viewer is used to display articles.">ArticleViewer</a> *m_articleViewer; <a name="l00309"></a>00309 TabWidget *m_tabs; <a name="l00310"></a>00310 <a name="l00311"></a>00311 QWidget *m_mainTab; <a name="l00312"></a>00312 Frame *m_mainFrame; <a name="l00313"></a>00313 Frame *m_currentFrame; <a name="l00314"></a>00314 <a name="l00315"></a>00315 SearchBar* m_searchBar; <a name="l00316"></a>00316 <a name="l00317"></a>00317 QSplitter *m_articleSplitter; <a name="l00318"></a>00318 QSplitter *m_horizontalSplitter; <a name="l00319"></a>00319 <a name="l00320"></a>00320 <a class="code" href="classAkregator_1_1ListTabWidget.html" title="A widget containing multiple list views, e.g.">ListTabWidget</a>* m_listTabWidget; <a name="l00321"></a>00321 <a class="code" href="classAkregator_1_1Part.html" title="This is a RSS Aggregator &quot;Part&quot;.">Akregator::Part</a> *m_part; <a name="l00322"></a>00322 ViewMode m_viewMode; <a name="l00323"></a>00323 <a name="l00324"></a>00324 QTimer *m_fetchTimer; <a name="l00325"></a>00325 QTimer* m_expiryTimer; <a name="l00326"></a>00326 QTimer *m_markReadTimer; <a name="l00327"></a>00327 <a name="l00328"></a>00328 <span class="keywordtype">bool</span> m_shuttingDown; <a name="l00329"></a>00329 <span class="keywordtype">bool</span> m_displayingAboutPage; <a name="l00330"></a>00330 <a name="l00331"></a>00331 <a class="code" href="classAkregator_1_1ActionManagerImpl.html" title="Akregator-specific implementation of the ActionManager interface.">ActionManagerImpl</a>* m_actionManager; <a name="l00332"></a>00332 <a name="l00333"></a>00333 QPixmap m_keepFlagIcon; <a name="l00334"></a>00334 <span class="keyword">friend</span> <span class="keyword">class </span>EditNodePropertiesVisitor; <a name="l00335"></a>00335 <span class="keyword">class </span>EditNodePropertiesVisitor; <a name="l00336"></a>00336 EditNodePropertiesVisitor* m_editNodePropertiesVisitor; <a name="l00337"></a>00337 <span class="keyword">friend</span> <span class="keyword">class </span>DeleteNodeVisitor; <a name="l00338"></a>00338 <span class="keyword">class </span>DeleteNodeVisitor; <a name="l00339"></a>00339 DeleteNodeVisitor* m_deleteNodeVisitor; <a name="l00340"></a>00340 }; <a name="l00341"></a>00341 } <a name="l00342"></a>00342 <a name="l00343"></a>00343 <span class="preprocessor">#endif // _AKREGATORVIEW_H_</span> </pre></div></div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>akregator/src</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classAkregator_1_1AboutData.html">akregator::aboutdata</option>, <option value="classAkregator_1_1ActionManager.html">akregator::actionmanager</option>, <option value="classAkregator_1_1ActionManagerImpl.html">akregator::actionmanagerimpl</option>, <option value="classAkregator_1_1Article.html">akregator::article</option>, <option value="classAkregator_1_1ArticleInterceptor.html">akregator::articleinterceptor</option>, <option value="classAkregator_1_1ArticleInterceptorManager.html">akregator::articleinterceptormanager</option>, <option value="classAkregator_1_1ArticleViewer.html">akregator::articleviewer</option>, <option value="classAkregator_1_1Backend_1_1Category.html">akregator::backend::category</option>, <option value="classAkregator_1_1Backend_1_1Storage.html">akregator::backend::storage</option>, <option value="classAkregator_1_1Backend_1_1StorageDummyImpl.html">akregator::backend::storagedummyimpl</option>, <option value="classAkregator_1_1Feed.html">akregator::feed</option>, <option value="classAkregator_1_1FeedItem.html">akregator::feeditem</option>, <option value="classAkregator_1_1FeedList.html">akregator::feedlist</option>, <option value="classAkregator_1_1Filters_1_1AbstractMatcher.html">akregator::filters::abstractmatcher</option>, <option value="classAkregator_1_1Filters_1_1ArticleFilter.html">akregator::filters::articlefilter</option>, <option value="classAkregator_1_1Filters_1_1ArticleMatcher.html">akregator::filters::articlematcher</option>, <option value="classAkregator_1_1Filters_1_1Criterion.html">akregator::filters::criterion</option>, <option value="classAkregator_1_1Folder.html">akregator::folder</option>, <option value="classAkregator_1_1KCursorSaver.html">akregator::kcursorsaver</option>, <option value="classAkregator_1_1ListTabWidget.html">akregator::listtabwidget</option>, <option value="classAkregator_1_1MainWindow.html">akregator::mainwindow</option>, <option value="classAkregator_1_1NotificationManager.html">akregator::notificationmanager</option>, <option value="classAkregator_1_1Part.html">akregator::part</option>, <option value="classAkregator_1_1ProgressItemHandler.html">akregator::progressitemhandler</option>, <option value="classAkregator_1_1ProgressManager.html">akregator::progressmanager</option>, <option value="classAkregator_1_1SelectNodeDialog.html">akregator::selectnodedialog</option>, <option value="classAkregator_1_1TagAction.html">akregator::tagaction</option>, <option value="classAkregator_1_1TagSet.html">akregator::tagset</option>, <option value="classAkregator_1_1TreeNode.html">akregator::treenode</option>, <option value="classAkregator_1_1TreeNodeItem.html">akregator::treenodeitem</option>, <option value="classAkregator_1_1View.html">akregator::view</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../../akregator/html/index.html">akregator</a></li><li> <a href="../../../akregator/src/html/index.html">src</a></li><li> <a href="../../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../../certmanager/html/index.html">certmanager</a></li><li> <a href="../../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../../kalarm/html/index.html">kalarm</a></li><li> <a href="../../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../../kandy/html/index.html">kandy</a></li><li><a href="../../../karm/html/index.html">karm</a></li><li><a href="../../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../../kgantt/html/index.html">kgantt</a></li><li><a href="../../../kioslaves/html/index.html">kioslaves</a></li><li> <a href="../../../kioslaves/imap4/html/index.html">imap4</a></li><li> <a href="../../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../../kmail/html/index.html">kmail</a></li><li><a href="../../../knotes/html/index.html">knotes</a></li><li><a href="../../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../../kontact/html/index.html">kontact</a></li><li><a href="../../../korganizer/html/index.html">korganizer</a></li><li><a href="../../../kpilot/html/index.html">kpilot</a></li><li> <a href="../../../kpilot/kpilot/html/index.html">kpilot</a></li><li> <a href="../../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../../libkcal/html/index.html">libkcal</a></li><li><a href="../../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../../libkmime/html/index.html">libkmime</a></li><li><a href="../../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../../libkpimidentities/html/index.html">libkpimidentities</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>