summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_messages.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-10-29 18:21:41 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-10-29 18:21:41 +0100
commit7cc4356bc2eceb5a66c2263bff44aa472d2ca290 (patch)
tree08047b60c477dc7026c7623e25770825b5ce7e5c /src/modules/options/optw_messages.cpp
parent3b217bbf505473102331a7e2ed274fe63a4c3457 (diff)
downloadkvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.tar.gz
kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.zip
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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