messageviewer
mailsourceviewer.cpp
Go to the documentation of this file.
70 mTextBrowser->setTextInteractionFlags( Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard );
129 popup->addAction( KIcon(QLatin1String("preferences-desktop-text-to-speech")),i18n("Speak Text"),this,SLOT(slotSpeakText()));
204 mTabWidget->setTabToolTip( 0, i18n( "Raw, unmodified mail as it is stored on the filesystem or on the server" ) );
207 mTabWidget->addTab( mHtmlBrowser, i18nc( "Mail message as shown, in HTML format", "HTML Source" ) );
int previousBlockState() const
void setKey(const QKeySequence &key)
QString & append(QChar ch)
iterator remove(iterator pos)
MailSourceViewTextBrowser(QWidget *parent=0)
Definition: mailsourceviewer.cpp:113
int length() const
bool MESSAGEVIEWER_EXPORT speakSelectedText(const QString &text, QWidget *parent)
Definition: util.cpp:531
void setCurrentBlockState(int newState)
const T & at(int i) const
QString selectedText() const
void setTextInteractionFlags(QFlags< Qt::TextInteractionFlag > flags)
MailSourceViewer(QWidget *parent=0)
Definition: mailsourceviewer.cpp:187
void setFormat(int start, int count, const QTextCharFormat &format)
QString join(const QString &separator) const
void chop(int n)
void findText()
QTextCursor textCursor() const
void setFixedFont()
Definition: mailsourceviewer.cpp:103
void setPlainText(const QString &text)
Definition: mailsourceviewer.cpp:98
void setBold(bool enable)
int matchedLength() const
int indexIn(const QString &str, int offset, CaretMode caretMode) const
bool hasSelection() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void highlightBlock(const QString &text)
Definition: mailsourceviewer.cpp:155
void setLayout(QLayout *layout)
MessageViewer::MailSourceViewTextBrowser * textBrowser() const
Definition: mailsourceviewer.cpp:108
QTextDocument * document() const
void setText(const QString &text)
Definition: mailsourceviewer.cpp:93
void setFocus()
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
void setRawSource(const QString &source)
Definition: mailsourceviewer.cpp:237
void setMargin(int margin)
defaultFont
QTextDocument * document() const
void setFont(const QFont &)
bool isReadOnly() const
~MailSourceViewer()
Definition: mailsourceviewer.cpp:233
QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries)
int currentBlockState() const
MailSourceViewTextBrowserWidget(QWidget *parent=0)
Definition: mailsourceviewer.cpp:62
void prepend(const T &value)
void contextMenuEvent(QContextMenuEvent *event)
Definition: mailsourceviewer.cpp:118
void setLineWrapMode(LineWrapMode mode)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QList< QAction * > actions() const
void setPlainText(const QString &text)
void setDisplayedSource(const QString &source)
Definition: mailsourceviewer.cpp:242
QMenu * createStandardContextMenu()
void focusAndSetCursor()
Definition: findbarbase.cpp:127
void setFixedFont()
Definition: mailsourceviewer.cpp:251
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.