• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kmail

  • sources
  • kde-4.14
  • kdepim
  • kmail
  • editor
kmcomposereditor.h
Go to the documentation of this file.
1 
22 #ifndef KMCOMPOSEREDITOR_H
23 #define KMCOMPOSEREDITOR_H
24 
25 #include <messagecomposer/composer/kmeditor.h>
26 
27 class KAction;
28 class KMComposeWin;
29 
30 class KMComposerEditor : public MessageComposer::KMeditor
31 {
32  Q_OBJECT
33 
34 public:
35 
39  explicit KMComposerEditor( KMComposeWin *win,QWidget *parent = 0 );
40 
41  ~KMComposerEditor();
42 
51  void createActions( KActionCollection *actionCollection );
52 
57  void replaceUnknownChars( const QTextCodec *codec );
58 
62  QString smartQuote( const QString & msg );
63 
67  void setHighlighterColors(KPIMTextEdit::EMailQuoteHighlighter * highlighter);
68 
72  void showSpellConfigDialog( const QString &configFileName );
73 
74 private:
75  KMComposeWin *mComposerWin;
76 
77 protected:
78  bool canInsertFromMimeData( const QMimeData *source ) const;
79  void insertFromMimeData( const QMimeData *source );
80 
81 protected slots:
82  void mousePopupMenuImplementation(const QPoint& pos);
83 
84 signals:
85  void insertSnippet();
86 
87 };
88 
89 #endif
90 
QWidget
KMComposerEditor::mousePopupMenuImplementation
void mousePopupMenuImplementation(const QPoint &pos)
Definition: kmcomposereditor.cpp:163
KMComposerEditor::insertSnippet
void insertSnippet()
QPoint
KMComposeWin
Definition: kmcomposewin.h:109
KMComposerEditor::KMComposerEditor
KMComposerEditor(KMComposeWin *win, QWidget *parent=0)
Constructs a KMComposerEditor object.
Definition: kmcomposereditor.cpp:48
QMimeData
KMComposerEditor::insertFromMimeData
void insertFromMimeData(const QMimeData *source)
Definition: kmcomposereditor.cpp:132
KMComposerEditor::setHighlighterColors
void setHighlighterColors(KPIMTextEdit::EMailQuoteHighlighter *highlighter)
Reimplemented from KMEditor.
Definition: kmcomposereditor.cpp:81
KMComposerEditor
Definition: kmcomposereditor.h:30
KMComposerEditor::replaceUnknownChars
void replaceUnknownChars(const QTextCodec *codec)
This replaces all characters not known to the specified codec with questionmarks. ...
Definition: kmcomposereditor.cpp:104
QString
QTextCodec
KMComposerEditor::canInsertFromMimeData
bool canInsertFromMimeData(const QMimeData *source) const
Definition: kmcomposereditor.cpp:120
KMComposerEditor::~KMComposerEditor
~KMComposerEditor()
Definition: kmcomposereditor.cpp:54
FolderArchive::FolderArchiveUtil::configFileName
QString configFileName()
Definition: folderarchiveutil.cpp:30
KMComposerEditor::showSpellConfigDialog
void showSpellConfigDialog(const QString &configFileName)
Static override because we want to hide part of the dialog UI.
Definition: kmcomposereditor.cpp:143
KMComposerEditor::smartQuote
QString smartQuote(const QString &msg)
Reimplemented from KMEditor.
Definition: kmcomposereditor.cpp:99
KMComposerEditor::createActions
void createActions(KActionCollection *actionCollection)
Reimplemented from KMEditor, to support more actions.
Definition: kmcomposereditor.cpp:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal