commitdlg.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 1999, 2000 by Bernd Gehrmann * 00003 * bernd@kdevelop.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 _COMMITDIALOG_H_ 00015 #define _COMMITDIALOG_H_ 00016 00017 //#include <qdialog.h> 00018 #include <qstringlist.h> 00019 #include "commitdialogbase.h" 00020 00021 class QTextEdit; 00022 class QCheckBox; 00023 00024 class CommitDialog : public CommitDialogBase 00025 { 00026 Q_OBJECT 00027 public: 00028 CommitDialog( const QString &changeLogfileNamePath, QWidget *parent = 0 ); 00029 00031 QStringList logMessage() const; 00034 bool mustAddToChangeLog() const; 00035 00037 void setChangeLogFileName( const QString &fileName ); 00038 QString changeLogFileName() const; 00039 00040 protected slots: 00042 virtual void accept(); 00043 }; 00044 00045 #endif