|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2003 by Mario Scalas *
|
|
|
|
* mario.scalas@libero.it *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#include <klineedit.h>
|
|
|
|
#include <tqcombobox.h>
|
|
|
|
#include <tqcheckbox.h>
|
|
|
|
|
|
|
|
#include "cvsform.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// class CvsForm
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
CvsForm::CvsForm( TQWidget *parent, const char *name, WFlags f )
|
|
|
|
: CvsFormBase( parent, name, f )
|
|
|
|
{
|
|
|
|
setWFlags( getWFlags() | WDestructiveClose );
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
CvsForm::~CvsForm()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
TQString CvsForm::module() const
|
|
|
|
{
|
|
|
|
return module_edit->text();
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
TQString CvsForm::vendor() const
|
|
|
|
{
|
|
|
|
return vendor_edit->text();
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
TQString CvsForm::message() const
|
|
|
|
{
|
|
|
|
return message_edit->text();
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
TQString CvsForm::release() const
|
|
|
|
{
|
|
|
|
return release_edit->text();
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
TQString CvsForm::location() const
|
|
|
|
{
|
|
|
|
return serverPathEdit->text();
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
TQString CvsForm::cvsRsh() const
|
|
|
|
{
|
|
|
|
return cvsRshComboBox->currentText();
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
bool CvsForm::mustInitRoot() const
|
|
|
|
{
|
|
|
|
return init_check->isChecked();
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "cvsform.moc"
|