diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 22:03:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 22:03:54 +0900 |
commit | c5554a5f82ebc79fbda3940ee904e71490fb13d6 (patch) | |
tree | c6a2c38cdd7ab8a193f25a0a51ebb5aa7fe8c386 /src/electronics | |
parent | ba71773a92f2cc979c252f790be280c8486ebfd0 (diff) | |
download | ktechlab-c5554a5f82ebc79fbda3940ee904e71490fb13d6.tar.gz ktechlab-c5554a5f82ebc79fbda3940ee904e71490fb13d6.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/electronics')
-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 d775634..0371088 100644 --- a/src/electronics/components/ecpotentiometer.cpp +++ b/src/electronics/components/ecpotentiometer.cpp @@ -48,7 +48,7 @@ ECPotentiometer::ECPotentiometer( ICNDocument *icnDocument, bool newItem, const m_r1 = createResistance( createPin( -8, -24, 90, "n1" ), m_p1, 1. ); m_r2 = createResistance( createPin( -8, 24, 270, "n2" ), m_p1, 1. ); - Slider * s = addSlider( "slider", 0, 100, 5, 50, Qt::Vertical, TQRect( 0, -16, 16, 32 ) ); + Slider * s = addSlider( "slider", 0, 100, 5, 50, TQt::Vertical, TQRect( 0, -16, 16, 32 ) ); m_pSlider = static_cast<TQSlider*>(s->widget()); createProperty( "resistance", Variant::Type::Double ); |