diff options
Diffstat (limited to 'src/knutpanelmeter.cpp')
-rw-r--r-- | src/knutpanelmeter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/knutpanelmeter.cpp b/src/knutpanelmeter.cpp index ab0d507..60a6c52 100644 --- a/src/knutpanelmeter.cpp +++ b/src/knutpanelmeter.cpp @@ -19,7 +19,7 @@ #include <kdebug.h> -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> #include <tqfont.h> @@ -154,9 +154,9 @@ void KNutPanelMeter::activateAnalogs (void) { } //qDebug ( "KNutPanelMeter::activateAnalogs 1" ); - m_analogArea->repaint(); //repaint all analog panels, background was made already + m_analogArea->tqrepaint(); //tqrepaint all analog panels, background was made already //qDebug ("KNutPanelMeter::activateAnalogs - end"); -// analogSV->resizeContents(sizeHint().width(),sizeHint().height()); +// analogSV->resizeContents(tqsizeHint().width(),tqsizeHint().height()); } @@ -189,7 +189,7 @@ void KNutPanelMeter::setSize (bool showPanels) { m_analogArea->setMinimumSize (m_widthArea,m_heightArea); adjustSize(); resizeContents(m_widthArea,m_heightArea); - repaint(); + tqrepaint(); } void KNutPanelMeter::repaintScaleAnalogPanel (int panelNumber, float value) { @@ -229,7 +229,7 @@ void KNutPanelMeter::repaintScaleAnalogPanel (int panelNumber, float value) { m_analogPanels->upsAnalogs[panelNumber]->setPointer(value); // jistota pokud by nam to nekde propadlo m_analogPanels->upsAnalogs[panelNumber]->hide();// schovame analogovy panel hides analog panel m_analogPanels->upsAnalogs[panelNumber]->setRange (m_analogPanels->scaleStart[panelNumber],m_analogPanels->scaleEnd[panelNumber]); - m_analogPanels->upsAnalogs[panelNumber]->repaint(); // prekreslime , repaints panel + m_analogPanels->upsAnalogs[panelNumber]->tqrepaint(); // prekreslime , repaints panel m_analogPanels->upsAnalogs[panelNumber]->show(); //zobrazime merak shows analog panel } } @@ -299,7 +299,7 @@ KNutVarData::VarStrucDef analogMemberData; m_analogPanels->upsAnalogs[i]->makeBackground(false); // repaints analog meter m_analogPanels->upsAnalogs[i]->repaintPointer(false); // repaints analog meter - m_analogPanels->upsAnalogs[i]->repaint(); // repaints analog meter + m_analogPanels->upsAnalogs[i]->tqrepaint(); // repaints analog meter m_analogPanels->upsAnalogs[i]->show(); // shows analog meter } // end if (((activeUpsInfo if (repaintAllPanels) { @@ -334,7 +334,7 @@ void KNutPanelMeter::zeroingPanels (void) { -TQSize KNutPanelMeter::sizeHint (void){ +TQSize KNutPanelMeter::tqsizeHint (void){ return TQSize(m_widthArea,m_heightArea); } |