libkcal

confirmsavedialog.h

Go to the documentation of this file.
00001 /*
00002     This file is part of libkcal.
00003 
00004     Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
00005 
00006     This program is free software; you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation; either version 2 of the License, or
00009     (at your option) any later version.
00010 
00011     This program is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with this program; if not, write to the Free Software
00018     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019 */
00020 #ifndef KCAL_CONFIRMSAVEDIALOG_H
00021 #define KCAL_CONFIRMSAVEDIALOG_H
00022 
00023 #include <libkcal/incidence.h>
00024 
00025 #include <kdialogbase.h>
00026 #include <kdepimmacros.h>
00027 
00028 class KListView;
00029 
00030 namespace KCal {
00031 
00032 class KDE_EXPORT ConfirmSaveDialog : public KDialogBase
00033 {
00034   public:
00035     ConfirmSaveDialog( const QString &destination, QWidget *parent,
00036                        const char *name = 0 );
00037 
00038     void addIncidences( const Incidence::List &incidences,
00039                         const QString &operation );
00040 
00041   private:
00042     KListView *mListView;
00043 };
00044 
00045 }
00046 
00047 #endif