~ubuntu-branches/ubuntu/raring/kdepim/raring-proposed

« back to all changes in this revision

Viewing changes to mailcommon/filtereditdialog_p.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-07 07:56:38 UTC
  • mfrom: (0.2.27)
  • Revision ID: package-import@ubuntu.com-20120607075638-0luhdq11z7sgvs4m
Tags: 4:4.8.80-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
    Copyright (c) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
3
 
    Copyright (c) 2010 Andras Mantia <andras@kdab.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
 
 
21
 
#ifndef MAILCOMMON_FILTEREDITDIALOG_P_H
22
 
#define MAILCOMMON_FILTEREDITDIALOG_P_H
23
 
 
24
 
#include <kdialog.h>
25
 
 
26
 
class Ui_FilterConfigWidget;
27
 
 
28
 
namespace MailCommon {
29
 
 
30
 
class MailFilter;
31
 
class SearchPatternEdit;
32
 
class FilterActionWidgetLister;
33
 
 
34
 
class FilterEditDialog : public KDialog
35
 
{
36
 
  Q_OBJECT
37
 
 
38
 
  public:
39
 
    explicit FilterEditDialog( QWidget *parent = 0 );
40
 
    virtual ~FilterEditDialog();
41
 
 
42
 
    void load( int index );
43
 
    void save();
44
 
 
45
 
  private:
46
 
    Ui_FilterConfigWidget *mUi;
47
 
    MailFilter *mFilter;
48
 
    SearchPatternEdit *mPatternEdit;
49
 
    FilterActionWidgetLister *mActionLister;
50
 
};
51
 
 
52
 
}
53
 
 
54
 
#endif