diff options
Diffstat (limited to 'vcs/clearcase/commentdlg.h')
-rw-r--r-- | vcs/clearcase/commentdlg.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/vcs/clearcase/commentdlg.h b/vcs/clearcase/commentdlg.h new file mode 100644 index 00000000..8ac50a38 --- /dev/null +++ b/vcs/clearcase/commentdlg.h @@ -0,0 +1,32 @@ +/*************************************************************************** + * Copyright (C) 2003 by Ajay Guleria * + * ajay_guleria at yahoo dot com * + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef _CLEARCASECOMMENTDLG_H_ +#define _CLEARCASECOMMENTDLG_H_ + +#include <qcheckbox.h> +#include <qdialog.h> +#include <qmultilineedit.h> + +class CcaseCommentDlg : public QDialog +{ +Q_OBJECT +public: + CcaseCommentDlg(bool = FALSE); + QString logMessage() { return _edit->text(); }; + bool isReserved() { return (_check) ? _check->isChecked() : FALSE; }; + +private: + QMultiLineEdit *_edit; + QCheckBox* _check; +}; + +#endif |