~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to vcs/cvsservice/cvsoptionswidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2003 by KDevelop Authors                                *
 
3
 *   kdevelop-devel@kde.org                                                *
 
4
 *   Copyright (C) 2003 by Mario Scalas                                    *
 
5
 *   mario.scalas@libero.it                                                *
 
6
 *                                                                         *
 
7
 *   This program is free software; you can redistribute it and/or modify  *
 
8
 *   it under the terms of the GNU General Public License as published by  *
 
9
 *   the Free Software Foundation; either version 2 of the License, or     *
 
10
 *   (at your option) any later version.                                   *
 
11
 *                                                                         *
 
12
 ***************************************************************************/
 
13
 
 
14
#ifndef _CVSOPTIONSWIDGET_H_
 
15
#define _CVSOPTIONSWIDGET_H_
 
16
 
 
17
#include <qwidget.h>
 
18
#include "cvsoptionswidgetbase.h"
 
19
 
 
20
class QLabel;
 
21
class QLineEdit;
 
22
class QVBoxLayout;
 
23
 
 
24
class CvsOptionsWidget : public CvsOptionsWidgetBase
 
25
{
 
26
    Q_OBJECT
 
27
public:
 
28
    CvsOptionsWidget( QWidget *parent, const char *name=0 );
 
29
    virtual ~CvsOptionsWidget();
 
30
 
 
31
    bool pruneEmptyDirWhenUpdating() const;
 
32
    void setPruneEmptyDirWhenUpdating( bool b );
 
33
 
 
34
    bool createNewDirWhenUpdating() const;
 
35
    void setCreateNewDirWhenUpdating( bool b );
 
36
 
 
37
    bool recursiveWhenUpdating() const;
 
38
    void setRecursiveWhenUpdating( bool b );
 
39
 
 
40
    bool recursiveWhenCommittingRemoving() const;
 
41
    void setRecursiveWhenCommittingRemoving( bool b );
 
42
 
 
43
    unsigned int contextLines() const;
 
44
    void setContextLines( unsigned int p );
 
45
 
 
46
    QString diffOptions() const;
 
47
    void setDiffOptions( const QString &p );
 
48
 
 
49
    QString cvsRshEnvVar() const;
 
50
    void setCvsRshEnvVar( const QString &p );
 
51
 
 
52
    QString serverLocation() const;
 
53
    void setServerLocation( const QString &p );
 
54
 
 
55
public slots:
 
56
    void accept();
 
57
 
 
58
private:
 
59
    void readConfig();
 
60
    void storeConfig();
 
61
};
 
62
 
 
63
#endif