Warning, file /sdk/cervisia/watchdialog.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-2002 Bernd Gehrmann 0003 * bernd@mail.berlios.de 0004 * 0005 * This program is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU General Public License as published by 0007 * the Free Software Foundation; either version 2 of the License, or 0008 * (at your option) any later version. 0009 * 0010 * This program is distributed in the hope that it will be useful, 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0013 * GNU General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU General Public License 0016 * along with this program; if not, write to the Free Software 0017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0018 */ 0019 0020 #ifndef WATCHDIALOG_H 0021 #define WATCHDIALOG_H 0022 0023 #include <QDialog> 0024 0025 class QRadioButton; 0026 class QCheckBox; 0027 0028 class WatchDialog : public QDialog 0029 { 0030 public: 0031 enum ActionType { Add, Remove }; 0032 enum Events { None = 0, All = 1, Commits = 2, Edits = 4, Unedits = 8 }; 0033 0034 explicit WatchDialog(ActionType action, QWidget *parent = nullptr); 0035 0036 Events events() const; 0037 0038 private slots: 0039 void slotHelp(); 0040 0041 private: 0042 QRadioButton *all_button, *only_button; 0043 QCheckBox *commitbox, *editbox, *uneditbox; 0044 }; 0045 0046 #endif // WATCHDIALOG_H 0047 0048 // Local Variables: 0049 // c-basic-offset: 4 0050 // End: