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

#ifndef UI_SQLCONFIGWIDGET_H
#define UI_SQLCONFIGWIDGET_H

#include <ntqvariant.h>
#include <ntqwidget.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQTable;
class TQLabel;
class KPushButton;
class TQDomDocument;

class SqlConfigWidget : public TQWidget
{
    TQ_OBJECT

public:
    SqlConfigWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~SqlConfigWidget();

    TQTable* dbTable;
    TQLabel* textLabel1;
    KPushButton* removeBtn;
    KPushButton* testBtn;

public slots:
    virtual void init();
    virtual void valueChanged( int, int );
    virtual void removeDb();
    virtual void updateButtons();
    virtual void testDb();
    virtual void accept();
    virtual void setProjectDom( TQDomDocument * doc );
    virtual void loadConfig();

signals:
    void newConfigSaved();

protected:
    TQVBoxLayout* SqlConfigWidgetLayout;
    TQHBoxLayout* layout5;
    TQSpacerItem* spacer4;

protected slots:
    virtual void languageChange();

private:
    TQDomDocument* doc;
    bool changed;

};

#endif // SQLCONFIGWIDGET_H
