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

mailcommon

  • sources
  • kde-4.12
  • kdepim
  • mailcommon
  • snippets
snippetvariabledialog_p.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.net,
3  Author: Tobias Koenig <tokoe@kdab.com>
4 
5  This library is free software; you can redistribute it and/or modify it
6  under the terms of the GNU Library General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or (at your
8  option) any later version.
9 
10  This library is distributed in the hope that it will be useful, but WITHOUT
11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13  License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to the
17  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18  02110-1301, USA.
19 */
20 
21 #ifndef MAILCOMMON_SNIPPETVARIABLEDIALOG_P_H
22 #define MAILCOMMON_SNIPPETVARIABLEDIALOG_P_H
23 
24 #include <KDialog>
25 
26 class KTextEdit;
27 class QCheckBox;
28 
29 namespace MailCommon {
30 
31 class SnippetVariableDialog : public KDialog
32 {
33  Q_OBJECT
34 
35 public:
36  SnippetVariableDialog( const QString &variableName,
37  QMap<QString, QString> *variables,
38  QWidget *parent = 0 );
39 
40  QString variableValue() const;
41  bool saveVariableIsChecked() const;
42 
43 protected:
44  virtual void slotButtonClicked( int button );
45 
46 private:
47  QString mVariableName;
48  QMap<QString, QString> *mVariables;
49  KTextEdit *mVariableValueText;
50  QCheckBox *mSaveVariable;
51 };
52 
53 }
54 
55 #endif
QWidget
KDialog
MailCommon::SnippetVariableDialog::saveVariableIsChecked
bool saveVariableIsChecked() const
Definition: snippetvariabledialog.cpp:77
MailCommon::SnippetVariableDialog::slotButtonClicked
virtual void slotButtonClicked(int button)
Definition: snippetvariabledialog.cpp:82
MailCommon::SnippetVariableDialog::variableValue
QString variableValue() const
Definition: snippetvariabledialog.cpp:72
MailCommon::SnippetVariableDialog::SnippetVariableDialog
SnippetVariableDialog(const QString &variableName, QMap< QString, QString > *variables, QWidget *parent=0)
Definition: snippetvariabledialog.cpp:32
MailCommon::SnippetVariableDialog
Definition: snippetvariabledialog_p.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

Skip menu "mailcommon"
  • 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