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

#ifndef UI_KLC_H
#define UI_KLC_H

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

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQPushButton;
class TQListView;
class TQListViewItem;
class TQLabel;
class KDirLister;
namespace TDEIO { class Job; };

class KLC : public TQWidget
{
    TQ_OBJECT

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

    TQPushButton* pushApply;
    TQPushButton* pushClose;
    TQListView* listDisabled;
    TQLabel* textLabel1_2;
    TQLabel* textLabel1;
    TQListView* listEnabled;

protected:
    virtual void closeEvent( TQCloseEvent * ev );

    TQGridLayout* KLCLayout;
    TQHBoxLayout* layout1;
    TQSpacerItem* spacer1;

protected slots:
    virtual void languageChange();

private:
    KURL base, backup;
    KDirLister *lister;
    TQString backupDir;
    bool changed;

    void init();
    void destroy();
    void moveCodecs( bool e2d );

private slots:
    virtual void slotLoad();
    virtual void slotApply();
    virtual void slotCompleted( const KURL & u );
    virtual void slotNewItems( const KFileItemList & list );
    virtual void slotDeleteItem( KFileItem * fi );
    virtual void slotDelResult( TDEIO::Job * job );

};

#endif // KLC_H
