Warning, file /sdk/cervisia/repositorydialog.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-2004 Christian Loose <christian.loose@kdemail.net>
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 REPOSITORYDIALOG_H
0022 #define REPOSITORYDIALOG_H
0023 
0024 #include <QDialog>
0025 
0026 class QTreeWidget;
0027 class QTreeWidgetItem;
0028 class QPushButton;
0029 class OrgKdeCervisia5CvsserviceCvsserviceInterface;
0030 class RepositoryListItem;
0031 class KConfig;
0032 
0033 class RepositoryDialog : public QDialog
0034 {
0035     Q_OBJECT
0036 
0037 public:
0038     RepositoryDialog(KConfig &cfg, OrgKdeCervisia5CvsserviceCvsserviceInterface *cvsService, const QString &cvsServiceInterfaceName, QWidget *parent = nullptr);
0039     ~RepositoryDialog() override;
0040 
0041     void readConfigFile();
0042     void readCvsPassFile();
0043 
0044 protected slots:
0045     void slotOk();
0046 
0047 private slots:
0048     void slotHelp();
0049     void slotAddClicked();
0050     void slotModifyClicked();
0051     void slotRemoveClicked();
0052     void slotDoubleClicked(QTreeWidgetItem *item, int column);
0053     void slotLoginClicked();
0054     void slotLogoutClicked();
0055     void slotSelectionChanged();
0056 
0057 private:
0058     void writeRepositoryData(RepositoryListItem *item);
0059 
0060 private:
0061     KConfig &m_partConfig;
0062     OrgKdeCervisia5CvsserviceCvsserviceInterface *m_cvsService;
0063     KConfig *m_serviceConfig;
0064     QTreeWidget *m_repoList;
0065     QPushButton *m_modifyButton;
0066     QPushButton *m_removeButton;
0067     QPushButton *m_loginButton;
0068     QPushButton *m_logoutButton;
0069     QString m_cvsServiceInterfaceName;
0070 };
0071 
0072 #endif // REPOSITORYDIALOG_H
0073 
0074 // kate: space-indent on; indent-width 4; replace-tabs on;