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.
36 lines
889 B
36 lines
889 B
// -*- C++ -*-
|
|
#ifndef KVIEWPART_IFACE_H
|
|
#define KVIEWPART_IFACE_H
|
|
|
|
#include <kparts/part.h>
|
|
|
|
class QStringList;
|
|
|
|
|
|
class KViewPart_Iface : public KParts::ReadOnlyPart
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
KViewPart_Iface(QObject *parent, const char *name)
|
|
: KParts::ReadOnlyPart(parent, name) {}
|
|
|
|
virtual ~KViewPart_Iface() {}
|
|
|
|
/* Returns a description of the current page size, for use in the
|
|
statusbar of the kviewshell that embeds this KViewPart. */
|
|
virtual QString pageSizeDescription() = 0;
|
|
|
|
/* This method calls closeURL(), but asks first ("The document was
|
|
modified. Do you really want to close?") if the document has been
|
|
modified after it has been loaded. */
|
|
virtual bool closeURL_ask() = 0;
|
|
|
|
virtual QStringList supportedMimeTypes() = 0;
|
|
|
|
public slots:
|
|
virtual void slotSetFullPage(bool fullpage) = 0;
|
|
virtual QStringList fileFormats() const = 0;
|
|
};
|
|
|
|
#endif
|