|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2001 by Bernd Gehrmann *
|
|
|
|
* bernd@tdevelop.org *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _ADDFILEDLG_H_
|
|
|
|
#define _ADDFILEDLG_H_
|
|
|
|
|
|
|
|
#include <tqdialog.h>
|
|
|
|
|
|
|
|
#include "addfiledlgbase.h"
|
|
|
|
|
|
|
|
class TQCheckBox;
|
|
|
|
class TQLineEdit;
|
|
|
|
class AutoProjectPart;
|
|
|
|
class AutoProjectWidget;
|
|
|
|
class SubprojectItem;
|
|
|
|
class TargetItem;
|
|
|
|
|
|
|
|
|
|
|
|
class AddFileDialog : public AddFileDlgBase
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
AddFileDialog( AutoProjectPart *part, AutoProjectWidget *widget,
|
|
|
|
SubprojectItem *spitem, TargetItem *item,
|
|
|
|
TQWidget *parent = 0, const char *name = 0 );
|
|
|
|
~AddFileDialog();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void accept();
|
|
|
|
|
|
|
|
private:
|
|
|
|
AutoProjectPart *m_part;
|
|
|
|
AutoProjectWidget *m_widget;
|
|
|
|
SubprojectItem *subProject;
|
|
|
|
TargetItem *target;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|