summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasgroup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
commit421b60af92c83b889f8903c2898f2bd07186fcd8 (patch)
treead873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxplasmacanvasgroup.cpp
parent39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff)
downloadkbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz
kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxplasmacanvasgroup.cpp')
-rw-r--r--src/kbfxplasmacanvasgroup.cpp16
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