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

messageviewer

  • sources
  • kde-4.12
  • kdepim
  • messageviewer
  • widgets
configurewidget.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2  Copyright (C) 2009 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.net
3  Copyright (c) 2009 Andras Mantia <andras@kdab.net>
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 MAILVIEWERCONFIGUREWIDGET_H
21 #define MAILVIEWERCONFIGUREWIDGET_H
22 
23 #include "messageviewer_export.h"
24 
25 #include <QWidget>
26 class Ui_Settings;
27 
28 class KConfigDialogManager;
29 
30 namespace MessageViewer {
31 
37 class MESSAGEVIEWER_EXPORT ConfigureWidget : public QWidget
38 {
39  Q_OBJECT
40 public:
41  explicit ConfigureWidget( QWidget *parent = 0 );
42 
43  ~ConfigureWidget();
44 
45  //
46  // Read and write config settings to the GlobalSettings.
47  // Note that this does not deal with all settings, some of those settings need to saved and read
48  // with a KConfigDialogManager, since this widgets correctly sets the objectname to the pattern
49  // required by KConfigDialogManager.
50  //
51 
52  void writeConfig();
53  void readConfig();
54 
55 signals:
56 
61  void settingsChanged();
62 
63 private Q_SLOTS:
64  void showCustomHeadersDialog();
65 
66 private:
67  void readCurrentFallbackCodec();
68  void readCurrentOverrideCodec();
69 
70  Ui_Settings *mSettingsUi;
71 };
72 
73 }
74 
75 #endif
MessageViewer::ConfigureWidget
Configure widget that can be used in a KConfigDialog.
Definition: configurewidget.h:37
QWidget
MESSAGEVIEWER_EXPORT
#define MESSAGEVIEWER_EXPORT
Definition: messageviewer_export.h:37
messageviewer_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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