[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: koffice/kpresenter
From:       Montel laurent <montell () club-internet ! fr>
Date:       2003-01-02 16:34:01
[Download RAW message or body]

Le Thursday 02 January 2003 15:28, Ariya Hidayat a écrit :
> CVS commit by ariya:
>
> removed unused ViewPage action
>

Why you remove it ?
It did very easy to see directly current page.
Regards.

>
>   M +0 -5      KPresenterViewIface.cc   1.47
>   M +0 -1      KPresenterViewIface.h   1.48
>   M +0 -2      kpresenter.rc   1.146
>   M +0 -13     kpresenter_view.cc   1.922
>   M +0 -2      kpresenter_view.h   1.303
>
>
> --- koffice/kpresenter/KPresenterViewIface.cc  #1.46:1.47
> @@ -338,9 +338,4 @@ void KPresenterViewIface::screenSkip()
>  }
>
> -void KPresenterViewIface::screenViewPage()
> -{
> -    view->screenViewPage();
> -}
> -
>  void KPresenterViewIface::sizeSelected( int size )
>  {
>
> --- koffice/kpresenter/KPresenterViewIface.h  #1.47:1.48
> @@ -122,5 +122,4 @@ k_dcop:
>      virtual void screenLast();
>      virtual void screenSkip();
> -    virtual void screenViewPage();
>
>      // text toolbar
>
> --- koffice/kpresenter/kpresenter.rc  #1.145:1.146
> @@ -158,5 +158,4 @@
>    <Separator/>
>    <Action name="screen_start"/>
> -  <Action name="screen_viewpage"/>
>    <Separator/>
>    <Action name="screen_first"/>
> @@ -256,5 +255,4 @@
>    <Separator/>
>    <Action name="screen_start"/>
> -  <Action name="screen_viewpage"/>
>    <Separator/>
>    <Action name="screen_first"/>
>
> --- koffice/kpresenter/kpresenter_view.cc  #1.921:1.922
> @@ -1510,9 +1510,4 @@ void KPresenterView::screenStart()
>  }
>
> -void KPresenterView::screenViewPage()
> -{
> -    startScreenPres( getCurrPgNum() );
> -}
> -
>  void KPresenterView::startScreenPres( int pgNum /*1-based*/ )
>  {
> @@ -1584,5 +1579,4 @@ void KPresenterView::startScreenPres( in
>
>          actionScreenStart->setEnabled( false );
> -        actionScreenViewPage->setEnabled( false );
>
>          if ( kPresenterDoc()->presentationDuration() ) {
> @@ -1656,5 +1650,4 @@ void KPresenterView::screenStop()
>
>          actionScreenStart->setEnabled( true );
> -        actionScreenViewPage->setEnabled( true );
>          pageBase->resizeEvent( 0 );
>
> @@ -3045,9 +3038,4 @@ void KPresenterView::setupActions()
>                                       actionCollection(), "screen_start" );
>
> -    actionScreenViewPage = new KAction( i18n( "&View Current Page" ),
> -                                        "viewmag", 0,
> -                                        this, SLOT( screenViewPage() ),
> -                                        actionCollection(),
> "screen_viewpage" ); -
>      actionScreenFirst = new KAction( i18n( "&Go to Start" ),
>                                       "start", Key_Home,
> @@ -7346,5 +7334,4 @@ void KPresenterView::slotChangeCutState(
>  void KPresenterView::updatePresentationButton(bool b)
>  {
> -    actionScreenViewPage->setEnabled( b );
>      actionScreenStart->setEnabled( b );
>  }
>
> --- koffice/kpresenter/kpresenter_view.h  #1.302:1.303
> @@ -263,5 +263,4 @@ public slots:
>      void screenTransEffect();
>      void screenStart();
> -    void screenViewPage();
>      void screenStop();
>      void screenPause();
> @@ -936,5 +935,4 @@ private:
>      KAction *actionScreenTransEffect;
>      KAction *actionScreenStart;
> -    KAction *actionScreenViewPage;
>      KAction *actionScreenStop;
>      KAction *actionScreenPause;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic