00001 //LabPlot : ProjectDialog.h 00002 00003 #ifndef PROJECTDIALOG_H 00004 #define PROJECTDIALOG_H 00005 00006 #include <qfont.h> 00007 #include <qcheckbox.h> 00008 #include <kdeversion.h> 00009 #if KDE_VERSION > 0x030104 00010 #include <kdatetimewidget.h> 00011 #endif 00012 #include "Worksheet.h" 00013 #include "Dialog.h" 00014 00015 class ProjectDialog: public Dialog 00016 { 00017 Q_OBJECT 00018 public: 00019 ProjectDialog(Worksheet *p, const char *name); 00020 public slots: 00021 void ok_clicked() { apply_clicked(); accept(); } 00022 void apply_clicked(); 00023 private: 00024 MainWin *mw; 00025 Project *project; 00026 KLineEdit *titlele, *authorle, *commentle; 00027 #if KDE_VERSION > 0x030104 00028 KDateTimeWidget *created, *modified; 00029 #endif 00030 }; 00031 00032 #endif //PROJECTDIALOG_H