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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
filtereditdialog.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 2001, 2002 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
6  Copyright (C) 2005 Thomas Zander <zander@kde.org>
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License along
19  with this program; if not, write to the Free Software Foundation, Inc.,
20  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 
22  As a special exception, permission is given to link this program
23  with any edition of Qt, and distribute the resulting executable,
24  without including the source code for Qt in the source distribution.
25 */
26 
27 #ifndef KORG_FILTEREDITDIALOG_H
28 #define KORG_FILTEREDITDIALOG_H
29 
30 #include "ui_filteredit_base.h"
31 
32 #include <KDialog>
33 
34 class FilterEdit;
35 
36 namespace IncidenceEditorNG {
37  class CategorySelectDialog;
38 }
39 
40 namespace KCalCore {
41  class CalFilter;
42 }
43 
50 class FilterEditDialog : public KDialog
51 {
52  Q_OBJECT
53  public:
54  explicit FilterEditDialog( QList<KCalCore::CalFilter*> *, QWidget *parent=0 );
55  virtual ~FilterEditDialog();
56 
57  signals:
58  void filterChanged();
59  void editCategories();
60 
61  public slots:
62  void updateFilterList();
63  void updateCategoryConfig();
64  void setDialogConsistent( bool consistent );
65 
66  private:
67  FilterEdit *mFilterEdit;
68 
69  protected slots:
70  void slotApply();
71  void slotOk();
72 };
73 
74 class FilterEdit : public QWidget, Ui::FilterEdit_base
75 {
76  Q_OBJECT
77  public:
78  explicit FilterEdit( QList<KCalCore::CalFilter*> *filters, QWidget *parent );
79  ~FilterEdit();
80 
81  void updateFilterList();
82  void saveChanges();
83  void updateCategoryConfig();
84 
85  signals:
86  void dataConsistent(bool);
87  void filterChanged();
88  void editCategories();
89 
90  private slots:
91  void filterSelected();
92  void bNewPressed();
93  void bDeletePressed();
94  void updateSelectedName( const QString & );
95  void updateCategorySelection( const QStringList &categories );
96  void editCategorySelection();
97 
98  private:
99  void filterSelected( KCalCore::CalFilter *f );
100 
101  QList<KCalCore::CalFilter*> *mFilters;
102  KCalCore::CalFilter *mCurrent;
103  IncidenceEditorNG::CategorySelectDialog *mCategorySelectDialog;
104 };
105 
106 #endif
FilterEdit::dataConsistent
void dataConsistent(bool)
FilterEdit::filterChanged
void filterChanged()
FilterEditDialog::updateCategoryConfig
void updateCategoryConfig()
Definition: filtereditdialog.cpp:64
FilterEditDialog::editCategories
void editCategories()
FilterEditDialog
This is the class to add/edit a calendar filter.
Definition: filtereditdialog.h:50
FilterEditDialog::FilterEditDialog
FilterEditDialog(QList< KCalCore::CalFilter * > *, QWidget *parent=0)
Definition: filtereditdialog.cpp:38
FilterEditDialog::slotApply
void slotApply()
Definition: filtereditdialog.cpp:69
QWidget
FilterEditDialog::updateFilterList
void updateFilterList()
Definition: filtereditdialog.cpp:59
KDialog
FilterEdit::editCategories
void editCategories()
FilterEdit::saveChanges
void saveChanges()
Definition: filtereditdialog.cpp:153
FilterEditDialog::slotOk
void slotOk()
Definition: filtereditdialog.cpp:74
FilterEditDialog::~FilterEditDialog
virtual ~FilterEditDialog()
Definition: filtereditdialog.cpp:53
FilterEdit
Definition: filtereditdialog.h:74
FilterEditDialog::filterChanged
void filterChanged()
FilterEdit::updateFilterList
void updateFilterList()
Definition: filtereditdialog.cpp:120
FilterEdit::updateCategoryConfig
void updateCategoryConfig()
Definition: filtereditdialog.cpp:322
FilterEdit::FilterEdit
FilterEdit(QList< KCalCore::CalFilter * > *filters, QWidget *parent)
Definition: filtereditdialog.cpp:86
FilterEditDialog::setDialogConsistent
void setDialogConsistent(bool consistent)
Definition: filtereditdialog.cpp:80
FilterEdit::~FilterEdit
~FilterEdit()
Definition: filtereditdialog.cpp:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

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