summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_messages.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-10-29 18:21:41 +0100
committerSlávek Banko <[email protected]>2022-01-17 13:30:05 +0100
commiteb6ac02bb511f14a2506fb2f3c94d84d469e42cd (patch)
tree138827ff0c8800f67b7725c352950f0df421916b /src/modules/options/optw_messages.cpp
parent351c95fe16505298db187a17e4ceff8d2377190b (diff)
downloadkvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.tar.gz
kvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.zip
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 7cc4356bc2eceb5a66c2263bff44aa472d2ca290)
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