diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kexi/widget/utils/kexiflowlayout.h | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
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; }; |