diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:19 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:19 -0600 |
commit | e29455aea4fc1fda591862200c6321a3722e134c (patch) | |
tree | dbb3bc7ee43510962fcfa3d69b5743d8daf8c3b6 /src/knutpanelmeter.cpp | |
parent | 841ad360f807ab3ab1596308d120ef7918207e13 (diff) | |
download | knutclient-e29455aea4fc1fda591862200c6321a3722e134c.tar.gz knutclient-e29455aea4fc1fda591862200c6321a3722e134c.zip |
Rename a number of old tq methods that are no longer tq specific
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 60a6c52..ab0d507 100644 --- a/src/knutpanelmeter.cpp +++ b/src/knutpanelmeter.cpp @@ -19,7 +19,7 @@ #include <kdebug.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqfont.h> @@ -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); } |