summaryrefslogtreecommitdiffstats
path: root/src/canvasitemparts.cpp
diff options
context:
space:
mode:
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