vcs/clearcase/commentdlg.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Ajay Guleria * 00003 * ajay_guleria at yahoo dot com * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef _CLEARCASECOMMENTDLG_H_ 00013 #define _CLEARCASECOMMENTDLG_H_ 00014 00015 #include <qcheckbox.h> 00016 #include <qdialog.h> 00017 #include <qmultilineedit.h> 00018 00019 class CcaseCommentDlg : public QDialog 00020 { 00021 Q_OBJECT 00022 public: 00023 CcaseCommentDlg(bool = FALSE); 00024 QString logMessage() { return _edit->text(); }; 00025 bool isReserved() { return (_check) ? _check->isChecked() : FALSE; }; 00026 00027 private: 00028 QMultiLineEdit *_edit; 00029 QCheckBox* _check; 00030 }; 00031 00032 #endif