diff options
Diffstat (limited to 'src/kbfxplasmacanvasgroup.cpp')
-rw-r--r-- | src/kbfxplasmacanvasgroup.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kbfxplasmacanvasgroup.cpp b/src/kbfxplasmacanvasgroup.cpp index 044fc18..371e622 100644 --- a/src/kbfxplasmacanvasgroup.cpp +++ b/src/kbfxplasmacanvasgroup.cpp @@ -27,7 +27,7 @@ KbfxPlasmaCanvasGroup::KbfxPlasmaCanvasGroup () m_height = 0; m_id = 0; // m_count = 0; - m_name = QString ( "Unknown" ); + m_name = TQString ( "Unknown" ); // bool m_visible = true; m_shaded = false; } @@ -96,7 +96,7 @@ KbfxPlasmaCanvasGroup::addItem ( KbfxPlasmaCanvasAbstractItem * it ) qDebug ( "Adding Failed bcos Name Missing" ); return false; } - ItemListMap::ConstIterator itn = itemListMap ().find ( it ); + ItemListMap::ConstIterator itn = itemListMap ().tqfind ( it ); if ( itn != itemListMap ().end () ) { qDebug ( "Adding Failed Due to Item not end" ); @@ -173,13 +173,13 @@ KbfxPlasmaCanvasGroup::hide() } void -KbfxPlasmaCanvasGroup::setGroupName ( QString name ) +KbfxPlasmaCanvasGroup::setGroupName ( TQString name ) { m_name = name; delete [] name; } -QString +TQString KbfxPlasmaCanvasGroup::name() { return m_name; @@ -271,13 +271,13 @@ KbfxPlasmaCanvasGroup::moveDown ( int y ) } } -QRect +TQRect KbfxPlasmaCanvasGroup::boundingRect () { if ( this->count () == 0 ) - return QRect ( 0, 0, 0, 0 ); + return TQRect ( 0, 0, 0, 0 ); - QRect r; + TQRect r; for ( ItemListIter it ( m_itemList ); *it; ++it ) r |= ( *it )->boundingRect (); return r; @@ -308,7 +308,7 @@ KbfxPlasmaCanvasGroup::width () KbfxPlasmaCanvasGroup * KbfxPlasmaCanvasGroup::groupContaining ( KbfxPlasmaCanvasAbstractItem * item ) { - ItemListMap::ConstIterator it = itemListMap ().find ( item ); + ItemListMap::ConstIterator it = itemListMap ().tqfind ( item ); if ( it == itemListMap ().end () ) return 0; else |