You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
442 lines
7.8 KiB
442 lines
7.8 KiB
13 years ago
|
//
|
||
|
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
|
||
|
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
|
||
|
// may also apply
|
||
|
|
||
|
|
||
|
// Generated by preSip
|
||
13 years ago
|
// module tdecore version KDE 3.5.3
|
||
13 years ago
|
|
||
|
|
||
|
// This software is free software; you can redistribute it and/or
|
||
|
// modify it under the terms of the GNU General Public License as
|
||
|
// published by the Free Software Foundation; either version 2 of
|
||
|
// the License, or (at your option) any later version.
|
||
|
//
|
||
|
// This software is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
// GNU General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU General Public
|
||
|
// License along with this library; see the file COPYING.
|
||
|
// If not, write to the Free Software Foundation, Inc.,
|
||
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
|
%ModuleHeaderCode
|
||
|
#include <kstdaccel.h>
|
||
|
%End
|
||
|
|
||
|
namespace KStdAccel
|
||
|
{
|
||
|
|
||
|
%If ( KDE_3_4_0 - )
|
||
|
|
||
|
enum StdAccel
|
||
|
{
|
||
|
AccelNone,
|
||
|
Open,
|
||
|
New,
|
||
|
Close,
|
||
|
Save,
|
||
|
Print,
|
||
|
Quit,
|
||
|
Undo,
|
||
|
Redo,
|
||
|
Cut,
|
||
|
Copy,
|
||
|
Paste,
|
||
|
SelectAll,
|
||
|
Deselect,
|
||
|
DeleteWordBack,
|
||
|
DeleteWordForward,
|
||
|
Find,
|
||
|
FindNext,
|
||
|
FindPrev,
|
||
|
Replace,
|
||
|
Home,
|
||
|
End,
|
||
|
Prior,
|
||
|
Next,
|
||
|
GotoLine,
|
||
|
AddBookmark,
|
||
|
ZoomIn,
|
||
|
ZoomOut,
|
||
|
Up,
|
||
|
Back,
|
||
|
Forward,
|
||
|
Reload,
|
||
|
PopupMenuContext,
|
||
|
ShowMenubar,
|
||
|
Help,
|
||
|
WhatsThis,
|
||
|
TextCompletion,
|
||
|
PrevCompletion,
|
||
|
NextCompletion,
|
||
|
SubstringCompletion,
|
||
|
RotateUp,
|
||
|
RotateDown,
|
||
|
TabNext,
|
||
|
TabPrev,
|
||
|
FullScreen,
|
||
|
BackwardWord,
|
||
|
ForwardWord,
|
||
|
BeginningOfLine,
|
||
|
EndOfLine,
|
||
|
PasteSelection,
|
||
|
WhatThis
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
const KShortcut& shortcut (KStdAccel::StdAccel);
|
||
|
QString name (KStdAccel::StdAccel);
|
||
|
QString label (KStdAccel::StdAccel);
|
||
|
QString whatsThis (KStdAccel::StdAccel);
|
||
|
KStdAccel::StdAccel findStdAccel (const KKeySequence&);
|
||
|
KShortcut shortcutDefault (KStdAccel::StdAccel);
|
||
|
KShortcut shortcutDefault3 (KStdAccel::StdAccel);
|
||
|
KShortcut shortcutDefault4 (KStdAccel::StdAccel);
|
||
|
const KShortcut& open ();
|
||
|
const KShortcut& openNew ();
|
||
|
const KShortcut& close ();
|
||
|
const KShortcut& save ();
|
||
|
const KShortcut& print () /PyName=print_/;
|
||
|
const KShortcut& quit ();
|
||
|
const KShortcut& undo ();
|
||
|
const KShortcut& redo ();
|
||
|
const KShortcut& cut ();
|
||
|
const KShortcut& copy ();
|
||
|
const KShortcut& paste ();
|
||
|
|
||
|
%If ( KDE_3_4_0 - )
|
||
|
const KShortcut& pasteSelection ();
|
||
|
%End
|
||
|
|
||
|
const KShortcut& selectAll ();
|
||
|
const KShortcut& deleteWordBack ();
|
||
|
const KShortcut& deleteWordForward ();
|
||
|
const KShortcut& find ();
|
||
|
const KShortcut& findNext ();
|
||
|
const KShortcut& findPrev ();
|
||
|
const KShortcut& replace ();
|
||
|
const KShortcut& zoomIn ();
|
||
|
const KShortcut& zoomOut ();
|
||
|
//ig const KShortcut& insert ();
|
||
|
const KShortcut& home ();
|
||
|
const KShortcut& end ();
|
||
|
|
||
|
%If ( KDE_3_3_0 - )
|
||
|
const KShortcut& beginningOfLine ();
|
||
|
const KShortcut& endOfLine ();
|
||
|
%End
|
||
|
|
||
|
const KShortcut& prior ();
|
||
|
const KShortcut& next ();
|
||
|
const KShortcut& gotoLine ();
|
||
|
const KShortcut& addBookmark ();
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
|
const KShortcut& tabNext ();
|
||
|
const KShortcut& tabPrev ();
|
||
|
const KShortcut& fullScreen ();
|
||
|
%End
|
||
|
|
||
|
const KShortcut& help ();
|
||
|
const KShortcut& completion ();
|
||
|
const KShortcut& prevCompletion ();
|
||
|
const KShortcut& nextCompletion ();
|
||
|
const KShortcut& substringCompletion ();
|
||
|
const KShortcut& rotateUp ();
|
||
|
const KShortcut& rotateDown ();
|
||
|
const KShortcut& popupMenuContext ();
|
||
|
const KShortcut& whatsThis ();
|
||
|
const KShortcut& reload ();
|
||
|
const KShortcut& up ();
|
||
|
const KShortcut& back ();
|
||
|
const KShortcut& forward ();
|
||
|
|
||
|
%If ( KDE_3_3_0 - )
|
||
|
const KShortcut& backwardWord ();
|
||
|
const KShortcut& forwardWord ();
|
||
|
%End
|
||
|
|
||
|
const KShortcut& showMenubar ();
|
||
|
QString action (KStdAccel::StdAccel);
|
||
|
QString description (KStdAccel::StdAccel);
|
||
|
int key (KStdAccel::StdAccel);
|
||
|
int defaultKey (KStdAccel::StdAccel);
|
||
|
bool isEqual (const QKeyEvent*, int);
|
||
|
|
||
|
%If ( KDE_3_3_0 - KDE_3_4_0 )
|
||
|
|
||
|
enum StdAccel
|
||
|
{
|
||
|
AccelNone,
|
||
|
Open,
|
||
|
New,
|
||
|
Close,
|
||
|
Save,
|
||
|
Print,
|
||
|
Quit,
|
||
|
Undo,
|
||
|
Redo,
|
||
|
Cut,
|
||
|
Copy,
|
||
|
Paste,
|
||
|
SelectAll,
|
||
|
Deselect,
|
||
|
DeleteWordBack,
|
||
|
DeleteWordForward,
|
||
|
Find,
|
||
|
FindNext,
|
||
|
FindPrev,
|
||
|
Replace,
|
||
|
Home,
|
||
|
End,
|
||
|
Prior,
|
||
|
Next,
|
||
|
GotoLine,
|
||
|
AddBookmark,
|
||
|
ZoomIn,
|
||
|
ZoomOut,
|
||
|
Up,
|
||
|
Back,
|
||
|
Forward,
|
||
|
Reload,
|
||
|
PopupMenuContext,
|
||
|
ShowMenubar,
|
||
|
Help,
|
||
|
WhatsThis,
|
||
|
TextCompletion,
|
||
|
PrevCompletion,
|
||
|
NextCompletion,
|
||
|
SubstringCompletion,
|
||
|
RotateUp,
|
||
|
RotateDown,
|
||
|
TabNext,
|
||
|
TabPrev,
|
||
|
FullScreen,
|
||
|
BackwardWord,
|
||
|
ForwardWord,
|
||
|
BeginningOfLine,
|
||
|
EndOfLine,
|
||
|
WhatThis
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
%If ( KDE_3_2_0 - KDE_3_3_0 )
|
||
|
|
||
|
enum StdAccel
|
||
|
{
|
||
|
AccelNone,
|
||
|
Open,
|
||
|
New,
|
||
|
Close,
|
||
|
Save,
|
||
|
Print,
|
||
|
Quit,
|
||
|
Undo,
|
||
|
Redo,
|
||
|
Cut,
|
||
|
Copy,
|
||
|
Paste,
|
||
|
SelectAll,
|
||
|
Deselect,
|
||
|
DeleteWordBack,
|
||
|
DeleteWordForward,
|
||
|
Find,
|
||
|
FindNext,
|
||
|
FindPrev,
|
||
|
Replace,
|
||
|
Home,
|
||
|
End,
|
||
|
Prior,
|
||
|
Next,
|
||
|
GotoLine,
|
||
|
AddBookmark,
|
||
|
ZoomIn,
|
||
|
ZoomOut,
|
||
|
Up,
|
||
|
Back,
|
||
|
Forward,
|
||
|
Reload,
|
||
|
PopupMenuContext,
|
||
|
ShowMenubar,
|
||
|
Help,
|
||
|
WhatsThis,
|
||
|
TextCompletion,
|
||
|
PrevCompletion,
|
||
|
NextCompletion,
|
||
|
SubstringCompletion,
|
||
|
RotateUp,
|
||
|
RotateDown,
|
||
|
TabNext,
|
||
|
TabPrev,
|
||
|
FullScreen,
|
||
|
WhatThis
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
%If ( KDE_3_1_3 - KDE_3_2_0 )
|
||
|
|
||
|
enum StdAccel
|
||
|
{
|
||
|
AccelNone,
|
||
|
Open,
|
||
|
New,
|
||
|
Close,
|
||
|
Save,
|
||
|
Print,
|
||
|
Quit,
|
||
|
Undo,
|
||
|
Redo,
|
||
|
Cut,
|
||
|
Copy,
|
||
|
Paste,
|
||
|
SelectAll,
|
||
|
Deselect,
|
||
|
DeleteWordBack,
|
||
|
DeleteWordForward,
|
||
|
Find,
|
||
|
FindNext,
|
||
|
FindPrev,
|
||
|
Replace,
|
||
|
Home,
|
||
|
End,
|
||
|
Prior,
|
||
|
Next,
|
||
|
GotoLine,
|
||
|
AddBookmark,
|
||
|
ZoomIn,
|
||
|
ZoomOut,
|
||
|
Up,
|
||
|
Back,
|
||
|
Forward,
|
||
|
Reload,
|
||
|
PopupMenuContext,
|
||
|
ShowMenubar,
|
||
|
Help,
|
||
|
WhatsThis,
|
||
|
TextCompletion,
|
||
|
PrevCompletion,
|
||
|
NextCompletion,
|
||
|
SubstringCompletion,
|
||
|
RotateUp,
|
||
|
RotateDown,
|
||
|
WhatThis
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
%If ( KDE_3_1_2 - KDE_3_1_3 )
|
||
|
|
||
|
enum StdAccel
|
||
|
{
|
||
|
AccelNone,
|
||
|
Open,
|
||
|
New,
|
||
|
Close,
|
||
|
Save,
|
||
|
Print,
|
||
|
Quit,
|
||
|
Undo,
|
||
|
Redo,
|
||
|
Cut,
|
||
|
Copy,
|
||
|
Paste,
|
||
|
SelectAll,
|
||
|
Deselect,
|
||
|
DeleteWordBack,
|
||
|
DeleteWordForward,
|
||
|
Find,
|
||
|
FindNext,
|
||
|
FindPrev,
|
||
|
Replace,
|
||
|
Home,
|
||
|
End,
|
||
|
Prior,
|
||
|
Next,
|
||
|
GotoLine,
|
||
|
AddBookmark,
|
||
|
ZoomIn,
|
||
|
ZoomOut,
|
||
|
Up,
|
||
|
Back,
|
||
|
Forward,
|
||
|
Reload,
|
||
|
PopupMenuContext,
|
||
|
ShowMenubar,
|
||
|
Help,
|
||
|
WhatsThis,
|
||
|
TextCompletion,
|
||
|
PrevCompletion,
|
||
|
NextCompletion,
|
||
|
SubstringCompletion,
|
||
|
RotateUp,
|
||
|
RotateDown,
|
||
|
WhatThis
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
%If ( - KDE_3_1_2 )
|
||
|
|
||
|
enum StdAccel
|
||
|
{
|
||
|
AccelNone,
|
||
|
Open,
|
||
|
New,
|
||
|
Close,
|
||
|
Save,
|
||
|
Print,
|
||
|
Quit,
|
||
|
Undo,
|
||
|
Redo,
|
||
|
Cut,
|
||
|
Copy,
|
||
|
Paste,
|
||
|
SelectAll,
|
||
|
Deselect,
|
||
|
DeleteWordBack,
|
||
|
DeleteWordForward,
|
||
|
Find,
|
||
|
FindNext,
|
||
|
FindPrev,
|
||
|
Replace,
|
||
|
Home,
|
||
|
End,
|
||
|
Prior,
|
||
|
Next,
|
||
|
GotoLine,
|
||
|
AddBookmark,
|
||
|
ZoomIn,
|
||
|
ZoomOut,
|
||
|
Up,
|
||
|
Back,
|
||
|
Forward,
|
||
|
Reload,
|
||
|
PopupMenuContext,
|
||
|
ShowMenubar,
|
||
|
Help,
|
||
|
WhatsThis,
|
||
|
TextCompletion,
|
||
|
PrevCompletion,
|
||
|
NextCompletion,
|
||
|
SubstringCompletion,
|
||
|
RotateUp,
|
||
|
RotateDown,
|
||
|
WhatThis
|
||
|
};
|
||
|
|
||
|
%End
|
||
|
|
||
|
}; // namespace KStdAccel
|
||
|
|