Warning, file /sdk/cervisia/addremovedialog.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  *  Copyright (c) 2003-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 ADDREMOVEDIALOG_H
0022 #define ADDREMOVEDIALOG_H
0023 
0024 #include <QDialog>
0025 #include <QStringList>
0026 class QListWidget;
0027 
0028 class AddRemoveDialog : public QDialog
0029 {
0030 public:
0031     enum ActionType { Add, AddBinary, Remove };
0032 
0033     explicit AddRemoveDialog(ActionType action, QWidget *parent = nullptr);
0034 
0035     void setFileList(const QStringList &files);
0036 
0037 private slots:
0038     void slotHelp();
0039 
0040 private:
0041     QListWidget *m_listBox;
0042     QString helpTopic;
0043 };
0044 
0045 #endif // ADDREMOVEDIALOG_H
0046 
0047 // kate: space-indent on; indent-width 4; replace-tabs on;