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

korganizer

koeventpopupmenu.h

Go to the documentation of this file.
00001 /*
00002   This file is part of KOrganizer.
00003 
00004   Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
00005   Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
00006 
00007   This program is free software; you can redistribute it and/or modify
00008   it under the terms of the GNU General Public License as published by
00009   the Free Software Foundation; either version 2 of the License, or
00010   (at your option) any later version.
00011 
00012   This program 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
00015   GNU General Public License for more details.
00016 
00017   You should have received a copy of the GNU General Public License along
00018   with this program; if not, write to the Free Software Foundation, Inc.,
00019   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00020 
00021   As a special exception, permission is given to link this program
00022   with any edition of Qt, and distribute the resulting executable,
00023   without including the source code for Qt in the source distribution.
00024 */
00025 #ifndef KOEVENTPOPUPMENU_H
00026 #define KOEVENTPOPUPMENU_H
00027 //
00028 // Context menu for event views with standard event actions
00029 //
00030 
00031 #include <QMenu>
00032 #include <QDateTime>
00033 
00034 namespace KCal {
00035   class Incidence;
00036 }
00037 using namespace KCal;
00038 
00039 class KOEventPopupMenu : public QMenu
00040 {
00041   Q_OBJECT
00042   public:
00043     KOEventPopupMenu();
00044 
00045   public slots:
00046     void showIncidencePopup( Incidence *, const QDate & );
00047 
00048   protected slots:
00049     void popupShow();
00050     void popupEdit();
00051     void popupPaste();
00052     void print();
00053     void popupDelete();
00054     void popupCut();
00055     void popupCopy();
00056     void popupAlarm();
00057     void dissociateOccurrence();
00058     void dissociateFutureOccurrence();
00059     void forward();
00060 
00061   signals:
00062     void configChanged();
00063     void editIncidenceSignal(Incidence *);
00064     void showIncidenceSignal(Incidence *);
00065     void deleteIncidenceSignal(Incidence *);
00066     void cutIncidenceSignal(Incidence *);
00067     void copyIncidenceSignal(Incidence *);
00068     void pasteIncidenceSignal();
00069     void toggleAlarmSignal(Incidence *);
00070     void dissociateOccurrenceSignal( Incidence *, const QDate & );
00071     void dissociateFutureOccurrenceSignal( Incidence *, const QDate & );
00072 
00073   private:
00074     Incidence *mCurrentIncidence;
00075     QDate mCurrentDate;
00076 
00077     bool mHasAdditionalItems;
00078     QList<QAction *> mEditOnlyItems;
00079     QList<QAction *> mRecurrenceItems;
00080 };
00081 
00082 #endif

korganizer

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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