- reorder some function declarations,
- remove some declarations from the list of functions that inherit from Application,
- add and clarify some comments,
- whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35781
a592a061-630c-0410-9148-
cb99ea01b6c8
GuiApplication(int & argc, char ** argv);
~GuiApplication();
GuiApplication(int & argc, char ** argv);
~GuiApplication();
- /// Clear all session information.
- void clearSession();
-
/// \name Methods inherited from Application class
//@{
void dispatch(FuncRequest const &);
void dispatch(FuncRequest const &, DispatchResult & dr);
FuncStatus getStatus(FuncRequest const & cmd) const;
void restoreGuiSession();
/// \name Methods inherited from Application class
//@{
void dispatch(FuncRequest const &);
void dispatch(FuncRequest const &, DispatchResult & dr);
FuncStatus getStatus(FuncRequest const & cmd) const;
void restoreGuiSession();
- Clipboard & clipboard();
- Selection & selection();
- FontLoader & fontLoader();
+ Buffer const * updateInset(Inset const * inset) const;
int exec();
void exit(int status);
bool event(QEvent * e);
int exec();
void exit(int status);
bool event(QEvent * e);
void unregisterSocketCallback(int fd);
bool searchMenu(FuncRequest const & func, docstring_list & names) const;
docstring iconName(FuncRequest const & f, bool unknown);
void unregisterSocketCallback(int fd);
bool searchMenu(FuncRequest const & func, docstring_list & names) const;
docstring iconName(FuncRequest const & f, bool unknown);
- Buffer const * updateInset(Inset const * inset) const;
void handleKeyFunc(FuncCode action);
//@}
void handleKeyFunc(FuncCode action);
//@}
///
bool getStatus(FuncRequest const & cmd, FuncStatus & status) const;
///
///
bool getStatus(FuncRequest const & cmd, FuncStatus & status) const;
///
+ ///
+ Clipboard & clipboard();
+ ///
+ Selection & selection();
+ ///
+ FontLoader & fontLoader();
+
+ ///
Toolbars const & toolbars() const;
Toolbars const & toolbars() const;
Menus const & menus() const;
Menus const & menus() const;
Menus & menus();
/// \name Methods inherited from QApplication class
Menus & menus();
/// \name Methods inherited from QApplication class
void setCurrentView(GuiView * view) { current_view_ = view; }
///
QList<int> viewIds() const;
void setCurrentView(GuiView * view) { current_view_ = view; }
///
QList<int> viewIds() const;
+
+ /// Clear all session information.
+ void clearSession();
///
ColorCache & colorCache();
///
ColorCache & colorCache();
QAbstractItemModel * languageModel();
/// return a suitable serif font name.
QAbstractItemModel * languageModel();
/// return a suitable serif font name.
void execBatchCommands();
///
void socketDataReceived(int fd);
void execBatchCommands();
///
void socketDataReceived(int fd);
- /// events to be triggered by general_timer_ should go here
+ /// events to be triggered by Private::general_timer_ should go here
void handleRegularEvents();
///
void onLastWindowClosed();
void handleRegularEvents();
///
void onLastWindowClosed();
///
void processFuncRequestQueue();
///
void processFuncRequestQueue();
/// \return the icon file name for the given action.
QString iconName(FuncRequest const & f, bool unknown);
/// \return the icon file name for the given action.
QString iconName(FuncRequest const & f, bool unknown);
/// \return the pixmap for the given path, name and extension.
QPixmap getPixmap(QString const & path, QString const & name, QString const & ext);
/// \return an icon for the given action.
QIcon getIcon(FuncRequest const & f, bool unknown);
/// \return the pixmap for the given path, name and extension.
QPixmap getPixmap(QString const & path, QString const & name, QString const & ext);
/// \return an icon for the given action.
QIcon getIcon(FuncRequest const & f, bool unknown);
GuiApplication * theGuiApp();
} // namespace frontend
GuiApplication * theGuiApp();
} // namespace frontend