summaryrefslogtreecommitdiffstats
path: root/src/knutmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutmainwindow.cpp')
-rw-r--r--src/knutmainwindow.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp
index 035daa6..bc0eb15 100644
--- a/src/knutmainwindow.cpp
+++ b/src/knutmainwindow.cpp
@@ -180,7 +180,7 @@ KNutMainWindow::~KNutMainWindow(void) {
void KNutMainWindow::setConfig (unsigned int changeSetting) {
-//qDebug ("KNutMainWindow::setConfig");
+//tqDebug ("KNutMainWindow::setConfig");
KNutVarData::VarStrucDef analogMemberData;
bool repaintVoltagePanels = false;
bool repaintFrequencyPanels = false;
@@ -361,7 +361,7 @@ void KNutMainWindow::setConfig (unsigned int changeSetting) {
void KNutMainWindow::showUpsData (void) {
-//qDebug ("KNutMainWindow::showUpsData start");
+//tqDebug ("KNutMainWindow::showUpsData start");
if ((m_activeUpsInfo->upsNet != 0L) && (!m_activeUpsInfo->netError) &&
@@ -449,17 +449,17 @@ void KNutMainWindow::showUpsData (void) {
}
}
-//qDebug ("KNutMainWindow::showUpsData 1");
+//tqDebug ("KNutMainWindow::showUpsData 1");
m_panelMeter->activateAnalogs(); // makes panel and makes background of panel
repaintAnalogs(false);
-//qDebug ("KNutMainWindow::showUpsData 2");
+//tqDebug ("KNutMainWindow::showUpsData 2");
m_panelMeter->setSize(true);
-//qDebug ("KNutMainWindow::showUpsData 3");
+//tqDebug ("KNutMainWindow::showUpsData 3");
m_mainSplit->refresh();
// doesn't repaint analog pointers, because pointers will be repainted twice
-//qDebug ("KNutMainWindow::showUpsData 4");
+//tqDebug ("KNutMainWindow::showUpsData 4");
// repaintAnalogs(false); // don't make this
-//qDebug ("KNutMainWindow::showUpsData 5");
+//tqDebug ("KNutMainWindow::showUpsData 5");
}
else {
cleanPanels();
@@ -502,7 +502,7 @@ void KNutMainWindow::repaintPanel (void) {
/// je volan vzdy po timeoutu
/// this function is called after timeout always
void KNutMainWindow::repaintAnalogs ( bool run ) {
-//qDebug ("KNutMainWindow::repaintAnalogs");
+//tqDebug ("KNutMainWindow::repaintAnalogs");
TQString nutStringVar;
@@ -528,7 +528,7 @@ void KNutMainWindow::repaintAnalogs ( bool run ) {
}
}
-//qDebug ("KNutMainWindow::repaintAnalogs 1");
+//tqDebug ("KNutMainWindow::repaintAnalogs 1");
for (int i=0; i< knc::NumberOfVars; i++) {
if (m_activeUpsInfo->record.upsVarCode[i] != 0) { // jistota pokud by nam to nekde propadlo
@@ -540,7 +540,7 @@ void KNutMainWindow::repaintAnalogs ( bool run ) {
nutStringVar = m_activeUpsInfo->upsNet->readStringVar ((char *)nameUpsVars2[m_activeUpsInfo->record.upsVarCode[i]]);
break;
}
-//qDebug ("KNutMainWindow::repaintAnalogs 2 ");
+//tqDebug ("KNutMainWindow::repaintAnalogs 2 ");
if (nutStringVar.isEmpty()) numVar=0;
else numVar = nutStringVar.toFloat();
@@ -550,7 +550,7 @@ void KNutMainWindow::repaintAnalogs ( bool run ) {
m_panelMeter->repaintAnalogPointer(i,numVar,run);
}
} // end for
-//qDebug ("KNutMainWindow::repaintAnalogs 3 ");
+//tqDebug ("KNutMainWindow::repaintAnalogs 3 ");
}