diff options
Diffstat (limited to 'src/kvirc/ui')
-rw-r--r-- | src/kvirc/ui/kvi_channel.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_console.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_customtoolbar.cpp | 6 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_frame.cpp | 10 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_input.cpp | 16 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_ircview.cpp | 24 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_maskeditor.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_mdimanager.cpp | 8 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_menubar.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_splash.h | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_statusbar.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_styled_controls.cpp | 18 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_taskbar.cpp | 4 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_texticonwin.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_userlistview.cpp | 4 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_window.cpp | 8 |
16 files changed, 56 insertions, 56 deletions
diff --git a/src/kvirc/ui/kvi_channel.cpp b/src/kvirc/ui/kvi_channel.cpp index 1716a03..72beac3 100644 --- a/src/kvirc/ui/kvi_channel.cpp +++ b/src/kvirc/ui/kvi_channel.cpp @@ -329,7 +329,7 @@ void KviChannel::loadProperties(KviConfig *cfg) def.append((w * 82) / 100); def.append((w * 18) / 100); m_pSplitter->setSizes(cfg->readIntListEntry("Splitter",def)); - //debug("SETTING DEFAULT SIZES"); + //tqDebug("SETTING DEFAULT SIZES"); def.clear(); def.append((w * 60) / 100); diff --git a/src/kvirc/ui/kvi_console.cpp b/src/kvirc/ui/kvi_console.cpp index 6769d00..46a7b38 100644 --- a/src/kvirc/ui/kvi_console.cpp +++ b/src/kvirc/ui/kvi_console.cpp @@ -772,7 +772,7 @@ void KviConsole::outputPrivmsg(KviWindow *wnd, #else szMsg += TQStyleSheet::escape(szDecodedMessage); #endif - //debug("kvi_console.cpp:629 debug: %s",szMsg.data()); + //tqDebug("kvi_console.cpp:629 debug: %s",szMsg.data()); g_pApp->notifierMessage(wnd,KVI_OPTION_MSGTYPE(iSaveType).pixId(),szMsg,90); } } diff --git a/src/kvirc/ui/kvi_customtoolbar.cpp b/src/kvirc/ui/kvi_customtoolbar.cpp index 0e7bcad..b420129 100644 --- a/src/kvirc/ui/kvi_customtoolbar.cpp +++ b/src/kvirc/ui/kvi_customtoolbar.cpp @@ -473,12 +473,12 @@ void KviCustomToolBar::drag(TQWidget * child,const TQPoint &pnt) { int me = -1; int idx = dropIndexAt(pnt,child,&me); - debug("DROP INDEX IS %d, ME IS %d",idx,me); + tqDebug("DROP INDEX IS %d, ME IS %d",idx,me); if(idx == me) return; // would move over itself #ifdef COMPILE_USE_QT4 TQWidget * pWidgetToMove = widgetAt(idx > me ? idx-1 : idx); - debug("SEARCHING FOR WIDGET TO MOVE AT %d AND FOUND %x (ME=%x)",idx > me ? idx-1 : idx,pWidgetToMove,child); + tqDebug("SEARCHING FOR WIDGET TO MOVE AT %d AND FOUND %x (ME=%x)",idx > me ? idx-1 : idx,pWidgetToMove,child); if(pWidgetToMove == child) return; // hmmm bool bDone = false; @@ -492,7 +492,7 @@ void KviCustomToolBar::drag(TQWidget * child,const TQPoint &pnt) a = actionForWidget(pWidgetToMove); if(a) { - debug("AND GOT ACTION FOR THAT WIDGET"); + tqDebug("AND GOT ACTION FOR THAT WIDGET"); bDone = true; a = insertWidget(a,child); diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp index 0af2393..8e651ad 100644 --- a/src/kvirc/ui/kvi_frame.cpp +++ b/src/kvirc/ui/kvi_frame.cpp @@ -267,7 +267,7 @@ void KviFrame::saveModuleExtensionToolBars() s += ":"; s += t->descriptor()->name().ptr(); - //debug("FOUND TOOLBAR %s",t->descriptor()->name().ptr()); + //tqDebug("FOUND TOOLBAR %s",t->descriptor()->name().ptr()); KVI_OPTION_STRINGLIST(KviOption_stringlistModuleExtensionToolbars).append(s); } @@ -421,7 +421,7 @@ void KviFrame::accelActivated(int id) int keys = (int)(acc->key(id)); KviTaskBarItem *item = 0; - debug("accel"); + tqDebug("accel"); switch(keys) { case (TQt::Key_Left+TQt::ALT): switchToPrevWindow(); break; @@ -533,7 +533,7 @@ void KviFrame::saveWindowProperties(KviWindow * wnd,const char * szSection) } if(minKey.hasData())g_pWinPropertiesConfig->clearGroup(minKey.ptr()); - else debug("Oops...no minimum key found!"); + else tqDebug("Oops...no minimum key found!"); } // The following line should NOT be needed...but just to be sure... @@ -1164,7 +1164,7 @@ void KviFrame::toolbarsPopupSelected(int id) bool KviFrame::focusNextPrevChild(bool next) { - //debug("FOCUS NEXT PREV CHILD"); + //tqDebug("FOCUS NEXT PREV CHILD"); TQWidget * w = focusWidget(); if(w) { @@ -1227,7 +1227,7 @@ void KviFrame::restoreToolBarPositions() { #ifdef COMPILE_USE_QT4 if(!restoreState(f.readAll(),1)) - debug("Error while restoring toolbars position"); + tqDebug("Error while restoring toolbars position"); #else //!COMPILE_USE_QT4 TQTextStream ts(&f); ts >> *this; diff --git a/src/kvirc/ui/kvi_input.cpp b/src/kvirc/ui/kvi_input.cpp index 5069305..4316efe 100644 --- a/src/kvirc/ui/kvi_input.cpp +++ b/src/kvirc/ui/kvi_input.cpp @@ -265,10 +265,10 @@ void KviInputEditor::dropEvent(TQDropEvent *e) TQStringList list; if(KviUriDrag::decodeLocalFiles(e,list)) { - //debug("Local files decoded"); + //tqDebug("Local files decoded"); if(!list.isEmpty()) { - //debug("List not empty"); + //tqDebug("List not empty"); TQStringList::ConstIterator it = list.begin(); //kewl ! :) for( ; it != list.end(); ++it ) { @@ -695,7 +695,7 @@ void KviInputEditor::extractNextBlock(int idx,TQFontMetrics & fm,int curXPos,int } break; default: - debug("Ops.."); + tqDebug("Ops.."); exit(0); break; } @@ -746,7 +746,7 @@ void KviInputEditor::runUpToTheFirstVisibleChar() } break; case 0: - debug("KviInputEditor::Encountered invisible end of the string!"); + tqDebug("KviInputEditor::Encountered invisible end of the string!"); exit(0); break; } @@ -1572,7 +1572,7 @@ void KviInputEditor::keyPressEvent(TQKeyEvent *e) return; } - //debug("%c",e->ascii()); + //tqDebug("%c",e->ascii()); if(!m_bReadOnly) { insertText(e->text()); } @@ -1750,7 +1750,7 @@ void KviInputEditor::keyReleaseEvent(TQKeyEvent *e) unsigned short ch = m_szAltKeyCode.toUShort(&bOk); if(bOk && ch != 0) { - //debug("INSERTING CHAR %d",ch); + //tqDebug("INSERTING CHAR %d",ch); insertChar(TQChar(ch)); e->accept(); } @@ -2155,7 +2155,7 @@ int KviInputEditor::xPositionFromCharIndex(int chIdx,bool bContentsCoords) // FIXME: this could use fm.width(m_szTextBuffer,chIdx) int curXPos = bContentsCoords ? KVI_INPUT_MARGIN : frameWidth()+KVI_INPUT_MARGIN; int curChar = m_iFirstVisibleChar; - //debug("%i",g_pLastFontMetrics); + //tqDebug("%i",g_pLastFontMetrics); if(!g_pLastFontMetrics) g_pLastFontMetrics = new TQFontMetrics(KVI_OPTION_FONT(KviOption_fontInput)); while(curChar < chIdx) { @@ -2442,7 +2442,7 @@ void KviInput::inputEditorEnterPressed() void KviInput::keyPressEvent(TQKeyEvent *e) { - //debug("KviInput::keyPressEvent(key:%d,state:%d,text:%s)",e->key(),e->state(),e->text().isEmpty() ? "empty" : e->text().utf8().data()); + //tqDebug("KviInput::keyPressEvent(key:%d,state:%d,text:%s)",e->key(),e->state(),e->text().isEmpty() ? "empty" : e->text().utf8().data()); if((e->state() & TQt::ControlButton) || (e->state() & TQt::AltButton) || (e->state() & TQt::MetaButton)) { diff --git a/src/kvirc/ui/kvi_ircview.cpp b/src/kvirc/ui/kvi_ircview.cpp index 8a37cd6..255b588 100644 --- a/src/kvirc/ui/kvi_ircview.cpp +++ b/src/kvirc/ui/kvi_ircview.cpp @@ -546,7 +546,7 @@ void KviIrcView::stopLogging() gzclose(file); m_pLogFile->remove(); } else { - debug("Cannot open compressed stream"); + tqDebug("Cannot open compressed stream"); } } } @@ -599,7 +599,7 @@ void KviIrcView::flushLog() gzclose(file); m_pLogFile->remove(); } else { - debug("Cannot open compressed stream"); + tqDebug("Cannot open compressed stream"); } } m_pLogFile->open(IO_Append|IO_WriteOnly); @@ -718,7 +718,7 @@ void KviIrcView::add2Log(const TQString &szBuffer,int iMsgType) { TQString szToWrite=TQString("%1 %2\n").arg(iMsgType).arg(szBuffer); KviTQCString szTmp = KviTQString::toUtf8(szToWrite); - if(m_pLogFile->writeBlock(szTmp.data(),szTmp.length())==-1) debug("WARNING : Can not write to the log file."); + if(m_pLogFile->writeBlock(szTmp.data(),szTmp.length())==-1) tqDebug("WARNING : Can not write to the log file."); } //============================================================================= @@ -863,10 +863,10 @@ void KviIrcView::setTimestamp(bool bTimestamp) // nAttributes += (l->uChunkCount); // l = l->pNext; // } -// debug("\n\nLines = %u (%u bytes - %u KB) (avg %u bytes per line)",nLines,nAlloc,nAlloc / 1024,nLines ? (nAlloc / nLines) : 0); -// debug("string bytes = %u (%u KB)",nStringBytes,nStringBytes / 1024); -// debug("attributes = %u (%u bytes - %u KB)",nAttributes,nAttrBytes,nAttrBytes / 1024); -// debug("blocks = %u (%u bytes - %u KB)\n",nBlocks,nBlockBytes,nBlockBytes / 1024); +// tqDebug("\n\nLines = %u (%u bytes - %u KB) (avg %u bytes per line)",nLines,nAlloc,nAlloc / 1024,nLines ? (nAlloc / nLines) : 0); +// tqDebug("string bytes = %u (%u KB)",nStringBytes,nStringBytes / 1024); +// tqDebug("attributes = %u (%u bytes - %u KB)",nAttributes,nAttrBytes,nAttrBytes / 1024); +// tqDebug("blocks = %u (%u bytes - %u KB)\n",nBlocks,nBlockBytes,nBlockBytes / 1024); } */ @@ -3052,7 +3052,7 @@ void KviIrcView::paintEvent(TQPaintEvent *p) //case KVI_TEXT_ICON: //case KVI_TEXT_UNICON: // does nothing - //debug("Have a block with ICON/UNICON attr"); + //tqDebug("Have a block with ICON/UNICON attr"); //break; } @@ -3281,7 +3281,7 @@ no_selection_paint: moredown += ((m_iFontLineSpacing - daIcon->height()) / 2); pa.drawPixmap(curLeftCoord + m_iIconSideSpacing,imageYPos + moredown,*(daIcon)); - //debug("SHifting by %d",block->block_width); + //tqDebug("SHifting by %d",block->block_width); curLeftCoord += block->block_width; } else { @@ -3495,7 +3495,7 @@ void KviIrcView::calculateLineWraps(KviIrcViewLine *ptr,int maxWidth) if(curLineWidth < maxWidth) { - //debug("Block of %d pix and len %d with type %d",ptr->pBlocks[ptr->iBlockCount].block_width,ptr->pBlocks[ptr->iBlockCount].block_len,ptr->pChunks[curAttrBlock].type); + //tqDebug("Block of %d pix and len %d with type %d",ptr->pBlocks[ptr->iBlockCount].block_width,ptr->pBlocks[ptr->iBlockCount].block_len,ptr->pChunks[curAttrBlock].type); //Ok....proceed to next block ptr->pBlocks[ptr->iBlockCount].block_len = curBlockLen; ptr->pBlocks[ptr->iBlockCount].block_width = curBlockWidth; @@ -3712,7 +3712,7 @@ bool KviIrcView::checkSelectionBlock(KviIrcViewLine * line,int left,int bottom,i } m_pWrappedBlockSelectionInfo->part_2_length = line->pBlocks[bufIndex].block_len-m_pWrappedBlockSelectionInfo->part_1_length; m_pWrappedBlockSelectionInfo->part_2_width = line->pBlocks[bufIndex].block_width-m_pWrappedBlockSelectionInfo->part_1_width; - //debug("%d",m_pWrappedBlockSelectionInfo->part_2_width); + //tqDebug("%d",m_pWrappedBlockSelectionInfo->part_2_width); return true; } //Selection begins in THIS BLOCK! @@ -4803,7 +4803,7 @@ void KviIrcView::mouseReleaseEvent(TQMouseEvent *) void KviIrcView::mouseMoveEvent(TQMouseEvent *e) { -// debug("Pos : %d,%d",e->pos().x(),e->pos().y()); +// tqDebug("Pos : %d,%d",e->pos().x(),e->pos().y()); if(m_bMouseIsDown && (e->state() & Qt::LeftButton)) // m_bMouseIsDown MUST BE true...(otherwise the mouse entered the window with the button pressed ?) { diff --git a/src/kvirc/ui/kvi_maskeditor.cpp b/src/kvirc/ui/kvi_maskeditor.cpp index fb485a7..d120516 100644 --- a/src/kvirc/ui/kvi_maskeditor.cpp +++ b/src/kvirc/ui/kvi_maskeditor.cpp @@ -305,7 +305,7 @@ void KviMaskEditor::addClicked() void KviMaskEditor::addMask(KviMaskEntry *e) { -// debug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); +// tqDebug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); KviMaskItem *it; it = new KviMaskItem(m_pMaskBox,e); it->setPixmap(0,*(g_pIconManager->getSmallIcon(m_iIconId))); diff --git a/src/kvirc/ui/kvi_mdimanager.cpp b/src/kvirc/ui/kvi_mdimanager.cpp index f5dee8e..daff2db 100644 --- a/src/kvirc/ui/kvi_mdimanager.cpp +++ b/src/kvirc/ui/kvi_mdimanager.cpp @@ -126,7 +126,7 @@ bool KviMdiManager::focusNextPrevChild(bool bNext) void KviMdiManager::drawContents(TQPainter *p,int x,int y,int w,int h) { - //debug("MY DRAW CONTENTS (%d,%d,%d,%d)",x,y,w,h); + //tqDebug("MY DRAW CONTENTS (%d,%d,%d,%d)",x,y,w,h); TQRect r(x,y,w,h); #ifdef COMPILE_PSEUDO_TRANSPARENCY @@ -430,7 +430,7 @@ void KviMdiManager::focusTopChild() if(!lpC)return; if(!lpC->isVisible())return; // if(lpC->state()==KviMdiChild::Minimized)return; - // debug("Focusing top child %s",lpC->name()); + // tqDebug("Focusing top child %s",lpC->name()); //disable the labels of all the other children for(KviMdiChild *pC=m_pZ->first();pC;pC=m_pZ->next()) { @@ -1008,13 +1008,13 @@ void KviMdiManager::tileAllInternal(int maxWnds,bool bHorizontal) int numToHandle=((numVisible > maxWnds) ? maxWnds : numVisible); int xQuantum=viewport()->width()/pColstable[numToHandle-1]; if(xQuantum < ((lpTop->minimumSize().width() > KVI_MDICHILD_MIN_WIDTH) ? lpTop->minimumSize().width() : KVI_MDICHILD_MIN_WIDTH)){ - if(pColrecall[numToHandle-1]==0)debug("Tile : Not enouh space"); + if(pColrecall[numToHandle-1]==0)tqDebug("Tile : Not enouh space"); else tileAllInternal(pColrecall[numToHandle-1],bHorizontal); return; } int yQuantum=viewport()->height()/pRowstable[numToHandle-1]; if(yQuantum < ((lpTop->minimumSize().height() > KVI_MDICHILD_MIN_HEIGHT) ? lpTop->minimumSize().height() : KVI_MDICHILD_MIN_HEIGHT)){ - if(pRowrecall[numToHandle-1]==0)debug("Tile : Not enough space"); + if(pRowrecall[numToHandle-1]==0)tqDebug("Tile : Not enough space"); else tileAllInternal(pRowrecall[numToHandle-1],bHorizontal); return; } diff --git a/src/kvirc/ui/kvi_menubar.cpp b/src/kvirc/ui/kvi_menubar.cpp index d2104dd..f3b7544 100644 --- a/src/kvirc/ui/kvi_menubar.cpp +++ b/src/kvirc/ui/kvi_menubar.cpp @@ -96,7 +96,7 @@ KviMenuBar::~KviMenuBar() void KviMenuBar::showEvent(TQShowEvent *e) { #ifdef COMPILE_USE_QT4 - debug("menubar show"); + tqDebug("menubar show"); // force a re-layout of the menubar in TQt4 (see the note in enterSDIMode()) // by resetting the corner widget m_pFrm->mdiManager()->relayoutMenuButtons(); diff --git a/src/kvirc/ui/kvi_splash.h b/src/kvirc/ui/kvi_splash.h index e522d53..a75c937 100644 --- a/src/kvirc/ui/kvi_splash.h +++ b/src/kvirc/ui/kvi_splash.h @@ -67,7 +67,7 @@ protected slots: extern KVIRC_API KviSplashScreen * g_pSplashScreen; #define KVI_SPLASH_SET_PROGRESS(__val) if(g_pSplashScreen)g_pSplashScreen->setProgress(__val); -//#define KVI_SPLASH_SET_TEXT(__txt) if(g_pSplashScreen){ g_pSplashScreen->message(__txt); debug(__txt.latin1()); } +//#define KVI_SPLASH_SET_TEXT(__txt) if(g_pSplashScreen){ g_pSplashScreen->message(__txt); tqDebug(__txt.latin1()); } #endif //_KVI_SPLASH_H_ diff --git a/src/kvirc/ui/kvi_statusbar.cpp b/src/kvirc/ui/kvi_statusbar.cpp index 481a521..296b56f 100644 --- a/src/kvirc/ui/kvi_statusbar.cpp +++ b/src/kvirc/ui/kvi_statusbar.cpp @@ -166,7 +166,7 @@ void KviStatusBar::load() if (a) a->loadState(prefix.ptr(),&cfg); else - debug("warning: failed to create applet %s (preload: %s)!", + tqDebug("warning: failed to create applet %s (preload: %s)!", szInternalName.utf8().data(), szPreloadModule.utf8().data()); } } diff --git a/src/kvirc/ui/kvi_styled_controls.cpp b/src/kvirc/ui/kvi_styled_controls.cpp index 6f7e8e6..d32d5dd 100644 --- a/src/kvirc/ui/kvi_styled_controls.cpp +++ b/src/kvirc/ui/kvi_styled_controls.cpp @@ -66,8 +66,8 @@ bool KviStyledControlInternal::eventFilter( TQObject *obj, TQEvent *ev ) void KviStyledControlInternal::paintTimerShot () { -// debug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); -// debug("%s %i",__FUNCTION__,m_pControl->m_iStepNumber); +// tqDebug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); +// tqDebug("%s %i",__FUNCTION__,m_pControl->m_iStepNumber); if(m_pControl->m_bMouseEnter) { m_pControl->m_iStepNumber++; @@ -105,7 +105,7 @@ KviStyledControl::~KviStyledControl() void KviStyledControl::enterEvent ( TQEvent * ) { -// debug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); +// tqDebug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); if(m_pWidget->isEnabled() && KVI_OPTION_BOOL(KviOption_boolEnableVisualEffects)) { if(m_iStepNumber<KVI_STYLE_NUM_STEPS) @@ -124,7 +124,7 @@ void KviStyledControl::enterEvent ( TQEvent * ) void KviStyledControl::leaveEvent ( TQEvent * ) { -// debug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); +// tqDebug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); if(m_pWidget->isEnabled() && KVI_OPTION_BOOL(KviOption_boolEnableVisualEffects)) { if(m_iStepNumber>0) @@ -163,7 +163,7 @@ KviStyledCheckBox::~KviStyledCheckBox() void KviStyledCheckBox::paintEvent ( TQPaintEvent * event) { - //debug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); + //tqDebug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); if(KVI_OPTION_BOOL(KviOption_boolEnableVisualEffects)) { KviDoubleBuffer doublebuffer(event->rect().width(),event->rect().height()); @@ -181,10 +181,10 @@ void KviStyledCheckBox::paintEvent ( TQPaintEvent * event) pStoredPix=g_pIconManager->getBigIcon("kvi_checkbox_selected.png"); else pStoredPix=g_pIconManager->getBigIcon("kvi_checkbox_unselected.png"); - //debug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); + //tqDebug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); if(pStoredPix) { - //debug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); + //tqDebug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); TQPixmap pix=*pStoredPix; if(m_iStepNumber && isEnabled()) { @@ -221,12 +221,12 @@ void KviStyledCheckBox::paintEvent ( TQPaintEvent * event) } else { p.drawPixmap(0,0,pix); } - //debug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); + //tqDebug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); TQString szText=text(); szText=szText.remove("&"); p.drawText(pix.width()+3,0,width(),height(),0,szText); bitBlt(this, rect.x(), rect.y(), pDoubleBufferPixmap, 0, 0, rect.width(), rect.height()); - //debug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); + //tqDebug("%s %s %i %i %i",__FILE__,__FUNCTION__,__LINE__,m_bMouseEnter,m_iStepNumber); } else { TQCheckBox::paintEvent(event); } diff --git a/src/kvirc/ui/kvi_taskbar.cpp b/src/kvirc/ui/kvi_taskbar.cpp index 2634f5a..8031719 100644 --- a/src/kvirc/ui/kvi_taskbar.cpp +++ b/src/kvirc/ui/kvi_taskbar.cpp @@ -746,7 +746,7 @@ void KviClassicTaskBar::resizeEvent(TQResizeEvent *e) { int iRows = height()/m_iButtonHeight; if(!iRows) iRows=1; - debug("%i %i",height(),iRows); + tqDebug("%i %i",height(),iRows); resize(width(),iRows*m_iButtonHeight); } #endif @@ -920,7 +920,7 @@ void KviTreeTaskBarItem::paintCell(TQPainter *painter,const TQColorGroup &cg,int { TQPoint pnt = listView()->viewportToContents(TQPoint(int(painter->worldMatrix().dx()),int(painter->worldMatrix().dy()))); //p.drawTiledPixmap(0,0,width,height(),*pix,pnt.x(),pnt.y()); -// debug("%i %i",pnt.x(),pnt.y()); +// tqDebug("%i %i",pnt.x(),pnt.y()); p.translate(-pnt.x(),-pnt.y()); KviPixmapUtils::drawPixmapWithPainter(&p,pix,KVI_OPTION_UINT(KviOption_uintTreeTaskBarPixmapAlign),TQRect(pnt.x(),pnt.y(),width,height()),listView()->width(),listView()->height()); p.translate(pnt.x(),pnt.y()); diff --git a/src/kvirc/ui/kvi_texticonwin.cpp b/src/kvirc/ui/kvi_texticonwin.cpp index fed0535..5be1f50 100644 --- a/src/kvirc/ui/kvi_texticonwin.cpp +++ b/src/kvirc/ui/kvi_texticonwin.cpp @@ -246,7 +246,7 @@ void KviTextIconWindow::itemSelected(KviTalIconViewItem * item) { if(item) { -// debug("%i %i %i %s",m_pOwner->inherits("KviInputEditor"),m_pOwner->inherits("KviInput"),m_pOwner->inherits(TQLINEEDIT_OBJECT_NAME_STRING),m_pOwner->className()); +// tqDebug("%i %i %i %s",m_pOwner->inherits("KviInputEditor"),m_pOwner->inherits("KviInput"),m_pOwner->inherits(TQLINEEDIT_OBJECT_NAME_STRING),m_pOwner->className()); doHide(); TQString szItem = item->text(); szItem.append(' '); diff --git a/src/kvirc/ui/kvi_userlistview.cpp b/src/kvirc/ui/kvi_userlistview.cpp index 7aa3944..001dc62 100644 --- a/src/kvirc/ui/kvi_userlistview.cpp +++ b/src/kvirc/ui/kvi_userlistview.cpp @@ -1412,7 +1412,7 @@ void KviUserListViewArea::paintEvent(TQPaintEvent *ev) TQRect r = ev->rect(); if(r.right() > wdth)r.setRight(wdth); - //debug("PAINT EVENT %d,%d,%d,%d",r.left(),r.top(),r.width(),r.height()); + //tqDebug("PAINT EVENT %d,%d,%d,%d",r.left(),r.top(),r.width(),r.height()); KviDoubleBuffer db(width(),height()); TQPixmap * pMemBuffer = db.pixmap(); @@ -1829,7 +1829,7 @@ void KviUserListViewArea::keyPressEvent( TQKeyEvent * e ) KviUserListEntry * aux = m_pListView->m_pHeadItem; while(aux) { - //debug("%s %s %i %s %i",__FILE__,__FUNCTION__,__LINE__,aux->nick().utf8().data(),aux->nick().find(szKey,0,0)); + //tqDebug("%s %s %i %s %i",__FILE__,__FUNCTION__,__LINE__,aux->nick().utf8().data(),aux->nick().find(szKey,0,0)); if(aux->nick().find(szKey,0,0)==0) { nick=aux; diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp index 1a82409..f37bc25 100644 --- a/src/kvirc/ui/kvi_window.cpp +++ b/src/kvirc/ui/kvi_window.cpp @@ -1034,7 +1034,7 @@ void KviWindow::focusInEvent(TQFocusEvent *) if(m_pFocusHandler)m_pFocusHandler->setFocus(); else { // else too bad :/ - debug("No widget able to handle focus for window %s",name()); + tqDebug("No widget able to handle focus for window %s",name()); return; } } else { @@ -1047,7 +1047,7 @@ void KviWindow::focusInEvent(TQFocusEvent *) // we should be already the active window at this point. // If we're not, then run activateSelf() to fix this. if(g_pActiveWindow != this)activateSelf(); - //else debug("ACTIVE WINDOW IS ALREADY THIS"); + //else tqDebug("ACTIVE WINDOW IS ALREADY THIS"); updateCaption(); } @@ -1154,7 +1154,7 @@ void KviWindow::childDestroyed() void KviWindow::childRemoved(TQWidget * o) { - //debug("CHILD REMOVED %d",o); + //tqDebug("CHILD REMOVED %d",o); o->removeEventFilter(this); if(o == m_pFocusHandler) m_pFocusHandler = 0; @@ -1180,7 +1180,7 @@ void KviWindow::childRemoved(TQWidget * o) if(c->isWidgetType()) childRemoved((TQWidget *)c); } - } //else debug("The removed object has no children"); + } //else tqDebug("The removed object has no children"); #endif } |