Warning, file /sdk/cervisia/checkoutdialog.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 CHECKOUTDIALOG_H 0021 #define CHECKOUTDIALOG_H 0022 0023 #include <QDialog> 0024 0025 class QCheckBox; 0026 class KComboBox; 0027 class KConfig; 0028 class KLineEdit; 0029 class QLineEdit; 0030 class OrgKdeCervisia5CvsserviceCvsserviceInterface; 0031 0032 class CheckoutDialog : public QDialog 0033 { 0034 Q_OBJECT 0035 0036 public: 0037 enum ActionType { Checkout, Import }; 0038 0039 CheckoutDialog(KConfig &cfg, OrgKdeCervisia5CvsserviceCvsserviceInterface *service, ActionType action, QWidget *parent = nullptr); 0040 0041 QString workingDirectory() const; 0042 QString repository() const; 0043 QString module() const; 0044 QString branch() const; 0045 QString vendorTag() const; 0046 QString releaseTag() const; 0047 QString ignoreFiles() const; 0048 QString comment() const; 0049 QString alias() const; 0050 bool importBinary() const; 0051 bool useModificationTime() const; 0052 bool exportOnly() const; 0053 bool recursive() const; 0054 0055 protected slots: 0056 void slotOk(); 0057 0058 private slots: 0059 void slotHelp(); 0060 void dirButtonClicked(); 0061 void moduleButtonClicked(); 0062 void branchButtonClicked(); 0063 void branchTextChanged(); 0064 0065 private: 0066 void saveUserInput(); 0067 void restoreUserInput(); 0068 0069 KComboBox *repo_combo, *module_combo, *branchCombo; 0070 KLineEdit *workdir_edit; 0071 QLineEdit *module_edit, *comment_edit; 0072 QLineEdit *vendortag_edit, *releasetag_edit, *ignore_edit, *alias_edit; 0073 QCheckBox *binary_box, *export_box, *recursive_box; 0074 QCheckBox *m_useModificationTimeBox; 0075 ActionType act; 0076 KConfig &partConfig; 0077 QString helpTopic; 0078 0079 OrgKdeCervisia5CvsserviceCvsserviceInterface *cvsService; 0080 }; 0081 0082 #endif // CHECKOUTDIALOG_H 0083 0084 // Local Variables: 0085 // c-basic-offset: 4 0086 // End: