mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 13:20:58 +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.
|
* from the kernel and push it to X with this method.
|
||||||
*/
|
*/
|
||||||
virtual void put(docstring const &) = 0;
|
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
|
} // namespace frontend
|
||||||
|
@ -62,11 +62,5 @@ void GuiSelection::put(docstring const & str)
|
|||||||
QClipboard::Selection);
|
QClipboard::Selection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool GuiSelection::isInternal() const
|
|
||||||
{
|
|
||||||
return qApp->clipboard()->ownsSelection();
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
} // namespace lyx
|
} // namespace lyx
|
||||||
|
@ -33,7 +33,6 @@ public:
|
|||||||
void haveSelection(bool own);
|
void haveSelection(bool own);
|
||||||
docstring const get() const;
|
docstring const get() const;
|
||||||
void put(docstring const & str);
|
void put(docstring const & str);
|
||||||
bool isInternal() const;
|
|
||||||
//@}
|
//@}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user