• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.5 API Reference
  • KDE Home
  • Contact Us
 

KCalUtils Library

recurrenceactions.h
00001 /*
00002   This file is part of the kcal library.
00003 
00004   Copyright (C) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.net
00005   Author: Kevin Krammer, krake@kdab.com
00006 
00007   This library is free software; you can redistribute it and/or
00008   modify it under the terms of the GNU Library General Public
00009   License as published by the Free Software Foundation; either
00010   version 2 of the License, or (at your option) any later version.
00011 
00012   This library is distributed in the hope that it will be useful,
00013   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015   Library General Public License for more details.
00016 
00017   You should have received a copy of the GNU Library General Public License
00018   along with this library; see the file COPYING.LIB.  If not, write to
00019   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020   Boston, MA 02110-1301, USA.
00021 */
00022 
00023 #ifndef RECURRENCEACTIONS_H
00024 #define RECURRENCEACTIONS_H
00025 
00026 #include "kcalutils_export.h"
00027 
00028 #include <kcalcore/incidence.h>
00029 
00030 class KDateTime;
00031 class KGuiItem;
00032 class QWidget;
00033 
00034 namespace KCalUtils
00035 {
00036 
00047 namespace RecurrenceActions
00048 {
00054   enum Scope {
00058     NoOccurrence = 0,
00059 
00063     SelectedOccurrence = 1,
00064 
00068     PastOccurrences = 2,
00069 
00073     FutureOccurrences = 4,
00074 
00078     AllOccurrences = PastOccurrences | SelectedOccurrence | FutureOccurrences
00079   };
00080 
00093   KCALUTILS_EXPORT
00094   int availableOccurrences( const KCalCore::Incidence::Ptr &incidence,
00095                             const KDateTime &selectedOccurrence );
00096 
00115   KCALUTILS_EXPORT int questionMultipleChoice( const KDateTime &selectedOccurrence,
00116                                                const QString &message, const QString &caption,
00117                                                const KGuiItem &action, int availableChoices,
00118                                                int preselectedChoices, QWidget *parent );
00119 
00135   KCALUTILS_EXPORT
00136   int questionSelectedAllCancel( const QString &message, const QString &caption,
00137                                  const KGuiItem &actionSelected, const KGuiItem &actionAll,
00138                                  QWidget *parent );
00139 
00164   KCALUTILS_EXPORT
00165   int questionSelectedFutureAllCancel( const QString &message, const QString &caption,
00166                                        const KGuiItem &actionSelected,
00167                                        const KGuiItem &actionFuture,
00168                                        const KGuiItem &actionAll,
00169                                        QWidget *parent );
00170 }
00171 
00172 }
00173 
00174 #endif
00175 
00176 // kate: space-indent on; indent-width 2; replace-tabs on;
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:00 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCalUtils Library

Skip menu "KCalUtils Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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