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

korganizer

filtereditdialog.h

Go to the documentation of this file.
00001 /*
00002   This file is part of KOrganizer.
00003 
00004   Copyright (c) 2001, 2002 Cornelius Schumacher <schumacher@kde.org>
00005   Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
00006   Copyright (C) 2005 Thomas Zander <zander@kde.org>
00007 
00008   This program is free software; you can redistribute it and/or modify
00009   it under the terms of the GNU General Public License as published by
00010   the Free Software Foundation; either version 2 of the License, or
00011   (at your option) any later version.
00012 
00013   This program is distributed in the hope that it will be useful,
00014   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016   GNU General Public License for more details.
00017 
00018   You should have received a copy of the GNU General Public License along
00019   with this program; if not, write to the Free Software Foundation, Inc.,
00020   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00021 
00022   As a special exception, permission is given to link this program
00023   with any edition of Qt, and distribute the resulting executable,
00024   without including the source code for Qt in the source distribution.
00025 */
00026 #ifndef FILTEREDITDIALOG_H
00027 #define FILTEREDITDIALOG_H
00028 
00029 #include "ui_filteredit_base.h"
00030 #include <KDialog>
00031 
00032 class FilterEdit;
00033 
00034 namespace KPIM {
00035   class CategorySelectDialog;
00036 }
00037 using namespace KPIM;
00038 
00039 namespace KCal {
00040   class CalFilter;
00041 }
00042 using namespace KCal;
00043 
00050 class FilterEditDialog : public KDialog
00051 {
00052   Q_OBJECT
00053   public:
00054     explicit FilterEditDialog( QList<CalFilter*> *, QWidget *parent=0 );
00055     virtual ~FilterEditDialog();
00056 
00057   signals:
00058     void filterChanged();
00059     void editCategories();
00060 
00061   public slots:
00062     void updateFilterList();
00063     void updateCategoryConfig();
00064     void setDialogConsistent( bool consistent );
00065 
00066   private:
00067     FilterEdit *mFilterEdit;
00068 
00069   protected slots:
00070     void slotApply();
00071     void slotOk();
00072 };
00073 
00074 class FilterEdit : public QWidget, Ui::FilterEdit_base
00075 {
00076   Q_OBJECT
00077   public:
00078     explicit FilterEdit( QList<CalFilter*> *filters, QWidget *parent );
00079     ~FilterEdit();
00080 
00081     void updateFilterList();
00082     void saveChanges();
00083     void updateCategoryConfig();
00084 
00085   signals:
00086     void dataConsistent(bool);
00087     void filterChanged();
00088     void editCategories();
00089 
00090   private slots:
00091     void filterSelected();
00092     void bNewPressed();
00093     void bDeletePressed();
00094     void updateSelectedName( const QString & );
00095     void updateCategorySelection( const QStringList &categories );
00096     void editCategorySelection();
00097 
00098   private:
00099     void filterSelected( CalFilter *f );
00100 
00101     QList<CalFilter*> *mFilters;
00102     CalFilter *mCurrent;
00103     KPIM::CategorySelectDialog *mCategorySelectDialog;
00104 };
00105 
00106 #endif

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  •   akonadi_next
  •   kcal
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korganizer
  •   korgac
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • messageviewer
  • runtime
  •   kcm
  •       libmaildir
Generated for kdepim by doxygen 1.5.9-20090814
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