buildtools/script/scriptnewfiledlg.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2001-2002 by Bernd Gehrmann * 00003 * bernd@kdevelop.org * 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 _SCRIPTNEWFILEDLG_H_ 00013 #define _SCRIPTNEWFILEDLG_H_ 00014 00015 #include <qdialog.h> 00016 00017 class QCheckBox; 00018 class QLineEdit; 00019 class ScriptProjectPart; 00020 00021 00022 class ScriptNewFileDialog : public QDialog 00023 { 00024 Q_OBJECT 00025 00026 public: 00027 ScriptNewFileDialog( ScriptProjectPart *part, QWidget *parent=0, const char *name=0 ); 00028 ~ScriptNewFileDialog(); 00029 00030 protected: 00031 virtual void accept(); 00032 00033 private: 00034 QCheckBox *usetemplate_box; 00035 QLineEdit *filename_edit; 00036 ScriptProjectPart *m_part; 00037 }; 00038 00039 #endif