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

#ifndef UI_MAINDIALOGBASE_H
#define UI_MAINDIALOGBASE_H

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

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQLabel;
class KHistoryCombo;
class KPushButton;
class KActiveLabel;
class TQFrame;
class KLineEdit;
class KComboBox;
class TDEListView;
class TQListViewItem;

class MainDialogBase : public TQWidget
{
    TQ_OBJECT

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

    TQLabel* m_serverLabel;
    KHistoryCombo* m_serverInput;
    KPushButton* m_browseButton;
    KActiveLabel* kActiveLabel2;
    TQFrame* m_browsingPanel;
    KPushButton* m_rescanButton;
    TQLabel* TextLabel1_2;
    KLineEdit* m_searchInput;
    TQLabel* TextLabel1;
    KComboBox* m_scopeCombo;
    TDEListView* m_browsingView;

protected:
    void enableBrowsingArea( bool enable );

    TQGridLayout* MainDialogBaseLayout;
    TQGridLayout* m_browsingPanelLayout;
    TQSpacerItem* Spacer3;
    TQSpacerItem* Spacer4;

protected slots:
    virtual void languageChange();

    virtual void hostChanged( const TQString & text ) = 0;
    virtual void toggleBrowsingArea() = 0;
    virtual void itemSelected( TQListViewItem * item ) = 0;
    virtual void itemDoubleClicked( TQListViewItem * item ) = 0;
    virtual void scopeSelected( const TQString & scope ) = 0;
    virtual void rescan() = 0;


};

#endif // MAINDIALOGBASE_H
