diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:57:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:57:14 -0600 |
commit | c1ef065782051db96cdfd32cf55be6408c2a9d22 (patch) | |
tree | 0bc3705b597f8c98b2b9992d22ab9620df50b877 /src/electronics/components/ecpotentiometer.cpp | |
parent | bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (diff) | |
download | ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.tar.gz ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.
Diffstat (limited to 'src/electronics/components/ecpotentiometer.cpp')
-rw-r--r-- | src/electronics/components/ecpotentiometer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electronics/components/ecpotentiometer.cpp b/src/electronics/components/ecpotentiometer.cpp index e989c7c..8f55ff5 100644 --- a/src/electronics/components/ecpotentiometer.cpp +++ b/src/electronics/components/ecpotentiometer.cpp @@ -98,7 +98,7 @@ void ECPotentiometer::drawShape( TQPainter &p ) pa[1] = TQPoint( 4, -3 ); pa[2] = TQPoint( 4, 3 ); - int space = m_pSlider->tqstyle().pixelMetric( TQStyle::PM_SliderSpaceAvailable, m_pSlider ); + int space = m_pSlider->tqstyle().tqpixelMetric( TQStyle::PM_SliderSpaceAvailable, m_pSlider ); int base_y = _y + (( angleDegrees() == 0 || angleDegrees() == 270 ) ? 1 : -1) * int( space * m_sliderProp ); pa.translate( _x+16, base_y ); |