diff options
Diffstat (limited to 'kexi/widget/utils/kexiflowlayout.cpp')
-rw-r--r-- | kexi/widget/utils/kexiflowlayout.cpp | 36 |
1 files changed, 0 insertions, 36 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 |