summaryrefslogtreecommitdiffstats
path: root/src/electronics
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:03 -0600
commitcd3688b73bf12976e9bb48a9e09c6f69979f33f1 (patch)
tree78031abdf3005ea5df9abfaa83aff7357e2eb3b1 /src/electronics
parent1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2 (diff)
downloadktechlab-cd3688b73bf12976e9bb48a9e09c6f69979f33f1.tar.gz
ktechlab-cd3688b73bf12976e9bb48a9e09c6f69979f33f1.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/electronics')
-rw-r--r--src/electronics/components/ecpotentiometer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electronics/components/ecpotentiometer.cpp b/src/electronics/components/ecpotentiometer.cpp
index e989c7c..460ac4e 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->style().pixelMetric( 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 );