messageviewer
viewer.cpp
Go to the documentation of this file.
72 connect( d_ptr, SIGNAL(makeResourceOnline(MessageViewer::Viewer::ResourceOnlineMode)), SIGNAL(makeResourceOnline(MessageViewer::Viewer::ResourceOnlineMode)) );
75 connect( d_ptr, SIGNAL(showMessage(KMime::Message::Ptr,QString)), this, SIGNAL(showMessage(KMime::Message::Ptr,QString)) );
80 connect( d_ptr, SIGNAL(changeDisplayMail(Viewer::ForceDisplayTo,bool)), SLOT(slotChangeDisplayMail(Viewer::ForceDisplayTo,bool)) );
HeaderStrategy * headerStrategy() const
Definition: viewer.cpp:399
void showStatusBarMessage(const QString &message)
Emitted when a status bar message is shown.
virtual void resizeEvent(QResizeEvent *)
Definition: viewer.cpp:157
void moveMessageToTrash()
Configure widget that can be used in a KConfigDialog.
Definition: configurewidget.h:37
This class encapsulates the visual appearance of message headers.
Definition: headerstyle.h:60
void enableMessageDisplay()
Enable the displaying of messages again after an splash (or other) page was displayed.
Definition: viewer.cpp:127
bool atBottom() const
Returns true if the message view is scrolled to the bottom.
Definition: viewer.cpp:207
void setUseFixedFont(bool useFixedFont)
Definition: viewer.cpp:286
KAction * resetMessageDisplayFormatAction()
Definition: viewer.cpp:647
void setMessageItem(const Akonadi::Item &item, UpdateMode updateMode=Delayed)
Set the Akonadi item that will be displayed.
Definition: viewer.cpp:95
bool isAShortUrl(const KUrl &url) const
Definition: viewer.cpp:680
void setAttachmentStrategy(const AttachmentStrategy *strategy)
Definition: viewer.cpp:355
void setMessagePath(const QString &path)
Set the path to the message in terms of Akonadi collection hierarchy.
Definition: viewer.cpp:115
bool htmlLoadExtOverride() const
Get the load external references override setting.
Definition: viewer.cpp:262
void setMessagePart(KMime::Content *aMsgPart)
Instead of settings a message to be shown sets a message part to be shown.
Definition: viewer.cpp:502
UpdateMode
The display update mode: Force updates the display immediately, Delayed updates after some time (150m...
Definition: viewer.h:132
void setHeaderStyleAndStrategy(HeaderStyle *style, HeaderStrategy *strategy)
Definition: viewer.cpp:411
Akonadi::Item messageItem() const
Returns the current message item displayed in the viewer.
Definition: viewer.cpp:318
Definition: headerstrategy.h:42
void setMessage(KMime::Message::Ptr message, UpdateMode updateMode=Delayed)
Set the message that shall be shown.
Definition: viewer.cpp:86
const AttachmentStrategy * attachmentStrategy() const
Definition: viewer.cpp:349
void copySelectionToClipboard()
Definition: viewer.cpp:577
static Akonadi::ItemFetchJob * createFetchJob(const Akonadi::Item &item)
Create an item fetch job that is suitable for using to fetch the message item that will be displayed ...
Definition: viewer.cpp:525
Private class for the Viewer, the main widget in the messageviewer library.
Definition: viewer_p.h:182
KAction * expandShortUrlAction()
Definition: viewer.cpp:686
void saveMainFrameScreenshotInFile(const QString &filename)
Definition: viewer.cpp:653
bool htmlMail() const
Is html mail to be supported? Takes into account override.
Definition: viewer.cpp:268
void printMessage(const Akonadi::Item &msg)
Sets a message as the current one and print it immediately.
Definition: viewer.cpp:133
void slotChangeDisplayMail(Viewer::ForceDisplayTo, bool)
Definition: viewer.cpp:625
void displaySplashPage(const QString &info)
Display a generic HTML splash page instead of a message.
Definition: viewer.cpp:121
void printPreviewMessage(const Akonadi::Item &message)
Definition: viewer.cpp:139
void setHtmlLoadExtOverride(bool override)
Override default load external references setting.
Definition: viewer.cpp:250
void addMessageLoadedHandler(AbstractMessageLoadedHandler *handler)
Adds a handler for actions that will be executed when the message has been loaded into the view...
Definition: viewer.cpp:541
KAction * saveMessageDisplayFormatAction()
Definition: viewer.cpp:641
void showReader(KMime::Content *aMsgPart, bool aHTML, const QString &encoding)
Emitted when the content should be shown in a separate window.
void setScrollBarPolicy(Qt::Orientation orientation, Qt::ScrollBarPolicy policy)
Sets the scrollbar policy for the scrollbar defined by orientation to policy.
Definition: viewer.cpp:535
void setAppName(const QString &appName)
Set the application name that is shown when the splash screen is active.
Definition: viewer.cpp:256
Definition: csshelper.h:41
void slotScrollUp(int pixels=10)
HTML Widget scrollbar and layout handling.
Definition: viewer.cpp:195
void setOverrideEncoding(const QString &encoding)
Definition: viewer.cpp:367
KToggleAction * toggleFixFontAction()
Definition: viewer.cpp:381
void popupMenu(const Akonadi::Item &msg, const KUrl &url, const KUrl &imageUrl, const QPoint &mousePos)
The user presses the right mouse button.
KMime::Message::Ptr message() const
Returns the current message displayed in the viewer.
Definition: viewer.cpp:312
void makeResourceOnline(MessageViewer::Viewer::ResourceOnlineMode mode)
void showMessage(KMime::Message::Ptr message, const QString &encoding)
Emitted when the message should be shown in a separate window.
void deleteMessage()
Initiates a delete, by sending a signal to delete the message item.
Definition: viewer.cpp:558
void setDecryptMessageOverwrite(bool overwrite=true)
Enforce message decryption.
Definition: viewer.cpp:298
Viewer(QWidget *parent, QWidget *mainWindow=0, KActionCollection *actionCollection=0, Qt::WindowFlags f=0)
Create a mail viewer widget.
Definition: viewer.cpp:50
QString messagePath() const
The path to the message in terms of Akonadi collection hierarchy.
Definition: viewer.cpp:109
KToggleAction * toggleMimePartTreeAction()
Definition: viewer.cpp:387
Definition: viewer.h:133
Definition: viewer.h:110
void itemRemoved()
Emitted when the item, previously set with setMessageItem, has been removed.
void removeMessageLoadedHandler(AbstractMessageLoadedHandler *handler)
Removes the handler for actions that will be executed when the message has been loaded into the view...
Definition: viewer.cpp:551
Definition: viewer.h:111
void replaceMsgByUnencryptedVersion()
Emitted after parsing of a message to have it stored in unencrypted state in it's folder...
Definition: viewer.h:134
void requestConfigSync()
An interface to plug in a handler that is called when an message item has been loaded into the view...
Definition: viewer.h:58
QAbstractItemModel * messageTreeModel() const
A QAIM tree model of the message structure.
Definition: viewer.cpp:520
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.