/***************************************************************************
 *   Copyright (C) 2002 by Bernd Gehrmann                                  *
 *   bernd@kdevelop.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 _CUSTOMBUILDOPTIONSWIDGET_H_
#define _CUSTOMBUILDOPTIONSWIDGET_H_

#include "custombuildoptionswidgetbase.h"
#include <tqdom.h>

class TQTabWidget;


class CustomBuildOptionsWidget : public CustomBuildOptionsWidgetBase
{
    Q_OBJECT
  

public:
    CustomBuildOptionsWidget( TQDomDocument &dom, TQWidget *parent=0, const char *name=0 );
    ~CustomBuildOptionsWidget();

    void setMakeOptionsWidget(TQTabWidget *tw, TQWidget *mow, TQWidget *oow);

public slots:
    void accept();

private:
    virtual void makeToggled(bool b);
    virtual void otherToggled(bool b);

    TQDomDocument &m_dom;
    TQTabWidget *m_tabWidget;
    TQWidget *m_makeOptions;
    TQWidget *m_otherOptions;
};

#endif
