Changeset View
Changeset View
Standalone View
Standalone View
messageviewer/src/viewer/viewer.h
Show All 30 Lines | |||||
31 | 31 | | |||
32 | #include <QWidget> | 32 | #include <QWidget> | ||
33 | 33 | | |||
34 | namespace Akonadi { | 34 | namespace Akonadi { | ||
35 | class Item; | 35 | class Item; | ||
36 | class ItemFetchJob; | 36 | class ItemFetchJob; | ||
37 | } | 37 | } | ||
38 | 38 | | |||
39 | namespace MimeTreeParser { | | |||
40 | class AttachmentStrategy; | | |||
41 | } | | |||
42 | | ||||
43 | class KActionCollection; | 39 | class KActionCollection; | ||
44 | class QAction; | 40 | class QAction; | ||
45 | class KToggleAction; | 41 | class KToggleAction; | ||
46 | class KActionMenu; | 42 | class KActionMenu; | ||
47 | 43 | | |||
48 | class QAbstractItemModel; | 44 | class QAbstractItemModel; | ||
49 | class QCloseEvent; | 45 | class QCloseEvent; | ||
50 | class QEvent; | 46 | class QEvent; | ||
51 | class QResizeEvent; | 47 | class QResizeEvent; | ||
52 | 48 | | |||
53 | namespace WebEngineViewer { | 49 | namespace WebEngineViewer { | ||
54 | class WebHitTestResult; | 50 | class WebHitTestResult; | ||
55 | } | 51 | } | ||
56 | 52 | | |||
57 | namespace MessageViewer { | 53 | namespace MessageViewer { | ||
58 | class WebHitTestResult; | 54 | class WebHitTestResult; | ||
59 | 55 | | |||
56 | class AttachmentStrategy; | ||||
60 | class HeaderStylePlugin; | 57 | class HeaderStylePlugin; | ||
61 | class CSSHelper; | 58 | class CSSHelper; | ||
62 | class ViewerPrivate; | 59 | class ViewerPrivate; | ||
63 | 60 | | |||
64 | /** | 61 | /** | ||
65 | * An interface to plug in a handler that is called when | 62 | * An interface to plug in a handler that is called when | ||
66 | * an message item has been loaded into the view. | 63 | * an message item has been loaded into the view. | ||
67 | */ | 64 | */ | ||
▲ Show 20 Lines • Show All 174 Lines • ▼ Show 20 Line(s) | 104 | public: | |||
242 | 239 | | |||
243 | /** Enforce message decryption. */ | 240 | /** Enforce message decryption. */ | ||
244 | void setDecryptMessageOverwrite(bool overwrite = true); | 241 | void setDecryptMessageOverwrite(bool overwrite = true); | ||
245 | 242 | | |||
246 | /** | 243 | /** | ||
247 | * Initiates a delete, by sending a signal to delete the message item */ | 244 | * Initiates a delete, by sending a signal to delete the message item */ | ||
248 | void deleteMessage(); | 245 | void deleteMessage(); | ||
249 | 246 | | |||
250 | const MimeTreeParser::AttachmentStrategy *attachmentStrategy() const; | 247 | const AttachmentStrategy *attachmentStrategy() const; | ||
251 | void setAttachmentStrategy(const MimeTreeParser::AttachmentStrategy *strategy); | 248 | void setAttachmentStrategy(const AttachmentStrategy *strategy); | ||
252 | 249 | | |||
253 | QString overrideEncoding() const; | 250 | QString overrideEncoding() const; | ||
254 | void setOverrideEncoding(const QString &encoding); | 251 | void setOverrideEncoding(const QString &encoding); | ||
255 | CSSHelper *cssHelper() const; | 252 | CSSHelper *cssHelper() const; | ||
256 | void setPrinting(bool enable); | 253 | void setPrinting(bool enable); | ||
257 | 254 | | |||
258 | void selectAll(); | 255 | void selectAll(); | ||
259 | void copySelectionToClipboard(); | 256 | void copySelectionToClipboard(); | ||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |