• 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
  • codec
codecmanager.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 CODECMANAGER_H
21 #define CODECMANAGER_H
22 
23 #include <QByteArray>
24 
25 
26 class CodecManagerPrivate;
27 
28 class CodecManager
29 {
30 public:
34  static CodecManager *self();
35 
39  QList<QByteArray> preferredCharsets() const;
40 
45  void updatePreferredCharsets();
46 
47 private:
48  friend class CodecManagerPrivate;
49  CodecManagerPrivate *const d;
50 
51  // Singleton. The only instance lives in sInstance->instance
52  explicit CodecManager( CodecManagerPrivate *dd );
53  //~CodecManager();
54 };
55 
56 #endif /* CODECMANAGER_H */
CodecManager::updatePreferredCharsets
void updatePreferredCharsets()
Re-read the preferred charsets from settings.
Definition: codecmanager.cpp:80
CodecManager::CodecManagerPrivate
friend class CodecManagerPrivate
Definition: codecmanager.h:48
CodecManager
Definition: codecmanager.h:28
CodecManager::preferredCharsets
QList< QByteArray > preferredCharsets() const
A list of preferred charsets to use when composing messages.
Definition: codecmanager.cpp:75
QList< QByteArray >
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:32 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