00001 /*************************************************************************** 00002 * * 00003 * DrawPad - a drawing program for Opie Environment * 00004 * * 00005 * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * 00006 * * 00007 * This program is free software; you can redistribute it and/or modify * 00008 * it under the terms of the GNU General Public License as published by * 00009 * the Free Software Foundation; either version 2 of the License, or * 00010 * (at your option) any later version. * 00011 * * 00012 ***************************************************************************/ 00013 00014 #ifndef PAGEINFORMATIONDIALOG_H 00015 #define PAGEINFORMATIONDIALOG_H 00016 00017 #include <qdialog.h> 00018 00019 class Page; 00020 00021 #include <qdatetime.h> 00022 00023 class QLineEdit; 00024 00025 class PageInformationDialog : public QDialog 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 PageInformationDialog(Page* page, QWidget* parent = 0, const char* name = 0); 00031 ~PageInformationDialog(); 00032 00033 QString selectedTitle(); 00034 00035 private: 00036 QString dateTimeString(QDateTime dateTime); 00037 00038 Page* m_pPage; 00039 00040 QLineEdit* m_pTitleLineEdit; 00041 }; 00042 00043 #endif // PAGEINFORMATIONDIALOG_H
1.4.2