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

kmail

  • sources
  • kde-4.12
  • 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 #include <KJob>
27 
28 class KAction;
29 class KMComposeWin;
30 
31 class KMComposerEditor : public MessageComposer::KMeditor
32 {
33  Q_OBJECT
34 
35 public:
36 
40  explicit KMComposerEditor( KMComposeWin *win,QWidget *parent = 0 );
41 
42  ~KMComposerEditor();
43 
52  void createActions( KActionCollection *actionCollection );
53 
58  void replaceUnknownChars( const QTextCodec *codec );
59 
63  QString smartQuote( const QString & msg );
64 
68  void setHighlighterColors(KPIMTextEdit::EMailQuoteHighlighter * highlighter);
69 
73  void showSpellConfigDialog( const QString &configFileName );
74 
75 private:
76  KMComposeWin *mComposerWin;
77 
78 protected:
79  bool canInsertFromMimeData( const QMimeData *source ) const;
80  void insertFromMimeData( const QMimeData *source );
81 
82 protected slots:
83  void mousePopupMenuImplementation(const QPoint& pos);
84 
85 signals:
86  void insertSnippet();
87 
88 };
89 
90 #endif
91 
KMComposerEditor::mousePopupMenuImplementation
void mousePopupMenuImplementation(const QPoint &pos)
Definition: kmcomposereditor.cpp:169
KMComposerEditor::insertSnippet
void insertSnippet()
QWidget
KMComposeWin
Definition: kmcomposewin.h:106
KMComposerEditor::KMComposerEditor
KMComposerEditor(KMComposeWin *win, QWidget *parent=0)
Constructs a KMComposerEditor object.
Definition: kmcomposereditor.cpp:54
KMComposerEditor::insertFromMimeData
void insertFromMimeData(const QMimeData *source)
Definition: kmcomposereditor.cpp:138
KMComposerEditor::setHighlighterColors
void setHighlighterColors(KPIMTextEdit::EMailQuoteHighlighter *highlighter)
Reimplemented from KMEditor.
Definition: kmcomposereditor.cpp:87
KMComposerEditor
Definition: kmcomposereditor.h:31
KMComposerEditor::replaceUnknownChars
void replaceUnknownChars(const QTextCodec *codec)
This replaces all characters not known to the specified codec with questionmarks. ...
Definition: kmcomposereditor.cpp:110
QMimeData
KMComposerEditor::canInsertFromMimeData
bool canInsertFromMimeData(const QMimeData *source) const
Definition: kmcomposereditor.cpp:126
KMComposerEditor::~KMComposerEditor
~KMComposerEditor()
Definition: kmcomposereditor.cpp:60
KMComposerEditor::showSpellConfigDialog
void showSpellConfigDialog(const QString &configFileName)
Static override because we want to hide part of the dialog UI.
Definition: kmcomposereditor.cpp:149
KMComposerEditor::smartQuote
QString smartQuote(const QString &msg)
Reimplemented from KMEditor.
Definition: kmcomposereditor.cpp:105
KMComposerEditor::createActions
void createActions(KActionCollection *actionCollection)
Reimplemented from KMEditor, to support more actions.
Definition: kmcomposereditor.cpp:64
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:51 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

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