korganizer

#include <kotodoview.h>

Inheritance diagram for KOTodoView:
KOrg::BaseView

Public Types

enum  {
  eSummaryColumn = 0 , eRecurColumn = 1 , ePriorityColumn = 2 , ePercentColumn = 3 ,
  eDueDateColumn = 4 , eCategoriesColumn = 5 , eFolderColumn = 6
}
 
enum  {
  ePopupEdit = 1300 , ePopupDelete = 1301 , ePopupMoveTo = 1302 , ePopupCopyTo = 1303 ,
  ePopupUnSubTodo = 1304 , ePopupUnAllSubTodo = 1305
}
 

Public Slots

void updateView ()
 
void updateConfig ()
 
void changeIncidenceDisplay (Incidence *, int)
 
void showDates (const TQDate &start, const TQDate &end)
 
void showIncidences (const Incidence::List &incidenceList, const TQDate &date)
 
void clearSelection ()
 
void editItem (TQListViewItem *item, const TQPoint &, int)
 
void editItem (TQListViewItem *item)
 
void showItem (TQListViewItem *item, const TQPoint &, int)
 
void showItem (TQListViewItem *item)
 
void popupMenu (TQListViewItem *item, const TQPoint &, int)
 
void newTodo ()
 
void newSubTodo ()
 
void showTodo ()
 
void editTodo ()
 
void printTodo ()
 
void deleteTodo ()
 
void setNewPercentage (KOTodoViewItem *item, int percentage)
 
void setNewPriority (int)
 
void setNewPercentage (int)
 
void setNewDate (TQDate)
 
void copyTodoToDate (TQDate)
 
void changedCategories (int)
 
void purgeCompleted ()
 
void itemStateChanged (TQListViewItem *)
 
void setNewPercentageDelayed (KOTodoViewItem *item, int percentage)
 
void processDelayedNewPercentage ()
 
- Public Slots inherited from KOrg::BaseView
virtual void showDates (const TQDate &start, const TQDate &end)=0
 
virtual void showIncidences (const Incidence::List &incidenceList, const TQDate &date)=0
 
virtual void updateView ()=0
 
virtual void dayPassed (const TQDate &)
 
virtual void flushView ()
 
virtual void changeIncidenceDisplay (Incidence *, int)=0
 
virtual void updateConfig ()
 
virtual void clearSelection ()
 
virtual bool eventDurationHint (TQDateTime &, TQDateTime &, bool &)
 

Signals

void unSubTodoSignal ()
 
void unAllSubTodoSignal ()
 
void purgeCompletedSignal ()
 
void configChanged ()
 
- Signals inherited from KOrg::BaseView
void incidenceSelected (Incidence *, const TQDate &)
 
void showIncidenceSignal (Incidence *, const TQDate &)
 
void editIncidenceSignal (Incidence *, const TQDate &)
 
void deleteIncidenceSignal (Incidence *)
 
void cutIncidenceSignal (Incidence *)
 
void copyIncidenceSignal (Incidence *)
 
void pasteIncidenceSignal ()
 
void toggleAlarmSignal (Incidence *)
 
void dissociateOccurrenceSignal (Incidence *, const TQDate &)
 
void dissociateFutureOccurrenceSignal (Incidence *, const TQDate &)
 
void startMultiModify (const TQString &)
 
void endMultiModify ()
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource)
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &)
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDateTime &)
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDateTime &, const TQDateTime &)
 
void newTodoSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &)
 
void newSubTodoSignal (Todo *)
 
void newJournalSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &)
 

Public Member Functions

 KOTodoView (Calendar *cal, TQWidget *parent=0, const char *name=0)
 
void setCalendar (Calendar *)
 
Incidence::List selectedIncidences ()
 
Todo::List selectedTodos ()
 
DateList selectedIncidenceDates ()
 
int currentDateCount ()
 
CalPrinterBase::PrintType printType ()
 
void setDocumentId (const TQString &)
 
void saveLayout (TDEConfig *config, const TQString &group) const
 
void restoreLayout (TDEConfig *config, const TQString &group)
 
TQPopupMenu * getCategoryPopupMenu (KOTodoViewItem *todoItem)
 
void setIncidenceChanger (IncidenceChangerBase *changer)
 
- Public Member Functions inherited from KOrg::BaseView
 BaseView (Calendar *cal, TQWidget *parent=0, const char *name=0)
 
virtual ~BaseView ()
 
void setReadOnly (bool readonly)
 
bool readOnly ()
 
virtual Calendarcalendar ()
 
virtual void setResource (ResourceCalendar *res, const TQString &subResource)
 
ResourceCalendarresourceCalendar ()
 
TQString subResourceCalendar () const
 
virtual TQDateTime selectionStart ()
 
virtual TQDateTime selectionEnd ()
 
virtual bool isEventView ()
 
virtual bool supportsDateNavigation () const
 

Protected Slots

void processSelectionChange ()
 
void addQuickTodo ()
 
void removeTodoItems ()
 

Friends

class KOTodoViewItem
 

Additional Inherited Members

- Protected Attributes inherited from KOrg::BaseView
IncidenceChangerBase * mChanger
 

Detailed Description

This class provides a multi-column list view of todo events.

multi-column list view of todo events.

Author
Cornelius Schumacher schum.nosp@m.ache.nosp@m.r@kde.nosp@m..org

Definition at line 113 of file kotodoview.h.

Member Function Documentation

◆ currentDateCount()

int KOTodoView::currentDateCount ( )
inlinevirtual

Return number of shown dates.

TodoView does not show dates,

Implements KOrg::BaseView.

Definition at line 129 of file kotodoview.h.

◆ getCategoryPopupMenu()

TQPopupMenu * KOTodoView::getCategoryPopupMenu ( KOTodoViewItem todoItem)

Create a popup menu to set categories.

Definition at line 1002 of file kotodoview.cpp.

◆ selectedIncidenceDates()

DateList KOTodoView::selectedIncidenceDates ( )
inlinevirtual
Returns
a list of the dates 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 126 of file kotodoview.h.

◆ selectedIncidences()

Incidence::List KOTodoView::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 662 of file kotodoview.cpp.

◆ setIncidenceChanger()

void KOTodoView::setIncidenceChanger ( IncidenceChangerBase *  changer)
virtual

Assign a new incidence change helper object.

Reimplemented from KOrg::BaseView.

Definition at line 1135 of file kotodoview.cpp.


The documentation for this class was generated from the following files: