diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/flowcontainer.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/flowcontainer.h')
-rw-r--r-- | src/flowcontainer.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/flowcontainer.h b/src/flowcontainer.h index 9afa401..a3dbecb 100644 --- a/src/flowcontainer.h +++ b/src/flowcontainer.h @@ -21,8 +21,9 @@ class RectangularOverlay; class FlowContainer : public FlowPart { Q_OBJECT + TQ_OBJECT public: - FlowContainer( ICNDocument *_icnView, bool newItem, const QString &id ); + FlowContainer( ICNDocument *_icnView, bool newItem, const TQString &id ); virtual ~FlowContainer(); virtual bool canResize() const { return true; } @@ -38,15 +39,15 @@ public: */ bool isExpanded() const { return b_expanded; } /** - * Returns true if one of this parents is collapsed. + * Returns true if one of this tqparents is collapsed. */ - bool parentIsCollapsed() const; + bool tqparentIsCollapsed() const; void setExpanded( bool expanded ); virtual void setSelected( bool yes ); virtual void setVisible( bool yes ); - virtual QSize minimumSize() const; + virtual TQSize tqminimumSize() const; /** * Update the visibility of items, connectors, nodes in the flowcontainer */ @@ -59,12 +60,12 @@ protected: virtual void childRemoved( Item *child ); virtual void updateAttachedPositioning(); virtual void postResize(); - virtual void filterEndPartIDs( QStringList *ids ); - virtual void drawShape( QPainter &p ); + virtual void filterEndPartIDs( TQStringList *ids ); + virtual void drawShape( TQPainter &p ); void createTopContainerNode(); void createBotContainerNode(); - virtual void buttonStateChanged(const QString &id, bool state); + virtual void buttonStateChanged(const TQString &id, bool state); FPNode *m_ext_in; FPNode *m_int_in; |