diff options
Diffstat (limited to 'kexi/widget')
-rw-r--r-- | kexi/widget/utils/kexiflowlayout.cpp | 36 | ||||
-rw-r--r-- | kexi/widget/utils/kexiflowlayout.h | 4 |
2 files changed, 0 insertions, 40 deletions
diff --git a/kexi/widget/utils/kexiflowlayout.cpp b/kexi/widget/utils/kexiflowlayout.cpp index 38259277..14e5e959 100644 --- a/kexi/widget/utils/kexiflowlayout.cpp +++ b/kexi/widget/utils/kexiflowlayout.cpp @@ -113,13 +113,7 @@ KexiFlowLayout::addSpacing(int size) TQLayoutIterator KexiFlowLayout::iterator() { - // [FIXME] -#ifdef USE_QT4 - #warning [FIXME] ContainerAreaLayout iterators may not function correctly under Qt4 - return TQLayoutIterator( this ); // [FIXME] -#else // USE_QT4 return TQLayoutIterator( new KexiFlowLayoutIterator(&m_list) ); -#endif // USE_QT4 } TQPtrList<TQWidget>* @@ -455,33 +449,3 @@ KexiFlowLayout::doVerticalLayout(const TQRect &r, bool testOnly) // return our width return x + w - r.x(); } - -#ifdef USE_QT4 -/*! - \reimp -*/ -int KexiFlowLayout::count() const { - return m_list.count(); -} - -/*! - \reimp -*/ -TQLayoutItem* KexiFlowLayout::itemAt(int index) const { - return index >= 0 && index < m_list.count() ? (const_cast<TQPtrList<TQLayoutItem>&>(m_list).at(index)) : 0; -} - -/*! - \reimp -*/ -TQLayoutItem* KexiFlowLayout::takeAt(int index) { - if (index < 0 || index >= m_list.count()) - return 0; - TQLayoutItem *item = m_list.at(index); - m_list.remove(m_list.at(index)); - delete item; - - invalidate(); - return item; -} -#endif // USE_QT4 diff --git a/kexi/widget/utils/kexiflowlayout.h b/kexi/widget/utils/kexiflowlayout.h index 7353f16f..fa48df6f 100644 --- a/kexi/widget/utils/kexiflowlayout.h +++ b/kexi/widget/utils/kexiflowlayout.h @@ -59,10 +59,6 @@ class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout virtual bool isEmpty(); -#ifdef USE_QT4 - QLAYOUT_REQUIRED_METHOD_DECLARATIONS -#endif // USE_QT4 - protected: virtual void setGeometry(const TQRect&); int simulateLayout(const TQRect &r); |