diff base/Preferences.h @ 694:2c4aca969c24 toggle

Option added in the preference menu to be able to start the application in minimal mode
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Wed, 20 Jul 2011 16:30:07 +0100
parents 75f154085a4d
children
line wrap: on
line diff
--- a/base/Preferences.h	Sun Jun 26 19:33:54 2011 +0100
+++ b/base/Preferences.h	Wed Jul 20 16:30:07 2011 +0100
@@ -88,6 +88,8 @@
 
     bool getShowSplash() const { return m_showSplash; }
 
+    bool getStartInMiniMode() const { return m_startInMiniMode; }
+
 public slots:
     virtual void setProperty(const PropertyName &, int);
 
@@ -105,6 +107,8 @@
     void setViewFontSize(int size);
     void setShowSplash(bool);
 
+    void setStartInMiniMode(bool);
+
 private:
     Preferences(); // may throw DirectoryCreationFailed
     virtual ~Preferences();
@@ -124,6 +128,8 @@
     BackgroundMode m_backgroundMode;
     TimeToTextMode m_timeToTextMode;
     bool m_showSplash;
+
+    bool m_startInMiniMode;
 };
 
 #endif