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

#ifndef UI_HOSTPROFILES_H
#define UI_HOSTPROFILES_H

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

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TDEListView;
class TQPushButton;
class TQListViewItem;

class HostProfiles : public TQWidget
{
    TQ_OBJECT

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

    TDEListView* hostListView;
    TQPushButton* removeHostButton;
    TQPushButton* removeAllButton;

    void load();
    void save();

public slots:
    virtual void removeHost();
    virtual void slotHostDoubleClicked( TQListViewItem * );

signals:
    void hostDoubleClicked(HostPrefPtr);

protected:
    HostPrefPtrList deletedHosts;

    TQGridLayout* HostProfilesLayout;
    TQSpacerItem* spacer3;

protected slots:
    virtual void languageChange();

    void removeAllHosts();
    void selectionChanged();


};

#endif // HOSTPROFILES_H
