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

korganizer

  • KOrg
  • MonthView
Public Slots | Signals | Public Member Functions | List of all members
KOrg::MonthView Class Reference

#include <monthview.h>

Inheritance diagram for KOrg::MonthView:
Inheritance graph
[legend]

Public Slots

void changeIncidenceDisplay (const Akonadi::Item &, Akonadi::IncidenceChanger::ChangeType)
 
void showIncidences (const Akonadi::Item::List &incidenceList, const QDate &date)
 
void updateConfig ()
 
void updateView ()
 
- Public Slots inherited from KOEventView
void defaultAction (const Akonadi::Item &incidence)
 
void focusChanged (QWidget *, QWidget *)
 
- Public Slots inherited from KOrg::BaseView
virtual void changeIncidenceDisplay (const Akonadi::Item &, Akonadi::IncidenceChanger::ChangeType)=0
 
virtual void clearSelection ()
 
virtual void dayPassed (const QDate &)
 
virtual void flushView ()
 
virtual void showIncidences (const Akonadi::Item::List &incidenceList, const QDate &date)=0
 
virtual void updateConfig ()
 
virtual void updateView ()=0
 

Signals

void fullViewChanged (bool enabled)
 
- Signals inherited from KOEventView
void datesSelected (const KCalCore::DateList datelist)
 
void shiftedEvent (const QDate &olddate, const QDate &ewdate)
 
- Signals inherited from KOrg::BaseView
void copyIncidenceSignal (const Akonadi::Item &)
 
void copyIncidenceToResourceSignal (const Akonadi::Item &, const QString &)
 
void cutIncidenceSignal (const Akonadi::Item &)
 
void deleteIncidenceSignal (const Akonadi::Item &)
 
void dissociateOccurrencesSignal (const Akonadi::Item &, const QDate &)
 
void editIncidenceSignal (const Akonadi::Item &)
 
void endMultiModify ()
 
void incidenceSelected (const Akonadi::Item &, const QDate)
 
void moveIncidenceToResourceSignal (const Akonadi::Item &, const QString &)
 
void newEventSignal ()
 
void newEventSignal (const QDate &)
 
void newEventSignal (const QDateTime &)
 
void newEventSignal (const QDateTime &, const QDateTime &)
 
void newJournalSignal (const QDate &)
 
void newSubTodoSignal (const Akonadi::Item &)
 
void newTodoSignal (const QDate &)
 
void pasteIncidenceSignal ()
 
void showIncidenceSignal (const Akonadi::Item &)
 
void startMultiModify (const QString &)
 
void toggleAlarmSignal (const Akonadi::Item &)
 
void toggleTodoCompletedSignal (const Akonadi::Item &)
 

Public Member Functions

 MonthView (QWidget *parent=0)
 
 ~MonthView ()
 
QDate averageDate () const
 
int currentDateCount () const
 
int currentMonth () const
 
bool eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay)
 
int maxDatesHint () const
 
KOrg::CalPrinterBase::PrintType printType () const
 
KCalCore::DateList selectedIncidenceDates ()
 
Akonadi::Item::List selectedIncidences ()
 
QDateTime selectionEnd ()
 
QDateTime selectionStart ()
 
void setCalendar (const Akonadi::ETMCalendar::Ptr &cal)
 
void setDateRange (const KDateTime &start, const KDateTime &end, const QDate &preferredMonth=QDate())
 
void setIncidenceChanger (Akonadi::IncidenceChanger *changer)
 
void setTypeAheadReceiver (QObject *o)
 
bool supportsDateRangeSelection ()
 
bool usesFullWindow ()
 
- Public Member Functions inherited from KOEventView
 KOEventView (QWidget *parent=0)
 
virtual ~KOEventView ()
 
KOEventPopupMenu * eventPopup ()
 
bool isEventView ()
 
QMenu * newEventPopup ()
 
int showMoveRecurDialog (const Akonadi::Item &inc, const QDate &date)
 
bool supportsDateNavigation () const
 
- Public Member Functions inherited from KOrg::BaseView
 BaseView (QWidget *parent=0)
 
virtual ~BaseView ()
 
KDateTime actualEndDateTime () const
 
KDateTime actualStartDateTime () const
 
virtual Akonadi::ETMCalendar::Ptr calendar ()
 
EventViews::EventView::Changes changes () const
 
virtual Akonadi::Collection::Id collectionId () const
 
KDateTime endDateTime () const
 
virtual void getHighlightMode (bool &highlightEvents, bool &highlightTodos, bool &highlightJournals)
 
virtual bool hasConfigurationDialog () const
 
QByteArray identifier () const
 
virtual void restoreConfig (const KConfigGroup &configGroup)
 
virtual void saveConfig (KConfigGroup &configGroup)
 
virtual void setChanges (EventViews::EventView::Changes changes)
 
virtual void setIdentifier (const QByteArray &identifier)
 
virtual void showConfigurationDialog (QWidget *parent)
 
KDateTime startDateTime () const
 
virtual bool supportsZoom ()
 
virtual BaseView * viewAt (const QPoint &p)
 

Additional Inherited Members

- Public Types inherited from KOEventView
enum  { BRIGHTNESS_FACTOR = 125 }
 
- Static Public Member Functions inherited from KOEventView
static bool usesCompletedTodoPixmap (const Akonadi::Item &todo, const QDate &date)
 
