Warning, file /sdk/cervisia/tagdialog.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 TAGDIALOG_H 0021 #define TAGDIALOG_H 0022 0023 #include <QDialog> 0024 0025 class QCheckBox; 0026 class KComboBox; 0027 class QLineEdit; 0028 class OrgKdeCervisia5CvsserviceCvsserviceInterface; 0029 0030 namespace Cervisia 0031 { 0032 0033 class TagDialog : public QDialog 0034 { 0035 Q_OBJECT 0036 0037 public: 0038 enum ActionType { Create, Delete }; 0039 0040 TagDialog(ActionType action, OrgKdeCervisia5CvsserviceCvsserviceInterface *service, QWidget *parent = nullptr); 0041 0042 bool branchTag() const; 0043 bool forceTag() const; 0044 QString tag() const; 0045 0046 protected slots: 0047 void slotOk(); 0048 void slotHelp(); 0049 0050 private slots: 0051 void tagButtonClicked(); 0052 0053 private: 0054 ActionType act; 0055 OrgKdeCervisia5CvsserviceCvsserviceInterface *cvsService; 0056 0057 QCheckBox *branchtag_button; 0058 QCheckBox *forcetag_button; 0059 QLineEdit *tag_edit; 0060 KComboBox *tag_combo; 0061 }; 0062 0063 } 0064 0065 #endif // TAGDIALOG_H 0066 0067 // Local Variables: 0068 // c-basic-offset: 4 0069 // End: