]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiClipboard.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiClipboard.h
index 5e7e455f06bcb5eb53cf614ed2ed42027a9c6e5e..d0552a828136292e6e9aafd2ced55dc513d43f72 100644 (file)
@@ -21,7 +21,7 @@
 namespace lyx {
 namespace frontend {
 
-class QWindowsMimeMetafile;
+class QMacPasteboardMimeGraphics;
 
 /**
  * The Qt4 version of the Clipboard.
@@ -31,7 +31,6 @@ class GuiClipboard: public QObject, public Clipboard
        Q_OBJECT
 public:
        GuiClipboard();
-       virtual ~GuiClipboard();
 
        /** Clipboard overloaded methods
         */
@@ -42,6 +41,7 @@ public:
        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;
@@ -54,13 +54,16 @@ private Q_SLOTS:
        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