]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ButtonPolicy.h
Do not compute caret geometry when we are not ready to do so.
[lyx.git] / src / frontends / qt4 / ButtonPolicy.h
index 28f711e9eb461a4f75b366748b19462001623adb..298ec436290419a9c6265015676588b58d782a98 100644 (file)
@@ -23,7 +23,7 @@ namespace frontend {
     dialogs. Only the policy is implemented here.  Separate ButtonController
     classes are needed for each GUI implementation.
 
     dialogs. Only the policy is implemented here.  Separate ButtonController
     classes are needed for each GUI implementation.
 
-       Policy                    | ReadOnly | Apply Button | Repeated Apply
+    Policy                    | ReadOnly | Apply Button | Repeated Apply
     ========================================================================
     OkCancel                  |     N    |      N        |      -
     OkCancelReadOnly          |     Y    |      N        |      -
     ========================================================================
     OkCancel                  |     N    |      N        |      -
     OkCancelReadOnly          |     Y    |      N        |      -
@@ -66,7 +66,7 @@ class ButtonPolicy
 public:
 
        // The various poicies
 public:
 
        // The various poicies
-       enum Policy { 
+       enum Policy {
                /** Ok and Cancel buttons for dialogs with read-only operation.
                        Note: This scheme supports the relabelling of Cancel to Close and
                        vice versa.
                /** Ok and Cancel buttons for dialogs with read-only operation.
                        Note: This scheme supports the relabelling of Cancel to Close and
                        vice versa.
@@ -161,7 +161,7 @@ public:
                        to minimise problems to users by supplying an anything-goes policy via a
                        preprocessor directive.
                 */
                        to minimise problems to users by supplying an anything-goes policy via a
                        preprocessor directive.
                 */
-               IgnorantPolicy,
+               IgnorantPolicy
        };
 
        /// Constructor
        };
 
        /// Constructor
@@ -273,7 +273,7 @@ private:
        /// noncopyable
        ButtonPolicy(ButtonPolicy const &);
        void operator=(ButtonPolicy const &);
        /// noncopyable
        ButtonPolicy(ButtonPolicy const &);
        void operator=(ButtonPolicy const &);
-       
+
        /// pimpl
        class Private;
        Private * d;
        /// pimpl
        class Private;
        Private * d;