diff options
Diffstat (limited to 'kpresenter/KPrTransEffectDia.cpp')
-rw-r--r-- | kpresenter/KPrTransEffectDia.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpresenter/KPrTransEffectDia.cpp b/kpresenter/KPrTransEffectDia.cpp index a7fc0899..33a0e9ed 100644 --- a/kpresenter/KPrTransEffectDia.cpp +++ b/kpresenter/KPrTransEffectDia.cpp @@ -34,7 +34,7 @@ #include <tqheader.h> #include <tqwmatrix.h> #include <tqvbox.h> -#include <tqlayout.h> +#include <layout.h> #include <tqimage.h> #include <tqpushbutton.h> #include <tqcheckbox.h> @@ -105,7 +105,7 @@ void KPrEffectPreview::run( PageEffect effect, EffectSpeed speed ) delete m_pageEffect; m_pageEffect = 0; - TQLabel::tqrepaint(); + TQLabel::repaint(); } m_pageEffect = new KPrPageEffects( TQT_TQPAINTDEVICE(this), m_target, effect, speed ); @@ -160,8 +160,8 @@ KPrTransEffectDia::KPrTransEffectDia( TQWidget *parent, const char *name, // right-side of the dialog, for showing effect preview - TQVBoxLayout *righttqlayout = new TQVBoxLayout( rightpart, KDialog::marginHint(), KDialog::spacingHint() ); - righttqlayout->setAutoAdd( true ); + TQVBoxLayout *rightlayout = new TQVBoxLayout( rightpart, KDialog::marginHint(), KDialog::spacingHint() ); + rightlayout->setAutoAdd( true ); effectPreview = new KPrEffectPreview( rightpart, doc, view ); @@ -178,8 +178,8 @@ KPrTransEffectDia::KPrTransEffectDia( TQWidget *parent, const char *name, pageEffect = pg->getPageEffect(); speed = pg->getPageEffectSpeed(); - TQVBoxLayout *lefttqlayout = new TQVBoxLayout( leftpart, KDialog::marginHint(), KDialog::spacingHint() ); - lefttqlayout->setAutoAdd( true ); + TQVBoxLayout *leftlayout = new TQVBoxLayout( leftpart, KDialog::marginHint(), KDialog::spacingHint() ); + leftlayout->setAutoAdd( true ); new TQLabel( i18n("Effect:"), leftpart ); @@ -260,7 +260,7 @@ KPrTransEffectDia::KPrTransEffectDia( TQWidget *parent, const char *name, automaticPreview->setChecked( true ); TQWidget* previewspacer = new TQWidget( previewgrp ); - previewspacer->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, + previewspacer->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) ); previewButton = new TQPushButton( previewgrp ); @@ -314,7 +314,7 @@ KPrTransEffectDia::KPrTransEffectDia( TQWidget *parent, const char *name, connect( timeSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(timeChanged(int)) ); TQWidget* rspacer = new TQWidget( rightpart ); - rspacer->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding ) ); + rspacer->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding ) ); TQWidget* lspacer = new TQWidget( leftpart ); lspacer->setMinimumSize( 10, spacingHint() ); @@ -386,7 +386,7 @@ static TQString getSoundFileFilter() if ( comma ) str += '\n'; comma = true; - str += TQString( i18n( "*.%1|%2 Files" ) ).tqarg( *it ).tqarg( (*it).upper() ); + str += TQString( i18n( "*.%1|%2 Files" ) ).arg( *it ).arg( (*it).upper() ); full += TQString( "*.") + (*it) + ' '; } |