25 #ifndef KOEDITORGENERALJOURNAL_H
26 #define KOEDITORGENERALJOURNAL_H
28 #include "koeditorgeneral.h"
31 #include <tqdatetime.h>
48 class KOEditorGeneralJournal : public KOEditorGeneral
53 KOEditorGeneralJournal ( TQWidget *parent=0, const char* name=0 );
54 virtual ~KOEditorGeneralJournal();
56 void initDate( TQWidget *, TQBoxLayout * );
57 void initDescription( TQWidget *, TQBoxLayout * );
58 void initTitle( TQWidget *parent, TQBoxLayout *topLayout );
61 void setDefaults( const TQDate &date );
62 void setDate( const TQDate &date );
63 void setTime( const TQTime &time );
65 void readJournal( Journal *, const TQDate &, bool tmpl = false );
72 void setDescription( const TQString &text );
73 void setSummary( const TQString &text );
77 TQLineEdit *mSummaryEdit;
78 TQLabel *mSummaryLabel;
79 KTextEdit *mDescriptionEdit;
82 TQCheckBox *mTimeCheckBox;
|