/**********************************************************************

	--- Qt Architect generated file ---

	File: OptionsGeneral.h
	Last generated: Fri Feb 19 20:58:08 1999

	DO NOT EDIT!!!  This file will be automatically
	regenerated by qtarch.  All changes will be lost.

 *********************************************************************/

#ifndef OptionsGeneral_included
#define OptionsGeneral_included

#include <qwidget.h>
#include <qchkbox.h>
#include <qpushbt.h>
#include <qlined.h>
#include <qradiobt.h>
#include <qcombobox.h>

class OptionsGeneral : public QWidget
{
    Q_OBJECT

public:

    OptionsGeneral
    (
        QWidget* parent = NULL,
        const char* name = NULL
    );

    virtual ~OptionsGeneral();

public slots:


protected slots:
	void kdeMimeToggled(bool);
	void localMimeToggled(bool);
	void kdeIconsToggled(bool);
	void localIconsToggled(bool);
	void useMagicToggled(bool);
	void browseMagic();

public:
    QRadioButton* KDEMime;
    QRadioButton* LocalMime;
    QLineEdit* LocalMimeFile;
    QRadioButton* KDEIcons;
    QRadioButton* LocalIcons;
    QLineEdit* LocalIconPath;
    QCheckBox* UseMagic;
    QLineEdit* MagicFile;
    QPushButton* BrowseMagic;
    QLineEdit	*Shell;
    QComboBox	*Startup;
};

inline void OptionsGeneral::kdeMimeToggled(bool val)
{ LocalMimeFile->setEnabled(!val);}

inline void OptionsGeneral::localMimeToggled(bool val)
{ LocalMimeFile->setEnabled(val);}

inline void OptionsGeneral::kdeIconsToggled(bool val)
{ LocalIconPath->setEnabled(!val);}

inline void OptionsGeneral::localIconsToggled(bool val)
{ LocalIconPath->setEnabled(val);}

inline void OptionsGeneral::useMagicToggled(bool val)
{ MagicFile->setEnabled(val); BrowseMagic->setEnabled(val);}

#endif // OptionsGeneral_included
