summaryrefslogtreecommitdiffstats
path: root/karbon/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/widgets')
-rw-r--r--karbon/widgets/vcanvas.cpp2
-rw-r--r--karbon/widgets/vcolorslider.cpp12
-rw-r--r--karbon/widgets/vgradienttabwidget.cpp14
-rw-r--r--karbon/widgets/vreference.cpp4
-rw-r--r--karbon/widgets/vselecttoolbar.cpp10
-rw-r--r--karbon/widgets/vtypebuttonbox.cpp4
6 files changed, 23 insertions, 23 deletions
diff --git a/karbon/widgets/vcanvas.cpp b/karbon/widgets/vcanvas.cpp
index 9fa943276..081f9b073 100644
--- a/karbon/widgets/vcanvas.cpp
+++ b/karbon/widgets/vcanvas.cpp
@@ -97,7 +97,7 @@ VCanvas::VCanvas( TQWidget *parent, KarbonView* view, KarbonPart* part )
: TQScrollView( parent, "canvas", WStaticContents/*WNorthWestGravity*/ | WResizeNoErase |
WRepaintNoErase ), m_part( part ), m_view( view )
{
- connect(this, TQT_SIGNAL( contentsMoving( int, int ) ), this, TQT_SLOT( slotContentsMoving( int, int ) ) );
+ connect(this, TQ_SIGNAL( contentsMoving( int, int ) ), this, TQ_SLOT( slotContentsMoving( int, int ) ) );
viewport()->setFocusPolicy( TQWidget::StrongFocus );
viewport()->setMouseTracking( true );
diff --git a/karbon/widgets/vcolorslider.cpp b/karbon/widgets/vcolorslider.cpp
index 53f907866..0e5e2786d 100644
--- a/karbon/widgets/vcolorslider.cpp
+++ b/karbon/widgets/vcolorslider.cpp
@@ -67,8 +67,8 @@ void VColorSlider::init()
setMinValue( 0 );
setMaxValue( 255 );
- connect( m_spinBox, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateFrom_spinBox( int ) ) );
- connect( m_gradientSelect, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateFrom_gradientSelect( int ) ) );
+ connect( m_spinBox, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateFrom_spinBox( int ) ) );
+ connect( m_gradientSelect, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateFrom_gradientSelect( int ) ) );
m_gradientSelect->installEventFilter( this );
@@ -114,9 +114,9 @@ void VColorSlider::updateFrom_spinBox( int value )
{
if ( value != m_gradientSelect->value() )
{
- disconnect( m_gradientSelect, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateFrom_gradientSelect( int ) ) );
+ disconnect( m_gradientSelect, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateFrom_gradientSelect( int ) ) );
m_gradientSelect->setValue( (m_maxValue - value) + m_minValue );
- connect( m_gradientSelect, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateFrom_gradientSelect( int ) ) );
+ connect( m_gradientSelect, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateFrom_gradientSelect( int ) ) );
emit valueChanged( value );
}
}
@@ -126,9 +126,9 @@ void VColorSlider::updateFrom_gradientSelect( int value )
value = (m_maxValue - value) + m_minValue;
if ( value != m_spinBox->value() )
{
- disconnect( m_spinBox, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateFrom_spinBox( int ) ) );
+ disconnect( m_spinBox, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateFrom_spinBox( int ) ) );
m_spinBox->setValue( value );
- connect( m_spinBox, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( updateFrom_spinBox( int ) ) );
+ connect( m_spinBox, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( updateFrom_spinBox( int ) ) );
emit valueChanged( value );
}
}
diff --git a/karbon/widgets/vgradienttabwidget.cpp b/karbon/widgets/vgradienttabwidget.cpp
index 1416262da..86e674da7 100644
--- a/karbon/widgets/vgradienttabwidget.cpp
+++ b/karbon/widgets/vgradienttabwidget.cpp
@@ -224,13 +224,13 @@ void VGradientTabWidget::setupUI()
void VGradientTabWidget::setupConnections()
{
- connect( m_gradientType, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( combosChange( int ) ) );
- connect( m_gradientRepeat, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( combosChange( int ) ) );
- connect( m_gradientWidget, TQT_SIGNAL( changed() ), m_gradientPreview, TQT_SLOT( update() ) );
- connect( m_addToPredefs, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addGradientToPredefs() ) );
- connect( m_predefGradientsView, TQT_SIGNAL( doubleClicked( TQListBoxItem *, const TQPoint & ) ), this, TQT_SLOT( changeToPredef( TQListBoxItem* ) ) );
- connect( m_predefDelete, TQT_SIGNAL( clicked() ), this, TQT_SLOT( deletePredef() ) );
- connect( m_opacity, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( opacityChanged( int ) ) );
+ connect( m_gradientType, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( combosChange( int ) ) );
+ connect( m_gradientRepeat, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( combosChange( int ) ) );
+ connect( m_gradientWidget, TQ_SIGNAL( changed() ), m_gradientPreview, TQ_SLOT( update() ) );
+ connect( m_addToPredefs, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addGradientToPredefs() ) );
+ connect( m_predefGradientsView, TQ_SIGNAL( doubleClicked( TQListBoxItem *, const TQPoint & ) ), this, TQ_SLOT( changeToPredef( TQListBoxItem* ) ) );
+ connect( m_predefDelete, TQ_SIGNAL( clicked() ), this, TQ_SLOT( deletePredef() ) );
+ connect( m_opacity, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( opacityChanged( int ) ) );
} // VGradientTabWidget::setupConnection
void VGradientTabWidget::initUI()
diff --git a/karbon/widgets/vreference.cpp b/karbon/widgets/vreference.cpp
index 596c822eb..b4ff5770c 100644
--- a/karbon/widgets/vreference.cpp
+++ b/karbon/widgets/vreference.cpp
@@ -50,8 +50,8 @@ VReference::VReference( TQWidget *parent, const char *name ) : TQFrame ( parent,
mButtonGroup->insert( radio, BottomRight );
connect(
- mButtonGroup, TQT_SIGNAL( clicked( int ) ),
- this, TQT_SLOT( setReferencePoint( int ) ) );
+ mButtonGroup, TQ_SIGNAL( clicked( int ) ),
+ this, TQ_SLOT( setReferencePoint( int ) ) );
mButtonGroup->setButton( Center );
layout->addWidget( mButtonGroup );
diff --git a/karbon/widgets/vselecttoolbar.cpp b/karbon/widgets/vselecttoolbar.cpp
index b0dc9a7c8..9c8d1de1c 100644
--- a/karbon/widgets/vselecttoolbar.cpp
+++ b/karbon/widgets/vselecttoolbar.cpp
@@ -39,27 +39,27 @@ VSelectToolBar::VSelectToolBar( KarbonView *view, const char* name ) : TDEToolBa
TQLabel *x_label = new TQLabel( i18n( "X:" ), this, "tde toolbar widget" );
insertWidget( 0, x_label->width(), x_label );
m_x = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
- connect( m_x, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotXChanged( double ) ) );
+ connect( m_x, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( slotXChanged( double ) ) );
insertWidget( 1, m_x->width(), m_x );
TQLabel *y_label = new TQLabel( i18n( "Y:" ), this, "tde toolbar widget" );
insertWidget( 2, y_label->width(), y_label );
m_y = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
- connect( m_y, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotYChanged( double ) ) );
+ connect( m_y, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( slotYChanged( double ) ) );
insertWidget( 3, m_y->width(), m_y );
insertSeparator( 4 );
TQLabel *w_label = new TQLabel( i18n( "selection width", "Width:" ), this, "tde toolbar widget" );
insertWidget( 5, w_label->width(), w_label );
m_width = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
- connect( m_width, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotWidthChanged( double ) ) );
+ connect( m_width, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( slotWidthChanged( double ) ) );
insertWidget( 6, m_width->width(), m_width );
TQLabel *h_label = new TQLabel( i18n( "Height:" ), this, "tde toolbar widget" );
insertWidget( 7, h_label->width(), h_label );
m_height = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
- connect( m_height, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotHeightChanged( double ) ) );
+ connect( m_height, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( slotHeightChanged( double ) ) );
insertWidget( 8, m_height->width(), m_height );
- connect( m_view, TQT_SIGNAL( selectionChange() ), this, TQT_SLOT( slotSelectionChanged() ) );
+ connect( m_view, TQ_SIGNAL( selectionChange() ), this, TQ_SLOT( slotSelectionChanged() ) );
}
VSelectToolBar::~VSelectToolBar()
diff --git a/karbon/widgets/vtypebuttonbox.cpp b/karbon/widgets/vtypebuttonbox.cpp
index 9a98a125a..a7c9f0f9c 100644
--- a/karbon/widgets/vtypebuttonbox.cpp
+++ b/karbon/widgets/vtypebuttonbox.cpp
@@ -257,8 +257,8 @@ VTypeButtonBox::VTypeButtonBox( KarbonPart *part,
setInsideMargin( 1 );
setInsideSpacing( 1 );
- connect( this, TQT_SIGNAL( clicked( int ) ),
- this, TQT_SLOT( slotButtonPressed( int ) ) );
+ connect( this, TQ_SIGNAL( clicked( int ) ),
+ this, TQ_SLOT( slotButtonPressed( int ) ) );
}
void