KDevelop API Documentation

cvsoptionswidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by KDevelop Authors                                *
00003  *   kdevelop-devel@kde.org                                                *
00004  *   Copyright (C) 2003 by Mario Scalas                                    *
00005  *   mario.scalas@libero.it                                                *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  ***************************************************************************/
00013 
00014 #ifndef _CVSOPTIONSWIDGET_H_
00015 #define _CVSOPTIONSWIDGET_H_
00016 
00017 #include <qwidget.h>
00018 #include "cvsoptionswidgetbase.h"
00019 
00020 class QLabel;
00021 class QLineEdit;
00022 class QVBoxLayout;
00023 
00024 class CvsOptionsWidget : public CvsOptionsWidgetBase
00025 {
00026     Q_OBJECT
00027 public:
00028     CvsOptionsWidget( QWidget *parent, const char *name=0 );
00029     virtual ~CvsOptionsWidget();
00030 
00031     bool pruneEmptyDirWhenUpdating() const;
00032     void setPruneEmptyDirWhenUpdating( bool b );
00033 
00034     bool createNewDirWhenUpdating() const;
00035     void setCreateNewDirWhenUpdating( bool b );
00036 
00037     bool recursiveWhenUpdating() const;
00038     void setRecursiveWhenUpdating( bool b );
00039 
00040     bool recursiveWhenCommittingRemoving() const;
00041     void setRecursiveWhenCommittingRemoving( bool b );
00042 
00043     unsigned int contextLines() const;
00044     void setContextLines( unsigned int p );
00045 
00046     QString diffOptions() const;
00047     void setDiffOptions( const QString &p );
00048 
00049     QString cvsRshEnvVar() const;
00050     void setCvsRshEnvVar( const QString &p );
00051 
00052     QString serverLocation() const;
00053     void setServerLocation( const QString &p );
00054 
00055 public slots:
00056     void accept();
00057 
00058 private:
00059     void readConfig();
00060     void storeConfig();
00061 };
00062 
00063 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:43 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003