Warning, file /sdk/cervisia/changelogdialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * Copyright (C) 1999-2001 Bernd Gehrmann 0003 * bernd@mail.berlios.de 0004 * Copyright (c) 2002-2007 Christian Loose <christian.loose@hamburg.de> 0005 * 0006 * This program is free software; you can redistribute it and/or modify 0007 * it under the terms of the GNU General Public License as published by 0008 * the Free Software Foundation; either version 2 of the License, or 0009 * (at your option) any later version. 0010 * 0011 * This program is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 * GNU General Public License for more details. 0015 * 0016 * You should have received a copy of the GNU General Public License 0017 * along with this program; if not, write to the Free Software 0018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0019 */ 0020 0021 #ifndef CHANGELOGDIALOG_H 0022 #define CHANGELOGDIALOG_H 0023 0024 #include <QDialog> 0025 0026 class QPlainTextEdit; 0027 class KConfig; 0028 0029 class ChangeLogDialog : public QDialog 0030 { 0031 Q_OBJECT 0032 public: 0033 explicit ChangeLogDialog(KConfig &cfg, QWidget *parent = nullptr); 0034 0035 ~ChangeLogDialog() override; 0036 0037 bool readFile(const QString &fileName); 0038 QString message(); 0039 0040 protected slots: 0041 void slotOk(); 0042 0043 private: 0044 struct Options { 0045 QSize size; 0046 }; 0047 static Options *options; 0048 0049 QString fname; 0050 QPlainTextEdit *edit; 0051 KConfig &partConfig; 0052 }; 0053 0054 #endif // CHANGELOGDIALOG_H 0055 0056 // Local Variables: 0057 // c-basic-offset: 4 0058 // End: