3 * \file qt3/GuiClipboard.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Abdelrazak Younes
9 * Full author contact details are available in file CREDITS.
15 #include "frontends/Clipboard.h"
17 #include "QWorkArea.h"
22 typedef QWorkArea FWorkArea;
25 * The Qt3 version of the Clipboard.
27 class GuiClipboard: public lyx::frontend::Clipboard
30 GuiClipboard(FWorkArea * work_area)
31 : old_work_area_(work_area)
35 virtual ~GuiClipboard() {}
37 /** ClipBoard overloaded methods
40 void haveSelection(bool own)
42 old_work_area_->haveSelection(own);
45 std::string const get() const
47 return old_work_area_->getClipboard();
50 void put(std::string const & str)
52 old_work_area_->putClipboard(str);
57 FWorkArea * old_work_area_;
60 } // namespace frontend