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

kmail

templatesconfiguration.h

Go to the documentation of this file.
00001 /*   -*- mode: C++; c-file-style: "gnu" -*-
00002  *   kmail: KDE mail client
00003  *   Copyright (C) 2006 Dmitry Morozhnikov <dmiceman@mail.ru>
00004  *
00005  *   This program is free software; you can redistribute it and/or modify
00006  *   it under the terms of the GNU General Public License as published by
00007  *   the Free Software Foundation; either version 2 of the License, or
00008  *   (at your option) any later version.
00009  *
00010  *   This program is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License along
00016  *   with this program; if not, write to the Free Software Foundation, Inc.,
00017  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00018  *
00019  */
00020 
00021 
00022 #ifndef TEMPLATESCONFIGURATION_H
00023 #define TEMPLATESCONFIGURATION_H
00024 
00025 #include "ui_templatesconfiguration_base.h"
00026 #include "templatesinsertcommand.h"
00027 
00028 class TemplatesConfiguration : public QWidget, Ui::TemplatesConfigurationBase
00029 {
00030   Q_OBJECT
00031 
00032   public:
00033 
00034     explicit TemplatesConfiguration( QWidget *parent = 0, const char *name = 0 );
00035 
00036     void loadFromGlobal();
00037     void saveToGlobal();
00038     void loadFromIdentity( uint id );
00039     void saveToIdentity( uint id );
00040     void loadFromFolder( const QString &id, uint identity = 0 );
00041     void saveToFolder( const QString &id );
00042 
00044     static void importFromPhrases();
00045 
00047     static QString convertPhrases( const QString &str );
00048 
00049     static QString defaultNewMessage();
00050     static QString defaultReply();
00051     static QString defaultReplyAll();
00052     static QString defaultForward();
00053     static QString defaultQuoteString();
00054 
00055     QLabel *helpLabel() const { return mHelp; }
00056 
00057   public slots:
00058     void slotInsertCommand( const QString &cmd, int adjustCursor = 0 );
00059     void slotTextChanged();
00060 
00061   signals:
00062     void changed();
00063 
00064   protected:
00065     QString strOrBlank( const QString &str );
00066     QString mHelpString;
00067 
00068   private slots:
00069     void slotHelpLinkClicked( const QString& );
00070 };
00071 
00072 #endif // TEMPLATESCONFIGURATION_H

kmail

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal