summaryrefslogtreecommitdiffstats
path: root/src/canvasitemparts.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 22:03:54 +0900
committerMichele Calgaro <[email protected]>2023-11-04 22:03:54 +0900
commitc5554a5f82ebc79fbda3940ee904e71490fb13d6 (patch)
treec6a2c38cdd7ab8a193f25a0a51ebb5aa7fe8c386 /src/canvasitemparts.cpp
parentba71773a92f2cc979c252f790be280c8486ebfd0 (diff)
downloadktechlab-c5554a5f82ebc79fbda3940ee904e71490fb13d6.tar.gz
ktechlab-c5554a5f82ebc79fbda3940ee904e71490fb13d6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/canvasitemparts.cpp')
-rw-r--r--src/canvasitemparts.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/canvasitemparts.cpp b/src/canvasitemparts.cpp
index 67eb986..0518890 100644
--- a/src/canvasitemparts.cpp
+++ b/src/canvasitemparts.cpp
@@ -437,7 +437,7 @@ SliderWidget::SliderWidget( TQWidget *parent )
Slider::Slider( const TQString & id, CNItem * parent, const TQRect & r, TQCanvas * canvas )
: Widget( id, parent, r, canvas )
{
- m_orientation = Qt::Vertical;
+ m_orientation = TQt::Vertical;
m_slider = new SliderWidget(0l);
m_slider->setPaletteBackgroundColor(TQt::white);
m_slider->setPaletteForegroundColor(TQt::white);
@@ -531,7 +531,7 @@ void Slider::slotValueChanged( int value )
parent()->sliderValueChanged(id(),value);
}
-void Slider::setOrientation( Qt::Orientation o )
+void Slider::setOrientation( TQt::Orientation o )
{
m_orientation = o;
posChanged();
@@ -541,11 +541,11 @@ void Slider::posChanged()
{
Widget::posChanged();
- if ( m_orientation == Qt::Vertical )
- m_slider->setOrientation( (m_angleDegrees%180 == 0) ? Qt::Vertical : Qt::Horizontal );
+ if ( m_orientation == TQt::Vertical )
+ m_slider->setOrientation( (m_angleDegrees%180 == 0) ? TQt::Vertical : TQt::Horizontal );
else
- m_slider->setOrientation( (m_angleDegrees%180 == 0) ? Qt::Horizontal : Qt::Vertical );
+ m_slider->setOrientation( (m_angleDegrees%180 == 0) ? TQt::Horizontal : TQt::Vertical );
}
//END Class Slider