diff options
Diffstat (limited to 'kexi/widget/utils/kexiflowlayout.h')
-rw-r--r-- | kexi/widget/utils/kexiflowlayout.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/widget/utils/kexiflowlayout.h b/kexi/widget/utils/kexiflowlayout.h index 0f6d8384..f48ed140 100644 --- a/kexi/widget/utils/kexiflowlayout.h +++ b/kexi/widget/utils/kexiflowlayout.h @@ -20,10 +20,10 @@ #ifndef KEXIFLOWLAYOUT_H #define KEXIFLOWLAYOUT_H -#include <tqlayout.h> +#include <layout.h> #include <tqptrlist.h> -//! @short a special "flow" tqlayout +//! @short a special "flow" layout class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout { public: @@ -33,14 +33,14 @@ class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout ~KexiFlowLayout(); - /*! \return the widgets in the order of the tqlayout, + /*! \return the widgets in the order of the layout, ie as it is stored in m_list. You must delete the list after using it. */ TQPtrList<TQWidget>* widgetList() const; - /*! Sets tqlayout's orientation to \a orientation. Default orientation isQt::Vertical. */ + /*! Sets layout's orientation to \a orientation. Default orientation isQt::Vertical. */ void setOrientation(Qt::Orientation orientation) { m_orientation = orientation; } - /*! \return tqlayout's orientation. */ + /*! \return layout's orientation. */ Qt::Orientation orientation() const { return m_orientation; } void setJustified(bool justify) { m_justify = justify; } @@ -49,12 +49,12 @@ class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout virtual void addItem(TQLayoutItem *item); virtual void addSpacing(int size); virtual TQLayoutIterator iterator(); - virtual void tqinvalidate(); + virtual void invalidate(); virtual bool hasHeightForWidth() const; virtual int heightForWidth(int width) const; - virtual TQSize tqsizeHint() const; - virtual TQSize tqminimumSize() const; + virtual TQSize sizeHint() const; + virtual TQSize minimumSize() const; virtual TQSizePolicy::ExpandData expanding() const; virtual bool isEmpty(); @@ -75,7 +75,7 @@ class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout int m_cached_hfw; bool m_justify; Qt::Orientation m_orientation; - TQSize m_cached_tqsizeHint; + TQSize m_cached_sizeHint; TQSize m_cached_minSize; }; |