2
* Copyright (C) 1999-2002 Bernd Gehrmann
3
* bernd@mail.berlios.de
4
* Copyright (c) 2002-2004 Christian Loose <christian.loose@kdemail.net>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
#ifndef ADDREPOSITORYDLG_H
23
#define ADDREPOSITORYDLG_H
25
#include <kdialogbase.h>
33
class AddRepositoryDialog : public KDialogBase
38
AddRepositoryDialog(KConfig& cfg, const QString& repo, QWidget* parent = 0,
39
const char* name = 0);
40
virtual ~AddRepositoryDialog();
42
void setRepository(const QString& repo);
43
void setRsh(const QString& rsh);
44
void setServer(const QString& server);
45
void setCompression(int compression);
46
void setRetrieveCvsignoreFile(bool enabled);
48
QString repository() const;
50
QString server() const;
51
int compression() const;
52
bool retrieveCvsignoreFile() const;
56
void compressionToggled(bool checked);
61
KLineEdit* server_edit;
62
QCheckBox* m_useDifferentCompression;
63
QCheckBox* m_retrieveCvsignoreFile;
64
KIntNumInput* m_compressionLevel;