summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/connectionitems.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/connectionitems.h')
-rw-r--r--kdevdesigner/designer/connectionitems.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/kdevdesigner/designer/connectionitems.h b/kdevdesigner/designer/connectionitems.h
index 2442e475..2af42b6b 100644
--- a/kdevdesigner/designer/connectionitems.h
+++ b/kdevdesigner/designer/connectionitems.h
@@ -29,7 +29,7 @@
class FormWindow;
-#include <qtable.h>
+#include <tqtable.h>
class SenderItem;
class ReceiverItem;
@@ -38,16 +38,16 @@ class SlotItem;
class ConnectionContainer;
-class ConnectionItem : public QObject,
+class ConnectionItem : public TQObject,
public QComboTableItem
{
Q_OBJECT
public:
- ConnectionItem( QTable *table, FormWindow *fw );
+ ConnectionItem( TQTable *table, FormWindow *fw );
- void paint( QPainter *p, const QColorGroup &cg,
- const QRect &cr, bool selected );
+ void paint( TQPainter *p, const TQColorGroup &cg,
+ const TQRect &cr, bool selected );
void setSender( SenderItem *i );
void setReceiver( ReceiverItem *i );
@@ -56,10 +56,10 @@ public:
void setConnection( ConnectionContainer *c );
public slots:
- virtual void senderChanged( QObject *sender );
- virtual void receiverChanged( QObject *receiver );
- virtual void signalChanged( const QString &sig );
- virtual void slotChanged( const QString &slot );
+ virtual void senderChanged( TQObject *sender );
+ virtual void receiverChanged( TQObject *receiver );
+ virtual void signalChanged( const TQString &sig );
+ virtual void slotChanged( const TQString &slot );
signals:
void changed();
@@ -79,15 +79,15 @@ class SenderItem : public ConnectionItem
Q_OBJECT
public:
- SenderItem( QTable *table, FormWindow *fw );
- QWidget *createEditor() const;
- void setSenderEx( QObject *sender );
+ SenderItem( TQTable *table, FormWindow *fw );
+ TQWidget *createEditor() const;
+ void setSenderEx( TQObject *sender );
signals:
- void currentSenderChanged( QObject *sender );
+ void currentSenderChanged( TQObject *sender );
private slots:
- void senderChanged( const QString &sender );
+ void senderChanged( const TQString &sender );
};
@@ -98,15 +98,15 @@ class ReceiverItem : public ConnectionItem
Q_OBJECT
public:
- ReceiverItem( QTable *table, FormWindow *fw );
- QWidget *createEditor() const;
- void setReceiverEx( QObject *receiver );
+ ReceiverItem( TQTable *table, FormWindow *fw );
+ TQWidget *createEditor() const;
+ void setReceiverEx( TQObject *receiver );
signals:
- void currentReceiverChanged( QObject *receiver );
+ void currentReceiverChanged( TQObject *receiver );
private slots:
- void receiverChanged( const QString &receiver );
+ void receiverChanged( const TQString &receiver );
};
@@ -117,13 +117,13 @@ class SignalItem : public ConnectionItem
Q_OBJECT
public:
- SignalItem( QTable *table, FormWindow *fw );
+ SignalItem( TQTable *table, FormWindow *fw );
- void senderChanged( QObject *sender );
- QWidget *createEditor() const;
+ void senderChanged( TQObject *sender );
+ TQWidget *createEditor() const;
signals:
- void currentSignalChanged( const QString & );
+ void currentSignalChanged( const TQString & );
};
@@ -134,24 +134,24 @@ class SlotItem : public ConnectionItem
Q_OBJECT
public:
- SlotItem( QTable *table, FormWindow *fw );
+ SlotItem( TQTable *table, FormWindow *fw );
- void receiverChanged( QObject *receiver );
- void signalChanged( const QString &signal );
- QWidget *createEditor() const;
+ void receiverChanged( TQObject *receiver );
+ void signalChanged( const TQString &signal );
+ TQWidget *createEditor() const;
void customSlotsChanged();
signals:
- void currentSlotChanged( const QString & );
+ void currentSlotChanged( const TQString & );
private:
void updateSlotList();
bool ignoreSlot( const char* slot ) const;
private:
- QObject *lastReceiver;
- QString lastSignal;
+ TQObject *lastReceiver;
+ TQString lastSignal;
};
@@ -162,18 +162,18 @@ class ConnectionContainer : public QObject
Q_OBJECT
public:
- ConnectionContainer( QObject *parent, SenderItem *i1, SignalItem *i2,
+ ConnectionContainer( TQObject *parent, SenderItem *i1, SignalItem *i2,
ReceiverItem *i3, SlotItem *i4, int r )
- : QObject( parent ), mod( FALSE ), se( i1 ), si( i2 ),
+ : TQObject( parent ), mod( FALSE ), se( i1 ), si( i2 ),
re( i3 ), sl( i4 ), rw ( r ) {
i1->setConnection( this );
i2->setConnection( this );
i3->setConnection( this );
i4->setConnection( this );
- connect( i1, SIGNAL( changed() ), this, SLOT( somethingChanged() ) );
- connect( i2, SIGNAL( changed() ), this, SLOT( somethingChanged() ) );
- connect( i3, SIGNAL( changed() ), this, SLOT( somethingChanged() ) );
- connect( i4, SIGNAL( changed() ), this, SLOT( somethingChanged() ) );
+ connect( i1, TQT_SIGNAL( changed() ), this, TQT_SLOT( somethingChanged() ) );
+ connect( i2, TQT_SIGNAL( changed() ), this, TQT_SLOT( somethingChanged() ) );
+ connect( i3, TQT_SIGNAL( changed() ), this, TQT_SLOT( somethingChanged() ) );
+ connect( i4, TQT_SIGNAL( changed() ), this, TQT_SLOT( somethingChanged() ) );
}
bool isModified() const { return mod; }