#include <map>
+namespace lyx {
+
class InsetBase;
class LyXView;
-namespace lyx {
-namespace frontend {
-class Dialog;
-} // namespace frontend
-} // namespace lyx
+namespace frontend { class Dialog; }
/** Container of all dialogs.
*/
///
Dialogs(LyXView &);
- /** Redraw all visible dialogs because, for example, the GUI colours
- * have been re-mapped.
- *
- * Note that static boost signals break some compilers, so we return a
- * reference to some hidden magic ;-)
- */
- static boost::signal<void()> & redrawGUI();
-
/** Check the status of all visible dialogs and disable or reenable
* them as appropriate.
*
*/
void checkStatus();
- /// Toggle tooltips on/off in all dialogs.
- static void toggleTooltips();
-
/// Are the tooltips on or off?
static bool tooltipsEnabled();
///
bool isValidName(std::string const & name) const;
///
- lyx::frontend::Dialog * find_or_build(std::string const & name);
+ frontend::Dialog * find_or_build(std::string const & name);
///
- typedef boost::shared_ptr<lyx::frontend::Dialog> DialogPtr;
+ typedef boost::shared_ptr<frontend::Dialog> DialogPtr;
///
DialogPtr build(std::string const & name);
bool in_show_;
};
+} // namespace lyx
+
#endif