Q_OBJECT
public:
GuiClipboard();
- virtual ~GuiClipboard() {}
+ virtual ~GuiClipboard();
/** Clipboard overloaded methods
*/
//@{
std::string const getAsLyX() const;
+ FileName getAsGraphics(Cursor const & cur, GraphicsType type) const;
docstring const getAsText() const;
void put(std::string const & lyx, docstring const & text);
bool hasLyXContents() const;
+ bool hasGraphicsContents(GraphicsType type = AnyGraphicsType) const;
bool isInternal() const;
bool hasInternal() const;
bool empty() const;
//@}
+ FileName getPastedGraphicsFileName(Cursor const & cur,
+ Clipboard::GraphicsType & type) const;
+
private Q_SLOTS:
void on_dataChanged();
private:
bool text_clipboard_empty_;
bool has_lyx_contents_;
+ bool has_graphics_contents_;
};
} // namespace frontend