vcs/cvsservice/releaseinputdialog.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Mario Scalas * 00003 * mario.scalas@libero.it * 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 RELEASEINPUTDIALOG_H 00013 #define RELEASEINPUTDIALOG_H 00014 00015 #include "releaseinputdialogbase.h" 00016 00021 class ReleaseInputDialog : public ReleaseInputDialogBase 00022 { 00023 Q_OBJECT 00024 00025 public: 00030 ReleaseInputDialog( QWidget* parent = 0 ); 00034 virtual ~ReleaseInputDialog(); 00035 00040 QString release() const; 00041 00046 bool isRevert() const; 00047 00048 private: 00049 enum ReleaseType { byHead, byDate, byRevision }; 00050 00051 ReleaseType type() const; 00052 }; 00053 00054 #endif 00055