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:
Georg Baum 2007-01-04 11:12:01 +00:00
parent 3db3cc44dd
commit 9d1dbb6f61
3 changed files with 0 additions and 11 deletions

View File

@ -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

View File

@ -62,11 +62,5 @@ void GuiSelection::put(docstring const & str)
QClipboard::Selection);
}
bool GuiSelection::isInternal() const
{
return qApp->clipboard()->ownsSelection();
}
} // namespace frontend
} // namespace lyx

View File

@ -33,7 +33,6 @@ public:
void haveSelection(bool own);
docstring const get() const;
void put(docstring const & str);
bool isInternal() const;
//@}
};