From e29455aea4fc1fda591862200c6321a3722e134c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:31:19 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/knutpanelmeter.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/knutpanelmeter.cpp') diff --git a/src/knutpanelmeter.cpp b/src/knutpanelmeter.cpp index 60a6c52..ab0d507 100644 --- a/src/knutpanelmeter.cpp +++ b/src/knutpanelmeter.cpp @@ -19,7 +19,7 @@ #include -#include +#include #include #include @@ -154,9 +154,9 @@ void KNutPanelMeter::activateAnalogs (void) { } //qDebug ( "KNutPanelMeter::activateAnalogs 1" ); - m_analogArea->tqrepaint(); //tqrepaint all analog panels, background was made already + m_analogArea->repaint(); //repaint all analog panels, background was made already //qDebug ("KNutPanelMeter::activateAnalogs - end"); -// analogSV->resizeContents(tqsizeHint().width(),tqsizeHint().height()); +// analogSV->resizeContents(sizeHint().width(),sizeHint().height()); } @@ -189,7 +189,7 @@ void KNutPanelMeter::setSize (bool showPanels) { m_analogArea->setMinimumSize (m_widthArea,m_heightArea); adjustSize(); resizeContents(m_widthArea,m_heightArea); - tqrepaint(); + repaint(); } 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]->tqrepaint(); // prekreslime , repaints panel + m_analogPanels->upsAnalogs[panelNumber]->repaint(); // 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]->tqrepaint(); // repaints analog meter + m_analogPanels->upsAnalogs[i]->repaint(); // 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::tqsizeHint (void){ +TQSize KNutPanelMeter::sizeHint (void){ return TQSize(m_widthArea,m_heightArea); } -- cgit v1.2.1