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

korganizer

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

#include <datenavigatorcontainer.h>

Inheritance diagram for DateNavigatorContainer:
Inheritance graph
[legend]

Public Slots

void goNextMonth ()
 
void goPrevMonth ()
 
void selectDates (const KCalCore::DateList &, const QDate &preferredMonth=QDate())
 
void updateConfig ()
 
void updateDayMatrix ()
 
void updateToday ()
 
void updateView ()
 

Signals

void datesSelected (const KCalCore::DateList &, const QDate &preferredMonth)
 
void goNext ()
 
void goPrevious ()
 
void incidenceDropped (const Akonadi::Item &, const QDate &)
 
void incidenceDroppedMove (const Akonadi::Item &, const QDate &)
 
void monthSelected (int month)
 
void newEventSignal (const QDate &)
 
void newJournalSignal (const QDate &)
 
void newTodoSignal (const QDate &)
 
void nextMonthClicked (const QDate &currentMonth, const QDate &selectionLowerLimit, const QDate &selectionUpperLimit)
 
void nextYearClicked ()
 
void prevMonthClicked (const QDate &currentMonth, const QDate &selectionLowerLimit, const QDate &selectionUpperLimit)
 
void prevYearClicked ()
 
void weekClicked (const QDate &week, const QDate &preferredMonth)
 
void yearSelected (int year)
 

Public Member Functions

 DateNavigatorContainer (QWidget *parent=0)
 
 ~DateNavigatorContainer ()
 
QSize minimumSizeHint () const
 
QDate monthOfNavigator (int navigatorIndex=0) const
 
void setCalendar (const Akonadi::ETMCalendar::Ptr &)
 
void setHighlightMode (bool highlightEvents, bool highlightTodos, bool highlightJournals) const
 
void setUpdateNeeded ()
 
QSize sizeHint () const
 

Protected Slots

void resizeAllContents ()
 

Protected Member Functions

void connectNavigatorView (KDateNavigator *v)
 
void resizeEvent (QResizeEvent *)
 
void setBaseDates (const QDate &start)
 

Detailed Description

Definition at line 38 of file datenavigatorcontainer.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file datenavigatorcontainer.cpp.

DateNavigatorContainer::~DateNavigatorContainer ( )

Definition at line 59 of file datenavigatorcontainer.cpp.

Member Function Documentation

void DateNavigatorContainer::connectNavigatorView ( KDateNavigator *  v)
protected

Definition at line 64 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::datesSelected ( const KCalCore::DateList &  ,
const QDate &  preferredMonth 
)
signal
void DateNavigatorContainer::goNext ( )
signal
void DateNavigatorContainer::goNextMonth ( )
slot

Definition at line 333 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::goPrevious ( )
signal
void DateNavigatorContainer::goPrevMonth ( )
slot

Definition at line 342 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::incidenceDropped ( const Akonadi::Item &  ,
const QDate &   
)
signal
void DateNavigatorContainer::incidenceDroppedMove ( const Akonadi::Item &  ,
const QDate &   
)
signal
QSize DateNavigatorContainer::minimumSizeHint ( ) const

Definition at line 309 of file datenavigatorcontainer.cpp.

QDate DateNavigatorContainer::monthOfNavigator ( int  navigatorIndex = 0) const

Returns the month of the specified KDateNavigator.

The first navigatorIndex is 0. Returns a QDate instead of uint so it can be easily feed to KCalendarSystem's functions. An invalid QDate() is returned if the index is too big or too small.

Definition at line 370 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::monthSelected ( int  month)
signal
void DateNavigatorContainer::newEventSignal ( const QDate &  )
signal
void DateNavigatorContainer::newJournalSignal ( const QDate &  )
signal
void DateNavigatorContainer::newTodoSignal ( const QDate &  )
signal
void DateNavigatorContainer::nextMonthClicked ( const QDate &  currentMonth,
const QDate &  selectionLowerLimit,
const QDate &  selectionUpperLimit 
)
signal
void DateNavigatorContainer::nextYearClicked ( )
signal
void DateNavigatorContainer::prevMonthClicked ( const QDate &  currentMonth,
const QDate &  selectionLowerLimit,
const QDate &  selectionUpperLimit 
)
signal

Signals that the previous month button has been clicked.

Parameters
currentMonthThe month displayed on the first KDateNavigator. DateNavigator doesn't know anything abouts months, it just has a list of selected dates, so we must send this.
selectionLowerLimitThe first date of the first KDateNavigator.
selectionUpperLimitThe last date of the last KDateNavigator.
void DateNavigatorContainer::prevYearClicked ( )
signal
void DateNavigatorContainer::resizeAllContents ( )
protectedslot

Resizes all the child elements after the size of the widget changed.

This slot is called by a QTimer::singleShot from resizeEvent. This makes the UI seem more responsive, since the other parts of the splitter are resized earlier now.

Definition at line 236 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::resizeEvent ( QResizeEvent *  )
protected

Definition at line 224 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::selectDates ( const KCalCore::DateList &  dateList,
const QDate &  preferredMonth = QDate() 
)
slot

preferredMonth is useful when the datelist crosses months, if different from -1, it has the month that the kdatenavigator should show in case of ambiguity

Definition at line 161 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::setBaseDates ( const QDate &  start)
protected

Definition at line 209 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::setCalendar ( const Akonadi::ETMCalendar::Ptr &  calendar)

Associate date navigator with a calendar.

It is used by KODayMatrix.

Definition at line 97 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::setHighlightMode ( bool  highlightEvents,
bool  highlightTodos,
bool  highlightJournals 
) const

Definition at line 319 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::setUpdateNeeded ( )

Definition at line 131 of file datenavigatorcontainer.cpp.

QSize DateNavigatorContainer::sizeHint ( ) const

Definition at line 314 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::updateConfig ( )
slot

Definition at line 151 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::updateDayMatrix ( )
slot

Definition at line 111 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::updateToday ( )
slot

Definition at line 121 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::updateView ( )
slot

Definition at line 141 of file datenavigatorcontainer.cpp.

void DateNavigatorContainer::weekClicked ( const QDate &  week,
const QDate &  preferredMonth 
)
signal
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.
void DateNavigatorContainer::yearSelected ( int  year)
signal

The documentation for this class was generated from the following files:
  • datenavigatorcontainer.h
  • datenavigatorcontainer.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