summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrCanvas.cpp')
-rw-r--r--kpresenter/KPrCanvas.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kpresenter/KPrCanvas.cpp b/kpresenter/KPrCanvas.cpp
index 05c9923b..ab8e1543 100644
--- a/kpresenter/KPrCanvas.cpp
+++ b/kpresenter/KPrCanvas.cpp
@@ -163,14 +163,14 @@ KPrCanvas::KPrCanvas( TQWidget *parent, const char *name, KPrView *_view )
if( m_view)
{
m_activePage=m_view->kPresenterDoc()->pageList().getFirst();
- connect( m_view->kPresenterDoc(), TQT_SIGNAL( sig_terminateEditing( KPrTextObject * ) ),
- this, TQT_SLOT( terminateEditing( KPrTextObject * ) ) );
- connect( m_view, TQT_SIGNAL( autoScroll( const TQPoint & )), this, TQT_SLOT( slotAutoScroll( const TQPoint &)));
+ connect( m_view->kPresenterDoc(), TQ_SIGNAL( sig_terminateEditing( KPrTextObject * ) ),
+ this, TQ_SLOT( terminateEditing( KPrTextObject * ) ) );
+ connect( m_view, TQ_SIGNAL( autoScroll( const TQPoint & )), this, TQ_SLOT( slotAutoScroll( const TQPoint &)));
}
if ( kospeaker )
- connect( kospeaker, TQT_SIGNAL( customSpeakWidget(TQWidget*, const TQPoint&, uint) ),
- this, TQT_SLOT( speakTextUnderMouse(TQWidget*, const TQPoint&, uint) ) );
+ connect( kospeaker, TQ_SIGNAL( customSpeakWidget(TQWidget*, const TQPoint&, uint) ),
+ this, TQ_SLOT( speakTextUnderMouse(TQWidget*, const TQPoint&, uint) ) );
}
KPrCanvas::~KPrCanvas()
@@ -2310,12 +2310,12 @@ void KPrCanvas::setupMenus()
TQ_CHECK_PTR( m_presMenu );
m_presMenu->setCheckable( true );
m_presMenu->insertTitle( i18n( "Slide Show" ) );
- m_presMenu->insertItem( i18n( "&Continue" ), this, TQT_SLOT( setSwitchingMode() ) );
- PM_DM = m_presMenu->insertItem( i18n( "&Drawing Mode" ), this, TQT_SLOT( setDrawingMode() ) );
+ m_presMenu->insertItem( i18n( "&Continue" ), this, TQ_SLOT( setSwitchingMode() ) );
+ PM_DM = m_presMenu->insertItem( i18n( "&Drawing Mode" ), this, TQ_SLOT( setDrawingMode() ) );
m_presMenu->insertSeparator();
- m_presMenu->insertItem( SmallIcon("goto"), i18n( "&Goto Slide..." ), this, TQT_SLOT( slotGotoPage() ) );
+ m_presMenu->insertItem( SmallIcon("goto"), i18n( "&Goto Slide..." ), this, TQ_SLOT( slotGotoPage() ) );
m_presMenu->insertSeparator();
- m_presMenu->insertItem( i18n( "&End" ), this, TQT_SLOT( slotExitPres() ) );
+ m_presMenu->insertItem( i18n( "&End" ), this, TQ_SLOT( slotExitPres() ) );
m_presMenu->setItemChecked( PM_DM, false );
m_presMenu->setMouseTracking( true );
}
@@ -3117,7 +3117,7 @@ bool KPrCanvas::pNext( bool gotoNextPage )
}
else
{
- connect( &m_pageEffectTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotDoPageEffect() ) );
+ connect( &m_pageEffectTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotDoPageEffect() ) );
m_pageEffectTimer.start( 50, true );
}
@@ -3390,7 +3390,7 @@ void KPrCanvas::doObjEffects( bool isAllreadyPainted )
if ( m_effectHandler )
{
m_effectTimer.stop();
- TQObject::disconnect( &m_effectTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotDoEffect() ) );
+ TQObject::disconnect( &m_effectTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotDoEffect() ) );
m_effectHandler->finish();
delete m_effectHandler;
@@ -3446,7 +3446,7 @@ void KPrCanvas::doObjEffects( bool isAllreadyPainted )
}
else
{
- connect( &m_effectTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotDoEffect() ) );
+ connect( &m_effectTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotDoEffect() ) );
m_effectTimer.start( 50, true );
}
@@ -3457,7 +3457,7 @@ void KPrCanvas::slotDoEffect()
if ( m_effectHandler->doEffect() )
{
m_effectTimer.stop();
- TQObject::disconnect( &m_effectTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotDoEffect() ) );
+ TQObject::disconnect( &m_effectTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotDoEffect() ) );
delete m_effectHandler;
m_effectHandler = 0;
}
@@ -3473,7 +3473,7 @@ void KPrCanvas::slotDoPageEffect()
if ( m_pageEffect->doEffect() )
{
m_pageEffectTimer.stop();
- TQObject::disconnect( &m_pageEffectTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotDoPageEffect() ) );
+ TQObject::disconnect( &m_pageEffectTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotDoPageEffect() ) );
delete m_pageEffect;
m_pageEffect = 0;
@@ -3500,7 +3500,7 @@ bool KPrCanvas::finishObjectEffects()
if ( m_effectHandler )
{
m_effectTimer.stop();
- TQObject::disconnect( &m_effectTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotDoEffect() ) );
+ TQObject::disconnect( &m_effectTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotDoEffect() ) );
m_effectHandler->finish();
delete m_effectHandler;
m_effectHandler = 0;
@@ -3516,7 +3516,7 @@ bool KPrCanvas::finishPageEffect( bool cancel )
if ( m_pageEffect )
{
m_pageEffectTimer.stop();
- TQObject::disconnect( &m_pageEffectTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotDoPageEffect() ) );
+ TQObject::disconnect( &m_pageEffectTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotDoPageEffect() ) );
if ( !cancel )
m_pageEffect->finish();
delete m_pageEffect;