/****************************************************************************
** Form interface generated from reading ui file '/usr/src/ports/qt3/qt3-3.3.8b-18.i686/src/qt-x11-free-3.3.8b/tools/designer/designer/connectiondialog.ui'
**
** Created by User Interface Compiler
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef CONNECTIONDIALOG_H
#define CONNECTIONDIALOG_H

#include <qvariant.h>
#include <qpixmap.h>
#include <qdialog.h>
#include <qptrlist.h>
#include "connectionitems.h"

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class ConnectionTable;
class QPushButton;
class QLabel;

class ConnectionDialog : public QDialog
{
    Q_OBJECT

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

    QPushButton* PushButton1;
    QLabel* TextLabel1;
    QPushButton* PushButton2;
    QPushButton* PushButton3;
    QPushButton* PushButton7;
    QPushButton* buttonEditSlots;
    ConnectionTable* connectionsTable;

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

protected:
    QPtrList<ConnectionContainer> connections;
    QObject *defaultSender;
    QObject *defaultReceiver;

    QGridLayout* ConnectionDialogLayout;
    QSpacerItem* Spacer1;

protected slots:
    virtual void languageChange();

private:
    QPixmap image0;

};

#endif // CONNECTIONDIALOG_H
