summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrSlideTransitionDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrSlideTransitionDia.cpp')
-rw-r--r--kpresenter/KPrSlideTransitionDia.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kpresenter/KPrSlideTransitionDia.cpp b/kpresenter/KPrSlideTransitionDia.cpp
index 51a4964e..d7d0b668 100644
--- a/kpresenter/KPrSlideTransitionDia.cpp
+++ b/kpresenter/KPrSlideTransitionDia.cpp
@@ -50,7 +50,7 @@ KPrSlideTransitionDia::KPrSlideTransitionDia( TQWidget *parent, const char *name
int pgnum = m_view->getCurrPgNum() - 1;
KPrPage *page = m_view->kPresenterDoc()->pageList().at( pgnum );
m_effect = page->getPageEffect();
- m_effectSpeed = page->getPageEffectSpeed();
+ m_effectSpeed = page->getPageEffectSpeed();
m_soundEffect = page->getPageSoundEffect();
m_soundFileName = page->getPageSoundFileName();
m_slideTime = page->getPageTimer();
@@ -81,20 +81,20 @@ KPrSlideTransitionDia::KPrSlideTransitionDia( TQWidget *parent, const char *name
// fill effect combo
m_dialog->effectCombo->insertItem( i18n( "No Effect" ) );
- m_dialog->effectCombo->insertItem( i18n( "CloseQt::Horizontal" ) );
- m_dialog->effectCombo->insertItem( i18n( "CloseQt::Vertical" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Close Horizontal" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Close Vertical" ) );
m_dialog->effectCombo->insertItem( i18n( "Close From All Directions" ) );
- m_dialog->effectCombo->insertItem( i18n( "OpenQt::Horizontal" ) );
- m_dialog->effectCombo->insertItem( i18n( "OpenQt::Vertical" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Open Horizontal" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Open Vertical" ) );
m_dialog->effectCombo->insertItem( i18n( "Open From All Directions" ) );
- m_dialog->effectCombo->insertItem( i18n( "InterlockingQt::Horizontal 1" ) );
- m_dialog->effectCombo->insertItem( i18n( "InterlockingQt::Horizontal 2" ) );
- m_dialog->effectCombo->insertItem( i18n( "InterlockingQt::Vertical 1" ) );
- m_dialog->effectCombo->insertItem( i18n( "InterlockingQt::Vertical 2" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Interlocking Horizontal 1" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Interlocking Horizontal 2" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Interlocking Vertical 1" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Interlocking Vertical 2" ) );
m_dialog->effectCombo->insertItem( i18n( "Surround 1" ) );
m_dialog->effectCombo->insertItem( i18n( "Fly Away 1" ) );
- m_dialog->effectCombo->insertItem( i18n( "Blinds::Horizontal" ) );
- m_dialog->effectCombo->insertItem( i18n( "Blinds::Vertical" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Blinds Horizontal" ) );
+ m_dialog->effectCombo->insertItem( i18n( "Blinds Vertical" ) );
m_dialog->effectCombo->insertItem( i18n( "Box In" ) );
m_dialog->effectCombo->insertItem( i18n( "Box Out" ) );
m_dialog->effectCombo->insertItem( i18n( "Checkerboard Across" ) );
@@ -130,7 +130,7 @@ KPrSlideTransitionDia::KPrSlideTransitionDia( TQWidget *parent, const char *name
m_dialog->effectCombo->setCurrentItem( m_dialog->effectCombo->count()-1 );
connect( m_dialog->effectCombo, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( effectChanged( int ) ) );
-
+
// setup speed combo
m_dialog->speedCombo->insertItem( i18n("Slow") );
m_dialog->speedCombo->insertItem( i18n("Medium") );
@@ -164,7 +164,7 @@ KPrSlideTransitionDia::KPrSlideTransitionDia( TQWidget *parent, const char *name
connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
connect( this, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( slotUser1() ) );
-
+
setMainWidget( m_dialog );
}
@@ -188,7 +188,7 @@ void KPrSlideTransitionDia::preview()
effect = PEF_RANDOM;
EffectSpeed effectSpeed = static_cast<EffectSpeed>( m_dialog->speedCombo->currentItem() );
-
+
if ( m_pageEffect )
{
m_pageEffectTimer.stop();
@@ -330,7 +330,7 @@ void KPrSlideTransitionDia::apply( bool global )
bool soundEffect = m_dialog->soundCheckBox->isChecked();
TQString soundFileName = m_dialog->soundRequester->url();
int slideTime = m_dialog->automaticTransitionInput->value();
-
+
if ( effect != m_effect ||
effectSpeed != m_effectSpeed ||
soundEffect != m_soundEffect ||
@@ -338,7 +338,7 @@ void KPrSlideTransitionDia::apply( bool global )
slideTime != m_slideTime )
{
KPrTransEffectCmd::PageEffectSettings newSettings;
-
+
newSettings.pageEffect = effect;
newSettings.effectSpeed = effectSpeed;
newSettings.soundEffect = soundEffect;