/****************************************************************************
** Form interface generated from reading ui file 'sq_codecsettingsskeleton.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_SQ_CODECSETTINGSSKELETON_H
#define UI_SQ_CODECSETTINGSSKELETON_H

#include <ntqvariant.h>
#include <ntqdialog.h>
#include <ksquirrel-libs/settings.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQLabel;
class TQFrame;
class TQGroupBox;
class TQPushButton;

class SQ_CodecSettingsSkeleton : public TQDialog
{
    TQ_OBJECT

public:
    SQ_CodecSettingsSkeleton( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
    ~SQ_CodecSettingsSkeleton();

    TQLabel* codecIcon;
    TQFrame* line2;
    TQLabel* codecName;
    TQGroupBox* groupBox;
    TQFrame* line1;
    TQPushButton* pushApply;
    TQPushButton* pushOK;
    TQPushButton* pushCancel;

    void addSettingsWidget( const TQString & path );
    virtual int exec( fmt_settings & settings );
    void setCodecInfo( const TQPixmap & pixmap, const TQString & text );

signals:
    void apply();

protected:
    TQGridLayout* SQ_CodecSettingsSkeletonLayout;
    TQHBoxLayout* layout2;
    TQSpacerItem* spacer2;

protected slots:
    virtual void languageChange();

private:
    TQWidget *w;
    fmt_settings *sett;

    void init();
    void recursivelyReadWrite( fmt_settings & settings, bool r );

private slots:
    void slotApply();

};

#endif // SQ_CODECSETTINGSSKELETON_H
