koeditorgeneraljournal.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#ifndef KOEDITORGENERALJOURNAL_H
00026
#define KOEDITORGENERALJOURNAL_H
00027
00028
#include <qobject.h>
00029
#include <qdatetime.h>
00030
00031
class KDateEdit;
00032
class KTextEdit;
00033
class QLabel;
00034
class QBoxLayout;
00035
class QWidget;
00036
00037
namespace KCal {
00038
class Incidence;
00039
class Journal;
00040 }
00041
using namespace KCal;
00042
00043
class KOEditorGeneralJournal :
public QObject
00044 {
00045 Q_OBJECT
00046
public:
00047 KOEditorGeneralJournal (
QObject* parent=0,
const char* name=0 );
00048
virtual ~KOEditorGeneralJournal();
00049
00050
void initDate(
QWidget *,
QBoxLayout * );
00051
void initDescription(
QWidget *,
QBoxLayout * );
00052
00054
void setDefaults(
QDate date );
00055
void setDate(
QDate date );
00057
void readJournal( Journal *,
bool tmpl =
false );
00059
void writeJournal( Journal * );
00060
00062
bool validateInput();
00063
00064
void setDescription(
const QString & );
00065
void finishSetup();
00066
00067
protected:
00068 KTextEdit *mDescriptionEdit;
00069
QLabel *mDateLabel;
00070 KDateEdit *mDateEdit;
00071 };
00072
00073
#endif
This file is part of the documentation for korganizer Library Version 3.3.0.