diff options
Diffstat (limited to 'kpresenter/KPrShadowDialogImpl.cpp')
-rw-r--r-- | kpresenter/KPrShadowDialogImpl.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kpresenter/KPrShadowDialogImpl.cpp b/kpresenter/KPrShadowDialogImpl.cpp index c97a5068..8fd0cb00 100644 --- a/kpresenter/KPrShadowDialogImpl.cpp +++ b/kpresenter/KPrShadowDialogImpl.cpp @@ -1,8 +1,8 @@ // -*- Mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; -*- -#include <qspinbox.h> -#include <qgroupbox.h> -#include <qlayout.h> -#include <qbuttongroup.h> +#include <tqspinbox.h> +#include <tqgroupbox.h> +#include <tqlayout.h> +#include <tqbuttongroup.h> #include <kcolorbutton.h> #include <klocale.h> @@ -10,11 +10,11 @@ #include "KPrShadowDialogImpl.h" #include "KPrTextPreview.h" -KPrShadowDialogImpl::KPrShadowDialogImpl( QWidget *parent, const char* name ) - : ShadowDialogBase( parent, name ) +KPrShadowDialogImpl::KPrShadowDialogImpl( TQWidget *tqparent, const char* name ) + : ShadowDialogBase( tqparent, name ) { _preview = new KPrTextPreview( previewPanel ); - QHBoxLayout *lay = new QHBoxLayout( previewPanel, previewPanel->lineWidth(), 0 ); + TQHBoxLayout *lay = new TQHBoxLayout( previewPanel, previewPanel->lineWidth(), 0 ); lay->addWidget( _preview ); distanceSpinBox->setSuffix(i18n("pt")); ltButton->setPixmap( BarIcon( "shadowLU" ) ); @@ -26,8 +26,8 @@ KPrShadowDialogImpl::KPrShadowDialogImpl( QWidget *parent, const char* name ) lbButton->setPixmap( BarIcon( "shadowLB" ) ); lButton->setPixmap( BarIcon( "shadowL" ) ); - connect( colorButton, SIGNAL( changed( const QColor& ) ), - SLOT( colorChanged( const QColor& ) ) ); + connect( colorButton, TQT_SIGNAL( changed( const TQColor& ) ), + TQT_SLOT( colorChanged( const TQColor& ) ) ); } void KPrShadowDialogImpl::setShadowDirection( ShadowDirection d ) @@ -42,13 +42,13 @@ void KPrShadowDialogImpl::setShadowDistance( int d ) distanceSpinBox->setValue( d ); } -void KPrShadowDialogImpl::setShadowColor( const QColor &c ) +void KPrShadowDialogImpl::setShadowColor( const TQColor &c ) { _preview->setShadowColor( c ); colorButton->setColor( c ); } -void KPrShadowDialogImpl::colorChanged( const QColor& c ) +void KPrShadowDialogImpl::colorChanged( const TQColor& c ) { _preview->setShadowColor( c ); } @@ -84,7 +84,7 @@ int KPrShadowDialogImpl::shadowDistance() return distanceSpinBox->value(); } -QColor KPrShadowDialogImpl::shadowColor() +TQColor KPrShadowDialogImpl::shadowColor() { return colorButton->color(); } |