• 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
codecaction.h
Go to the documentation of this file.
1 /*
2  * This file is part of KMail.
3  * Copyright (c) 2009 Constantin Berzan <exit3219@gmail.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19 
20 #ifndef CODECACTION_H
21 #define CODECACTION_H
22 
23 // Qt
24 #include <QList>
25 
26 // KDE
27 #include <kcodecaction.h>
28 
29 // TODO since the reader is now in a separate lib, we can probably have this
30 // class for the composer only. The reader can use KCodecAction directly anyway.
31 class CodecAction: public KCodecAction
32 {
33  Q_OBJECT
34 
35 public:
36  enum Mode
37  {
38  ComposerMode,
39  ReaderMode
41  };
43 
44  explicit CodecAction( Mode mode, QObject *parent = 0 );
45  ~CodecAction();
46 
53  QList<QByteArray> mimeCharsets() const;
54 
55 private:
56  class Private;
57  friend class Private;
58  Private *const d;
59 };
60 
61 #endif
CodecAction::Mode
Mode
Definition: codecaction.h:36
QObject
CodecAction::ReaderMode
which uses one of the preferred codecs. Also show 'us-ascii'.
Definition: codecaction.h:40
CodecAction::Private
friend class Private
Definition: codecaction.h:56
CodecAction::ComposerMode
Used in the composer.
Definition: codecaction.h:38
KCodecAction
CodecAction
Definition: codecaction.h:31
CodecAction::CodecAction
CodecAction(Mode mode, QObject *parent=0)
Definition: codecaction.cpp:48
CodecAction::~CodecAction
~CodecAction()
Definition: codecaction.cpp:71
QList< QByteArray >
CodecAction::mimeCharsets
QList< QByteArray > mimeCharsets() const
The name of the charset, if a specific encoding was selected, or a list containing the names of the p...
Definition: codecaction.cpp:76
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