mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
Remove isInternal() method. We don't use it and should not do so in the
future, we use LCursor::selection() instead. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16497 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3db3cc44dd
commit
9d1dbb6f61
@ -49,10 +49,6 @@ public:
|
||||
* from the kernel and push it to X with this method.
|
||||
*/
|
||||
virtual void put(docstring const &) = 0;
|
||||
|
||||
/// state of clipboard.
|
||||
/// \retval true if the system clipboard has been set within LyX.
|
||||
virtual bool isInternal() const = 0;
|
||||
};
|
||||
|
||||
} // namespace frontend
|
||||
|
@ -62,11 +62,5 @@ void GuiSelection::put(docstring const & str)
|
||||
QClipboard::Selection);
|
||||
}
|
||||
|
||||
|
||||
bool GuiSelection::isInternal() const
|
||||
{
|
||||
return qApp->clipboard()->ownsSelection();
|
||||
}
|
||||
|
||||
} // namespace frontend
|
||||
} // namespace lyx
|
||||
|
@ -33,7 +33,6 @@ public:
|
||||
void haveSelection(bool own);
|
||||
docstring const get() const;
|
||||
void put(docstring const & str);
|
||||
bool isInternal() const;
|
||||
//@}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user