summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTransEffectDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrTransEffectDia.cpp')
-rw-r--r--kpresenter/KPrTransEffectDia.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpresenter/KPrTransEffectDia.cpp b/kpresenter/KPrTransEffectDia.cpp
index 33a0e9ed..a7fc0899 100644
--- a/kpresenter/KPrTransEffectDia.cpp
+++ b/kpresenter/KPrTransEffectDia.cpp
@@ -34,7 +34,7 @@
#include <tqheader.h>
#include <tqwmatrix.h>
#include <tqvbox.h>
-#include <layout.h>
+#include <tqlayout.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::repaint();
+ TQLabel::tqrepaint();
}
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 *rightlayout = new TQVBoxLayout( rightpart, KDialog::marginHint(), KDialog::spacingHint() );
- rightlayout->setAutoAdd( true );
+ TQVBoxLayout *righttqlayout = new TQVBoxLayout( rightpart, KDialog::marginHint(), KDialog::spacingHint() );
+ righttqlayout->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 *leftlayout = new TQVBoxLayout( leftpart, KDialog::marginHint(), KDialog::spacingHint() );
- leftlayout->setAutoAdd( true );
+ TQVBoxLayout *lefttqlayout = new TQVBoxLayout( leftpart, KDialog::marginHint(), KDialog::spacingHint() );
+ lefttqlayout->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->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
+ previewspacer->tqsetSizePolicy( 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->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding ) );
+ rspacer->tqsetSizePolicy( 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" ) ).arg( *it ).arg( (*it).upper() );
+ str += TQString( i18n( "*.%1|%2 Files" ) ).tqarg( *it ).tqarg( (*it).upper() );
full += TQString( "*.") + (*it) + ' ';
}