14 #ifndef KNMAINWIDGET_H
15 #define KNMAINWIDGET_H
36 class KSqueezedTextLabel;
54 class KActionCollection;
66 void prepareShutdown();
72 void disableAccels(
bool b=
true);
74 void secureProcessEvents();
77 virtual QSize sizeHint()
const;
80 void openURL(
const KUrl &url);
81 void openURL(
const QString &url);
98 Q_SCRIPTABLE
void nextArticle();
100 Q_SCRIPTABLE
void previousArticle();
102 Q_SCRIPTABLE
void nextUnreadArticle();
104 Q_SCRIPTABLE
void nextUnreadThread();
106 Q_SCRIPTABLE
void nextGroup();
108 Q_SCRIPTABLE
void previousGroup();
112 Q_SCRIPTABLE
void postArticle();
114 Q_SCRIPTABLE
void fetchHeadersInCurrentGroup();
116 Q_SCRIPTABLE
void expireArticlesInCurrentGroup();
118 Q_SCRIPTABLE
void markAllAsRead();
120 Q_SCRIPTABLE
void markAllAsUnread();
124 Q_SCRIPTABLE
void markAsRead();
126 Q_SCRIPTABLE
void markAsUnread();
128 Q_SCRIPTABLE
void markThreadAsRead();
130 Q_SCRIPTABLE
void markThreadAsUnread();
135 Q_SCRIPTABLE
void sendPendingMessages();
137 Q_SCRIPTABLE
void deleteArticle();
139 Q_SCRIPTABLE
void sendNow();
141 Q_SCRIPTABLE
void editArticle();
143 Q_SCRIPTABLE
void fetchHeaders();
145 Q_SCRIPTABLE
void expireArticles();
149 Q_SCRIPTABLE
bool handleCommandLine();
153 void signalCaptionChangeRequest(
const QString& );
157 KActionCollection* actionCollection()
const;
164 void initStatusBar();
172 bool requestShutdown();
175 virtual void fontChange(
const QFont & );
176 virtual void paletteChange (
const QPalette & );
185 void closeCurrentThread();
209 void slotArticleSelectionChanged();
211 void slotCollectionSelected();
219 void slotHdrViewSortingChanged(
int i);
222 void slotNetworkActive(
bool b);
229 KAction *a_ctNavNextArt,
231 *a_ctNavNextUnreadArt,
232 *a_ctNavNextUnreadThread,
238 KAction *a_ctAccProperties,
243 *a_ctAccGetNewHdrsAll,
245 *a_ctAccPostNewArticle;
248 KAction *a_ctGrpProperties,
255 *a_ctGrpSetAllUnread,
272 KAction *a_ctArtSortHeadersKeyb,
282 KAction *a_ctArtSetArtRead,
283 *a_ctArtSetArtUnread,
284 *a_ctArtSetThreadRead,
286 *a_ctArtOpenNewWindow;
293 *a_ctArtToggleIgnored,
294 *a_ctArtToggleWatched;
311 void slotNavNextUnreadArt();
312 void slotNavNextUnreadThread();
313 void slotNavReadThrough();
315 void slotAccProperties();
316 void slotAccRename();
317 void slotAccSubscribe();
318 void slotAccExpireAll();
319 void slotAccGetNewHdrs();
320 void slotAccGetNewHdrsAll();
321 void slotAccDelete();
322 void slotAccPostNewArticle();
324 void slotGrpProperties();
325 void slotGrpRename();
326 void slotGrpGetNewHdrs();
327 void slotGrpExpire();
328 void slotGrpReorganize();
329 void slotGrpUnsubscribe();
330 void slotGrpSetAllRead();
331 void slotGrpSetAllUnread();
332 void slotGrpSetUnread();
335 void slotFolNewChild();
336 void slotFolDelete();
337 void slotFolRename();
338 void slotFolCompact();
339 void slotFolCompactAll();
341 void slotFolMBoxImport();
342 void slotFolMBoxExport();
344 void slotArtSortHeaders(
int i);
345 void slotArtSortHeadersKeyb();
346 void slotArtSearch();
347 void slotArtRefreshList();
348 void slotArtCollapseAll();
349 void slotArtExpandAll();
350 void slotArtToggleThread();
351 void slotArtToggleShowThreads();
353 void slotArtSetArtRead();
354 void slotArtSetArtUnread();
355 void slotArtSetThreadRead();
356 void slotArtSetThreadUnread();
358 void slotScoreEdit();
360 void slotScoreLower();
361 void slotScoreRaise();
362 void slotArtToggleIgnored();
363 void slotArtToggleWatched();
365 void slotArtOpenNewWindow();
366 void slotArtSendOutbox();
367 void slotArtDelete();
368 void slotArtSendNow();
371 void slotNetCancel();
373 void slotFetchArticleWithID();
375 void slotToggleQuickSearch();
381 KSqueezedTextLabel *s_tatusGroup;
382 KSqueezedTextLabel *s_tatusFilter;
383 KXMLGUIClient *m_GUIClient;
384 QSplitter *mPrimarySplitter, *mSecondSplitter;
KNFolderManager * f_olManager
KToggleAction * a_ctArtToggleShowThreads
KAction * a_ctGrpUnsubscribe
KNConfigManager * c_fgManager
KNFilterManager * f_ilManager
virtual QByteArray text(quint32 serialNumber) const =0
Article factory, responsible for creating and sending news articles.
KNCollectionView * collectionView() const
Returns the folder tree widget.
KNArticleManager * a_rtManager
KAction * a_ctArtSetThreadUnread
This is the central part of the KNode GUI.
KNode::ArticleWidget * articleViewer() const
Returns the article viewer.
KNArticleFactory * a_rtFactory
KToggleAction * a_ctToggleQuickSearch
KNGroupManager * g_rpManager
Dialog to request a message ID.
KAction * a_ctFetchArticleWithID
KNCollectionView * c_olView
KAction * a_ctAccSubscribe
KAction * a_ctArtToggleThread
KSqueezedTextLabel * statusBarLabelGroup() const
KNode::ArticleWidget * mArticleViewer
void slotTextChanged(const QString &)
KSqueezedTextLabel * statusBarLabelFilter() const
KAction * a_ctNavReadThrough
QLineEdit * s_earchLineEdit
Widget to display a news article.
FetchArticleIdDlg(QWidget *parent)
KNFilterSelectAction * a_ctArtFilter
KNAccountManager * a_ccManager
KSelectAction * a_ctArtSortHeaders
KAction * a_ctArtSendOutbox
KNScoringManager * s_coreManager
QString messageId() const
KNHeaderView * headerView() const
Returns the article list view.