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

korganizer

Classes | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
CalendarView Class Reference

#include <calendarview.h>

Inheritance diagram for CalendarView:
Inheritance graph
[legend]

Classes

class  CalendarViewVisitor
 

Public Slots

bool addIncidence (const QString &ical)
 
bool addIncidence (const KCalCore::Incidence::Ptr &incidence)
 
void addIncidenceOn (const Akonadi::Item &incidence, const QDate &)
 
void appointment_delete ()
 
void appointment_edit ()
 
void appointment_show ()
 
void archiveCalendar ()
 
void changeFullView (bool fullView)
 
void changeIncidenceDisplay (const Akonadi::Item &incidence, Akonadi::IncidenceChanger::ChangeType)
 
void checkClipboard ()
 
void configureCurrentView ()
 
void copyIncidence (const Akonadi::Item &)
 
void copyIncidenceToResource (const Akonadi::Item &incidence, const Akonadi::Collection &col)
 
void cutIncidence (const Akonadi::Item &)
 
bool deleteIncidence (const Akonadi::Item &item, bool force=false)
 
bool deleteIncidence (Akonadi::Item::Id id, bool force=false)
 
void deleteIncidence ()
 
void deleteSubTodosIncidence (const Akonadi::Item &todo)
 
void deleteTodoIncidence (const Akonadi::Item &todo, bool force=false)
 
void dialogClosing (const Akonadi::Item &incidence)
 
void dissociateOccurrences (const Akonadi::Item &incidence, const QDate &date)
 
void edit_copy ()
 
void edit_cut ()
 
void edit_options ()
 
void edit_paste ()
 
void editFilters ()
 
bool editIncidence (const Akonadi::Item &item, bool isCounter=false)
 
bool editIncidence (Akonadi::Item::Id id)
 
void editIncidence ()
 
void endMultiModify ()
 
void eventUpdated (const Akonadi::Item &incidence)
 
void exportICalendar ()
 
void exportVCalendar ()
 
void exportWeb ()
 
void filterActivated (int filterNum)
 
void goDate (const QDate &date)
 
void goNext ()
 
void goPrevious ()
 
void goToday ()
 
void handleIncidenceCreated (const Akonadi::Item &item)
 
bool incidence_unsub (const Akonadi::Item &item)
 
bool isReadOnly () const
 
void mailFreeBusy (int daysToPublish=30)
 
bool makeChildrenIndependent (const Akonadi::Item &item)
 
bool makeSubTodosIndependent ()
 
void moveIncidenceTo (const Akonadi::Item &incidence, const QDate &)
 
void moveIncidenceToResource (const Akonadi::Item &incidence, const Akonadi::Collection &col)
 
void newEvent (const QDate &)
 
void newEvent ()
 
void newEvent (const QDateTime &startDt)
 
void newEvent (const QDateTime &startDt, const QDateTime &EndDt, bool allDay=false)
 
void newEvent (const QString &summary, const QString &description=QString(), const QStringList &attachment=QStringList(), const QStringList &attendees=QStringList(), const QStringList &attachmentMimetypes=QStringList(), bool inlineAttachment=false)
 
void newFloatingEvent ()
 
void newJournal ()
 
void newJournal (const QDate &date)
 
void newJournal (const QString &text, const QDate &date=QDate())
 
void newJournal (const Akonadi::Collection &collection)
 
void newSubTodo ()
 
void newSubTodo (const Akonadi::Item &todo)
 
void newSubTodo (const Akonadi::Collection &collection)
 
void newTodo ()
 
void newTodo (const QDate &date)
 
void newTodo (const Akonadi::Collection &collection)
 
void newTodo (const QString &summary, const QString &description=QString(), const QStringList &attachments=QStringList(), const QStringList &attendees=QStringList(), const QStringList &attachmentMimetypes=QStringList(), bool inlineAttachment=false)
 
void onCutFinished ()
 
void openAddressbook ()
 
void pasteIncidence ()
 
void print ()
 
void printPreview ()
 
void processIncidenceSelection (const Akonadi::Item &incidence, const QDate &date)
 
void processMainViewSelection (const Akonadi::Item &incidence, const QDate &date)
 
void processTodoListSelection (const Akonadi::Item &incidence, const QDate &date)
 
void purgeCompleted ()
 
void readFilterSettings (KConfig *config)
 
void readSettings ()
 
void resourcesChanged ()
 
bool saveCalendar (const QString &filename)
 
void schedule (KCalCore::iTIPMethod, const Akonadi::Item &incidence)
 
