summaryrefslogtreecommitdiffstats
path: root/src/modules/options
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options')
-rw-r--r--src/modules/options/dialog.cpp2
-rw-r--r--src/modules/options/instances.cpp8
-rwxr-xr-xsrc/modules/options/mkcreateinstanceproc.sh8
-rw-r--r--src/modules/options/optw_messages.cpp14
-rw-r--r--src/modules/options/optw_texticons.cpp2
5 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/options/dialog.cpp b/src/modules/options/dialog.cpp
index 7eab5800..6a9912ae 100644
--- a/src/modules/options/dialog.cpp
+++ b/src/modules/options/dialog.cpp
@@ -308,7 +308,7 @@ void KviOptionsDialog::searchLineEditTextChanged(const TQString &)
bool KviOptionsDialog::recursiveSearch(KviOptionsListViewItem * pItem,const TQStringList &lKeywords)
{
- //debug("recursive search:");
+ //tqDebug("recursive search:");
if(!pItem)return false;
if(!pItem->m_pOptionsWidget)
diff --git a/src/modules/options/instances.cpp b/src/modules/options/instances.cpp
index 7e1e8968..5a4eba38 100644
--- a/src/modules/options/instances.cpp
+++ b/src/modules/options/instances.cpp
@@ -650,7 +650,7 @@ KviOptionsInstanceManager::KviOptionsInstanceManager()
: TQObject(0)
{
- //debug("Instantiating");
+ //tqDebug("Instantiating");
// Create the global widget dict : case sensitive , do not copy keys
m_pInstanceTree = new KviPointerList<KviOptionsWidgetInstanceEntry>;
m_pInstanceTree->setAutoDelete(true);
@@ -3466,9 +3466,9 @@ void KviOptionsInstanceManager::deleteInstanceTree(KviPointerList<KviOptionsWidg
delete e->pWidget->parent();
e->pWidget = 0;
} else {
- debug("Ops...i have deleted the options dialog ?");
+ tqDebug("Ops...i have deleted the options dialog ?");
}
- } //else debug("Clas %s has no widget",e->szName);
+ } //else tqDebug("Clas %s has no widget",e->szName);
if(e->pChildList)deleteInstanceTree(e->pChildList);
}
delete l;
@@ -3478,7 +3478,7 @@ void KviOptionsInstanceManager::deleteInstanceTree(KviPointerList<KviOptionsWidg
KviOptionsInstanceManager::~KviOptionsInstanceManager()
{
- if(m_pInstanceTree)debug("Ops...KviOptionsInstanceManager::cleanup() not called ?");
+ if(m_pInstanceTree)tqDebug("Ops...KviOptionsInstanceManager::cleanup() not called ?");
}
void KviOptionsInstanceManager::cleanup(KviModule * m)
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
index 0b567e5c..6f4cc042 100755
--- a/src/modules/options/mkcreateinstanceproc.sh
+++ b/src/modules/options/mkcreateinstanceproc.sh
@@ -186,7 +186,7 @@ KviOptionsInstanceManager::KviOptionsInstanceManager()
: QObject(0)
{
- //debug("Instantiating");
+ //tqDebug("Instantiating");
// Create the global widget dict : case sensitive , do not copy keys
m_pInstanceTree = new KviPointerList<KviOptionsWidgetInstanceEntry>;
m_pInstanceTree->setAutoDelete(true);
@@ -314,9 +314,9 @@ void KviOptionsInstanceManager::deleteInstanceTree(KviPointerList<KviOptionsWidg
delete e->pWidget->parent();
e->pWidget = 0;
} else {
- debug("Ops...i have deleted the options dialog ?");
+ tqDebug("Ops...i have deleted the options dialog ?");
}
- } //else debug("Clas %s has no widget",e->szName);
+ } //else tqDebug("Clas %s has no widget",e->szName);
if(e->pChildList)deleteInstanceTree(e->pChildList);
}
delete l;
@@ -326,7 +326,7 @@ void KviOptionsInstanceManager::deleteInstanceTree(KviPointerList<KviOptionsWidg
KviOptionsInstanceManager::~KviOptionsInstanceManager()
{
- if(m_pInstanceTree)debug("Ops...KviOptionsInstanceManager::cleanup() not called ?");
+ if(m_pInstanceTree)tqDebug("Ops...KviOptionsInstanceManager::cleanup() not called ?");
}
void KviOptionsInstanceManager::cleanup(KviModule * m)
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
diff --git a/src/modules/options/optw_texticons.cpp b/src/modules/options/optw_texticons.cpp
index bbd2290f..01a0290f 100644
--- a/src/modules/options/optw_texticons.cpp
+++ b/src/modules/options/optw_texticons.cpp
@@ -79,7 +79,7 @@ void KviTextIconEditor::chooseFromFile()
if(g_pIconManager->getPixmap(szFile))
{
m_pIcon->setFilename(szFile);
-// debug("%s %s %i |%s| %p",__FILE__,__FUNCTION__,__LINE__,m_pIcon->filename().utf8().data(),m_pIcon);
+// tqDebug("%s %s %i |%s| %p",__FILE__,__FUNCTION__,__LINE__,m_pIcon->filename().utf8().data(),m_pIcon);
updateIcon();
}
}