okular
kdocumentviewer.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _KDOCUMENTVIEWER_H_
00011 #define _KDOCUMENTVIEWER_H_
00012
00013 #include <QtCore/QStringList>
00014
00015 class KUrl;
00016
00022 class KDocumentViewer
00023 {
00024 public:
00025 virtual ~KDocumentViewer() {}
00026
00030 virtual bool openDocument( const KUrl& url, uint page ) = 0;
00031
00035 virtual void goToPage( uint page ) = 0;
00036
00040 virtual void startPresentation() = 0;
00041
00045 virtual QStringList supportedMimeTypes() const = 0;
00046 };
00047
00048 Q_DECLARE_INTERFACE( KDocumentViewer, "org.kde.kdocumentviewer/0.1" )
00049
00050 #endif