<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>kdecore: kstdaccel.cpp Source File (kdecore)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../..">API Reference</a> / <a href=".">kdecore</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.7.4 --> <div class="header"> <div class="headertitle"> <div class="title">kstdaccel.cpp</div> </div> </div> <div class="contents"> <div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* This file is part of the KDE libraries</span> <a name="l00002"></a>00002 <span class="comment"> Copyright (C) 1997 Stefan Taferner (taferner@alpin.or.at)</span> <a name="l00003"></a>00003 <span class="comment"> Copyright (C) 2000 Nicolas Hadacek (haadcek@kde.org)</span> <a name="l00004"></a>00004 <span class="comment"> Copyright (C) 2001,2002 Ellis Whitehead (ellis@kde.org)</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> This library is free software; you can redistribute it and/or</span> <a name="l00007"></a>00007 <span class="comment"> modify it under the terms of the GNU Library General Public</span> <a name="l00008"></a>00008 <span class="comment"> License version 2 as published by the Free Software Foundation.</span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment"> This library is distributed in the hope that it will be useful,</span> <a name="l00011"></a>00011 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00012"></a>00012 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00013"></a>00013 <span class="comment"> Library General Public License for more details.</span> <a name="l00014"></a>00014 <span class="comment"></span> <a name="l00015"></a>00015 <span class="comment"> You should have received a copy of the GNU Library General Public License</span> <a name="l00016"></a>00016 <span class="comment"> along with this library; see the file COPYING.LIB. If not, write to</span> <a name="l00017"></a>00017 <span class="comment"> the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,</span> <a name="l00018"></a>00018 <span class="comment"> Boston, MA 02110-1301, USA.</span> <a name="l00019"></a>00019 <span class="comment">*/</span> <a name="l00020"></a>00020 <span class="preprocessor">#define __KSTDACCEL_CPP_ 1</span> <a name="l00021"></a>00021 <span class="preprocessor"></span> <a name="l00022"></a>00022 <span class="preprocessor">#include "kstdaccel.h"</span> <a name="l00023"></a>00023 <a name="l00024"></a>00024 <span class="preprocessor">#include "kaccelaction.h"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "kaccelbase.h"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include <kconfig.h></span> <a name="l00027"></a>00027 <span class="preprocessor">#include <kdebug.h></span> <a name="l00028"></a>00028 <span class="preprocessor">#include <kglobal.h></span> <a name="l00029"></a>00029 <span class="preprocessor">#include <<a class="code" href="klocale_8h.html">klocale.h</a>></span> <a name="l00030"></a>00030 <span class="preprocessor">#include <kshortcut.h></span> <a name="l00031"></a>00031 <span class="preprocessor">#include <kshortcutlist.h></span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="keyword">namespace </span>KStdAccel <a name="l00034"></a>00034 { <a name="l00035"></a>00035 <a name="l00036"></a>00036 <span class="keyword">struct </span>KStdAccelInfo <a name="l00037"></a>00037 { <a name="l00038"></a>00038 <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> id; <a name="l00039"></a>00039 <span class="keyword">const</span> <span class="keywordtype">char</span>* psName; <a name="l00040"></a>00040 <span class="keyword">const</span> <span class="keywordtype">char</span>* psDesc; <a name="l00041"></a>00041 <span class="keywordtype">int</span> cutDefault, cutDefault4, cutDefault3B, cutDefault4B; <a name="l00042"></a>00042 <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a> <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <a name="l00043"></a>00043 <span class="keywordtype">bool</span> bInitialized; <a name="l00044"></a>00044 }; <a name="l00045"></a>00045 <a name="l00050"></a><a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142">00050</a> <span class="keyword">static</span> KStdAccelInfo <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[] = <a name="l00051"></a>00051 { <a name="l00052"></a>00052 {AccelNone, <span class="stringliteral">"Group:File"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"File"</span>), 0, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00053"></a>00053 { Open, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Open"</span>), 0, Qt::CTRL+Qt::Key_O, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00054"></a>00054 { New, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"New"</span>), 0, Qt::CTRL+Qt::Key_N, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00055"></a>00055 { Close, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Close"</span>), 0, Qt::CTRL+Qt::Key_W, Qt::CTRL+Qt::Key_Escape, 0, Qt::CTRL+Qt::Key_W, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00056"></a>00056 { Save, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Save"</span>), 0, Qt::CTRL+Qt::Key_S, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00057"></a>00057 { Print, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Print"</span>), 0, Qt::CTRL+Qt::Key_P, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00058"></a>00058 { Quit, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Quit"</span>), 0, Qt::CTRL+Qt::Key_Q, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00059"></a>00059 {AccelNone, <span class="stringliteral">"Group:Edit"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Edit"</span>), 0, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00060"></a>00060 { Undo, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Undo"</span>), 0, Qt::CTRL+Qt::Key_Z, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00061"></a>00061 { Redo, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Redo"</span>), 0, Qt::CTRL+Qt::SHIFT+Qt::Key_Z, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00062"></a>00062 { Cut, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Cut"</span>), 0, Qt::CTRL+Qt::Key_X, 0, Qt::SHIFT+Qt::Key_Delete, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00063"></a>00063 { Copy, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Copy"</span>), 0, Qt::CTRL+Qt::Key_C, 0, Qt::CTRL+Qt::Key_Insert, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00064"></a>00064 { Paste, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Paste"</span>), 0, Qt::CTRL+Qt::Key_V, 0, Qt::SHIFT+Qt::Key_Insert, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00065"></a>00065 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626eac78d291ce0d72c505538d18c6ed5f86a">PasteSelection</a>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Paste Selection"</span>), 0, 0, 0, Qt::CTRL+Qt::SHIFT+Qt::Key_Insert, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00066"></a>00066 { SelectAll, <span class="stringliteral">"SelectAll"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Select All"</span>), Qt::CTRL+Qt::Key_A, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00067"></a>00067 { Deselect, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Deselect"</span>), 0, Qt::CTRL+Qt::SHIFT+Qt::Key_A, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00068"></a>00068 { DeleteWordBack, <span class="stringliteral">"DeleteWordBack"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Delete Word Backwards"</span>), Qt::CTRL+Qt::Key_Backspace, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00069"></a>00069 { DeleteWordForward, <span class="stringliteral">"DeleteWordForward"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Delete Word Forward"</span>), Qt::CTRL+Qt::Key_Delete, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00070"></a>00070 { Find, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Find"</span>), 0, Qt::CTRL+Qt::Key_F, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00071"></a>00071 { FindNext, <span class="stringliteral">"FindNext"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Find Next"</span>), Qt::Key_F3, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00072"></a>00072 { FindPrev, <span class="stringliteral">"FindPrev"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Find Prev"</span>), Qt::SHIFT+Qt::Key_F3, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00073"></a>00073 { Replace, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Replace"</span>), 0, Qt::CTRL+Qt::Key_R, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00074"></a>00074 {AccelNone, <span class="stringliteral">"Group:Navigation"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Navigation"</span>), 0, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00075"></a>00075 { Home, <a class="code" href="klocale_8h.html#ad0232dcb6331dcfca1ad321374e3abae">I18N_NOOP2</a>(<span class="stringliteral">"Opposite to End"</span>,<span class="stringliteral">"Home"</span>), 0, Qt::CTRL+Qt::Key_Home, 0, Qt::Key_HomePage, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00076"></a>00076 { End, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"End"</span>), 0, Qt::CTRL+Qt::Key_End, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00077"></a>00077 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea76f360294b0fbf616172b614d54ada8e">BeginningOfLine</a>, <span class="stringliteral">"BeginningOfLine"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Beginning of Line"</span>), Qt::Key_Home, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span>}, <a name="l00078"></a>00078 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea1325f8d9b73333a4d9eb60de61aac7b8">EndOfLine</a>, <span class="stringliteral">"EndOfLine"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"End of Line"</span>), Qt::Key_End, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span>}, <a name="l00079"></a>00079 { Prior, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Prior"</span>), 0, Qt::Key_Prior, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00080"></a>00080 { Next, <a class="code" href="klocale_8h.html#ad0232dcb6331dcfca1ad321374e3abae">I18N_NOOP2</a>(<span class="stringliteral">"Opposite to Prior"</span>,<span class="stringliteral">"Next"</span>), 0, Qt::Key_Next, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00081"></a>00081 { GotoLine, <span class="stringliteral">"GotoLine"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Go to Line"</span>), Qt::CTRL+Qt::Key_G, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00082"></a>00082 { AddBookmark, <span class="stringliteral">"AddBookmark"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Add Bookmark"</span>), Qt::CTRL+Qt::Key_B, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00083"></a>00083 { ZoomIn, <span class="stringliteral">"ZoomIn"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Zoom In"</span>), Qt::CTRL+Qt::Key_Plus, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00084"></a>00084 { ZoomOut, <span class="stringliteral">"ZoomOut"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Zoom Out"</span>), Qt::CTRL+Qt::Key_Minus, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00085"></a>00085 { Up, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Up"</span>), 0, Qt::ALT+Qt::Key_Up, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00086"></a>00086 { Back, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Back"</span>), 0, Qt::ALT+Qt::Key_Left, 0, Qt::Key_Back, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00087"></a>00087 { Forward, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Forward"</span>), 0, Qt::ALT+Qt::Key_Right, 0, Qt::Key_Forward, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00088"></a>00088 { Reload, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Reload"</span>), 0, Qt::Key_F5, 0, Qt::Key_Refresh, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00089"></a>00089 { PopupMenuContext, <span class="stringliteral">"PopupMenuContext"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Popup Menu Context"</span>), Qt::Key_Menu, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00090"></a>00090 { ShowMenubar, <span class="stringliteral">"ShowMenubar"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Show Menu Bar"</span>), Qt::CTRL+Qt::Key_M, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00091"></a>00091 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626eaf123123f21e74a81b8e7659802daf741">BackwardWord</a>, <span class="stringliteral">"BackwardWord"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Backward Word"</span>), Qt::CTRL+Qt::Key_Left, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00092"></a>00092 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626eae2617ff08efcc751da75bb428dd4e29d">ForwardWord</a>, <span class="stringliteral">"ForwardWord"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Forward Word"</span>), Qt::CTRL+Qt::Key_Right, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00093"></a>00093 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea5ab6a3f983941223f50bf21a13c820ad">TabNext</a>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Activate Next Tab"</span>), 0, Qt::CTRL+Qt::Key_Period, 0, Qt::CTRL+Qt::Key_BracketRight, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00094"></a>00094 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea15fa02e8bfb58acba4b0134458855cf7">TabPrev</a>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Activate Previous Tab"</span>), 0, Qt::CTRL+Qt::Key_Comma, 0, Qt::CTRL+Qt::Key_BracketLeft, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00095"></a>00095 { <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea8bcf2dd6efb03e9d3ed5a30ae130c339">FullScreen</a>, <span class="stringliteral">"FullScreen"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Full Screen Mode"</span>), Qt::CTRL+Qt::SHIFT+Qt::Key_F, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00096"></a>00096 {AccelNone, <span class="stringliteral">"Group:Help"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Help"</span>), 0, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00097"></a>00097 { Help, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Help"</span>), 0, Qt::Key_F1, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00098"></a>00098 { WhatsThis, <span class="stringliteral">"WhatsThis"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"What's This"</span>), Qt::SHIFT+Qt::Key_F1, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00099"></a>00099 {AccelNone, <span class="stringliteral">"Group:TextCompletion"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Text Completion"</span>), 0, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00100"></a>00100 { TextCompletion, <span class="stringliteral">"TextCompletion"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Text Completion"</span>), Qt::CTRL+Qt::Key_E, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00101"></a>00101 { PrevCompletion, <span class="stringliteral">"PrevCompletion"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Previous Completion Match"</span>), Qt::CTRL+Qt::Key_Up, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00102"></a>00102 { NextCompletion, <span class="stringliteral">"NextCompletion"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Next Completion Match"</span>), Qt::CTRL+Qt::Key_Down, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00103"></a>00103 { SubstringCompletion, <span class="stringliteral">"SubstringCompletion"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Substring Completion"</span>), Qt::CTRL+Qt::Key_T, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00104"></a>00104 { RotateUp, <span class="stringliteral">"RotateUp"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Previous Item in List"</span>), Qt::Key_Up, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00105"></a>00105 { RotateDown, <span class="stringliteral">"RotateDown"</span>, <a class="code" href="klocale_8h.html#a7e252748294283c2db62bcf9ddbe8e35">I18N_NOOP</a>(<span class="stringliteral">"Next Item in List"</span>), Qt::Key_Down, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> }, <a name="l00106"></a>00106 { AccelNone, 0, 0, 0, 0, 0, 0, <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>(), <span class="keyword">false</span> } <a name="l00107"></a>00107 }; <a name="l00108"></a>00108 <a name="l00110"></a><a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece">00110</a> <span class="keyword">static</span> KStdAccelInfo* <a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece" title="Search for the KStdAccelInfo object associated with the given id.">infoPtr</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00111"></a>00111 { <a name="l00112"></a>00112 <span class="keywordflow">if</span>( <span class="keywordtype">id</span> != AccelNone ) { <a name="l00113"></a>00113 <span class="comment">// Linear search. Changing the data structure doesn't seem possible</span> <a name="l00114"></a>00114 <span class="comment">// (since we need groups for the config stuff), but maybe a little</span> <a name="l00115"></a>00115 <span class="comment">// additional hashtable wouldn't hurt.</span> <a name="l00116"></a>00116 <span class="keywordflow">for</span>( uint i = 0; <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].psName != 0; i++ ) { <a name="l00117"></a>00117 <span class="keywordflow">if</span>( <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].<span class="keywordtype">id</span> == <span class="keywordtype">id</span> ) <a name="l00118"></a>00118 <span class="keywordflow">return</span> &<a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i]; <a name="l00119"></a>00119 } <a name="l00120"></a>00120 } <a name="l00121"></a>00121 <span class="keywordflow">return</span> 0; <a name="l00122"></a>00122 } <a name="l00123"></a>00123 <a name="l00127"></a><a class="code" href="namespaceKStdAccel.html#ab802892d3d094c71ed23882bd12c7bb8">00127</a> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="namespaceKStdAccel.html#ab802892d3d094c71ed23882bd12c7bb8" title="Initialize the accelerator id by checking if it is overridden in the configuration file (and if it is...">initialize</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00128"></a>00128 { <a name="l00129"></a>00129 <a class="code" href="classKConfigGroupSaver.html" title="Helper class to facilitate working with KConfig / KSimpleConfig groups.">KConfigGroupSaver</a> saver( <a class="code" href="classKGlobal.html#a71532b4619923ec5f7779c5f0065e6e7" title="Returns the general config object.">KGlobal::config</a>(), <span class="stringliteral">"Shortcuts"</span> ); <a name="l00130"></a>00130 KStdAccelInfo* pInfo = <a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece" title="Search for the KStdAccelInfo object associated with the given id.">infoPtr</a>( <span class="keywordtype">id</span> ); <a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="keywordflow">if</span>( !pInfo ) { <a name="l00133"></a>00133 kdWarning(125) << <span class="stringliteral">"KStdAccel: id not found!"</span> << <a class="code" href="group__kdebug.html#ga313d520ed8f8f6b46eeef22cfb3b082a" title="Does nothing.">endl</a>; <span class="comment">// -- ellis</span> <a name="l00134"></a>00134 <span class="keywordflow">return</span>; <a name="l00135"></a>00135 } <a name="l00136"></a>00136 <a name="l00137"></a>00137 <span class="keywordflow">if</span>( saver.config()-><a class="code" href="classKConfigBase.html#ac18cd9eea5bfba6ab9b9d9b4834249ec" title="Checks whether the key has an entry in the currently active group.">hasKey</a>( pInfo->psName ) ) { <a name="l00138"></a>00138 <a class="codeRef" href="qstring.html">QString</a> s = saver.config()-><a class="code" href="classKConfigBase.html#a955d1210aeb86d7ec5265557333ab338" title="Reads the value of an entry specified by pKey in the current group.">readEntry</a>( pInfo->psName ); <a name="l00139"></a>00139 <span class="keywordflow">if</span>( s != <span class="stringliteral">"none"</span> ) <a name="l00140"></a>00140 pInfo->cut.init( s ); <a name="l00141"></a>00141 <span class="keywordflow">else</span> <a name="l00142"></a>00142 pInfo->cut.clear(); <a name="l00143"></a>00143 } <span class="keywordflow">else</span> <a name="l00144"></a>00144 pInfo->cut = <a class="code" href="namespaceKStdAccel.html#a9a6ab406726d4e2b8607354f4dc49548" title="Returns the hardcoded default shortcut for id.">shortcutDefault</a>( <span class="keywordtype">id</span> ); <a name="l00145"></a>00145 pInfo->bInitialized = <span class="keyword">true</span>; <a name="l00146"></a>00146 } <a name="l00147"></a>00147 <a name="l00148"></a><a class="code" href="namespaceKStdAccel.html#a737bc2466b1f000625fe8ebddffbb09d">00148</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKStdAccel.html#a737bc2466b1f000625fe8ebddffbb09d" title="Returns a unique name for the given accel.">name</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00149"></a>00149 { <a name="l00150"></a>00150 KStdAccelInfo* pInfo = <a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece" title="Search for the KStdAccelInfo object associated with the given id.">infoPtr</a>( <span class="keywordtype">id</span> ); <a name="l00151"></a>00151 <span class="keywordflow">if</span>( !pInfo ) <a name="l00152"></a>00152 <span class="keywordflow">return</span> QString::null; <a name="l00153"></a>00153 <span class="keywordflow">return</span> pInfo->psName; <a name="l00154"></a>00154 } <a name="l00155"></a>00155 <a name="l00156"></a><a class="code" href="namespaceKStdAccel.html#ac575a96ec71ffbbb731400aa6c9079b0">00156</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKStdAccel.html#ac575a96ec71ffbbb731400aa6c9079b0" title="Returns a localized label for user-visible display.">label</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00157"></a>00157 { <a name="l00158"></a>00158 KStdAccelInfo* pInfo = <a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece" title="Search for the KStdAccelInfo object associated with the given id.">infoPtr</a>( <span class="keywordtype">id</span> ); <a name="l00159"></a>00159 <span class="keywordflow">if</span>( !pInfo ) <a name="l00160"></a>00160 <span class="keywordflow">return</span> QString::null; <a name="l00161"></a>00161 <span class="keywordflow">return</span> i18n((pInfo->psDesc) ? pInfo->psDesc : pInfo->psName); <a name="l00162"></a>00162 } <a name="l00163"></a>00163 <a name="l00164"></a>00164 <span class="comment">// TODO: Add psWhatsThis entry to KStdAccelInfo</span> <a name="l00165"></a><a class="code" href="namespaceKStdAccel.html#a76f9200828581637fc5bb3aae9d6e42a">00165</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKStdAccel.html#a76f9200828581637fc5bb3aae9d6e42a" title="What's This button.">whatsThis</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="comment">/*id*/</span> ) <a name="l00166"></a>00166 { <a name="l00167"></a>00167 <span class="comment">// KStdAccelInfo* pInfo = infoPtr( id );</span> <a name="l00168"></a>00168 <span class="comment">// if( pInfo && pInfo->psWhatsThis )</span> <a name="l00169"></a>00169 <span class="comment">// return i18n(pInfo->psWhatsThis);</span> <a name="l00170"></a>00170 <span class="comment">// else</span> <a name="l00171"></a>00171 <span class="keywordflow">return</span> QString::null; <a name="l00172"></a>00172 } <a name="l00173"></a>00173 <a name="l00174"></a><a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6">00174</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00175"></a>00175 { <a name="l00176"></a>00176 KStdAccelInfo* pInfo = <a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece" title="Search for the KStdAccelInfo object associated with the given id.">infoPtr</a>( <span class="keywordtype">id</span> ); <a name="l00177"></a>00177 <span class="keywordflow">if</span>( !pInfo ) <a name="l00178"></a>00178 <span class="keywordflow">return</span> <a class="code" href="classKShortcut.html#a2595d6884016f810c4a620998959695f" title="Returns a null shortcut.">KShortcut::null</a>(); <a name="l00179"></a>00179 <a name="l00180"></a>00180 <span class="keywordflow">if</span>( !pInfo->bInitialized ) <a name="l00181"></a>00181 <a class="code" href="namespaceKStdAccel.html#ab802892d3d094c71ed23882bd12c7bb8" title="Initialize the accelerator id by checking if it is overridden in the configuration file (and if it is...">initialize</a>( <span class="keywordtype">id</span> ); <a name="l00182"></a>00182 <a name="l00183"></a>00183 <span class="keywordflow">return</span> pInfo->cut; <a name="l00184"></a>00184 } <a name="l00185"></a>00185 <a name="l00186"></a><a class="code" href="namespaceKStdAccel.html#a274b7fe2a509b6e2b868795cccaa45c4">00186</a> <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <a class="code" href="namespaceKStdAccel.html#a274b7fe2a509b6e2b868795cccaa45c4" title="Return the StdAccel id of the standard accel action which uses this key sequence, or AccelNone if non...">findStdAccel</a>( <span class="keyword">const</span> <a class="code" href="classKKeySequence.html" title="A KKeySequence object holds a sequence of up to 4 keys.">KKeySequence</a>& seq ) <a name="l00187"></a>00187 { <a name="l00188"></a>00188 <span class="keywordflow">if</span>( !seq.<a class="code" href="classKKeySequence.html#a6789cef9a5194fd41477d2edff4c2f65" title="Returns true if the key sequence is null (after clear() or empty constructor).">isNull</a>() ) { <a name="l00189"></a>00189 <span class="keywordflow">for</span>( uint i = 0; <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].psName != 0; i++ ) { <a name="l00190"></a>00190 <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> = <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].id; <a name="l00191"></a>00191 <span class="keywordflow">if</span>( <span class="keywordtype">id</span> != AccelNone ) { <a name="l00192"></a>00192 <span class="keywordflow">if</span>( !<a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].bInitialized ) <a name="l00193"></a>00193 <a class="code" href="namespaceKStdAccel.html#ab802892d3d094c71ed23882bd12c7bb8" title="Initialize the accelerator id by checking if it is overridden in the configuration file (and if it is...">initialize</a>( <span class="keywordtype">id</span> ); <a name="l00194"></a>00194 <span class="keywordflow">if</span>( <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].<a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>.<a class="code" href="classKShortcut.html#aece06dc4c314fbd97fe492e5b942b95d" title="Checks whether this shortcut contains a sequence that starts with the given key.">contains</a>( seq ) ) <a name="l00195"></a>00195 <span class="keywordflow">return</span> <span class="keywordtype">id</span>; <a name="l00196"></a>00196 } <a name="l00197"></a>00197 } <a name="l00198"></a>00198 } <a name="l00199"></a>00199 <span class="keywordflow">return</span> AccelNone; <a name="l00200"></a>00200 } <a name="l00201"></a>00201 <a name="l00202"></a><a class="code" href="namespaceKStdAccel.html#a9a6ab406726d4e2b8607354f4dc49548">00202</a> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a> <a class="code" href="namespaceKStdAccel.html#a9a6ab406726d4e2b8607354f4dc49548" title="Returns the hardcoded default shortcut for id.">shortcutDefault</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00203"></a>00203 { <a name="l00204"></a>00204 <span class="keywordflow">return</span> (KAccelAction::useFourModifierKeys()) <a name="l00205"></a>00205 ? <a class="code" href="namespaceKStdAccel.html#a0ceda2d4d0fbb970ba0f1c1b43f3b6e4" title="Returns the hardcoded default 4 modifier shortcut for id.">shortcutDefault4</a>(<span class="keywordtype">id</span>) : <a class="code" href="namespaceKStdAccel.html#a3fb581ec4a7ef676de21af2ddc6e32b1" title="Returns the hardcoded default 3 modifier shortcut for id.">shortcutDefault3</a>(<span class="keywordtype">id</span>); <a name="l00206"></a>00206 } <a name="l00207"></a>00207 <a name="l00208"></a><a class="code" href="namespaceKStdAccel.html#a3fb581ec4a7ef676de21af2ddc6e32b1">00208</a> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a> <a class="code" href="namespaceKStdAccel.html#a3fb581ec4a7ef676de21af2ddc6e32b1" title="Returns the hardcoded default 3 modifier shortcut for id.">shortcutDefault3</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00209"></a>00209 { <a name="l00210"></a>00210 <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a> <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <a name="l00211"></a>00211 <a name="l00212"></a>00212 KStdAccelInfo* pInfo = <a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece" title="Search for the KStdAccelInfo object associated with the given id.">infoPtr</a>( <span class="keywordtype">id</span> ); <a name="l00213"></a>00213 <span class="keywordflow">if</span>( pInfo ) { <a name="l00214"></a>00214 <span class="keywordflow">if</span>( pInfo->cutDefault ) <a name="l00215"></a>00215 cut.<a class="code" href="classKShortcut.html#a369bdaa31c8592757d1e5546b26fa879" title="Initializes the shortcut with the given Qt key code as the only key sequence.">init</a>( pInfo->cutDefault ); <a name="l00216"></a>00216 <span class="comment">// FIXME: if there is no cutDefault, then this we be made the primary</span> <a name="l00217"></a>00217 <span class="comment">// instead of alternate shortcut.</span> <a name="l00218"></a>00218 <span class="keywordflow">if</span>( pInfo->cutDefault3B ) <a name="l00219"></a>00219 cut.<a class="code" href="classKShortcut.html#ae398577a8285cc943ee99bae34c7384e" title="Appends the given key sequence.">append</a>( <a class="code" href="classKKey.html" title="A KKey object represents a single key with possible modifiers (Shift, Ctrl, Alt, Win).">KKey</a>(pInfo->cutDefault3B) ); <a name="l00220"></a>00220 } <a name="l00221"></a>00221 <a name="l00222"></a>00222 <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <a name="l00223"></a>00223 } <a name="l00224"></a>00224 <a name="l00225"></a><a class="code" href="namespaceKStdAccel.html#a0ceda2d4d0fbb970ba0f1c1b43f3b6e4">00225</a> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a> <a class="code" href="namespaceKStdAccel.html#a0ceda2d4d0fbb970ba0f1c1b43f3b6e4" title="Returns the hardcoded default 4 modifier shortcut for id.">shortcutDefault4</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> ) <a name="l00226"></a>00226 { <a name="l00227"></a>00227 <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a> <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <a name="l00228"></a>00228 <a name="l00229"></a>00229 KStdAccelInfo* pInfo = <a class="code" href="namespaceKStdAccel.html#a8d2812dab275303faa22fae44df88ece" title="Search for the KStdAccelInfo object associated with the given id.">infoPtr</a>( <span class="keywordtype">id</span> ); <a name="l00230"></a>00230 <span class="keywordflow">if</span>( pInfo ) { <a name="l00231"></a>00231 KStdAccelInfo& info = *pInfo; <a name="l00232"></a>00232 <a class="code" href="classKKeySequence.html" title="A KKeySequence object holds a sequence of up to 4 keys.">KKeySequence</a> key2; <a name="l00233"></a>00233 <a name="l00234"></a>00234 cut.<a class="code" href="classKShortcut.html#a369bdaa31c8592757d1e5546b26fa879" title="Initializes the shortcut with the given Qt key code as the only key sequence.">init</a>( (info.cutDefault4) ? <a name="l00235"></a>00235 <a class="codeRef" href="qkeysequence.html">QKeySequence</a>(info.cutDefault) : <a class="codeRef" href="qkeysequence.html">QKeySequence</a>(info.cutDefault4) ); <a name="l00236"></a>00236 <a name="l00237"></a>00237 <span class="keywordflow">if</span>( info.cutDefault4B ) <a name="l00238"></a>00238 key2.<a class="code" href="classKKeySequence.html#a4855169bfdd13bb4b7ae0633f861fb32" title="Copies the given qt key sequence over this key sequence.">init</a>( <a class="codeRef" href="qkeysequence.html">QKeySequence</a>(info.cutDefault4B) ); <a name="l00239"></a>00239 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( info.cutDefault3B ) <a name="l00240"></a>00240 key2.<a class="code" href="classKKeySequence.html#a4855169bfdd13bb4b7ae0633f861fb32" title="Copies the given qt key sequence over this key sequence.">init</a>( <a class="codeRef" href="qkeysequence.html">QKeySequence</a>(info.cutDefault3B) ); <a name="l00241"></a>00241 <a name="l00242"></a>00242 <span class="keywordflow">if</span>( key2.<a class="code" href="classKKeySequence.html#a88678dcf8ac68a5c5a776b8c54cef13d" title="Returns the number of key strokes of this sequence.">count</a>() ) <a name="l00243"></a>00243 cut.<a class="code" href="classKShortcut.html#ae398577a8285cc943ee99bae34c7384e" title="Appends the given key sequence.">append</a>( key2 ); <a name="l00244"></a>00244 } <a name="l00245"></a>00245 <a name="l00246"></a>00246 <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <a name="l00247"></a>00247 } <a name="l00248"></a>00248 <a name="l00249"></a>00249 <span class="preprocessor">#if 0 // unused</span> <a name="l00250"></a>00250 <span class="preprocessor"></span><span class="keywordtype">void</span> createAccelActions( KAccelActions& actions ) <a name="l00251"></a>00251 { <a name="l00252"></a>00252 actions.<a class="code" href="classKShortcut.html#ada482989cc3a6ac0ec4864082a9071c9" title="Clears the shortcut.">clear</a>(); <a name="l00253"></a>00253 <a name="l00254"></a>00254 <span class="keywordflow">for</span>( uint i = 0; <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].psName != 0; i++ ) { <a name="l00255"></a>00255 <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span> = <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].id; <a name="l00256"></a>00256 KStdAccelInfo* pInfo = &<a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i]; <a name="l00257"></a>00257 <a name="l00258"></a>00258 <span class="keywordflow">if</span>( <span class="keywordtype">id</span> != AccelNone ) { <a name="l00259"></a>00259 actions.insert( pInfo->psName, <a name="l00260"></a>00260 i18n((pInfo->psDesc) ? pInfo->psDesc : pInfo->psName), <a name="l00261"></a>00261 QString::null, <span class="comment">// pInfo->psWhatsThis,</span> <a name="l00262"></a>00262 <a class="code" href="namespaceKStdAccel.html#a3fb581ec4a7ef676de21af2ddc6e32b1" title="Returns the hardcoded default 3 modifier shortcut for id.">shortcutDefault3</a>(<span class="keywordtype">id</span>), <a name="l00263"></a>00263 <a class="code" href="namespaceKStdAccel.html#a0ceda2d4d0fbb970ba0f1c1b43f3b6e4" title="Returns the hardcoded default 4 modifier shortcut for id.">shortcutDefault4</a>(<span class="keywordtype">id</span>) ); <a name="l00264"></a>00264 } <span class="keywordflow">else</span> <a name="l00265"></a>00265 actions.insert( pInfo->psName, i18n(pInfo->psDesc) ); <a name="l00266"></a>00266 } <a name="l00267"></a>00267 } <a name="l00268"></a>00268 <span class="preprocessor">#endif</span> <a name="l00269"></a>00269 <span class="preprocessor"></span> <a name="l00270"></a><a class="code" href="namespaceKStdAccel.html#a3cd117d5fc4da7adabe061d1677a65aa">00270</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a3cd117d5fc4da7adabe061d1677a65aa" title="Open file.">open</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Open ); } <a name="l00271"></a><a class="code" href="namespaceKStdAccel.html#a41f8f1b1004d04a85872d4610bc95f3d">00271</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a41f8f1b1004d04a85872d4610bc95f3d" title="Create a new document (or whatever).">openNew</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( New ); } <a name="l00272"></a><a class="code" href="namespaceKStdAccel.html#ae1528f52d341d2582592b83d86cd3842">00272</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ae1528f52d341d2582592b83d86cd3842" title="Close current document.">close</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Close ); } <a name="l00273"></a><a class="code" href="namespaceKStdAccel.html#a04190995840de29cd6c7b5434361316a">00273</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a04190995840de29cd6c7b5434361316a" title="Save current document.">save</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Save ); } <a name="l00274"></a><a class="code" href="namespaceKStdAccel.html#a589b66436d46f02f43ff5ced6e0fbc35">00274</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a589b66436d46f02f43ff5ced6e0fbc35" title="Print current document.">print</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Print ); } <a name="l00275"></a><a class="code" href="namespaceKStdAccel.html#ac0b9cfb94bd749c1486de13ba1de5559">00275</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ac0b9cfb94bd749c1486de13ba1de5559" title="Quit the program.">quit</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Quit ); } <a name="l00276"></a><a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955">00276</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Cut ); } <a name="l00277"></a><a class="code" href="namespaceKStdAccel.html#ab28b820eb56ff87f06351029249f994c">00277</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ab28b820eb56ff87f06351029249f994c" title="Copy selected area into the clipboard.">copy</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Copy ); } <a name="l00278"></a><a class="code" href="namespaceKStdAccel.html#a2975de93c4d8db27766075647c1ed076">00278</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a2975de93c4d8db27766075647c1ed076" title="Paste contents of clipboard at mouse/cursor position.">paste</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Paste ); } <a name="l00279"></a><a class="code" href="namespaceKStdAccel.html#a30a70031968eb5a93a3a87d2a58a2865">00279</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a30a70031968eb5a93a3a87d2a58a2865" title="Paste the selection at mouse/cursor position.">pasteSelection</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626eac78d291ce0d72c505538d18c6ed5f86a">PasteSelection</a> ); } <a name="l00280"></a><a class="code" href="namespaceKStdAccel.html#adf2224aad69a575629c9a5a89708d9cc">00280</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#adf2224aad69a575629c9a5a89708d9cc" title="Delete a word back from mouse/cursor position.">deleteWordBack</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( DeleteWordBack ); } <a name="l00281"></a><a class="code" href="namespaceKStdAccel.html#ae270e0916eb8640216c99028d0b4beb0">00281</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ae270e0916eb8640216c99028d0b4beb0" title="Delete a word forward from mouse/cursor position.">deleteWordForward</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( DeleteWordForward ); } <a name="l00282"></a><a class="code" href="namespaceKStdAccel.html#ad3457bae8fb6fbbee33b8b063d5e99a6">00282</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ad3457bae8fb6fbbee33b8b063d5e99a6" title="Undo last operation.">undo</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Undo ); } <a name="l00283"></a><a class="code" href="namespaceKStdAccel.html#ada3a08ca99ada9b3494bd215d562e4e8">00283</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ada3a08ca99ada9b3494bd215d562e4e8" title="Redo.">redo</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Redo ); } <a name="l00284"></a><a class="code" href="namespaceKStdAccel.html#aee5100d2a0970b397e6e6021a0d28845">00284</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#aee5100d2a0970b397e6e6021a0d28845" title="Find, search.">find</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Find ); } <a name="l00285"></a><a class="code" href="namespaceKStdAccel.html#aba04e5274e7cd8966a09cfc684fa8fd5">00285</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#aba04e5274e7cd8966a09cfc684fa8fd5" title="Find/search next.">findNext</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( FindNext ); } <a name="l00286"></a><a class="code" href="namespaceKStdAccel.html#a9fb1a3622e73b263df1abca6ce881148">00286</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a9fb1a3622e73b263df1abca6ce881148" title="Find/search previous.">findPrev</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( FindPrev ); } <a name="l00287"></a><a class="code" href="namespaceKStdAccel.html#af50a0aa7cc8ef708d362a6d07e693dc5">00287</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#af50a0aa7cc8ef708d362a6d07e693dc5" title="Find and replace matches.">replace</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Replace ); } <a name="l00288"></a><a class="code" href="namespaceKStdAccel.html#ae59bad25e738959902ae8277e2069ac8">00288</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ae59bad25e738959902ae8277e2069ac8" title="Goto beginning of the document.">home</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Home ); } <a name="l00289"></a><a class="code" href="namespaceKStdAccel.html#a8407902cbc74699e1a95168fee54c827">00289</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a8407902cbc74699e1a95168fee54c827" title="Goto end of the document.">end</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( End ); } <a name="l00290"></a><a class="code" href="namespaceKStdAccel.html#a7bef00012ffb1e207151edb6387ba6d7">00290</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a7bef00012ffb1e207151edb6387ba6d7" title="Goto beginning of current line.">beginningOfLine</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea76f360294b0fbf616172b614d54ada8e">BeginningOfLine</a> ); } <a name="l00291"></a><a class="code" href="namespaceKStdAccel.html#a3f787bed254999f5bab99f8cac94be71">00291</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a3f787bed254999f5bab99f8cac94be71" title="Goto end of current line.">endOfLine</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea1325f8d9b73333a4d9eb60de61aac7b8">EndOfLine</a> ); } <a name="l00292"></a><a class="code" href="namespaceKStdAccel.html#a6e48ed7885b3225bf468430ceb9976cb">00292</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a6e48ed7885b3225bf468430ceb9976cb" title="Scroll up one page.">prior</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Prior ); } <a name="l00293"></a><a class="code" href="namespaceKStdAccel.html#a3c93cec83afd9c54d443fe78a9899502">00293</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a3c93cec83afd9c54d443fe78a9899502" title="Scroll down one page.">next</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Next ); } <a name="l00294"></a><a class="code" href="namespaceKStdAccel.html#a4add60e51f3db746424a69ae91107e71">00294</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a4add60e51f3db746424a69ae91107e71" title="BackwardWord.">backwardWord</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626eaf123123f21e74a81b8e7659802daf741">BackwardWord</a> ); } <a name="l00295"></a><a class="code" href="namespaceKStdAccel.html#a201a26d947d866ad38a3f83ee813f405">00295</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a201a26d947d866ad38a3f83ee813f405" title="ForwardWord.">forwardWord</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626eae2617ff08efcc751da75bb428dd4e29d">ForwardWord</a> ); } <a name="l00296"></a><a class="code" href="namespaceKStdAccel.html#a92487b1ae7fc3cd20c3b90338a8e7919">00296</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a92487b1ae7fc3cd20c3b90338a8e7919" title="Go to line.">gotoLine</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( GotoLine ); } <a name="l00297"></a><a class="code" href="namespaceKStdAccel.html#ac33a62192eef3257c53d4f8d44cea20e">00297</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ac33a62192eef3257c53d4f8d44cea20e" title="Add current page to bookmarks.">addBookmark</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( AddBookmark ); } <a name="l00298"></a><a class="code" href="namespaceKStdAccel.html#a393bc4dc2c88710a1af7a3e88e723745">00298</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a393bc4dc2c88710a1af7a3e88e723745" title="Next Tab.">tabNext</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea5ab6a3f983941223f50bf21a13c820ad">TabNext</a> ); } <a name="l00299"></a><a class="code" href="namespaceKStdAccel.html#a73be30a047a32bc7aa8ca1c69305135e">00299</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a73be30a047a32bc7aa8ca1c69305135e" title="Previous Tab.">tabPrev</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea15fa02e8bfb58acba4b0134458855cf7">TabPrev</a> ); } <a name="l00300"></a><a class="code" href="namespaceKStdAccel.html#afec86b07fc652fccf07a34335ad206ac">00300</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#afec86b07fc652fccf07a34335ad206ac" title="Full Screen Mode.">fullScreen</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( <a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626ea8bcf2dd6efb03e9d3ed5a30ae130c339">FullScreen</a> ); } <a name="l00301"></a><a class="code" href="namespaceKStdAccel.html#ac7b0f1696132726da2528ea7d3b4fe2a">00301</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ac7b0f1696132726da2528ea7d3b4fe2a" title="Zoom in.">zoomIn</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( ZoomIn ); } <a name="l00302"></a><a class="code" href="namespaceKStdAccel.html#a929800b01feb5494f13901159c0996d6">00302</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a929800b01feb5494f13901159c0996d6" title="Zoom out.">zoomOut</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( ZoomOut ); } <a name="l00303"></a><a class="code" href="namespaceKStdAccel.html#a0cacc56c8007ff56252e0bd1f436c9a4">00303</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a0cacc56c8007ff56252e0bd1f436c9a4" title="Help the user in the current situation.">help</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Help ); } <a name="l00304"></a><a class="code" href="namespaceKStdAccel.html#a91ba36ed700d604936223e0a330f457f">00304</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a91ba36ed700d604936223e0a330f457f" title="Complete text in input widgets.">completion</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( TextCompletion ); } <a name="l00305"></a><a class="code" href="namespaceKStdAccel.html#adffdba1594349aca09089f7e59208b84">00305</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#adffdba1594349aca09089f7e59208b84" title="Iterate through a list when completion returns multiple items.">prevCompletion</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( PrevCompletion ); } <a name="l00306"></a><a class="code" href="namespaceKStdAccel.html#a860a7a2031987e164586a2fc61afe992">00306</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a860a7a2031987e164586a2fc61afe992" title="Iterate through a list when completion returns multiple items.">nextCompletion</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( NextCompletion ); } <a name="l00307"></a><a class="code" href="namespaceKStdAccel.html#a67b1d63de9682210c6754b770b8d0dd7">00307</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a67b1d63de9682210c6754b770b8d0dd7" title="Help users iterate through a list of entries.">rotateUp</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( RotateUp ); } <a name="l00308"></a><a class="code" href="namespaceKStdAccel.html#ab20cf95c2588422bc895ac2856247718">00308</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ab20cf95c2588422bc895ac2856247718" title="Help users iterate through a list of entries.">rotateDown</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( RotateDown ); } <a name="l00309"></a><a class="code" href="namespaceKStdAccel.html#abf84c60b58dfc6255a0ec2543f2ff596">00309</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#abf84c60b58dfc6255a0ec2543f2ff596" title="Find a string within another string or list of strings.">substringCompletion</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( SubstringCompletion ); } <a name="l00310"></a><a class="code" href="namespaceKStdAccel.html#ae29fc3c82acc0fd9a2cf1799a92067a5">00310</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ae29fc3c82acc0fd9a2cf1799a92067a5" title="popup a context menu.">popupMenuContext</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( PopupMenuContext ); } <a name="l00311"></a><a class="code" href="namespaceKStdAccel.html#a7699f99752a6c9ce3848c31d9216ec2a">00311</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a76f9200828581637fc5bb3aae9d6e42a" title="What's This button.">whatsThis</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( WhatsThis ); } <a name="l00312"></a><a class="code" href="namespaceKStdAccel.html#a5c3137eeaedd9fba50d333714e922d4f">00312</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a5c3137eeaedd9fba50d333714e922d4f" title="Reload.">reload</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Reload ); } <a name="l00313"></a><a class="code" href="namespaceKStdAccel.html#af677c23a1322a367d6a06a89ab4976f4">00313</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#af677c23a1322a367d6a06a89ab4976f4" title="Reload.">selectAll</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( SelectAll ); } <a name="l00314"></a><a class="code" href="namespaceKStdAccel.html#afed7932a1baed5b563699dac2908841a">00314</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#afed7932a1baed5b563699dac2908841a" title="Up.">up</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Up ); } <a name="l00315"></a><a class="code" href="namespaceKStdAccel.html#a62f8b50997b66b89b696259291e3e7a3">00315</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a62f8b50997b66b89b696259291e3e7a3" title="Back.">back</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Back ); } <a name="l00316"></a><a class="code" href="namespaceKStdAccel.html#af432af65e8c6273b5dba93187ebc698d">00316</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#af432af65e8c6273b5dba93187ebc698d" title="Forward.">forward</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( Forward ); } <a name="l00317"></a><a class="code" href="namespaceKStdAccel.html#a562915c107d96401c3484fda730f9875">00317</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#a562915c107d96401c3484fda730f9875" title="Show Menu Bar.">showMenubar</a>() { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>( ShowMenubar ); } <a name="l00318"></a>00318 <a name="l00319"></a>00319 <span class="comment">//---------------------------------------------------------------------</span> <a name="l00320"></a>00320 <span class="comment">// ShortcutList</span> <a name="l00321"></a>00321 <span class="comment">//---------------------------------------------------------------------</span> <a name="l00322"></a>00322 <a name="l00323"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#ae17dd26af0c85a5a9a29f3778e4afea5">00323</a> <a class="code" href="classKStdAccel_1_1ShortcutList.html#ae17dd26af0c85a5a9a29f3778e4afea5" title="Creates a new ShortcutList.">ShortcutList::ShortcutList</a>() <a name="l00324"></a>00324 { } <a name="l00325"></a>00325 <a name="l00326"></a>00326 ShortcutList::~ShortcutList() <a name="l00327"></a>00327 { } <a name="l00328"></a>00328 <a name="l00329"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#a643e754c37d39b81e85e66c98ba716ab">00329</a> uint <a class="code" href="classKStdAccel_1_1ShortcutList.html#a643e754c37d39b81e85e66c98ba716ab" title="Returns the number of entries.">ShortcutList::count</a>()<span class="keyword"> const</span> <a name="l00330"></a>00330 <span class="keyword"></span>{ <a name="l00331"></a>00331 <span class="keyword">static</span> uint g_nAccels = 0; <a name="l00332"></a>00332 <span class="keywordflow">if</span>( g_nAccels == 0 ) { <a name="l00333"></a>00333 <span class="keywordflow">for</span>( ; <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[g_nAccels].psName != 0; g_nAccels++ ) <a name="l00334"></a>00334 ; <a name="l00335"></a>00335 } <a name="l00336"></a>00336 <span class="keywordflow">return</span> g_nAccels; <a name="l00337"></a>00337 } <a name="l00338"></a>00338 <a name="l00339"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#a1766f3797f63a04a442128156f27437e">00339</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKStdAccel_1_1ShortcutList.html#a1766f3797f63a04a442128156f27437e" title="Returns the name of the shortcut with the given index.">ShortcutList::name</a>( uint i )<span class="keyword"> const</span> <a name="l00340"></a>00340 <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].psName; } <a name="l00341"></a>00341 <a name="l00342"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#a0bd170ca7fb95258a5277c977d683ea5">00342</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKStdAccel_1_1ShortcutList.html#a0bd170ca7fb95258a5277c977d683ea5" title="Returns the (i18n'd) label of the shortcut with the given index.">ShortcutList::label</a>( uint i )<span class="keyword"> const</span> <a name="l00343"></a>00343 <span class="keyword"> </span>{ <span class="keywordflow">return</span> i18n((<a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].psDesc) ? <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].psDesc : <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].psName); } <a name="l00344"></a>00344 <a name="l00345"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#a16669e2df85dcf69257c85507c8b4418">00345</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKStdAccel_1_1ShortcutList.html#a16669e2df85dcf69257c85507c8b4418" title="Returns the (i18n'd) What's This text of the shortcut with the given index.">ShortcutList::whatsThis</a>( uint )<span class="keyword"> const</span> <a name="l00346"></a>00346 <span class="keyword"> </span>{ <span class="keywordflow">return</span> QString::null; } <a name="l00347"></a>00347 <a name="l00348"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#add0dd6bfb04486a6d06e9ecf79398d1c">00348</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="classKStdAccel_1_1ShortcutList.html#add0dd6bfb04486a6d06e9ecf79398d1c" title="Returns the shortcut with the given index.">ShortcutList::shortcut</a>( uint i )<span class="keyword"> const</span> <a name="l00349"></a>00349 <span class="keyword"></span>{ <a name="l00350"></a>00350 <span class="keywordflow">if</span>( !<a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].bInitialized ) <a name="l00351"></a>00351 <a class="code" href="namespaceKStdAccel.html#ab802892d3d094c71ed23882bd12c7bb8" title="Initialize the accelerator id by checking if it is overridden in the configuration file (and if it is...">initialize</a>( <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].<span class="keywordtype">id</span> ); <a name="l00352"></a>00352 <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].cut; <a name="l00353"></a>00353 } <a name="l00354"></a>00354 <a name="l00355"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#aa5b6862cff4d2aba6e5c8feb00fd2af3">00355</a> <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="classKStdAccel_1_1ShortcutList.html#aa5b6862cff4d2aba6e5c8feb00fd2af3" title="Returns default shortcut with the given index.">ShortcutList::shortcutDefault</a>( uint i )<span class="keyword"> const</span> <a name="l00356"></a>00356 <span class="keyword"></span>{ <a name="l00357"></a>00357 <span class="keyword">static</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a> <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <a name="l00358"></a>00358 cut = <a class="code" href="classKStdAccel_1_1ShortcutList.html#aa5b6862cff4d2aba6e5c8feb00fd2af3" title="Returns default shortcut with the given index.">KStdAccel::shortcutDefault</a>( <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].<span class="keywordtype">id</span> ); <a name="l00359"></a>00359 <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <a name="l00360"></a>00360 } <a name="l00361"></a>00361 <a name="l00362"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#ab6610d850611fbe00900604dbae14b56">00362</a> <span class="keywordtype">bool</span> <a class="code" href="classKStdAccel_1_1ShortcutList.html#ab6610d850611fbe00900604dbae14b56" title="Checks whether the shortcut with the given index is configurable.">ShortcutList::isConfigurable</a>( uint i )<span class="keyword"> const</span> <a name="l00363"></a>00363 <span class="keyword"> </span>{ <span class="keywordflow">return</span> (<a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].<span class="keywordtype">id</span> != AccelNone); } <a name="l00364"></a>00364 <a name="l00365"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#a89aa8a0b899301b5e4e33a7430ac699f">00365</a> <span class="keywordtype">bool</span> <a class="code" href="classKStdAccel_1_1ShortcutList.html#a89aa8a0b899301b5e4e33a7430ac699f" title="Sets the shortcut of the given entry.">ShortcutList::setShortcut</a>( uint i, <span class="keyword">const</span> <a class="code" href="classKShortcut.html" title="The KShortcut class is used to represent a keyboard shortcut to an action.">KShortcut</a>& <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a> ) <a name="l00366"></a>00366 { <a class="code" href="namespaceKStdAccel.html#a70fbfd9ab5dc0e44208beadae78ec142" title="Array of predefined KStdAccelInfo objects, which cover all the "standard" accelerators.">g_infoStdAccel</a>[i].cut = <a class="code" href="namespaceKStdAccel.html#ac3c44a8d9c4e0007d8000b4624e2c955" title="Cut selected area and store it in the clipboard.">cut</a>; <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00367"></a>00367 <a name="l00368"></a>00368 <a class="codeRef" href="qvariant.html">QVariant</a> ShortcutList::getOther( Other, uint )<span class="keyword"> const</span> <a name="l00369"></a>00369 <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="codeRef" href="qvariant.html">QVariant</a>(); } <a name="l00370"></a>00370 <a name="l00371"></a>00371 <span class="keywordtype">bool</span> ShortcutList::setOther( Other, uint, <a class="codeRef" href="qvariant.html">QVariant</a> ) <a name="l00372"></a>00372 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } <a name="l00373"></a>00373 <a name="l00374"></a><a class="code" href="classKStdAccel_1_1ShortcutList.html#a2f5e556cce56fbac7f36aa9b7355ab17">00374</a> <span class="keywordtype">bool</span> <a class="code" href="classKStdAccel_1_1ShortcutList.html#a2f5e556cce56fbac7f36aa9b7355ab17" title="Save the shortcut list.">ShortcutList::save</a>()<span class="keyword"> const</span> <a name="l00375"></a>00375 <span class="keyword"></span>{ <a name="l00376"></a>00376 <span class="keywordflow">return</span> <a class="code" href="classKShortcutList.html#a006a3e64aa4e8c5b730b688ec33bd0fa" title="Writes the shortcuts to the given configuration file.">writeSettings</a>( QString::null, 0, <span class="keyword">false</span>, <span class="keyword">true</span> ); <a name="l00377"></a>00377 } <a name="l00378"></a>00378 <a name="l00379"></a><a class="code" href="namespaceKStdAccel.html#aed332bc59ee23ee7a2c793f79da73ad8">00379</a> KDECORE_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKStdAccel.html#aed332bc59ee23ee7a2c793f79da73ad8">action</a>(<a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span>) <a name="l00380"></a>00380 { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#a737bc2466b1f000625fe8ebddffbb09d" title="Returns a unique name for the given accel.">name</a>(<span class="keywordtype">id</span>); } <a name="l00381"></a><a class="code" href="namespaceKStdAccel.html#a35d2086a231403eb59f82ea75da4cb4c">00381</a> KDECORE_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKStdAccel.html#a35d2086a231403eb59f82ea75da4cb4c">description</a>(<a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span>) <a name="l00382"></a>00382 { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#ac575a96ec71ffbbb731400aa6c9079b0" title="Returns a localized label for user-visible display.">label</a>(<span class="keywordtype">id</span>); } <a name="l00383"></a><a class="code" href="namespaceKStdAccel.html#acc12b2741ae01cac579a473d3e6bafce">00383</a> KDECORE_EXPORT <span class="keywordtype">int</span> <a class="code" href="namespaceKStdAccel.html#acc12b2741ae01cac579a473d3e6bafce">key</a>(<a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span>) <a name="l00384"></a>00384 { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#aa72323354f07950d197e500382eecfd6" title="Returns the keybinding for accel.">shortcut</a>(<span class="keywordtype">id</span>).<a class="code" href="classKShortcut.html#a647229fa3a840bccff076a7b0d9d58b7" title="Returns the key code of the first key sequence, or null if there is no first key sequence.">keyCodeQt</a>(); } <a name="l00385"></a><a class="code" href="namespaceKStdAccel.html#a9fc1a1a884a6f10f41638f6922e62ea0">00385</a> KDECORE_EXPORT <span class="keywordtype">int</span> <a class="code" href="namespaceKStdAccel.html#a9fc1a1a884a6f10f41638f6922e62ea0">defaultKey</a>(<a class="code" href="namespaceKStdAccel.html#a66380a0f406146ad13170ec304f3626e" title="Defines the identifier of all standard accelerators.">StdAccel</a> <span class="keywordtype">id</span>) <a name="l00386"></a>00386 { <span class="keywordflow">return</span> <a class="code" href="namespaceKStdAccel.html#a9a6ab406726d4e2b8607354f4dc49548" title="Returns the hardcoded default shortcut for id.">shortcutDefault</a>(<span class="keywordtype">id</span>).<a class="code" href="classKShortcut.html#a647229fa3a840bccff076a7b0d9d58b7" title="Returns the key code of the first key sequence, or null if there is no first key sequence.">keyCodeQt</a>(); } <a name="l00387"></a>00387 <a name="l00388"></a><a class="code" href="namespaceKStdAccel.html#a1b0ec5233ed26189cdb8a038d0025e3c">00388</a> KDECORE_EXPORT <span class="keywordtype">bool</span> <a class="code" href="namespaceKStdAccel.html#a1b0ec5233ed26189cdb8a038d0025e3c">isEqual</a>(<span class="keyword">const</span> <a class="codeRef" href="qkeyevent.html">QKeyEvent</a>* ev, <span class="keywordtype">int</span> keyQt) <a name="l00389"></a>00389 { <a name="l00390"></a>00390 <a class="code" href="classKKey.html" title="A KKey object represents a single key with possible modifiers (Shift, Ctrl, Alt, Win).">KKey</a> key1( ev ), key2( keyQt ); <a name="l00391"></a>00391 <span class="keywordflow">return</span> key1 == key2; <a name="l00392"></a>00392 } <a name="l00393"></a>00393 <a name="l00394"></a>00394 } <a name="l00395"></a>00395 <a name="l00396"></a>00396 <span class="preprocessor">#undef __KSTDACCEL_CPP_</span> </pre></div></div> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>kdecore</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKAboutData.html">kaboutdata</option>, <option value="classKAboutPerson.html">kaboutperson</option>, <option value="classKAboutTranslator.html">kabouttranslator</option>, <option value="classKAccel.html">kaccel</option>, <option value="classKAcceleratorManager.html">kacceleratormanager</option>, <option value="classKAccelManagerAlgorithm.html">kaccelmanageralgorithm</option>, <option value="classKAccelShortcutList.html">kaccelshortcutlist</option>, <option value="classKAccelString.html">kaccelstring</option>, <option value="classKAddressInfo.html">kaddressinfo</option>, <option value="classKAppDCOPInterface.html">kappdcopinterface</option>, <option value="classKApplication.html">kapplication</option>, <option value="classKAsyncIO.html">kasyncio</option>, <option value="classKAudioPlayer.html">kaudioplayer</option>, <option value="classKBufferedIO.html">kbufferedio</option>, <option value="classKCalendarSystem.html">kcalendarsystem</option>, <option value="classKCalendarSystemFactory.html">kcalendarsystemfactory</option>, <option value="classKCalendarSystemJalali.html">kcalendarsystemjalali</option>, <option value="classKCatalogue.html">kcatalogue</option>, <option value="classKCharMacroExpander.html">kcharmacroexpander</option>, <option value="classKCharsets.html">kcharsets</option>, <option value="classKClipboardSynchronizer.html">kclipboardsynchronizer</option>, <option value="classKCmdLineArgs.html">kcmdlineargs</option>, <option value="classKCodecs.html">kcodecs</option>, <option value="classKCompletion.html">kcompletion</option>, <option value="classKCompletionBase.html">kcompletionbase</option>, <option value="classKCompletionMatches.html">kcompletionmatches</option>, <option value="classKCompTreeNode.html">kcomptreenode</option>, <option value="classKConfig.html">kconfig</option>, <option value="classKConfigBackEnd.html">kconfigbackend</option>, <option value="classKConfigBase.html">kconfigbase</option>, <option value="classKConfigDialogManager.html">kconfigdialogmanager</option>, <option value="classKConfigGroup.html">kconfiggroup</option>, <option value="classKConfigGroupSaver.html">kconfiggroupsaver</option>, <option value="classKConfigINIBackEnd.html">kconfiginibackend</option>, <option value="classKConfigSkeleton.html">kconfigskeleton</option>, <option value="classKConfigSkeleton_1_1ItemBool.html">kconfigskeleton::itembool</option>, <option value="classKConfigSkeleton_1_1ItemColor.html">kconfigskeleton::itemcolor</option>, <option value="classKConfigSkeleton_1_1ItemDateTime.html">kconfigskeleton::itemdatetime</option>, <option value="classKConfigSkeleton_1_1ItemDouble.html">kconfigskeleton::itemdouble</option>, <option value="classKConfigSkeleton_1_1ItemEnum.html">kconfigskeleton::itemenum</option>, <option value="classKConfigSkeleton_1_1ItemFont.html">kconfigskeleton::itemfont</option>, <option value="classKConfigSkeleton_1_1ItemInt.html">kconfigskeleton::itemint</option>, <option value="classKConfigSkeleton_1_1ItemInt64.html">kconfigskeleton::itemint64</option>, <option value="classKConfigSkeleton_1_1ItemIntList.html">kconfigskeleton::itemintlist</option>, <option value="classKConfigSkeleton_1_1ItemLong.html">kconfigskeleton::itemlong</option>, <option value="classKConfigSkeleton_1_1ItemPassword.html">kconfigskeleton::itempassword</option>, <option value="classKConfigSkeleton_1_1ItemPath.html">kconfigskeleton::itempath</option>, <option value="classKConfigSkeleton_1_1ItemPathList.html">kconfigskeleton::itempathlist</option>, <option value="classKConfigSkeleton_1_1ItemPoint.html">kconfigskeleton::itempoint</option>, <option value="classKConfigSkeleton_1_1ItemProperty.html">kconfigskeleton::itemproperty</option>, <option value="classKConfigSkeleton_1_1ItemRect.html">kconfigskeleton::itemrect</option>, <option value="classKConfigSkeleton_1_1ItemSize.html">kconfigskeleton::itemsize</option>, <option value="classKConfigSkeleton_1_1ItemString.html">kconfigskeleton::itemstring</option>, <option value="classKConfigSkeleton_1_1ItemStringList.html">kconfigskeleton::itemstringlist</option>, <option value="classKConfigSkeleton_1_1ItemUInt.html">kconfigskeleton::itemuint</option>, <option value="classKConfigSkeleton_1_1ItemUInt64.html">kconfigskeleton::itemuint64</option>, <option value="classKConfigSkeleton_1_1ItemULong.html">kconfigskeleton::itemulong</option>, <option value="classKConfigSkeletonItem.html">kconfigskeletonitem</option>, <option value="classKCrash.html">kcrash</option>, <option value="classKDCOPPropertyProxy.html">kdcoppropertyproxy</option>, <option value="classKDebugDCOPIface.html">kdebugdcopiface</option>, <option value="classKDesktopFile.html">kdesktopfile</option>, <option value="classKExtendedSocket.html">kextendedsocket</option>, <option value="classKGenericFactory.html">kgenericfactory</option>, <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01KTypeList_3_01Pare1ed8d1e5a9847c99711cad3b12c7e96c.html">kgenericfactory< ktypelist< product, productlisttail >, ktypelist< pare1ed8d1e5a9847c99711cad3b12c7e96c</option>, <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01KTypeList_3_01Paref6a00f76851e0daa2cb662bb8a41fc7f.html">kgenericfactory< ktypelist< product, productlisttail >, ktypelist< paref6a00f76851e0daa2cb662bb8a41fc7f</option>, <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01QObject_01_4.html">kgenericfactory< ktypelist< product, productlisttail >, qobject ></option>, <option value="classKGlobal.html">kglobal</option>, <option value="classKGlobalAccel.html">kglobalaccel</option>, <option value="classKGlobalSettings.html">kglobalsettings</option>, <option value="classKIcon.html">kicon</option>, <option value="classKIconEffect.html">kiconeffect</option>, <option value="classKIconLoader.html">kiconloader</option>, <option value="classKIconTheme.html">kicontheme</option>, <option value="classKInetSocketAddress.html">kinetsocketaddress</option>, <option value="classKInstance.html">kinstance</option>, <option value="classKIOBufferBase.html">kiobufferbase</option>, <option value="classKIPC.html">kipc</option>, <option value="classKKey.html">kkey</option>, <option value="classKKeyNative.html">kkeynative</option>, <option value="classKKeySequence.html">kkeysequence</option>, <option value="classKLibFactory.html">klibfactory</option>, <option value="classKLibLoader.html">klibloader</option>, <option value="classKLibrary.html">klibrary</option>, <option value="classKLocale.html">klocale</option>, <option value="classKLockFile.html">klockfile</option>, <option value="classKMacroExpanderBase.html">kmacroexpanderbase</option>, <option value="classKMD4.html">kmd4</option>, <option value="classKMD5.html">kmd5</option>, <option value="classKMimeSourceFactory.html">kmimesourcefactory</option>, <option value="classKMountPoint.html">kmountpoint</option>, <option value="classKMultipleDrag.html">kmultipledrag</option>, <option value="classKNetwork_1_1KActiveSocketBase.html">knetwork::kactivesocketbase</option>, <option value="classKNetwork_1_1KBufferedSocket.html">knetwork::kbufferedsocket</option>, <option value="classKNetwork_1_1KClientSocketBase.html">knetwork::kclientsocketbase</option>, <option value="classKNetwork_1_1KDatagramPacket.html">knetwork::kdatagrampacket</option>, <option value="classKNetwork_1_1KDatagramSocket.html">knetwork::kdatagramsocket</option>, <option value="classKNetwork_1_1KHttpProxySocketDevice.html">knetwork::khttpproxysocketdevice</option>, <option value="classKNetwork_1_1KInetSocketAddress.html">knetwork::kinetsocketaddress</option>, <option value="classKNetwork_1_1KIpAddress.html">knetwork::kipaddress</option>, <option value="classKNetwork_1_1KMulticastSocket.html">knetwork::kmulticastsocket</option>, <option value="classKNetwork_1_1KMulticastSocketImpl.html">knetwork::kmulticastsocketimpl</option>, <option value="classKNetwork_1_1KNetworkInterface.html">knetwork::knetworkinterface</option>, <option value="classKNetwork_1_1KPassiveSocketBase.html">knetwork::kpassivesocketbase</option>, <option value="classKNetwork_1_1KResolver.html">knetwork::kresolver</option>, <option value="classKNetwork_1_1KResolverEntry.html">knetwork::kresolverentry</option>, <option value="classKNetwork_1_1KResolverResults.html">knetwork::kresolverresults</option>, <option value="classKNetwork_1_1KResolverWorkerBase_1_1ResolverLocker.html">knetwork::kresolverworkerbase::resolverlocker</option>, <option value="classKNetwork_1_1KReverseResolver.html">knetwork::kreverseresolver</option>, <option value="classKNetwork_1_1KServerSocket.html">knetwork::kserversocket</option>, <option value="classKNetwork_1_1KSocketAddress.html">knetwork::ksocketaddress</option>, <option value="classKNetwork_1_1KSocketBase.html">knetwork::ksocketbase</option>, <option value="classKNetwork_1_1KSocketDevice.html">knetwork::ksocketdevice</option>, <option value="classKNetwork_1_1KSocketDeviceFactory.html">knetwork::ksocketdevicefactory</option>, <option value="classKNetwork_1_1KSocksSocketDevice.html">knetwork::ksockssocketdevice</option>, <option value="classKNetwork_1_1KStreamSocket.html">knetwork::kstreamsocket</option>, <option value="classKNetwork_1_1KUnixSocketAddress.html">knetwork::kunixsocketaddress</option>, <option value="classKNotifyClient_1_1Instance.html">knotifyclient::instance</option>, <option value="classKPalette.html">kpalette</option>, <option value="classKPixmapProvider.html">kpixmapprovider</option>, <option value="classKPopupAccelManager.html">kpopupaccelmanager</option>, <option value="classKProcess.html">kprocess</option>, <option value="classKProcessController.html">kprocesscontroller</option>, <option value="classKProcIO.html">kprocio</option>, <option value="classKProtocolInfoFactory.html">kprotocolinfofactory</option>, <option value="classKPty.html">kpty</option>, <option value="classKRandomSequence.html">krandomsequence</option>, <option value="classKRegExp.html">kregexp</option>, <option value="classKRegExpPrivate.html">kregexpprivate</option>, <option value="classKRFCDate.html">krfcdate</option>, <option value="classKRootProp.html">krootprop</option>, <option value="classKSaveFile.html">ksavefile</option>, <option value="classKServerSocket.html">kserversocket</option>, <option value="classKSessionManaged.html">ksessionmanaged</option>, <option value="classKShared.html">kshared</option>, <option value="classKSharedConfig.html">ksharedconfig</option>, <option value="classKSharedPtr.html">ksharedptr</option>, <option value="classKShellProcess.html">kshellprocess</option>, <option value="classKShortcut.html">kshortcut</option>, <option value="classKShortcutList.html">kshortcutlist</option>, <option value="classKSimpleConfig.html">ksimpleconfig</option>, <option value="classKSocket.html">ksocket</option>, <option value="classKSocketAddress.html">ksocketaddress</option>, <option value="classKSocks.html">ksocks</option>, <option value="classKSortableItem.html">ksortableitem</option>, <option value="classKSortableValueList.html">ksortablevaluelist</option>, <option value="classKStandardDirs.html">kstandarddirs</option>, <option value="classKStaticDeleter.html">kstaticdeleter</option>, <option value="classKStaticDeleterBase.html">kstaticdeleterbase</option>, <option value="classKStdAccel_1_1ShortcutList.html">kstdaccel::shortcutlist</option>, <option value="classKStringHandler.html">kstringhandler</option>, <option value="classKSycocaEntry.html">ksycocaentry</option>, <option value="classKSycocaFactoryList.html">ksycocafactorylist</option>, <option value="classKTempDir.html">ktempdir</option>, <option value="classKTempFile.html">ktempfile</option>, <option value="classKTimezone.html">ktimezone</option>, <option value="classKTimezoneDetails.html">ktimezonedetails</option>, <option value="classKTimezones.html">ktimezones</option>, <option value="classKTimezoneSource.html">ktimezonesource</option>, <option value="classKUniqueApplication.html">kuniqueapplication</option>, <option value="classKUnixSocketAddress.html">kunixsocketaddress</option>, <option value="classKURL.html">kurl</option>, <option value="classKURL_1_1List.html">kurl::list</option>, <option value="classKURLDrag.html">kurldrag</option>, <option value="classKUser.html">kuser</option>, <option value="classKUserGroup.html">kusergroup</option>, <option value="classKVMAllocator.html">kvmallocator</option>, <option value="classKWin.html">kwin</option>, <option value="classKWin_1_1WindowInfo.html">kwin::windowinfo</option>, <option value="classKWinModule.html">kwinmodule</option>, <option value="classKWordMacroExpander.html">kwordmacroexpander</option>, <option value="classKXErrorHandler.html">kxerrorhandler</option>, <option value="classKZoneAllocator.html">kzoneallocator</option>, <option value="classNET.html">net</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li> <a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li> <a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../kio/kio/html/index.html">kio</a></li><li> <a href="../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>