- Protected Slots inherited from KOEventView
void popupCopy ()
 
void popupCut ()
 
void popupDelete ()
 
void popupEdit ()
 
void popupShow ()
 
virtual void showNewEventPopup ()
 
- Protected Slots inherited from KOrg::BaseView
virtual void calendarReset ()
 
- Protected Member Functions inherited from KOrg::BaseView
virtual QPair< KDateTime,
KDateTime > 
actualDateRange (const KDateTime &start, const KDateTime &end, const QDate &preferredMonth=QDate()) const
 
virtual void doRestoreConfig (const KConfigGroup &configGroup)
 
virtual void doSaveConfig (KConfigGroup &configGroup)
 
- Protected Attributes inherited from KOEventView
Akonadi::Item mCurrentIncidence
 
- Protected Attributes inherited from KOrg::BaseView
Akonadi::IncidenceChanger * mChanger
 

Detailed Description

Definition at line 33 of file monthview.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file monthview.cpp.

MonthView::~MonthView ( )

Definition at line 132 of file monthview.cpp.

Member Function Documentation

QDate MonthView::averageDate ( ) const

Returns the average date in the view.

Definition at line 172 of file monthview.cpp.

void MonthView::changeIncidenceDisplay ( const Akonadi::Item &  item,
Akonadi::IncidenceChanger::ChangeType  changeType 
)
slot

Definition at line 197 of file monthview.cpp.

int MonthView::currentDateCount ( ) const
virtual

Returns the number of currently shown dates.

A return value of 0 means no idea.

Implements KOrg::BaseView.

Definition at line 142 of file monthview.cpp.

int MonthView::currentMonth ( ) const

Definition at line 147 of file monthview.cpp.

bool MonthView::eventDurationHint ( QDateTime &  startDt,
QDateTime &  endDt,
bool &  allDay 
)
virtual

Sets the default start/end date/time for new events.

Return true if anything was changed

Reimplemented from KOrg::BaseView.

Definition at line 167 of file monthview.cpp.

void KOrg::MonthView::fullViewChanged ( bool  enabled)
signal
int MonthView::maxDatesHint ( ) const
virtual

provides a hint back to the caller on the maximum number of dates that the view supports.

A return value of 0 means no maximum.

Implements KOEventView.

Definition at line 208 of file monthview.cpp.

CalPrinterBase::PrintType MonthView::printType ( ) const
virtual

Reimplemented from KOrg::BaseView.

Definition at line 137 of file monthview.cpp.

KCalCore::DateList MonthView::selectedIncidenceDates ( )
virtual

Returns dates of the currently selected events.

Implements KOrg::BaseView.

Definition at line 152 of file monthview.cpp.

Akonadi::Item::List MonthView::selectedIncidences ( )
virtual
Returns
a list of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.

Implements KOrg::BaseView.

Definition at line 213 of file monthview.cpp.

QDateTime MonthView::selectionEnd ( )
virtual

Returns the end of the selection, or an invalid QDateTime if there is no selection or the view doesn't support selecting cells.

Reimplemented from KOrg::BaseView.

Definition at line 162 of file monthview.cpp.

QDateTime MonthView::selectionStart ( )
virtual

Returns the start of the selection, or an invalid QDateTime if there is no selection or the view doesn't support selecting cells.

Reimplemented from KOrg::BaseView.

Definition at line 157 of file monthview.cpp.

void MonthView::setCalendar ( const Akonadi::ETMCalendar::Ptr &  cal)
virtual

Reimplemented from KOrg::BaseView.

Definition at line 229 of file monthview.cpp.

void MonthView::setDateRange ( const KDateTime &  start,
const KDateTime &  end,
const QDate &  preferredMonth = QDate() 
)
virtual

Show incidences for the given date range.

The date range actually shown may be different from the requested range, depending on the particular requirements of the view.

Parameters
startStart of date range.
endEnd of date range.

Reimplemented from KOrg::BaseView.

Definition at line 223 of file monthview.cpp.

void MonthView::setIncidenceChanger ( Akonadi::IncidenceChanger *  changer)
virtual

Assign a new incidence change helper object.

Reimplemented from KOrg::BaseView.

Definition at line 236 of file monthview.cpp.

void MonthView::setTypeAheadReceiver ( QObject *  o)
virtual

Reimplemented from KOEventView.

Definition at line 218 of file monthview.cpp.

void MonthView::showIncidences ( const Akonadi::Item::List &  incidenceList,
const QDate &  date 
)
slot

Definition at line 192 of file monthview.cpp.

bool MonthView::supportsDateRangeSelection ( )
virtual

returns whether this view supports date range selection Base implementation returns true.

Reimplemented from KOrg::BaseView.

Definition at line 182 of file monthview.cpp.

void MonthView::updateConfig ( )
slot

Definition at line 203 of file monthview.cpp.

void MonthView::updateView ( )
slot

Definition at line 187 of file monthview.cpp.

bool MonthView::usesFullWindow ( )
virtual

returns whether this view should be displayed full window.

Base implementation returns false.

Reimplemented from KOrg::BaseView.

Definition at line 177 of file monthview.cpp.


The documentation for this class was generated from the following files:
  • monthview.h
  • monthview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:20 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

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