void schedule_add (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_cancel (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_counter (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_declinecounter (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_forward (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_publish (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_refresh (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_reply (const Akonadi::Item &incidence=Akonadi::Item())
 
void schedule_request (const Akonadi::Item &incidence=Akonadi::Item())
 
void selectWeek (const QDate &week, const QDate &preferredMonth)
 
void setReadOnly (bool readOnly=true)
 
void showDate (const QDate &date)
 
void showDateNavigator (bool)
 
void showErrorMessage (const QString &)
 
void showEventViewer (bool)
 
void showIncidence (const Akonadi::Item &item)
 
bool showIncidence (Akonadi::Item::Id id)
 
void showIncidence ()
 
void showIncidenceContext (const Akonadi::Item &incidence)
 
bool showIncidenceContext (Akonadi::Item::Id id)
 
void showIntro ()
 
void showLeftFrame (bool show=true)
 
void showTodoView (bool)
 
void slotAutoArchivingSettingsModified ()
 
void slotCreateFinished (int changeId, const Akonadi::Item &item, Akonadi::IncidenceChanger::ResultCode resultCode, const QString &errorString)
 
void slotDeleteFinished (int changeId, const QVector< Akonadi::Item::Id > &itemIdList, Akonadi::IncidenceChanger::ResultCode resultCode, const QString &errorString)
 
void slotModifyFinished (int changeId, const Akonadi::Item &item, Akonadi::IncidenceChanger::ResultCode resultCode, const QString &errorString)
 
void startMultiModify (const QString &text)
 
void takeOverEvent ()
 
void todo_unsub ()
 
void toggleAlarm (const Akonadi::Item &incidence)
 
void toggleTodoCompleted (const Akonadi::Item &incidence)
 
void updateConfig ()
 
void updateConfig (const QByteArray &)
 
void updateFilter ()
 
void updateUnmanagedViews ()
 
void updateView (const QDate &start, const QDate &end, const QDate &preferredMonth, const bool updateTodos=true)
 
void updateView ()
 
void uploadFreeBusy ()
 
void writeFilterSettings (KConfig *config)
 
void writeSettings ()
 
- Public Slots inherited from KOrg::CalendarViewBase
virtual void updateView ()=0
 

Signals

void autoArchivingSettingsModified ()
 
void calendarViewExpanded (bool)
 
void changeNavStringNext (const QString &)
 
void changeNavStringPrev (const QString &)
 
void closed (QWidget *)
 
void configChanged ()
 
void dayPassed (const QDate &)
 
void exportHTML (KOrg::HTMLExportSettings *)
 
void filterChanged ()
 
void filtersUpdated (const QStringList &, int)
 
void groupEventsSelected (bool)
 
void incidenceSelected (const Akonadi::Item &incidence, const QDate &date)
 
void modifiedChanged (bool)
 
void newIncidenceChanger (Akonadi::IncidenceChanger *)
 
void organizerEventsSelected (bool)
 
void pasteEnabled (bool)
 
void readOnlyChanged (bool)
 
void statusMessage (const QString &)
 
void subtodoSelected (bool)
 
void todoSelected (bool)
 
- Signals inherited from KOrg::CalendarViewBase
virtual void newIncidenceChanger (Akonadi::IncidenceChanger *)=0
 

Public Member Functions

 CalendarView (QWidget *parent=0)
 
virtual ~CalendarView ()
 
QDate activeDate (bool fallbackToToday=false)
 
QDate activeIncidenceDate ()
 
void adaptNavigationUnits ()
 
void addExtension (CalendarViewExtension::Factory *)
 
void addView (KOrg::BaseView *)
 
Akonadi::ETMCalendar::Ptr calendar () const
 
QString currentFilterName () const
 
Akonadi::Item currentSelection ()
 
KOrg::BaseView * currentView () const
 
DateNavigator * dateNavigator () const
 
KODialogManager * dialogManager () const
 
QDate endDate ()
 
Akonadi::History * history () const
 
virtual Akonadi::IncidenceChanger * incidenceChanger () const
 
bool isFiltered () const
 
QWidget * leftFrame () const
 
int msgCalModified ()
 
NavigatorBar * navigatorBar () const
 
Akonadi::Item selectedIncidence ()
 
void setCalendar (const Akonadi::ETMCalendar::Ptr &)
 
void setCheckableProxyModel (KOCheckableProxyModel *)
 
void showMessage (const QString &message, KMessageWidget::MessageType)
 
void showView (KOrg::BaseView *)
 
QDate startDate ()
 
void updateHighlightModes ()
 
KOViewManager * viewManager () const
 
QStackedWidget * viewStack () const
 
- Public Member Functions inherited from KOrg::CalendarViewBase
 CalendarViewBase (QWidget *parent)
 
virtual ~CalendarViewBase ()
 
virtual bool editIncidence (const Akonadi::Item &item, bool isCounter=false)=0
 
- Public Member Functions inherited from QWidget
 QWidget (QWidget *parent, QFlags< Qt::WindowType > f)
 
 QWidget (QWidget *parent, const char *name, QFlags< Qt::WindowType > f)
 
 ~QWidget ()
 
bool acceptDrops () const
 
QString accessibleDescription () const
 
QString accessibleName () const
 
QList< QAction * > actions () const
 
void activateWindow ()
 
void addAction (QAction *action)
 
void addActions (QList< QAction * > actions)
 
void adjustSize ()
 
bool autoFillBackground () const
 
Qt::BackgroundMode backgroundMode () const
 
QPoint backgroundOffset () const
 
BackgroundOrigin backgroundOrigin () const
 
QPalette::ColorRole backgroundRole () const
 
QSize baseSize () const
 
QString caption () const
 
QWidget * childAt (int x, int y, bool includeThis) const
 
QWidget * childAt (const QPoint &p, bool includeThis) const
 
QWidget * childAt (int x, int y) const
 
QWidget * childAt (const QPoint &p) const
 
QRect childrenRect () const
 
QRegion childrenRegion () const
 
void clearFocus ()
 
void clearMask ()
 
bool close (bool alsoDelete)
 
bool close ()
 
QColorGroup colorGroup () const
 
void constPolish () const
 
QMargins contentsMargins () const
 
QRect contentsRect () const
 
Qt::ContextMenuPolicy contextMenuPolicy () const
 
QCursor cursor () const
 
void customContextMenuRequested (const QPoint &pos)
 
void drawText (const QPoint &p, const QString &s)
 
void drawText (int x, int y, const QString &s)
 
WId effectiveWinId () const
 
void ensurePolished () const
 
void erase ()
 
void erase (const QRect &rect)
 
void erase (const QRegion &rgn)
 
void erase (int x, int y, int w, int h)
 
Qt::FocusPolicy focusPolicy () const
 
QWidget * focusProxy () const
 
QWidget * focusWidget () const
 
const QFont & font () const
 
QFontInfo fontInfo () const
 
QFontMetrics fontMetrics () const
 
QPalette::ColorRole foregroundRole () const
 
QRect frameGeometry () const
 
QSize frameSize () const
 
const QRect & geometry () const
 
void getContentsMargins (int *left, int *top, int *right, int *bottom) const
 
virtual HDC getDC () const
 
void grabGesture (Qt::GestureType gesture, QFlags< Qt::GestureFlag > flags)
 
void grabKeyboard ()
 
void grabMouse ()
 
void grabMouse (const QCursor &cursor)
 
int grabShortcut (const QKeySequence &key, Qt::ShortcutContext context)
 
QGraphicsEffect * graphicsEffect () const
 
QGraphicsProxyWidget * graphicsProxyWidget () const
 
bool hasEditFocus () const
 
bool hasFocus () const
 
bool hasMouse () const
 
bool hasMouseTracking () const
 
int height () const
 
virtual int heightForWidth (int w) const
 
void hide ()
 
const QPixmap * icon () const
 
void iconify ()
 
QString iconText () const
 
QInputContext * inputContext ()
 
Qt::InputMethodHints inputMethodHints () const
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const
 
void insertAction (QAction *before, QAction *action)
 
void insertActions (QAction *before, QList< QAction * > actions)
 
bool isActiveWindow () const
 
bool isAncestorOf (const QWidget *child) const
 
bool isDesktop () const
 
bool isDialog () const
 
bool isEnabled () const
 
bool isEnabledTo (QWidget *ancestor) const
 
bool isEnabledToTLW () const
 
bool isFullScreen () const
 
bool isHidden () const
 
bool isInputMethodEnabled () const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
bool isPopup () const
 
bool isShown () const
 
bool isTopLevel () const
 
bool isUpdatesEnabled () const
 
bool isVisible () const
 
bool isVisibleTo (QWidget *ancestor) const
 
bool isVisibleToTLW () const
 
bool isWindow () const
 
bool isWindowModified () const
 
QLayout * layout () const
 
Qt::LayoutDirection layoutDirection () const
 
QLocale locale () const
 
void lower ()
 
Qt::HANDLE macCGHandle () const
 
Qt::HANDLE macQDHandle () const
 
QPoint mapFrom (QWidget *parent, const QPoint &pos) const
 
QPoint mapFromGlobal (const QPoint &pos) const
 
QPoint mapFromParent (const QPoint &pos) const
 
QPoint mapTo (QWidget *parent, const QPoint &pos) const
 
QPoint mapToGlobal (const QPoint &pos) const
 
QPoint mapToParent (const QPoint &pos) const
 
QRegion mask () const
 
int maximumHeight () const
 
QSize maximumSize () const
 
int maximumWidth () const
 
int minimumHeight () const
 
QSize minimumSize () const
 
virtual QSize minimumSizeHint () const
 
int minimumWidth () const
 
void move (int x, int y)
 
void move (const QPoint &)
 
QWidget * nativeParentWidget () const
 
QWidget * nextInFocusChain () const
 
QRect normalGeometry () const
 
void overrideWindowFlags (QFlags< Qt::WindowType > flags)
 
bool ownCursor () const
 
bool ownFont () const
 
bool ownPalette () const
 
virtual QPaintEngine * paintEngine () const
 
const QPalette & palette () const
 
QWidget * parentWidget (bool sameWindow) const
 
QWidget * parentWidget () const
 
QPlatformWindow * platformWindow () const
 
QPlatformWindowFormat platformWindowFormat () const
 
void polish ()
 
QPoint pos () const
 
QWidget * previousInFocusChain () const
 
void raise ()
 
void recreate (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
QRect rect () const
 
virtual void releaseDC (HDC hdc) const
 
void releaseKeyboard ()
 
void releaseMouse ()
 
void releaseShortcut (int id)
 
void removeAction (QAction *action)
 
void render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void repaint (int x, int y, int w, int h, bool b)
 
void repaint (const QRegion &rgn, bool b)
 
void repaint ()
 
void repaint (int x, int y, int w, int h)
 
void repaint (const QRegion &rgn)
 
void repaint (bool b)
 
void repaint (const QRect &rect)
 
void repaint (const QRect &r, bool b)
 
void reparent (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
void reparent (QWidget *parent, const QPoint &p, bool showIt)
 
void resize (int w, int h)
 
void resize (const QSize &)
 
bool restoreGeometry (const QByteArray &geometry)
 
QByteArray saveGeometry () const
 
void scroll (int dx, int dy)
 
void scroll (int dx, int dy, const QRect &r)
 
void setAcceptDrops (bool on)
 
void setAccessibleDescription (const QString &description)
 
void setAccessibleName (const QString &name)
 
void setActiveWindow ()
 
void setAttribute (Qt::WidgetAttribute attribute, bool on)
 
void setAutoFillBackground (bool enabled)
 
void setBackgroundColor (const QColor &color)
 
void setBackgroundMode (Qt::BackgroundMode widgetBackground, Qt::BackgroundMode paletteBackground)
 
void setBackgroundOrigin (BackgroundOrigin background)
 
void setBackgroundPixmap (const QPixmap &pixmap)
 
void setBackgroundRole (QPalette::ColorRole role)
 
void setBaseSize (const QSize &)
 
void setBaseSize (int basew, int baseh)
 
void setCaption (const QString &c)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContentsMargins (const QMargins &margins)
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void setCursor (const QCursor &)
 
void setDisabled (bool disable)
 
void setEditFocus (bool enable)
 
void setEnabled (bool)
 
void setEraseColor (const QColor &color)
 
void setErasePixmap (const QPixmap &pixmap)
 
void setFixedHeight (int h)
 
void setFixedSize (const QSize &s)
 
void setFixedSize (int w, int h)
 
void setFixedWidth (int w)
 
void setFocus (Qt::FocusReason reason)
 
void setFocus ()
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
void setFocusProxy (QWidget *w)
 
void setFont (const QFont &)
 
void setFont (const QFont &f, bool b)
 
void setForegroundRole (QPalette::ColorRole role)
 
void setGeometry (int x, int y, int w, int h)
 
void setGeometry (const QRect &)
 
void setGraphicsEffect (QGraphicsEffect *effect)
 
void setHidden (bool hidden)
 
void setIcon (const QPixmap &i)
 
void setIconText (const QString &it)
 
void setInputContext (QInputContext *context)
 
void setInputMethodEnabled (bool enabled)
 
void setInputMethodHints (QFlags< Qt::InputMethodHint > hints)
 
void setKeyCompression (bool b)
 
void setLayout (QLayout *layout)
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
void setLocale (const QLocale &locale)
 
void setMask (const QBitmap &bitmap)
 
void setMask (const QRegion &region)
 
void setMaximumHeight (int maxh)
 
void setMaximumSize (const QSize &)
 
void setMaximumSize (int maxw, int maxh)
 
void setMaximumWidth (int maxw)
 
void setMinimumHeight (int minh)
 
void setMinimumSize (int minw, int minh)
 
void setMinimumSize (const QSize &)
 
void setMinimumWidth (int minw)
 
void setMouseTracking (bool enable)
 
void setPalette (const QPalette &)
 
void setPalette (const QPalette &p, bool b)
 
void setPaletteBackgroundColor (const QColor &color)
 
void setPaletteBackgroundPixmap (const QPixmap &pixmap)
 
void setPaletteForegroundColor (const QColor &color)
 
void setParent (QWidget *parent)
 
void setParent (QWidget *parent, QFlags< Qt::WindowType > f)
 
void setPlatformWindow (QPlatformWindow *window)
 
void setPlatformWindowFormat (const QPlatformWindowFormat &format)
 
void setShortcutAutoRepeat (int id, bool enable)
 
void setShortcutEnabled (int id, bool enable)
 
void setShown (bool shown)
 
void setSizeIncrement (const QSize &)
 
void setSizeIncrement (int w, int h)
 
void setSizePolicy (QSizePolicy::Policy hor, QSizePolicy::Policy ver, bool hfw)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
void setSizePolicy (QSizePolicy)
 
void setStatusTip (const QString &)
 
void setStyle (QStyle *style)
 
QStyle * setStyle (const QString &style)
 
void setStyleSheet (const QString &styleSheet)
 
void setToolTip (const QString &)
 
void setUpdatesEnabled (bool enable)
 
void setupUi (QWidget *widget)
 
virtual void setVisible (bool visible)
 
void setWhatsThis (const QString &)
 
void setWindowFilePath (const QString &filePath)
 
void setWindowFlags (QFlags< Qt::WindowType > type)
 
void setWindowIcon (const QIcon &icon)
 
void setWindowIconText (const QString &)
 
void setWindowModality (Qt::WindowModality windowModality)
 
void setWindowModified (bool)
 
void setWindowOpacity (qreal level)
 
void setWindowRole (const QString &role)
 
void setWindowState (QFlags< Qt::WindowState > windowState)
 
void setWindowSurface (QWindowSurface *surface)
 
void setWindowTitle (const QString &)
 
void show ()
 
void showFullScreen ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
QSize size () const
 
virtual QSize sizeHint () const
 
QSize sizeIncrement () const
 
QSizePolicy sizePolicy () const
 
void stackUnder (QWidget *w)
 
QString statusTip () const
 
QStyle * style () const
 
QString styleSheet () const
 
bool testAttribute (Qt::WidgetAttribute attribute) const
 
QString toolTip () const
 
QWidget * topLevelWidget () const
 
bool underMouse () const
 
void ungrabGesture (Qt::GestureType gesture)
 
void unsetCursor ()
 
void unsetFont ()
 
void unsetLayoutDirection ()
 
void unsetLocale ()
 
void unsetPalette ()
 
void update (const QRect &rect)
 
void update (const QRegion &rgn)
 
void update (int x, int y, int w, int h)
 
void update ()
 
void updateGeometry ()
 
bool updatesEnabled () const
 
QRect visibleRect () const
 
QRegion visibleRegion () const
 
QString whatsThis () const
 
int width () const
 
QWidget * window () const
 
QString windowFilePath () const
 
Qt::WindowFlags windowFlags () const
 
QIcon windowIcon () const
 
QString windowIconText () const
 
Qt::WindowModality windowModality () const
 
qreal windowOpacity () const
 
QString windowRole () const
 
Qt::WindowStates windowState () const
 
QWindowSurface * windowSurface () const
 
QString windowTitle () const
 
Qt::WindowType windowType () const
 
WId winId () const
 
int x () const
 
const QX11Info & x11Info () const
 
Qt::HANDLE x11PictureHandle () const
 
int y () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 
- Public Member Functions inherited from QPaintDevice
virtual  ~QPaintDevice ()
 
int colorCount () const
 
int depth () const
 
int height () const
 
int heightMM () const
 
int logicalDpiX () const
 
int logicalDpiY () const
 
int numColors () const
 
virtual QPaintEngine * paintEngine () const =0
 
bool paintingActive () const
 
int physicalDpiX () const
 
int physicalDpiY () const
 
int width () const
 
int widthMM () const
 
int x11Cells () const
 
Qt::HANDLE x11Colormap () const
 
bool x11DefaultColormap () const
 
bool x11DefaultVisual () const
 
int x11Depth () const
 
Display * x11Display () const
 
int x11Screen () const
 
void * x11Visual () const
 

Protected Slots

void showDates (const KCalCore::DateList &, const QDate &preferredMonth=QDate())
 

Protected Member Functions

void checkForFilteredChange (const Akonadi::Item &incidence)
 
void dateTimesForNewEvent (QDateTime &startDt, QDateTime &endDt, bool &allDay)
 
bool eventFilter (QObject *watched, QEvent *event)
 
IncidenceEditorNG::IncidenceDialog * incidenceDialog (const Akonadi::Item &)
 
int msgItemDelete (const Akonadi::Item &incidence)
 
IncidenceEditorNG::IncidenceDialog * newEventEditor (const KCalCore::Event::Ptr &event)
 
Akonadi::Item selectedTodo ()
 
void warningChangeFailed (const Akonadi::Item &)
 
- Protected Member Functions inherited from QWidget
virtual void actionEvent (QActionEvent *event)
 
virtual void changeEvent (QEvent *event)
 
virtual void closeEvent (QCloseEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
void create (WId window, bool initializeWindow, bool destroyOldWindow)
 
void destroy (bool destroyWindow, bool destroySubWindows)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragLeaveEvent (QDragLeaveEvent *event)
 
virtual void dragMoveEvent (QDragMoveEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
virtual void enterEvent (QEvent *event)
 
virtual bool event (QEvent *event)
 
virtual void focusInEvent (QFocusEvent *event)
 
bool focusNextChild ()
 
virtual bool focusNextPrevChild (bool next)
 
virtual void focusOutEvent (QFocusEvent *event)
 
bool focusPreviousChild ()
 
virtual void hideEvent (QHideEvent *event)
 
virtual void inputMethodEvent (QInputMethodEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void languageChange ()
 
virtual void leaveEvent (QEvent *event)
 
virtual bool macEvent (EventHandlerCallRef caller, EventRef event)
 
virtual int metric (PaintDeviceMetric m) const
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual bool qwsEvent (QWSEvent *event)
 
void resetInputContext ()
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void showEvent (QShowEvent *event)
 
virtual void tabletEvent (QTabletEvent *event)
 
void updateMicroFocus ()
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual bool winEvent (MSG *message, long *result)
 
virtual bool x11Event (XEvent *event)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Protected Member Functions inherited from QPaintDevice
 QPaintDevice ()
 

Additional Inherited Members

- Static Public Member Functions inherited from QWidget
QWidget * find (WId id)
 
QWidget * keyboardGrabber ()
 
QWidget * mouseGrabber ()
 
void setTabOrder (QWidget *first, QWidget *second)
 
QWidgetMapper * wmapper ()
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Public Member Functions inherited from QPaintDevice
int x11AppCells (int screen)
 
Qt::HANDLE x11AppColormap (int screen)
 
bool x11AppDefaultColormap (int screen)
 
bool x11AppDefaultVisual (int screen)
 
int x11AppDepth (int screen)
 
Display * x11AppDisplay ()
 
int x11AppDpiX (int screen)
 
int x11AppDpiY (int screen)
 
Qt::HANDLE x11AppRootWindow (int screen)
 
int x11AppScreen ()
 
void * x11AppVisual (int screen)
 
void x11SetAppDpiX (int dpi, int screen)
 
void x11SetAppDpiY (int dpi, int screen)
 
- Public Attributes inherited from QWidget
typedef RenderFlags
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QWidget
 acceptDrops
 
 accessibleDescription
 
 accessibleName
 
 autoFillBackground
 
 baseSize
 
 childrenRect
 
 childrenRegion
 
 contextMenuPolicy
 
 cursor
 
 enabled
 
 focus
 
 focusPolicy
 
 font
 
 frameGeometry
 
 frameSize
 
 fullScreen
 
 geometry
 
 height
 
 inputMethodHints
 
 isActiveWindow
 
 layoutDirection
 
 locale
 
 maximized
 
 maximumHeight
 
 maximumSize
 
 maximumWidth
 
 minimized
 
 minimumHeight
 
 minimumSize
 
 minimumSizeHint
 
 minimumWidth
 
 modal
 
 mouseTracking
 
 normalGeometry
 
 palette
 
 pos
 
 rect
 
 size
 
 sizeHint
 
 sizeIncrement
 
 sizePolicy
 
 statusTip
 
 styleSheet
 
 toolTip
 
 updatesEnabled
 
 visible
 
 whatsThis
 
 width
 
 windowFilePath
 
 windowFlags
 
 windowIcon
 
 windowIconText
 
 windowModality
 
 windowModified
 
 windowOpacity
 
 windowTitle
 
 x
 
 y
 
- Properties inherited from QObject
 objectName
 

Detailed Description

This is the main calendar widget.

It provides the different views on the calendar data as well as the date navigator. It also handles synchronization of the different views and controls the different dialogs like preferences, event editor, search dialog etc.

main calendar view widget

Author
Cornelius Schumacher

Definition at line 99 of file calendarview.h.

Constructor & Destructor Documentation

CalendarView::CalendarView ( QWidget *  parent = 0)
explicit

Constructs a new calendar view widget.

Parameters
parentparent window

Definition at line 105 of file calendarview.cpp.

CalendarView::~CalendarView ( )
virtual

Definition at line 307 of file calendarview.cpp.

Member Function Documentation

QDate CalendarView::activeDate ( bool  fallbackToToday = false)

Returns the best guess at the current active date in the view.

This has nothing to do with selected incidences, use activeIncidenceDate() for that, for example, agenda supports time selection and incidence selection and they can have diferent dates.

Parameters
fallbackToTodayIf guessing doesn't work, some views will prefer today to be returned instead of the first select date in the day matrix, Journal view for example.

Definition at line 324 of file calendarview.cpp.

QDate CalendarView::activeIncidenceDate ( )

Returns the date of the selected incidence.

If the selected incidence is recurring, it will return the date of the selected occurrence.

Definition at line 348 of file calendarview.cpp.

void CalendarView::adaptNavigationUnits ( )

Adapts navigation units according to the current view's navigation step size.

Definition at line 1912 of file calendarview.cpp.

void CalendarView::addExtension ( CalendarViewExtension::Factory *  factory)

Adds a calendar view extension widget.

CalendarView takes ownership of the objects created by the factory.

Definition at line 2119 of file calendarview.cpp.

bool CalendarView::addIncidence ( const QString &  ical)
slot

Add an incidence to the active calendar.

Parameters
icalA calendar in iCalendar format containing the incidence. The calendar must consist of a VCALENDAR component which contains the incidence (VEVENT, VTODO, VJOURNAL or VFREEBUSY) and optionally a VTIMEZONE component. If there is more than one incidence, only the first is added to KOrganizer's calendar.

Definition at line 1240 of file calendarview.cpp.

bool CalendarView::addIncidence ( const KCalCore::Incidence::Ptr &  incidence)
slot

Definition at line 1248 of file calendarview.cpp.

void CalendarView::addIncidenceOn ( const Akonadi::Item &  incidence,
const QDate &  dt 
)
slot

Definition at line 2536 of file calendarview.cpp.

void CalendarView::addView ( KOrg::BaseView *  view)
virtual

Implements KOrg::CalendarViewBase.

Definition at line 2109 of file calendarview.cpp.

void CalendarView::appointment_delete ( )
slot

pop up dialog confirming deletion of currently selected event in the View.

Definition at line 1273 of file calendarview.cpp.

void CalendarView::appointment_edit ( )
slot

pop up an Appointment Dialog to edit an existing appointment.

Get information on the appointment from the list of unique IDs that is currently in the View, called currIds.

Definition at line 1263 of file calendarview.cpp.

void CalendarView::appointment_show ( )
slot

pop up a dialog to show an existing appointment.

Definition at line 1253 of file calendarview.cpp.

void CalendarView::archiveCalendar ( )
slot

Archive old events of calendar.

Definition at line 393 of file calendarview.cpp.

void CalendarView::autoArchivingSettingsModified ( )
signal

Emitted when auto-archiving options were modified.

Akonadi::ETMCalendar::Ptr CalendarView::calendar ( ) const
virtual

Implements KOrg::CalendarViewBase.

Definition at line 319 of file calendarview.cpp.

void CalendarView::calendarViewExpanded ( bool  )
signal
void CalendarView::changeFullView ( bool  fullView)
slot

Use as much of the full window as possible for the view.

Parameters
fullViewif true, expand the view as much as possible within the main view (hiding the sidebar for example); else put back the normal view.

Definition at line 2654 of file calendarview.cpp.

void CalendarView::changeIncidenceDisplay ( const Akonadi::Item &  incidence,
Akonadi::IncidenceChanger::ChangeType  changeType 
)
slot

passes on the message that an event has changed to the currently activated view so that it can make appropriate display changes.

Definition at line 750 of file calendarview.cpp.

void CalendarView::changeNavStringNext ( const QString &  )
signal
void CalendarView::changeNavStringPrev ( const QString &  )
signal

Emitted when the unit of navigation changes.

void CalendarView::checkClipboard ( )
slot

Check if clipboard contains vCalendar event.

The signal pasteEnabled() is emitted as result.

Definition at line 1980 of file calendarview.cpp.

void CalendarView::checkForFilteredChange ( const Akonadi::Item &  incidence)
protected

Definition at line 726 of file calendarview.cpp.

void CalendarView::closed ( QWidget *  )
signal

Emitted right before we die.

void CalendarView::configChanged ( )
signal

when change is made to options dialog, the topwidget will catch this and emit this signal which notifies all widgets which have registered for notification to update their settings.

void CalendarView::configureCurrentView ( )
slot

Definition at line 1176 of file calendarview.cpp.

void CalendarView::copyIncidence ( const Akonadi::Item &  incidence)
slot

Copies the selected incidence using the edit_copy() method.

Definition at line 2232 of file calendarview.cpp.

void CalendarView::copyIncidenceToResource ( const Akonadi::Item &  incidence,
const Akonadi::Collection &  col 
)
slot

Definition at line 1421 of file calendarview.cpp.

QString CalendarView::currentFilterName ( ) const

Returns the name of the current filter.

Definition at line 2045 of file calendarview.cpp.

Akonadi::Item CalendarView::currentSelection ( )
virtual

Returns the item selected in the current view (or an invalid one if none selected)

Reimplemented from superclass.

Implements KOrg::CalendarViewBase.

Definition at line 2168 of file calendarview.cpp.

KOrg::BaseView * CalendarView::currentView ( ) const

Definition at line 1171 of file calendarview.cpp.

void CalendarView::cutIncidence ( const Akonadi::Item &  incidence)
slot

Cuts the selected incidence using the edit_cut() method.

Definition at line 2226 of file calendarview.cpp.

DateNavigator* CalendarView::dateNavigator ( ) const
inline

Definition at line 142 of file calendarview.h.

void CalendarView::dateTimesForNewEvent ( QDateTime &  startDt,
QDateTime &  endDt,
bool &  allDay 
)
protected

Adjust the given date/times by valid defaults (selection or configured defaults, if invalid values are given) and allow the view to adjust the type.

Definition at line 938 of file calendarview.cpp.

void CalendarView::dayPassed ( const QDate &  )
signal

Emitted, when a day changed (i.e.

korganizer was running at midnight). The argument is the new date

bool CalendarView::deleteIncidence ( const Akonadi::Item &  item,
bool  force = false 
)
slot

Delete the supplied incidence.

It calls the correct deleteXXX method

Parameters
forceIf true, all recurrences and sub-todos (if applicable) will be deleted without prompting for confirmation.
forceIf true, all recurrences and sub-todos (if applicable) will be deleted without prompting for confirmation.

Definition at line 2372 of file calendarview.cpp.

bool CalendarView::deleteIncidence ( Akonadi::Item::Id  id,
bool  force = false 
)
slot

Definition at line 1339 of file calendarview.cpp.

void CalendarView::deleteIncidence ( )
slot

Definition at line 2221 of file calendarview.cpp.

void CalendarView::deleteSubTodosIncidence ( const Akonadi::Item &  todo)
slot

Delete the supplied todo and all sub-todos.

Definition at line 2305 of file calendarview.cpp.

void CalendarView::deleteTodoIncidence ( const Akonadi::Item &  todo,
bool  force = false 
)
slot

Delete the todo incidence, and its sub-to-dos.

Parameters
todoThe todo to delete.
forceIf true, all sub-todos will be deleted without prompting for confirmation.

Definition at line 2323 of file calendarview.cpp.

void CalendarView::dialogClosing ( const Akonadi::Item &  incidence)
slot

Definition at line 2164 of file calendarview.cpp.

KODialogManager* CalendarView::dialogManager ( ) const
inline

Definition at line 137 of file calendarview.h.

void CalendarView::dissociateOccurrences ( const Akonadi::Item &  incidence,
const QDate &  date 
)
slot

Definition at line 1577 of file calendarview.cpp.

void CalendarView::edit_copy ( )
slot

copy the current appointment(s) to the clipboard

Definition at line 826 of file calendarview.cpp.

void CalendarView::edit_cut ( )
slot

cut the current appointment to the clipboard

Definition at line 814 of file calendarview.cpp.

void CalendarView::edit_options ( )
slot

edit viewing and configuration options.

Definition at line 933 of file calendarview.cpp.

void CalendarView::edit_paste ( )
slot

paste the current vobject(s) in the clipboard buffer into calendar

Definition at line 844 of file calendarview.cpp.

void CalendarView::editFilters ( )
slot

Definition at line 1997 of file calendarview.cpp.

bool CalendarView::editIncidence ( const Akonadi::Item &  item,
bool  isCounter = false 
)
slot

Create an editor for the supplied incidence.

It calls the correct editXXX method

Definition at line 2281 of file calendarview.cpp.

bool CalendarView::editIncidence ( Akonadi::Item::Id  id)
slot

Definition at line 2195 of file calendarview.cpp.

void CalendarView::editIncidence ( )
slot

Definition at line 2190 of file calendarview.cpp.

QDate CalendarView::endDate ( )
virtual

Implements KOrg::CalendarViewBase.

Definition at line 367 of file calendarview.cpp.

void CalendarView::endMultiModify ( )
slot

Definition at line 745 of file calendarview.cpp.

bool CalendarView::eventFilter ( QObject *  watched,
QEvent *  event 
)
protectedvirtual

Reimplemented from QObject.

Definition at line 2621 of file calendarview.cpp.

void CalendarView::eventUpdated ( const Akonadi::Item &  incidence)
slot

Definition at line 1905 of file calendarview.cpp.

void CalendarView::exportHTML ( KOrg::HTMLExportSettings *  )
signal
void CalendarView::exportICalendar ( )
slot

Export as iCalendar file.

Definition at line 1820 of file calendarview.cpp.

void CalendarView::exportVCalendar ( )
slot

Export as vCalendar file.

Definition at line 1856 of file calendarview.cpp.

void CalendarView::exportWeb ( )
slot

Export as HTML file.

Definition at line 1807 of file calendarview.cpp.

void CalendarView::filterActivated ( int  filterNum)
slot

Definition at line 2025 of file calendarview.cpp.

void CalendarView::filterChanged ( )
signal
void CalendarView::filtersUpdated ( const QStringList &  ,
int   
)
signal
void CalendarView::goDate ( const QDate &  date)
slot

Move the current view date to the specified date.

Definition at line 529 of file calendarview.cpp.

void CalendarView::goNext ( )
slot

Move to the next date(s) in the current view.

Definition at line 549 of file calendarview.cpp.

void CalendarView::goPrevious ( )
slot

Move to the previous date(s) in the current view.

Definition at line 560 of file calendarview.cpp.

void CalendarView::goToday ( )
slot

Move the current view date to today.

Definition at line 544 of file calendarview.cpp.

void CalendarView::groupEventsSelected ( bool  )
signal

Emitted when state of events selection has changed and user is attendee.

void CalendarView::handleIncidenceCreated ( const Akonadi::Item &  item)
slot

Definition at line 2827 of file calendarview.cpp.

Akonadi::History * CalendarView::history ( ) const

Definition at line 2726 of file calendarview.cpp.

bool CalendarView::incidence_unsub ( const Akonadi::Item &  item)
slot

Definition at line 1291 of file calendarview.cpp.

virtual Akonadi::IncidenceChanger* CalendarView::incidenceChanger ( ) const
inlinevirtual

Implements KOrg::CalendarViewBase.

Definition at line 145 of file calendarview.h.

IncidenceEditorNG::IncidenceDialog * CalendarView::incidenceDialog ( const Akonadi::Item &  item)
protected

Definition at line 954 of file calendarview.cpp.

void CalendarView::incidenceSelected ( const Akonadi::Item &  incidence,
const QDate &  date 
)
signal

Emitted when an incidence gets selected.

If the selection is cleared the signal is emitted with 0 as argument.

bool CalendarView::isFiltered ( ) const

Returns true if there's a filter applied.

Definition at line 2040 of file calendarview.cpp.

bool CalendarView::isReadOnly ( ) const
slot

query if the calendar is read-only.

Definition at line 1747 of file calendarview.cpp.

QWidget* CalendarView::leftFrame ( ) const
inline

Definition at line 140 of file calendarview.h.

void CalendarView::mailFreeBusy ( int  daysToPublish = 30)
slot

Definition at line 1719 of file calendarview.cpp.

bool CalendarView::makeChildrenIndependent ( const Akonadi::Item &  item)
slot

Make all children of incidence independent, not update the view Works with any incidence type, although currently we only pass to-dos.

Definition at line 1319 of file calendarview.cpp.

bool CalendarView::makeSubTodosIndependent ( )
slot

Make all sub-to-dos of the selected todo independent, update the view.

Definition at line 1307 of file calendarview.cpp.

void CalendarView::modifiedChanged ( bool  )
signal

Emitted when state of modified flag changes.

void CalendarView::moveIncidenceTo ( const Akonadi::Item &  incidence,
const QDate &  dt 
)
slot

Definition at line 2576 of file calendarview.cpp.

void CalendarView::moveIncidenceToResource ( const Akonadi::Item &  incidence,
const Akonadi::Collection &  col 
)
slot

Definition at line 1491 of file calendarview.cpp.

int CalendarView::msgCalModified ( )
int CalendarView::msgItemDelete ( const Akonadi::Item &  incidence)
protected

Definition at line 803 of file calendarview.cpp.

NavigatorBar* CalendarView::navigatorBar ( ) const
inline

Definition at line 141 of file calendarview.h.

void CalendarView::newEvent ( const QDate &  dt)
slot

Definition at line 980 of file calendarview.cpp.

void CalendarView::newEvent ( )
slot

create new event without having a date hint.

Takes current date as default hint.

Definition at line 975 of file calendarview.cpp.

void CalendarView::newEvent ( const QDateTime &  startDt)
slot

create an editeventwin with supplied date/time, and if bool is true, make the event take all day.

Definition at line 994 of file calendarview.cpp.

void CalendarView::newEvent ( const QDateTime &  startDt,
const QDateTime &  EndDt,
bool  allDay = false 
)
slot

Definition at line 999 of file calendarview.cpp.

void CalendarView::newEvent ( const QString &  summary,
const QString &  description = QString(),
const QStringList &  attachment = QStringList(),
const QStringList &  attendees = QStringList(),
const QStringList &  attachmentMimetypes = QStringList(),
bool  inlineAttachment = false 
)
slot

Create new Event from given summary, description, attachment list and attendees list.

Definition at line 1026 of file calendarview.cpp.

IncidenceEditorNG::IncidenceDialog * CalendarView::newEventEditor ( const KCalCore::Event::Ptr &  event)
protected

Definition at line 961 of file calendarview.cpp.

void CalendarView::newFloatingEvent ( )
slot

Definition at line 1233 of file calendarview.cpp.

void CalendarView::newIncidenceChanger ( Akonadi::IncidenceChanger *  )
signal
void CalendarView::newJournal ( )
slot

Definition at line 1119 of file calendarview.cpp.

void CalendarView::newJournal ( const QDate &  date)
slot

Definition at line 1124 of file calendarview.cpp.

void CalendarView::newJournal ( const QString &  text,
const QDate &  date = QDate() 
)
slot

Definition at line 1153 of file calendarview.cpp.

void CalendarView::newJournal ( const Akonadi::Collection &  collection)
slot

Definition at line 1129 of file calendarview.cpp.

void CalendarView::newSubTodo ( )
slot

create new todo with a parent todo

Definition at line 1184 of file calendarview.cpp.

void CalendarView::newSubTodo ( const Akonadi::Item &  todo)
slot

create new todo with a parent todo

Definition at line 1213 of file calendarview.cpp.

void CalendarView::newSubTodo ( const Akonadi::Collection &  collection)
slot

create new todo with parent todo

Definition at line 1192 of file calendarview.cpp.

void CalendarView::newTodo ( )
slot

create new todo

Definition at line 1070 of file calendarview.cpp.

void CalendarView::newTodo ( const QDate &  date)
slot

create new todo, due on date

Definition at line 1102 of file calendarview.cpp.

void CalendarView::newTodo ( const Akonadi::Collection &  collection)
slot

create new todo

Definition at line 1075 of file calendarview.cpp.

void CalendarView::newTodo ( const QString &  summary,
const QString &  description = QString(),
const QStringList &  attachments = QStringList(),
const QStringList &  attendees = QStringList(),
const QStringList &  attachmentMimetypes = QStringList(),
bool  inlineAttachment = false 
)
slot

Definition at line 1055 of file calendarview.cpp.

void CalendarView::onCutFinished ( )
slot

Definition at line 2731 of file calendarview.cpp.

void CalendarView::openAddressbook ( )
slot

Definition at line 1742 of file calendarview.cpp.

void CalendarView::organizerEventsSelected ( bool  )
signal

Emitted when state of events selection has changed and user is organizer.

void CalendarView::pasteEnabled ( bool  )
signal

Emitted, when clipboard content changes.

Parameter indicates if paste is possible or not.

void CalendarView::pasteIncidence ( )
slot

Pastes the current incidence using the edit_paste() method.

Definition at line 2238 of file calendarview.cpp.

void CalendarView::print ( )
slot

Functions for printing, previewing a print, and setting up printing parameters.

Definition at line 1760 of file calendarview.cpp.

void CalendarView::printPreview ( )
slot

Definition at line 1783 of file calendarview.cpp.

void CalendarView::processIncidenceSelection ( const Akonadi::Item &  incidence,
const QDate &  date 
)
slot

Definition at line 1942 of file calendarview.cpp.

void CalendarView::processMainViewSelection ( const Akonadi::Item &  incidence,
const QDate &  date 
)
slot

Definition at line 1926 of file calendarview.cpp.

void CalendarView::processTodoListSelection ( const Akonadi::Item &  incidence,
const QDate &  date 
)
slot

Definition at line 1934 of file calendarview.cpp.

void CalendarView::purgeCompleted ( )
slot

Definition at line 2496 of file calendarview.cpp.

void CalendarView::readFilterSettings ( KConfig *  config)
slot

read settings for calendar filters

Definition at line 467 of file calendarview.cpp.

void CalendarView::readOnlyChanged ( bool  )
signal

Emitted when state of read-only flag changes.

void CalendarView::readSettings ( )
slot

Using the KConfig associated with the kapp variable, read in the settings from the config file.

You have to call setCalendar before calling readSettings.

Definition at line 398 of file calendarview.cpp.

void CalendarView::resourcesChanged ( )
slot

Definition at line 2615 of file calendarview.cpp.

bool CalendarView::saveCalendar ( const QString &  filename)
slot

Save calendar data to file.

Return true if calendar could be successfully saved.

Parameters
filenameThe file name to save the calendar to

Definition at line 381 of file calendarview.cpp.

void CalendarView::schedule ( KCalCore::iTIPMethod  method,
const Akonadi::Item &  incidence 
)
slot

Definition at line 1729 of file calendarview.cpp.

void CalendarView::schedule_add ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1686 of file calendarview.cpp.

void CalendarView::schedule_cancel ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1681 of file calendarview.cpp.

void CalendarView::schedule_counter ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1696 of file calendarview.cpp.

void CalendarView::schedule_declinecounter ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1701 of file calendarview.cpp.

void CalendarView::schedule_forward ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1706 of file calendarview.cpp.

void CalendarView::schedule_publish ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1659 of file calendarview.cpp.

void CalendarView::schedule_refresh ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1676 of file calendarview.cpp.

void CalendarView::schedule_reply ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1691 of file calendarview.cpp.

void CalendarView::schedule_request ( const Akonadi::Item &  incidence = Akonadi::Item())
slot

Definition at line 1671 of file calendarview.cpp.

Akonadi::Item CalendarView::selectedIncidence ( )

Returns a pointer to the incidence selected in the current view.

If there is no selection, return the selected todo from the todo list on the left.

Definition at line 2173 of file calendarview.cpp.

Akonadi::Item CalendarView::selectedTodo ( )
protected

Definition at line 2145 of file calendarview.cpp.

void CalendarView::selectWeek ( const QDate &  week,
const QDate &  preferredMonth 
)
slot

The user clicked on a week number in the date navigator.

Select a week or a work week depending on the user's config option.

Parameters
preferredMonthHolds the month that should be selected when the week crosses months. It's a QDate instead of uint so it can be easily fed to KCalendarSystem's functions.

Definition at line 2644 of file calendarview.cpp.

void CalendarView::setCalendar ( const Akonadi::ETMCalendar::Ptr &  )
void CalendarView::setCheckableProxyModel ( KOCheckableProxyModel *  model)

Definition at line 2736 of file calendarview.cpp.

void CalendarView::setReadOnly ( bool  readOnly = true)
slot

set state of calendar to read-only

Parameters
readOnlywhether the calendar view should be set read-only or not

Definition at line 1752 of file calendarview.cpp.

void CalendarView::showDate ( const QDate &  date)
slot

Show the given date without changing date selection length.

Definition at line 534 of file calendarview.cpp.

void CalendarView::showDateNavigator ( bool  show)
slot

Definition at line 2080 of file calendarview.cpp.

void CalendarView::showDates ( const KCalCore::DateList &  selectedDates,
const QDate &  preferredMonth = QDate() 
)
protectedslot

Select a view or adapt the current view to display the specified dates.

preferredMonth is useful when the datelist crosses months, if valid, any month-like component should honour this

Definition at line 1985 of file calendarview.cpp.

void CalendarView::showErrorMessage ( const QString &  msg)
slot

Definition at line 2531 of file calendarview.cpp.

void CalendarView::showEventViewer ( bool  show)
slot

Definition at line 2100 of file calendarview.cpp.

void CalendarView::showIncidence ( const Akonadi::Item &  item)
slot

Create a read-only viewer dialog for the supplied incidence.

It calls the correct showXXX method

Definition at line 2243 of file calendarview.cpp.

bool CalendarView::showIncidence ( Akonadi::Item::Id  id)
slot

Definition at line 2201 of file calendarview.cpp.

void CalendarView::showIncidence ( )
slot

Definition at line 2185 of file calendarview.cpp.

void CalendarView::showIncidenceContext ( const Akonadi::Item &  incidence)
slot

Show an incidence in context.

This means showing the todo, agenda or journal view (as appropriate) and scrolling it to show the incidence.

Parameters
incidenceThe incidence to show.

Definition at line 2255 of file calendarview.cpp.

bool CalendarView::showIncidenceContext ( Akonadi::Item::Id  id)
slot

Definition at line 2211 of file calendarview.cpp.

void CalendarView::showIntro ( )
slot

Definition at line 2075 of file calendarview.cpp.

void CalendarView::showLeftFrame ( bool  show = true)
slot

Definition at line 2128 of file calendarview.cpp.

void CalendarView::showMessage ( const QString &  message,
KMessageWidget::MessageType  type 
)

Definition at line 2796 of file calendarview.cpp.

void CalendarView::showTodoView ( bool  show)
slot

Definition at line 2090 of file calendarview.cpp.

void CalendarView::showView ( KOrg::BaseView *  )
virtual

changes the view to be the currently selected view

Implements KOrg::CalendarViewBase.

Definition at line 2114 of file calendarview.cpp.

void CalendarView::slotAutoArchivingSettingsModified ( )
inlineslot

Definition at line 571 of file calendarview.h.

void CalendarView::slotCreateFinished ( int  changeId,
const Akonadi::Item &  item,
Akonadi::IncidenceChanger::ResultCode  resultCode,
const QString &  errorString 
)
slot

Definition at line 634 of file calendarview.cpp.

void CalendarView::slotDeleteFinished ( int  changeId,
const QVector< Akonadi::Item::Id > &  itemIdList,
Akonadi::IncidenceChanger::ResultCode  resultCode,
const QString &  errorString 
)
slot

Definition at line 708 of file calendarview.cpp.

void CalendarView::slotModifyFinished ( int  changeId,
const Akonadi::Item &  item,
Akonadi::IncidenceChanger::ResultCode  resultCode,
const QString &  errorString 
)
slot

Definition at line 649 of file calendarview.cpp.

QDate CalendarView::startDate ( )
virtual

Implements KOrg::CalendarViewBase.

Definition at line 361 of file calendarview.cpp.

void CalendarView::startMultiModify ( const QString &  text)
slot

Definition at line 740 of file calendarview.cpp.

void CalendarView::statusMessage ( const QString &  )
signal

Send status message, which can e.g.

be displayed in the status bar.

void CalendarView::subtodoSelected ( bool  )
signal
void CalendarView::takeOverEvent ( )
slot

Take ownership of selected event.

Definition at line 2054 of file calendarview.cpp.

void CalendarView::todo_unsub ( )
slot

Frees a subtodo from it's relation, update the view.

Definition at line 1283 of file calendarview.cpp.

void CalendarView::todoSelected ( bool  )
signal

Emitted, when a todoitem is selected or deselected.

the connected slots enables/disables the corresponding menu items

void CalendarView::toggleAlarm ( const Akonadi::Item &  incidence)
slot

Definition at line 1349 of file calendarview.cpp.

void CalendarView::toggleTodoCompleted ( const Akonadi::Item &  incidence)
slot

Definition at line 1392 of file calendarview.cpp.

void CalendarView::updateConfig ( )
slot

options dialog made a changed to the configuration.

we catch this and notify all widgets which need to update their configuration.

Definition at line 571 of file calendarview.cpp.

void CalendarView::updateConfig ( const QByteArray &  receiver)
slot

Definition at line 576 of file calendarview.cpp.

void CalendarView::updateFilter ( )
slot

Definition at line 2002 of file calendarview.cpp.

void CalendarView::updateHighlightModes ( )

Informs the date navigator which incidence types should be used to embolden days, this function is mainly called when the view changes or when the config changes.

Definition at line 2629 of file calendarview.cpp.

void CalendarView::updateUnmanagedViews ( )
slot

Definition at line 796 of file calendarview.cpp.

void CalendarView::updateView ( const QDate &  start,
const QDate &  end,
const QDate &  preferredMonth,
const bool  updateTodos = true 
)
slot

Definition at line 767 of file calendarview.cpp.

void CalendarView::updateView ( )
slot

preferredMonth

Definition at line 787 of file calendarview.cpp.

void CalendarView::uploadFreeBusy ( )
slot

Definition at line 1724 of file calendarview.cpp.

KOViewManager* CalendarView::viewManager ( ) const
inline

Definition at line 136 of file calendarview.h.

QStackedWidget* CalendarView::viewStack ( ) const
inline

Definition at line 139 of file calendarview.h.

void CalendarView::warningChangeFailed ( const Akonadi::Item &  item)
protected

Definition at line 2519 of file calendarview.cpp.

void CalendarView::writeFilterSettings ( KConfig *  config)
slot

write settings for calendar filters

Definition at line 501 of file calendarview.cpp.

void CalendarView::writeSettings ( )
slot

write current state to config file.

Definition at line 435 of file calendarview.cpp.


The documentation for this class was generated from the following files:
  • calendarview.h
  • calendarview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 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
  • pimprint

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