namespace lyx {
namespace frontend {
-class QWindowsMimeMetafile;
+class QMacPasteboardMimeGraphics;
/**
* The Qt4 version of the Clipboard.
Q_OBJECT
public:
GuiClipboard();
- virtual ~GuiClipboard();
/** Clipboard overloaded methods
*/
void put(std::string const & lyx, docstring const & text);
bool hasLyXContents() const;
bool hasGraphicsContents(GraphicsType type = AnyGraphicsType) const;
+ bool hasTextContents() const;
bool isInternal() const;
bool hasInternal() const;
bool empty() const;
void on_dataChanged();
private:
- /// WMF Mime handler for Windows clipboard.
- QWindowsMimeMetafile * wmf_mime_;
bool text_clipboard_empty_;
bool has_lyx_contents_;
bool has_graphics_contents_;
};
+QString const lyxMimeType();
+QString const pdfMimeType();
+QString const emfMimeType();
+QString const wmfMimeType();
+
} // namespace frontend
} // namespace lyx