26 #ifndef ARTICLEVIEWER_H
27 #define ARTICLEVIEWER_H
29 #include <tdelocale.h>
35 #include "articlefilter.h"
57 virtual bool openURL( const KURL &url);
62 void displayAboutPage();
88 void slotShowSummary( TreeNode *node);
90 virtual void slotPaletteOrFontChanged();
94 void slotArticlesUpdated( TreeNode* node, const TQValueList<Article>& list);
95 void slotArticlesAdded( TreeNode* node, const TQValueList<Article>& list);
96 void slotArticlesRemoved( TreeNode* node, const TQValueList<Article>& list);
100 virtual void keyPressEvent(TQKeyEvent* e);
101 virtual void urlSelected ( const TQString &url, int button, int state, const TQString &_target, KParts::URLArgs args);
106 friend class ShowNodeSummaryVisitor;
107 class ShowSummaryVisitor;
108 ShowSummaryVisitor* m_showSummaryVisitor;
138 void disconnectFromNode( TreeNode* node);
140 TQString m_normalModeCSS;
141 TQString m_combinedModeCSS;
142 TQString m_htmlFooter;
143 TQString m_currentText;
150 enum ViewMode { NormalView, CombinedView, SummaryView };
155 #endif // ARTICLEVIEWER_H
|