TDE graphics utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dcop.h 1.2KB

1234567891011121314151617181920212223242526272829303132333435
  1. /***************************************************************************
  2. * Copyright (C) 2004 by Albert Astals Cid <tsdgeos@terra.es> *
  3. * *
  4. * This program is free software; you can redistribute it and/or modify *
  5. * it under the terms of the GNU General Public License as published by *
  6. * the Free Software Foundation; either version 2 of the License, or *
  7. * (at your option) any later version. *
  8. ***************************************************************************/
  9. #ifndef MY_INTERFACE_H
  10. #define MY_INTERFACE_H
  11. #include <dcopobject.h>
  12. #include <kurl.h>
  13. class kpdf_dcop : virtual public DCOPObject
  14. {
  15. K_DCOP
  16. k_dcop:
  17. virtual ASYNC goToPage(uint page) = 0;
  18. virtual ASYNC openDocument(KURL doc) = 0;
  19. virtual uint pages() = 0;
  20. virtual uint currentPage() = 0;
  21. virtual KURL currentDocument() = 0;
  22. virtual void slotPreferences() = 0;
  23. virtual void slotFind() = 0;
  24. virtual void slotPrintPreview() = 0;
  25. virtual void slotPreviousPage() = 0;
  26. virtual void slotNextPage() = 0;
  27. virtual void slotGotoFirst() = 0;
  28. virtual void slotGotoLast() = 0;
  29. virtual void slotTogglePresentation() = 0;
  30. };
  31. #endif