summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_messages.cpp')
-rw-r--r--src/modules/options/optw_messages.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/options/optw_messages.cpp b/src/modules/options/optw_messages.cpp
index 0a8e70b2..d76826fe 100644
--- a/src/modules/options/optw_messages.cpp
+++ b/src/modules/options/optw_messages.cpp
@@ -494,9 +494,9 @@ void KviMessageColorsOptionsWidget::saveLastItem()
int curIt = m_pForeListBox->currentItem();
if(curIt != -1)
{
- //debug("Setting fore %d",curIt);
+ //tqDebug("Setting fore %d",curIt);
KviMessageColorListBoxItem * fore = (KviMessageColorListBoxItem *)m_pForeListBox->item(curIt);
- //debug("And is %d",fore);
+ //tqDebug("And is %d",fore);
if(fore)m_pLastItem->msgType()->setFore(fore->m_iClrIdx);
}
curIt = m_pBackListBox->currentItem();
@@ -506,7 +506,7 @@ void KviMessageColorsOptionsWidget::saveLastItem()
if(back)m_pLastItem->msgType()->setBack(back->m_iClrIdx);
}
m_pLastItem->msgType()->enableLogging(m_pEnableLogging->isChecked());
- //debug("Updating","options");
+ //tqDebug("Updating","options");
curIt = m_pLevelListBox->currentItem();
if(curIt < 0 || curIt > 5)curIt = 1;
m_pLastItem->msgType()->setLevel(curIt);
@@ -515,7 +515,7 @@ void KviMessageColorsOptionsWidget::saveLastItem()
void KviMessageColorsOptionsWidget::itemChanged(KviTalListViewItem * it)
{
- //debug("Item changed","options");
+ //tqDebug("Item changed","options");
if(m_pLastItem)saveLastItem();
m_pLastItem = 0; // do NOT save in this routine
@@ -632,9 +632,9 @@ void KviMessageColorsOptionsWidget::load()
//KviStr szLocal;
TQString szLocal;
g_pApp->getLocalKvircDirectory(szLocal,KviApp::MsgColors,"presets");
- //debug("SYMLINKING %s to %s",szGlobal.ptr(),szLocal.ptr());
- //debug("SYMLINK RETURNS %d (%d)",::symlink(szGlobal.ptr(),szLocal.ptr()));
- //debug("ERRNO (%d)",errno);
+ //tqDebug("SYMLINKING %s to %s",szGlobal.ptr(),szLocal.ptr());
+ //tqDebug("SYMLINK RETURNS %d (%d)",::symlink(szGlobal.ptr(),szLocal.ptr()));
+ //tqDebug("ERRNO (%d)",errno);
symlink(szGlobal,szLocal);
// FIXME: Do it also on windows...
#endif