]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiApplication.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / GuiApplication.h
index bfc242ccde8713ebd0d314f9c64fdd4699084d23..de6013d4c7e691fa127e128d9de5a37fcc0fbcb3 100644 (file)
@@ -25,6 +25,7 @@
 class QAbstractItemModel;
 class QIcon;
 class QSessionManager;
+class QFont;
 
 namespace lyx {
 
@@ -62,7 +63,7 @@ public:
 
        /// \name Methods inherited from Application class
        //@{
-       void dispatch(FuncRequest const &);
+       DispatchResult const & dispatch(FuncRequest const &);
        void dispatch(FuncRequest const &, DispatchResult & dr);
        FuncStatus getStatus(FuncRequest const & cmd) const;
        void restoreGuiSession();
@@ -108,7 +109,8 @@ public:
 #ifdef Q_WS_X11
        bool x11EventFilter(XEvent * ev);
 #elif defined(QPA_XCB)
-       virtual bool nativeEventFilter(const QByteArray & eventType, void * message, long * result);
+       virtual bool nativeEventFilter(const QByteArray & eventType, void * message,
+                                      long * result) Q_DECL_OVERRIDE;
 #endif
        //@}
 
@@ -144,6 +146,8 @@ public:
 
        /// return a suitable monospaced font name.
        QString const typewriterFontName();
+       QFont const typewriterSystemFont();
+
        ///
        void unregisterView(GuiView * gv);
        ///
@@ -161,6 +165,9 @@ public:
 #endif
        }
 
+       /// return true if the key is part of a shortcut
+       bool queryKeySym(KeySymbol const & key, KeyModifier state) const;
+       ///
        void processKeySym(KeySymbol const & key, KeyModifier state);
        /// return the status bar state string
        docstring viewStatusMessage();