summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oglobalsettings.h
Unidiff
Diffstat (limited to 'libopie2/opiecore/oglobalsettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oglobalsettings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/oglobalsettings.h b/libopie2/opiecore/oglobalsettings.h
index d3f357e..e3ac148 100644
--- a/libopie2/opiecore/oglobalsettings.h
+++ b/libopie2/opiecore/oglobalsettings.h
@@ -111,193 +111,193 @@ class OGlobalSettings
111 * 111 *
112 * see @ref http://opie.handhelds.org/documentation/standards/opie/style/mouse/index.html 112 * see @ref http://opie.handhelds.org/documentation/standards/opie/style/mouse/index.html
113 **/ 113 **/
114 static bool singleClick(); 114 static bool singleClick();
115 115
116 /** 116 /**
117 * Returns whether tear-off handles are inserted in OPopupMenus. 117 * Returns whether tear-off handles are inserted in OPopupMenus.
118 **/ 118 **/
119 // would clutter the small screen -zecke 119 // would clutter the small screen -zecke
120 static bool insertTearOffHandle(); 120 static bool insertTearOffHandle();
121 121
122 /** 122 /**
123 * @return the OPIE setting for "change cursor over icon" 123 * @return the OPIE setting for "change cursor over icon"
124 */ 124 */
125 static bool changeCursorOverIcon(); 125 static bool changeCursorOverIcon();
126 126
127 /** 127 /**
128 * @return whether to show some feedback when an item (specifically an 128 * @return whether to show some feedback when an item (specifically an
129 * icon) is activated. 129 * icon) is activated.
130 */ 130 */
131 static bool visualActivate(); 131 static bool visualActivate();
132 static unsigned int visualActivateSpeed(); 132 static unsigned int visualActivateSpeed();
133 133
134 /** 134 /**
135 * Returns the OPIE setting for the auto-select option 135 * Returns the OPIE setting for the auto-select option
136 * 136 *
137 * @return the auto-select delay or -1 if auto-select is disabled. 137 * @return the auto-select delay or -1 if auto-select is disabled.
138 */ 138 */
139 static int autoSelectDelay(); 139 static int autoSelectDelay();
140 140
141 /** 141 /**
142 * Returns the OPIE setting for the shortcut key to open 142 * Returns the OPIE setting for the shortcut key to open
143 * context menus. 143 * context menus.
144 * 144 *
145 * @return the key that pops up context menus. 145 * @return the key that pops up context menus.
146 */ 146 */
147 static int contextMenuKey(); 147 static int contextMenuKey();
148 148
149 /** 149 /**
150 * Returns the OPIE setting for context menus. 150 * Returns the OPIE setting for context menus.
151 * 151 *
152 * @return whether context menus should be shown on button press 152 * @return whether context menus should be shown on button press
153 * or button release (click). 153 * or button release (click).
154 */ 154 */
155 static bool showContextMenusOnPress (); 155 static bool showContextMenusOnPress ();
156 156
157 /** 157 /**
158 * This enum describes the completion mode used for by the @ref OCompletion class. 158 * This enum describes the completion mode used for by the @ref OCompletion class.
159 * See <a href="http://opie.handhelds.org/documentation/standards/opie/style/keys/completion.html"> 159 * See <a href="http://opie.handhelds.org/documentation/standards/opie/style/keys/completion.html">
160 * the styleguide</a>. 160 * the styleguide</a>.
161 **/ 161 **/
162 enum Completion { 162 enum Completion {
163 /** 163 /**
164 * No completion is used. 164 * No completion is used.
165 */ 165 */
166 CompletionNone=1, 166 CompletionNone=1,
167 /** 167 /**
168 * Text is automatically filled in whenever possible. 168 * Text is automatically filled in whenever possible.
169 */ 169 */
170 CompletionAuto, 170 CompletionAuto,
171 /** 171 /**
172 * Same as automatic except shortest match is used for completion. 172 * Same as automatic except shortest match is used for completion.
173 */ 173 */
174 CompletionMan, 174 CompletionMan,
175 /** 175 /**
176 * Complete text much in the same way as a typical *nix shell would. 176 * Complete text much in the same way as a typical *nix shell would.
177 */ 177 */
178 CompletionShell, 178 CompletionShell,
179 /** 179 /**
180 * Lists all possible matches in a popup list-box to choose from. 180 * Lists all possible matches in a popup list-box to choose from.
181 */ 181 */
182 CompletionPopup, 182 CompletionPopup,
183 /** 183 /**
184 * Lists all possible matches in a popup list-box to choose from, and automatically 184 * Lists all possible matches in a popup list-box to choose from, and automatically
185 * fill the result whenever possible. 185 * fill the result whenever possible.
186 */ 186 */
187 CompletionPopupAuto 187 CompletionPopupAuto
188 }; 188 };
189 /** 189 /**
190 * Returns the preferred completion mode setting. 190 * Returns the preferred completion mode setting.
191 * 191 *
192 * @return @ref Completion. Default is @p CompletionPopup. 192 * @return @ref Completion. Default is @p CompletionPopup.
193 */ 193 */
194 static Completion completionMode(); 194 static Completion completionMode();
195 195
196 /** 196 /**
197 * This enum describes the debug mode used for by the @ref odbgstream class. 197 * This enum describes the debug mode used for by the @ref odbgstream class.
198 * See <a href="http://opie.handhelds.org/documentation/standards/opie/style/debug/debug.html"> 198 * See <a href="http://opie.handhelds.org/documentation/standards/opie/style/debug/debug.html">
199 * the styleguide</a>. 199 * the styleguide</a>.
200 **/ 200 **/
201 enum Debug { 201 enum Debug {
202 /** 202 /**
203 * Debug messages are ignored. 203 * Debug messages are ignored.
204 */ 204 */
205 DebugNone=-1, 205 DebugNone=-1,
206 /** 206 /**
207 * Debug output is sent to files /var/log/***. 207 * Debug output is sent to files /var/log/.
208 */ 208 */
209 DebugFiles=0, 209 DebugFiles=0,
210 /** 210 /**
211 * Debug output is written in a QMessageBox. 211 * Debug output is written in a QMessageBox.
212 */ 212 */
213 DebugMsgBox=1, 213 DebugMsgBox=1,
214 /** 214 /**
215 * Debug output is sent to stderr. 215 * Debug output is sent to stderr.
216 */ 216 */
217 DebugStdErr=2, 217 DebugStdErr=2,
218 /** 218 /**
219 * Debug output is sent to syslog. 219 * Debug output is sent to syslog.
220 */ 220 */
221 DebugSysLog=3, 221 DebugSysLog=3,
222 /** 222 /**
223 * Debug output is sent via udp over a socket. 223 * Debug output is sent via udp over a socket.
224 */ 224 */
225 DebugSocket=4 225 DebugSocket=4
226 }; 226 };
227 /** 227 /**
228 * Returns the preferred debug mode setting. 228 * Returns the preferred debug mode setting.
229 * 229 *
230 * @return @ref Debug. Default is @p DebugStdErr. 230 * @return @ref Debug. Default is @p DebugStdErr.
231 */ 231 */
232 static Debug debugMode(); 232 static Debug debugMode();
233 233
234 /** 234 /**
235 * Returns additional information for debug output (dependent on the debug mode). 235 * Returns additional information for debug output (dependent on the debug mode).
236 * 236 *
237 * @return Additional debug output information. 237 * @return Additional debug output information.
238 */ 238 */
239 static QString debugOutput(); 239 static QString debugOutput();
240 /** 240 /**
241 * This is a structure containing the possible mouse settings. 241 * This is a structure containing the possible mouse settings.
242 */ 242 */
243 struct OMouseSettings 243 struct OMouseSettings
244 { 244 {
245 enum { RightHanded = 0, LeftHanded = 1 }; 245 enum { RightHanded = 0, LeftHanded = 1 };
246 int handed; // left or right 246 int handed; // left or right
247 }; 247 };
248 248
249 /** 249 /**
250 * This returns the current mouse settings. 250 * This returns the current mouse settings.
251 */ 251 */
252 static OMouseSettings & mouseSettings(); 252 static OMouseSettings & mouseSettings();
253 253
254 /** 254 /**
255 * The path to the desktop directory of the current user. 255 * The path to the desktop directory of the current user.
256 */ 256 */
257 // below handled by Global stuff and QPEApplication 257 // below handled by Global stuff and QPEApplication
258 static QString desktopPath() { initStatic(); return *s_desktopPath; } 258 static QString desktopPath() { initStatic(); return *s_desktopPath; }
259 259
260 /** 260 /**
261 * The path to the autostart directory of the current user. 261 * The path to the autostart directory of the current user.
262 */ 262 */
263 static QString autostartPath() { initStatic(); return *s_autostartPath; } 263 static QString autostartPath() { initStatic(); return *s_autostartPath; }
264 264
265 /** 265 /**
266 * The path to the trash directory of the current user. 266 * The path to the trash directory of the current user.
267 */ 267 */
268 // we do not have that concept -zecke 268 // we do not have that concept -zecke
269 static QString trashPath() { initStatic(); return *s_trashPath; } 269 static QString trashPath() { initStatic(); return *s_trashPath; }
270 270
271 /** 271 /**
272 * The path where documents are stored of the current user. 272 * The path where documents are stored of the current user.
273 */ 273 */
274 static QString documentPath() { initStatic(); return *s_documentPath; } 274 static QString documentPath() { initStatic(); return *s_documentPath; }
275 275
276 276
277 /** 277 /**
278 * The default color to use when highlighting toolbar buttons 278 * The default color to use when highlighting toolbar buttons
279 */ 279 */
280 static QColor toolBarHighlightColor(); 280 static QColor toolBarHighlightColor();
281 static QColor inactiveTitleColor(); 281 static QColor inactiveTitleColor();
282 static QColor inactiveTextColor(); 282 static QColor inactiveTextColor();
283 static QColor activeTitleColor(); 283 static QColor activeTitleColor();
284 static QColor activeTextColor(); 284 static QColor activeTextColor();
285 static int contrast(); 285 static int contrast();
286 286
287 /** 287 /**
288 * The default colors to use for text and links. 288 * The default colors to use for text and links.
289 */ 289 */
290 static QColor baseColor(); // Similair to QColorGroup::base() 290 static QColor baseColor(); // Similair to QColorGroup::base()
291 static QColor textColor(); // Similair to QColorGroup::text() 291 static QColor textColor(); // Similair to QColorGroup::text()
292 static QColor linkColor(); 292 static QColor linkColor();
293 static QColor visitedLinkColor(); 293 static QColor visitedLinkColor();
294 static QColor highlightedTextColor(); // Similair to QColorGroup::hightlightedText() 294 static QColor highlightedTextColor(); // Similair to QColorGroup::hightlightedText()
295 static QColor highlightColor(); // Similair to QColorGroup::highlight() 295 static QColor highlightColor(); // Similair to QColorGroup::highlight()
296 296
297 /** 297 /**
298 * Returns the alternate background color used by @ref OListView with 298 * Returns the alternate background color used by @ref OListView with
299 * @ref OListViewItem. Any other list that uses alternating background 299 * @ref OListViewItem. Any other list that uses alternating background
300 * colors should use this too, to obey to the user's preferences. Returns 300 * colors should use this too, to obey to the user's preferences. Returns
301 * an invalid color if the user doesn't want alternating backgrounds. 301 * an invalid color if the user doesn't want alternating backgrounds.
302 * @see #calculateAlternateBackgroundColor 302 * @see #calculateAlternateBackgroundColor
303 */ 303 */