Logo Search packages:      
Sourcecode: qtodo version File versions  Download package

QTodoItem Class Reference

#include <qtodo_item.h>

List of all members.


Detailed Description

Base for all widgets that represent TODOs, sections etc. a TODOlist

Definition at line 76 of file qtodo_item.h.


Signals

void changed ()
void deadlineChanged ()
void priorityChanged ()
void statusChanged ()

Public Member Functions

QPopupMenu * actionsPopupMenu ()
bool contains (const QString &)
bool filter (const QString &, int, int, int, const QDate &=QDate())
void fixFocusDeadlineProblem ()
QString getAgent () const
QDateTime getCreated () const
QString getCreatedLocalString () const
QString getCreatedString () const
QColor getCurrentDeadlineColor ()
QDate getDeadlineDate () const
QDateTime getDeadlineDateTime () const
QString getDeadlineLocalString () const
QString getDeadlineString () const
QTime getDeadlineTime () const
int getDepth () const
QDateTime getDone () const
QString getDoneString () const
int getPriority () const
int getStatus () const
QString getTask () const
QStringList getTaskLinks () const
QString getTaskPlainText () const
QString getTaskRichText () const
bool isSelected ()
QTodoListlist ()
void prepare ()
 QTodoItem (const QTodoItem &)
 QTodoItem (QWidget *)
void save (QTextStream &)
void setAgent (const QString &)
void setCreated (const QDateTime &)
void setCursorToBegin (int)
void setCursorToEnd (int)
void setDeadline (const QDateTime &, bool prevent_emit_change=true)
void setDeadlineInputBackgroundColor (const QColor &col)
void setDepth (unsigned int)
void setDone (const QDateTime &)
void setFocusOnTask ()
void setPriority (int)
void setSelected (bool)
void setStatus (int, bool emit_change=false)
void setTask (const QString &)
void updateBorders ()
void updateColors ()
void updateMenuButton ()

Static Public Member Functions

static void updateBordersGlobally ()
static void updateColorsGlobally ()
static void updateMenuButtonGlobally ()

Private Slots

void actionsMenu (const QPoint &)
void actionsMenu ()
void actionsMenuAboutToShow ()
void actionsMenuActivated (int)
void addSubTodo ()
void addTodoAbove ()
void addTodoBelow ()
void agentTextChanged (const QString &)
void cursorPositionChangedSlot (int, int)
void deadlineChangedSlot ()
void emitChanged ()
void emitDeadlineChanged ()
void emitPriorityChanged ()
void emitStatusChanged ()
void handleSelectDoubleToggled ()
void handleSelectToggled ()
void hasDeadline (int)
void hideHBoxBelow ()
void navigateDown (int)
void navigateUp (int)
void oldDeadlineDateChanged (const QDate &)
void oldDeadlineTimeChanged (const QTime &)
void showHBoxBelow ()
void slotDeadlineComboChanged ()
void statusChangedSlot ()
void subWheelEvent (QWheelEvent *)
void updateDeadlineColor ()

Private Member Functions

QColor bodyColor ()
void contextMenuEvent (QContextMenuEvent *)
void doShowHBoxBelow ()
QColor headColor ()
void init ()
void keyPressEvent (QKeyEvent *)

Private Attributes

QButton * actions
QLineEdit * agent
bool agent_changed
QLabel * branch
QTodoDatetimeLabel * created
QLabel * created_label
QTodoComboWidget * deadline_combo
QTodoDateInput * deadline_date
QTodoTimeInput * deadline_time
int depth
QTodoDatetimeLabel * done
QHBox * hbox_below
QTodoPriorityWidget * priority
bool selected
QWidget * spacer
QTodoStatusWidget * status
QTodoTaskEdit * task
QTodoItemWidgetthe_widget

Static Private Attributes

static QTodoItemextended_hbox_below = 0
static QPtrList< QTodoIteminstances

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

Generated by  Doxygen 1.6.0   Back to index