2 Copyright (C) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.net,
3 Author: Tobias Koenig <tokoe@kdab.com>
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.
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.
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
21 #ifndef MAILCOMMON_SNIPPETVARIABLEDIALOG_P_H
22 #define MAILCOMMON_SNIPPETVARIABLEDIALOG_P_H
29 namespace MailCommon
{
31 class SnippetVariableDialog
: public KDialog
36 SnippetVariableDialog( const QString
&variableName
,
37 QMap
<QString
, QString
> *variables
,
38 QWidget
*parent
= 0 );
40 QString
variableValue() const;
41 bool saveVariableIsChecked() const;
44 virtual void slotButtonClicked( int button
);
47 QString mVariableName
;
48 QMap
<QString
, QString
> *mVariables
;
49 KTextEdit
*mVariableValueText
;
50 QCheckBox
*mSaveVariable
;