sAlarm 0.5
Public Types | Public Member Functions | Protected Member Functions
ScheduleDialog Class Reference

ScheduleDialog is dialog for inserting or editing of schedules. More...

#include <scheduledialog.h>

Collaboration diagram for ScheduleDialog:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ScheduleActions { Add, Edit }
 Enum which indicates editation or insertion of schedule.

Public Member Functions

 ScheduleDialog (Database *sqlDb, Scheduler *scheduler, QWidget *parent=0)
 Constructor.
 ScheduleDialog (Database *sqlDb, Scheduler *scheduler, const QModelIndex &, QWidget *parent=0)
 Overloaded contructor.
 ~ScheduleDialog ()
 Destructor.

Protected Member Functions

void changeEvent (QEvent *event)
 When the language is changed the window is simply retranslated.

Detailed Description

ScheduleDialog is dialog for inserting or editing of schedules.


Constructor & Destructor Documentation

ScheduleDialog::ScheduleDialog ( Database sqlDb,
Scheduler scheduler,
QWidget *  parent = 0 
) [explicit]

Constructor.

Parameters:
parentpointer to parent widget
ScheduleDialog::ScheduleDialog ( Database sqlDb,
Scheduler scheduler,
const QModelIndex &  index,
QWidget *  parent = 0 
)

Overloaded contructor.

This constructor is called when the schedule is edited.

Parameters:
schedulerpointer to Scheduler object
sqlDbpointer to database instance
parentpointer to parent widget

Member Function Documentation

void ScheduleDialog::changeEvent ( QEvent *  event) [protected]

When the language is changed the window is simply retranslated.

Parameters:
eventcontains more specific pieces of information about event

The documentation for this class was generated from the following files:
 All Classes Functions Enumerations