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

#ifndef UI_CONNECTIONDIALOG_H
#define UI_CONNECTIONDIALOG_H

#include <ntqvariant.h>
#include <ntqpixmap.h>
#include <ntqdialog.h>
#include <tqptrlist.h>
#include "connectionitems.h"

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class ConnectionTable;
class TQPushButton;
class TQLabel;

class ConnectionDialog : public TQDialog
{
    TQ_OBJECT

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

    TQPushButton* PushButton1;
    TQLabel* TextLabel1;
    TQPushButton* PushButton2;
    TQPushButton* PushButton3;
    TQPushButton* PushButton7;
    TQPushButton* buttonEditSlots;
    ConnectionTable* connectionsTable;

public slots:
    virtual void init();
    virtual void addConnection();
    virtual ConnectionContainer * addConnection( TQObject * sender, TQObject * receiver, const TQString & signal, const TQString & slot );
    virtual void updateConnectionState( ConnectionContainer * c );
    virtual void okClicked();
    virtual void cancelClicked();
    virtual void deleteClicked();
    virtual void editSlots();
    virtual void setDefault( TQObject * sender, TQObject * receiver );
    virtual void updateEditSlotsButton();
    virtual void updateConnectionContainers();
    virtual void ensureConnectionVisible();

protected:
    TQPtrList<ConnectionContainer> connections;
    TQObject *defaultSender;
    TQObject *defaultReceiver;

    TQGridLayout* ConnectionDialogLayout;
    TQSpacerItem* Spacer1;

protected slots:
    virtual void languageChange();

private:
    TQPixmap image0;

};

#endif // CONNECTIONDIALOG_H
