summaryrefslogtreecommitdiffstats
path: root/src/canvasitemparts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/canvasitemparts.cpp')
-rw-r--r--src/canvasitemparts.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/canvasitemparts.cpp b/src/canvasitemparts.cpp
index 67eb986..c8eca6b 100644
--- a/src/canvasitemparts.cpp
+++ b/src/canvasitemparts.cpp
@@ -25,7 +25,7 @@ GuiPart::GuiPart( CNItem *parent, const TQRect & r, TQCanvas * canvas )
b_pointsAdded(false),
m_originalRect(r)
{
- connect( parent, TQT_SIGNAL(movedBy(double, double )), this, TQT_SLOT(slotMoveBy(double, double )) );
+ connect( parent, TQ_SIGNAL(movedBy(double, double )), this, TQ_SLOT(slotMoveBy(double, double )) );
setZ( parent->z() + 0.5 );
}
@@ -283,8 +283,8 @@ Button::Button( const TQString & id, CNItem * parent, bool isToggle, const TQRec
m_button = new ToolButton(0l);
m_button->setUsesTextLabel(false);
m_button->setToggleButton(b_isToggle);
- connect( m_button, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotStateChanged()) );
- connect( m_button, TQT_SIGNAL(released()), this, TQT_SLOT(slotStateChanged()) );
+ connect( m_button, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotStateChanged()) );
+ connect( m_button, TQ_SIGNAL(released()), this, TQ_SLOT(slotStateChanged()) );
posChanged();
}
@@ -437,13 +437,13 @@ 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);
m_slider->setEraseColor(TQt::white);
m_slider->setBackgroundMode( TQt::NoBackground );
- connect( m_slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotValueChanged(int)) );
+ connect( m_slider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotValueChanged(int)) );
posChanged();
}
@@ -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