buildtools/autotools/removefiledlg.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2001 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 _REMOVEFILEDLG_H_ 00013 #define _REMOVEFILEDLG_H_ 00014 00015 #include <qdialog.h> 00016 00017 #include "removefiledlgbase.h" 00018 00019 class QCheckBox; 00020 class AutoProjectWidget; 00021 class AutoProjectPart; 00022 class SubprojectItem; 00023 class TargetItem; 00024 00025 00026 class RemoveFileDialog : public RemoveFileDlgBase 00027 { 00028 Q_OBJECT 00029 00030 public: 00031 RemoveFileDialog( AutoProjectWidget *widget, AutoProjectPart* part, SubprojectItem *spitem, 00032 TargetItem *item, const QString &filename, 00033 QWidget *parent=0, const char *name=0 ); 00034 ~RemoveFileDialog(); 00035 00036 protected: 00037 virtual void accept(); 00038 00039 private: 00040 QCheckBox *removeFromTargetsCheckBox; 00041 //QCheckBox *removefromdisk_box; 00042 00043 AutoProjectWidget* m_widget; 00044 AutoProjectPart *m_part; 00045 SubprojectItem *subProject; 00046 TargetItem *target; 00047 QString fileName; 00048 }; 00049 00050 #endif