got the necessary 2 seconds to review the patch.

Thanks and sorry for taking so long.
Changed method's name to one i like better
I'm not sure what are we supposed to do with the profile for IRKick, i guess just ignoring it :D
BUGS: 148026

svn path=/branches/KDE/3.5/kdegraphics/kpdf/; revision=704875
remotes/origin/kpdf-3.5
Albert Astals Cid 19 years ago
parent 992cab36c2
commit 8346c0ef65
  1. 1
      dcop.h
  2. 7
      part.cpp
  3. 1
      part.h

@ -29,6 +29,7 @@ K_DCOP
virtual void slotNextPage() = 0;
virtual void slotGotoFirst() = 0;
virtual void slotGotoLast() = 0;
virtual void slotTogglePresentation() = 0;
};
#endif

@ -997,6 +997,13 @@ void Part::slotHidePresentation()
delete (PresentationWidget*) m_presentationWidget;
}
void Part::slotTogglePresentation()
{
if ( !m_presentationWidget )
m_presentationWidget = new PresentationWidget( widget(), m_document );
else delete (PresentationWidget*) m_presentationWidget;
}
void Part::slotPrint()
{
if (m_document->pages() == 0) return;

@ -112,6 +112,7 @@ protected slots:
void slotShowLeftPanel();
void slotShowPresentation();
void slotHidePresentation();
void slotTogglePresentation();
void close();
// can be connected to widget elements
void updateViewActions();

Loading…
Cancel
Save