Rename additional global TQt functions

pull/1/head
Timothy Pearson 13 years ago
parent 25c46269a2
commit 1b904b0fa2

@ -65,7 +65,7 @@ KbfxDataGroup::addItem ( KbfxDataSource * item )
m_index[m_count] = item;
m_count++;
// qDebug("KbfxDataGroup.cpp::addItem("+item->name()+")");
// tqDebug("KbfxDataGroup.cpp::addItem("+item->name()+")");
}
KbfxDataSource*

@ -40,7 +40,7 @@ KbfxDataGroupList::addGroup ( KbfxDataGroup * group )
for ( int i =0; i < ( int ) m_groupList.count();i++ )
{
// qDebug("Curent loop + "+m_groupList.at(i)->name()+"adding "+group->name());
// tqDebug("Curent loop + "+m_groupList.at(i)->name()+"adding "+group->name());
if ( m_groupList.at ( i ) == group )
{
return ;

@ -105,7 +105,7 @@ KbfxPlugin::search ( TQString keyword )
delete m_plugin;
if ( m_group != NULL )
{
// qDebug("KbfxPlugin():search():103:return Valid Group "+m_group->name());
// tqDebug("KbfxPlugin():search():103:return Valid Group "+m_group->name());
return m_group;
}
else return NULL;

@ -36,14 +36,14 @@ KbfxPlasmaCanvasGroup::~KbfxPlasmaCanvasGroup ()
{
for ( ItemListIter it ( m_itemList ); *it; ++it )
{
//qDebug("Trying to delete Item from Rgoup================");
//tqDebug("Trying to delete Item from Rgoup================");
// if(*it)
// delete (*it);
// itemListMap ().remove (*it);
if ( ( *it ) != 0 )
if ( deleteItem ( ( *it ) ) == false )
{
qDebug ( "Deleting failed" );
tqDebug ( "Deleting failed" );
}
}
@ -62,7 +62,7 @@ KbfxPlasmaCanvasGroup::ItemListMap & KbfxPlasmaCanvasGroup::itemListMap ()
bool
KbfxPlasmaCanvasGroup::deleteItem ( KbfxPlasmaCanvasAbstractItem * it )
{
//qDebug("Removing Item from Group");
//tqDebug("Removing Item from Group");
// itemListMap ().remove (it);
//delete it;
//return true;
@ -79,7 +79,7 @@ KbfxPlasmaCanvasGroup::deleteItem ( KbfxPlasmaCanvasAbstractItem * it )
}
else
{
qDebug ( "deleting Item failed" );
tqDebug ( "deleting Item failed" );
return false;
}
}
@ -93,20 +93,20 @@ KbfxPlasmaCanvasGroup::addItem ( KbfxPlasmaCanvasAbstractItem * it )
if ( it->name().isEmpty() )
{
qDebug ( "Adding Failed bcos Name Missing" );
tqDebug ( "Adding Failed bcos Name Missing" );
return false;
}
ItemListMap::ConstIterator itn = itemListMap ().find ( it );
if ( itn != itemListMap ().end () )
{
qDebug ( "Adding Failed Due to Item not end" );
tqDebug ( "Adding Failed Due to Item not end" );
return false;
}
for ( ItemListIter itr ( m_itemList ); *itr; ++itr )
{
if ( ( *itr )->lookup ( it->name() ) == true )
{
qDebug ( "Adding Failed Due to Item already exisits" );
tqDebug ( "Adding Failed Due to Item already exisits" );
return false;
}
}

@ -48,7 +48,7 @@ KbfxPlasmaCanvasGroupView::addGroup ( KbfxPlasmaCanvasGroup * gPtr )
{
if ( gPtr == NULL )
{
qDebug
tqDebug
( "KbfxPlasmaCanvasGroupView.cpp:39:Null Pointer Passed to addGroup()" );
return;
}
@ -60,7 +60,7 @@ KbfxPlasmaCanvasGroupView::addGroup ( KbfxPlasmaCanvasGroup * gPtr )
gPtr->move ( 0,m_height-gPtr->height() );
m_groupChain.append ( gPtr );
// gPtr->show();
// qDebug("adding Groupy");
// tqDebug("adding Groupy");
m_count++;
connect ( gPtr, TQT_SIGNAL ( groupShade ( uint ) ), this,
TQT_SLOT ( foldGroup ( uint ) ) );
@ -150,7 +150,7 @@ KbfxPlasmaCanvasGroupView::show()
/// unFoldGroup(i);
m_groupChain.at ( i )->show();
///qDebug("Showing group %d",i);
///tqDebug("Showing group %d",i);
}
}
@ -190,7 +190,7 @@ KbfxPlasmaCanvasGroupView::unFoldGroup ( uint e_id )
KbfxPlasmaCanvasGroup *_et = m_groupChain.at ( e_id );
if ( _et == NULL )
{
qDebug ( "OOps no such groups can't unfold" );
tqDebug ( "OOps no such groups can't unfold" );
return;
}

@ -30,7 +30,7 @@ void KbfxPlasmaCanvasItem::mousePressEvent ( TQMouseEvent * e )
//TODO:
//implement this class
//emit clicked();
//qDebug("Recive Mouse Press Event");
//tqDebug("Recive Mouse Press Event");
}
void
@ -44,14 +44,14 @@ KbfxPlasmaCanvasItem::mouseReleaseEvent ( TQMouseEvent * e )
void KbfxPlasmaCanvasItem::mouseMoveEvent ( TQMouseEvent * e )
{
e=e;
//qDebug("Item revices Mouse Event");
//tqDebug("Item revices Mouse Event");
}
void KbfxPlasmaCanvasItem::enterEvent ( TQEvent * e )
{
e=e;
//qDebug("Mouse Enters");
//tqDebug("Mouse Enters");
}
void

@ -64,7 +64,7 @@ KbfxPlasmaCanvasStack::raise ( uint id )
KbfxPlasmaCanvasGroupView * _gvPtr = m_groupChain.at ( id );
if ( !_gvPtr )
qDebug ( "Error item not in Stack" );
tqDebug ( "Error item not in Stack" );
else
{
for ( uint i = 0; i < m_groupChain.count (); ++i )
@ -97,7 +97,7 @@ KbfxPlasmaCanvasStack::addGroup ( KbfxPlasmaCanvasGroupView * gPtr )
{
if ( gPtr == NULL )
{
qDebug
tqDebug
( "KbfxPlasmaCanvasStack.cpp:34:Null Pointer Passed to addGroup()" );
return;
}

@ -68,7 +68,7 @@ KbfxPlasmaCanvasView::~KbfxPlasmaCanvasView ()
void
KbfxPlasmaCanvasView::keyPressEvent ( TQKeyEvent * ke )
{
qDebug ( "TQCanvasView got Key events" );
tqDebug ( "TQCanvasView got Key events" );
ke->ignore();
}
@ -79,7 +79,7 @@ KbfxPlasmaCanvasView::execFirst ()
// {
// return;
// }
qDebug("_____----------------------------------------");
tqDebug("_____----------------------------------------");
if ( m_exeCandidate != 0 )
m_exeCandidate->exec ();
}
@ -242,7 +242,7 @@ KbfxPlasmaCanvasView::startDrag ()
src = m_currentItem->source ();
if ( src == 0 )
{
qDebug ( "null source" );
tqDebug ( "null source" );
return;
}
TQStrList uriList;
@ -354,7 +354,7 @@ KbfxPlasmaCanvasView::handleLoadRequest ( KbfxSignal signal )
KbfxDataStack *_stack = m_dataStack[signal.name () ];
if ( _stack == 0 )
{
qDebug ( "Empty Stack" );
tqDebug ( "Empty Stack" );
return;
}
@ -492,7 +492,7 @@ KbfxPlasmaCanvasView::search_R ( const TQString name )
if ( appGroup == NULL )
{
qDebug ( "Null Search Group" );
tqDebug ( "Null Search Group" );
continue;
}

Loading…
Cancel
Save